doc/doxygen/html/sdo_8h.html
author lbessard
Tue, 05 Jun 2007 17:34:33 +0200
changeset 209 2cb34a4ac65a
parent 207 b6572d0336c3
permissions -rw-r--r--
Bug on RefreshStatusBar corrected
207
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     3
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/include/sdo.h File Reference</title>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     4
<link href="doxygen.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     5
<link href="tabs.css" rel="stylesheet" type="text/css">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     6
</head><body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     7
<!-- Generated by Doxygen 1.5.1 -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     8
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
     9
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    11
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    12
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    13
    <li id="current"><a href="files.html"><span>Files</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    14
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    15
<div class="tabs">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    16
  <ul>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    17
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    18
    <li><a href="globals.html"><span>Globals</span></a></li>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    19
  </ul></div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    20
<h1>/home/epimerde/documents/tc11/CanFestival-3/include/sdo.h File Reference</h1><code>#include &quot;<a class="el" href="timer_8h-source.html">timer.h</a>&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    21
<code>#include &quot;<a class="el" href="data_8h-source.html">data.h</a>&quot;</code><br>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    22
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    23
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    24
<a href="sdo_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    25
<tr><td></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    26
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    27
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__transfer.html">struct_s_transfer</a></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    28
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    29
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structBODY.html">BODY</a></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    30
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    31
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__SDO.html">struct_s_SDO</a></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    32
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    33
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    34
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void(*)&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#606eccfef67e572723e1efba3f0d87ba">SDOCallback_t</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    35
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    36
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structstruct__s__transfer.html">struct_s_transfer</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#0c41985ac8cf4546cbce64eb0f2ac897">s_transfer</a></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    37
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    38
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structstruct__s__SDO.html">struct_s_SDO</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#f9e5cbdc9fba242ca4060f6bffa6d7c8">s_SDO</a></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    39
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    40
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    41
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#9309025e29b59e09026abcd3b45a5b61">SDOTimeoutAlarm</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 id)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    42
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    43
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#1f4f07eccc4890a11ccf4f632da7740b">resetSDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    44
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    45
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#2eb5309dca3a7363da5e5e7230b85d58">SDOlineToObjdict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    46
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    47
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#29427a80fd1aeabff30bf0602fbc220f">objdictToSDOline</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    48
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    49
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#ad6eb8be03b832ebba4dfb87aaba4065">lineToSDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    50
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    51
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#18b6f7e9c9441640a88ffef1e8720694">SDOtoLine</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    52
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    53
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#2019db2a4d17e6d29c055cbae173e2b9">failedSDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    54
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    55
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#42d33be015d4c4c83c73f1f0e588f481">resetSDOline</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    56
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    57
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#b9c873a15f55b29112b5527a6cc6898d">initSDOline</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    58
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    59
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#58d1f9691977617601beb9e5b4123252">getSDOfreeLine</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 whoami, UNS8 *line)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    60
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    61
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#bb0c376b048ab2c6e0524b135b62376f">getSDOlineOnUse</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    62
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    63
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#555a772d3a88a29c495f33513f8b2d58">closeSDOtransfer</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS8 whoami)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    64
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    65
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#acceb714c6e457e98deb9ba164ba2a2f">getSDOlineRestBytes</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 *nbBytes)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    66
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    67
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#601a837ecb5f21bf4c66b058c5ae7810">setSDOlineRestBytes</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 nbBytes)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    68
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    69
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#c6b5d7d1439d537da992a96644a1ca5d">sendSDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 whoami, <a class="el" href="structstruct__s__SDO.html">s_SDO</a> sdo)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    70
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    71
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#b26c3f2fb63d81055809d6ccaa785b7c">sendSDOabort</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    72
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    73
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#2a93a7c780472b1d8666d89aa270f661">proceedSDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    74
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    75
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#bc20ed246e00053dcf71faa8f45ee39c">writeNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    76
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    77
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#f4ec05293fb8971a1b282994498ed4f5">writeNetworkDictCallBack</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, <a class="el" href="sdo_8h.html#606eccfef67e572723e1efba3f0d87ba">SDOCallback_t</a> Callback)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    78
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    79
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#0e102a0835e4115920cd406e80a8d135">readNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    80
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    81
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#542a5cdd20c00aa130a39fe68295e769">readNetworkDictCallback</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, <a class="el" href="sdo_8h.html#606eccfef67e572723e1efba3f0d87ba">SDOCallback_t</a> Callback)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    82
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    83
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#05b0c8eee1faee3c7a2f6e2ba3a16533">getReadResultNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    84
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    85
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8h.html#8671e306873f19362c60bb50ab930d1d">getWriteResultNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS32 *abortCode)</td></tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    86
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    87
</table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    88
<hr><h2>Typedef Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    89
<a class="anchor" name="f9e5cbdc9fba242ca4060f6bffa6d7c8"></a><!-- doxytag: member="sdo.h::s_SDO" ref="f9e5cbdc9fba242ca4060f6bffa6d7c8" args="" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    90
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    91
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    92
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    93
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    94
          <td class="memname">typedef struct <a class="el" href="structstruct__s__SDO.html">struct_s_SDO</a> <a class="el" href="structstruct__s__SDO.html">s_SDO</a>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    95
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    96
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    97
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    98
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
    99
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   100
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   101
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   102
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   103
Definition at line <a class="el" href="sdo_8h-source.html#l00086">86</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   104
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   105
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   106
<a class="anchor" name="0c41985ac8cf4546cbce64eb0f2ac897"></a><!-- doxytag: member="sdo.h::s_transfer" ref="0c41985ac8cf4546cbce64eb0f2ac897" args="" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   107
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   108
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   109
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   110
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   111
          <td class="memname">typedef struct <a class="el" href="structstruct__s__transfer.html">struct_s_transfer</a> <a class="el" href="structstruct__s__transfer.html">s_transfer</a>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   112
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   113
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   114
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   115
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   116
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   117
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   118
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   119
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   120
Definition at line <a class="el" href="sdo_8h-source.html#l00069">69</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   121
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   122
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   123
<a class="anchor" name="606eccfef67e572723e1efba3f0d87ba"></a><!-- doxytag: member="sdo.h::SDOCallback_t" ref="606eccfef67e572723e1efba3f0d87ba" args="(CO_Data *d, UNS8 nodeId)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   124
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   125
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   126
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   127
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   128
          <td class="memname">typedef void(*) <a class="el" href="sdo_8h.html#606eccfef67e572723e1efba3f0d87ba">SDOCallback_t</a>(<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   129
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   130
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   131
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   132
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   133
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   134
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   135
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   136
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   137
Definition at line <a class="el" href="sdo_8h-source.html#l00030">30</a> of file <a class="el" href="sdo_8h-source.html">sdo.h</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   138
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   139
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   140
<hr><h2>Function Documentation</h2>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   141
<a class="anchor" name="555a772d3a88a29c495f33513f8b2d58"></a><!-- doxytag: member="sdo.h::closeSDOtransfer" ref="555a772d3a88a29c495f33513f8b2d58" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   142
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   143
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   144
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   145
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   146
          <td class="memname">UNS8 closeSDOtransfer           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   147
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   148
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   149
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   150
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   151
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   152
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   153
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   154
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   155
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   156
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   157
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   158
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   159
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   160
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   161
          <td class="paramname"> <em>whoami</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   162
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   163
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   164
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   165
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   166
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   167
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   168
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   169
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   170
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   171
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   172
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   173
Close a transmission. nodeId : Node id of the server if both server or client whoami : Line opened as SDO_CLIENT or SDO_SERVER 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   174
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   175
Definition at line <a class="el" href="sdo_8c-source.html#l00318">318</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   176
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   177
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   178
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   179
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   180
<a class="anchor" name="2019db2a4d17e6d29c055cbae173e2b9"></a><!-- doxytag: member="sdo.h::failedSDO" ref="2019db2a4d17e6d29c055cbae173e2b9" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   181
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   182
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   183
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   184
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   185
          <td class="memname">UNS8 failedSDO           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   186
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   187
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   188
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   189
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   190
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   191
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   192
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   193
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   194
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   195
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   196
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   197
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   198
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   199
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   200
          <td class="paramname"> <em>whoami</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   201
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   202
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   203
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   204
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   205
          <td class="paramtype">UNS16&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   206
          <td class="paramname"> <em>index</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   207
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   208
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   209
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   210
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   211
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   212
          <td class="paramname"> <em>subIndex</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   213
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   214
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   215
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   216
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   217
          <td class="paramtype">UNS32&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   218
          <td class="paramname"> <em>abortCode</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   219
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   220
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   221
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   222
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   223
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   224
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   225
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   226
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   227
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   228
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   229
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   230
Called when an internal SDO abort occurs. Release the line * Only if server * If client, the line must be released manually in the core application. The reason of that is to permit the program to read the transfers[][] structure before its reset, because many informations are stored on it : index, subindex, data received or trasmited, ... In all cases, sends a SDO abort. Returns 0 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   231
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   232
Definition at line <a class="el" href="sdo_8c-source.html#l00227">227</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   233
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   234
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="def_8h-source.html#l00073">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00079">SDO_CLIENT</a>, <a class="el" href="def_8h-source.html#l00078">SDO_SERVER</a>, <a class="el" href="sdo_8c-source.html#l00424">sendSDOabort()</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   235
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   236
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   237
<a class="anchor" name="05b0c8eee1faee3c7a2f6e2ba3a16533"></a><!-- doxytag: member="sdo.h::getReadResultNetworkDict" ref="05b0c8eee1faee3c7a2f6e2ba3a16533" args="(CO_Data *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   238
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   239
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   240
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   241
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   242
          <td class="memname">UNS8 getReadResultNetworkDict           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   243
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   244
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   245
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   246
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   247
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   248
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   249
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   250
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   251
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   252
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   253
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   254
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   255
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   256
          <td class="paramtype">void *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   257
          <td class="paramname"> <em>data</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   258
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   259
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   260
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   261
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   262
          <td class="paramtype">UNS8 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   263
          <td class="paramname"> <em>size</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   264
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   265
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   266
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   267
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   268
          <td class="paramtype">UNS32 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   269
          <td class="paramname"> <em>abortCode</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   270
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   271
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   272
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   273
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   274
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   275
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   276
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   277
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   278
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   279
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   280
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   281
Use this function after a readNetworkDict to get the result. Returns : SDO_FINISHED // data is available SDO_ABORTED_RCV // Transfert failed. (abort SDO received) SDO_ABORTED_INTERNAL // Transfert failed. Internal abort. SDO_UPLOAD_IN_PROGRESS // Data not yet available SDO_DOWNLOAD_IN_PROGRESS // Should not arrive !<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   282
dataType (defined in <a class="el" href="objdictdef_8h.html">objdictdef.h</a>) : type expected. put "visible_string" for strings, 0 for integers or reals. abortCode : 0 = not available. Else : SDO abort code. (received if return SDO_ABORTED_RCV) example : UNS32 data; UNS8 size; readNetworkDict(0, 0x05, 0x1016, 1, 0) // get the data index 1016 subindex 1 of node 5 while (getReadResultNetworkDict (0, 0x05, &amp;data, &amp;size) != SDO_UPLOAD_IN_PROGRESS); 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   283
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   284
Definition at line <a class="el" href="sdo_8c-source.html#l01295">1295</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   285
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   286
References <a class="el" href="hcs12_2applicfg_8h-source.html#l00055">CANOPEN_BIG_ENDIAN</a>, <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00056">struct_s_transfer::data</a>, <a class="el" href="sdo_8h-source.html#l00057">struct_s_transfer::dataType</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="def_8h-source.html#l00073">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00079">SDO_CLIENT</a>, <a class="el" href="def_8h-source.html#l00071">SDO_FINISHED</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="objdictdef_8h-source.html#l00040">visible_string</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   287
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   288
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   289
<a class="anchor" name="58d1f9691977617601beb9e5b4123252"></a><!-- doxytag: member="sdo.h::getSDOfreeLine" ref="58d1f9691977617601beb9e5b4123252" args="(CO_Data *d, UNS8 whoami, UNS8 *line)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   290
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   291
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   292
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   293
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   294
          <td class="memname">UNS8 getSDOfreeLine           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   295
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   296
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   297
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   298
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   299
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   300
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   301
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   302
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   303
          <td class="paramname"> <em>whoami</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   304
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   305
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   306
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   307
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   308
          <td class="paramtype">UNS8 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   309
          <td class="paramname"> <em>line</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   310
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   311
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   312
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   313
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   314
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   315
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   316
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   317
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   318
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   319
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   320
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   321
Search for an unused line in the transfers array to store a new SDO. ie a line which value of the field "state" is "SDO_RESET" An unused line have the field "state" at the value SDO_RESET bus_id is hardware dependant whoami : create the line for a SDO_SERVER or SDO_CLIENT. return 0xFF if all the lines are on use. Else, return 0 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   322
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   323
Definition at line <a class="el" href="sdo_8c-source.html#l00284">284</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   324
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   325
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="config_8h-source.html#l00029">SDO_MAX_SIMULTANEOUS_TRANSFERTS</a>, <a class="el" href="def_8h-source.html#l00070">SDO_RESET</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="sdo_8h-source.html#l00041">struct_s_transfer::whoami</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   326
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   327
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   328
<a class="anchor" name="bb0c376b048ab2c6e0524b135b62376f"></a><!-- doxytag: member="sdo.h::getSDOlineOnUse" ref="bb0c376b048ab2c6e0524b135b62376f" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   329
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   330
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   331
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   332
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   333
          <td class="memname">UNS8 getSDOlineOnUse           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   334
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   335
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   336
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   337
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   338
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   339
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   340
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   341
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   342
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   343
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   344
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   345
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   346
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   347
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   348
          <td class="paramname"> <em>whoami</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   349
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   350
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   351
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   352
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   353
          <td class="paramtype">UNS8 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   354
          <td class="paramname"> <em>line</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   355
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   356
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   357
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   358
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   359
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   360
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   361
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   362
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   363
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   364
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   365
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   366
Search for the line, in the transfers array, which contains the beginning of the reception of a fragmented SDO whoami takes 2 values : look for a line opened as SDO_CLIENT or SDO_SERVER bus_id is hardware dependant nodeId correspond to the message node-id return 0xFF if error. Else, return 0 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   367
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   368
Definition at line <a class="el" href="sdo_8c-source.html#l00301">301</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   369
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   370
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00039">struct_s_transfer::nodeId</a>, <a class="el" href="config_8h-source.html#l00029">SDO_MAX_SIMULTANEOUS_TRANSFERTS</a>, <a class="el" href="def_8h-source.html#l00070">SDO_RESET</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="sdo_8h-source.html#l00041">struct_s_transfer::whoami</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   371
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   372
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   373
<a class="anchor" name="acceb714c6e457e98deb9ba164ba2a2f"></a><!-- doxytag: member="sdo.h::getSDOlineRestBytes" ref="acceb714c6e457e98deb9ba164ba2a2f" args="(CO_Data *d, UNS8 line, UNS8 *nbBytes)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   374
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   375
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   376
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   377
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   378
          <td class="memname">UNS8 getSDOlineRestBytes           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   379
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   380
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   381
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   382
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   383
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   384
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   385
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   386
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   387
          <td class="paramname"> <em>line</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   388
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   389
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   390
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   391
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   392
          <td class="paramtype">UNS8 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   393
          <td class="paramname"> <em>nbBytes</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   394
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   395
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   396
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   397
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   398
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   399
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   400
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   401
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   402
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   403
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   404
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   405
Bytes in the line structure which must be transmited (or received) bus_id is hardware dependant. return 0. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   406
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   407
Definition at line <a class="el" href="sdo_8c-source.html#l00332">332</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   408
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   409
References <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00050">struct_s_transfer::offset</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   410
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   411
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   412
<a class="anchor" name="8671e306873f19362c60bb50ab930d1d"></a><!-- doxytag: member="sdo.h::getWriteResultNetworkDict" ref="8671e306873f19362c60bb50ab930d1d" args="(CO_Data *d, UNS8 nodeId, UNS32 *abortCode)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   413
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   414
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   415
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   416
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   417
          <td class="memname">UNS8 getWriteResultNetworkDict           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   418
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   419
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   420
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   421
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   422
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   423
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   424
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   425
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   426
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   427
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   428
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   429
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   430
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   431
          <td class="paramtype">UNS32 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   432
          <td class="paramname"> <em>abortCode</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   433
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   434
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   435
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   436
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   437
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   438
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   439
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   440
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   441
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   442
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   443
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   444
Use this function after a writeNetworkDict to get the result of the write It is mandatory to call this function because it is releasing the line used for the transfer. Returns : SDO_FINISHED // data is available SDO_ABORTED_RCV // Transfert failed. (abort SDO received) SDO_ABORTED_INTERNAL // Transfert failed. Internal abort. SDO_DOWNLOAD_IN_PROGRESS // Data not yet available SDO_UPLOAD_IN_PROGRESS // Should not arrive ! abortCode : 0 = not available. Else : SDO abort code. (received if return SDO_ABORTED_RCV) example : UNS32 data = 0x50; UNS8 size; UNS32 abortCode; writeNetworkDict(0, 0x05, 0x1016, 1, size, &amp;data) // write the data index 1016 subindex 1 of node 5 while ( getWriteResultNetworkDict (0, 0x05, &amp;abortCode) != SDO_DOWNLOAD_IN_PROGRESS); 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   445
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   446
Definition at line <a class="el" href="sdo_8c-source.html#l01329">1329</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   447
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   448
References <a class="el" href="sdo_8h-source.html#l00044">struct_s_transfer::abortCode</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="def_8h-source.html#l00073">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00079">SDO_CLIENT</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   449
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   450
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   451
<a class="anchor" name="b9c873a15f55b29112b5527a6cc6898d"></a><!-- doxytag: member="sdo.h::initSDOline" ref="b9c873a15f55b29112b5527a6cc6898d" args="(CO_Data *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   452
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   453
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   454
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   455
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   456
          <td class="memname">UNS8 initSDOline           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   457
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   458
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   459
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   460
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   461
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   462
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   463
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   464
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   465
          <td class="paramname"> <em>line</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   466
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   467
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   468
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   469
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   470
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   471
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   472
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   473
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   474
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   475
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   476
          <td class="paramtype">UNS16&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   477
          <td class="paramname"> <em>index</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   478
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   479
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   480
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   481
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   482
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   483
          <td class="paramname"> <em>subIndex</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   484
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   485
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   486
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   487
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   488
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   489
          <td class="paramname"> <em>state</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   490
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   491
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   492
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   493
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   494
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   495
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   496
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   497
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   498
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   499
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   500
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   501
Initialize some fields of the structure. Returns 0 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   502
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   503
Definition at line <a class="el" href="sdo_8c-source.html#l00263">263</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   504
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   505
References <a class="el" href="sdo_8h-source.html#l00067">struct_s_transfer::Callback</a>, <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00057">struct_s_transfer::dataType</a>, <a class="el" href="sdo_8h-source.html#l00047">struct_s_transfer::index</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8h-source.html#l00039">struct_s_transfer::nodeId</a>, <a class="el" href="sdo_8h-source.html#l00050">struct_s_transfer::offset</a>, <a class="el" href="def_8h-source.html#l00074">SDO_DOWNLOAD_IN_PROGRESS</a>, <a class="el" href="def_8h-source.html#l00075">SDO_UPLOAD_IN_PROGRESS</a>, <a class="el" href="sdo_8c-source.html#l00120">StartSDO_TIMER</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>, <a class="el" href="sdo_8h-source.html#l00048">struct_s_transfer::subIndex</a>, <a class="el" href="sdo_8h-source.html#l00043">struct_s_transfer::toggle</a>, and <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   506
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   507
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   508
<a class="anchor" name="ad6eb8be03b832ebba4dfb87aaba4065"></a><!-- doxytag: member="sdo.h::lineToSDO" ref="ad6eb8be03b832ebba4dfb87aaba4065" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   509
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   510
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   511
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   512
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   513
          <td class="memname">UNS8 lineToSDO           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   514
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   515
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   516
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   517
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   518
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   519
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   520
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   521
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   522
          <td class="paramname"> <em>line</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   523
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   524
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   525
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   526
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   527
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   528
          <td class="paramname"> <em>nbBytes</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   529
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   530
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   531
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   532
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   533
          <td class="paramtype">UNS8 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   534
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   535
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   536
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   537
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   538
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   539
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   540
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   541
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   542
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   543
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   544
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   545
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   546
copy data from an existant line in the argument "* data" Returns 0xFF if error. Else, returns 0; 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   547
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   548
Definition at line <a class="el" href="sdo_8c-source.html#l00189">189</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   549
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   550
References <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00056">struct_s_transfer::data</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="sdo_8h-source.html#l00050">struct_s_transfer::offset</a>, <a class="el" href="config_8h-source.html#l00028">SDO_MAX_LENGTH_TRANSFERT</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   551
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   552
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   553
<a class="anchor" name="29427a80fd1aeabff30bf0602fbc220f"></a><!-- doxytag: member="sdo.h::objdictToSDOline" ref="29427a80fd1aeabff30bf0602fbc220f" args="(CO_Data *d, UNS8 line)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   554
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   555
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   556
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   557
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   558
          <td class="memname">UNS32 objdictToSDOline           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   559
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   560
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   561
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   562
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   563
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   564
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   565
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   566
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   567
          <td class="paramname"> <em>line</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   568
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   569
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   570
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   571
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   572
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   573
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   574
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   575
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   576
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   577
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   578
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   579
Copy the data from the object dictionary to the SDO line for a network transfert. Returns SDO error code if error. Else, returns 0; 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   580
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   581
Definition at line <a class="el" href="sdo_8c-source.html#l00157">157</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   582
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   583
References <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00056">struct_s_transfer::data</a>, <a class="el" href="objacces_8c-source.html#l00145">getODentry()</a>, <a class="el" href="sdo_8h-source.html#l00047">struct_s_transfer::index</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="sdo_8h-source.html#l00050">struct_s_transfer::offset</a>, <a class="el" href="sdo_8h-source.html#l00048">struct_s_transfer::subIndex</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   584
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   585
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   586
<a class="anchor" name="2a93a7c780472b1d8666d89aa270f661"></a><!-- doxytag: member="sdo.h::proceedSDO" ref="2a93a7c780472b1d8666d89aa270f661" args="(CO_Data *d, Message *m)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   587
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   588
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   589
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   590
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   591
          <td class="memname">UNS8 proceedSDO           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   592
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   593
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   594
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   595
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   596
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   597
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   598
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   599
          <td class="paramtype"><a class="el" href="structMessage.html">Message</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   600
          <td class="paramname"> <em>m</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   601
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   602
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   603
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   604
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   605
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   606
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   607
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   608
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   609
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   610
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   611
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   612
Treat a SDO frame reception bus_id is hardware dependant call the function sendSDO return 0xFF if error 0x80 if transfert aborted by the server 0x0 ok 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   613
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   614
Definition at line <a class="el" href="sdo_8c-source.html#l00447">447</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   615
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   616
References <a class="el" href="sdo_8h-source.html#l00044">struct_s_transfer::abortCode</a>, <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, <a class="el" href="sdo_8h-source.html#l00082">struct_s_SDO::body</a>, <a class="el" href="objdictdef_8h-source.html#l00108">td_indextable::bSubCount</a>, <a class="el" href="sdo_8h-source.html#l00067">struct_s_transfer::Callback</a>, <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00076">BODY::data</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="sdo_8c-source.html#l00227">failedSDO()</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="sdo_8c-source.html#l00075">getSDOc</a>, <a class="el" href="sdo_8c-source.html#l00055">getSDOcs</a>, <a class="el" href="sdo_8c-source.html#l00067">getSDOe</a>, <a class="el" href="sdo_8c-source.html#l00284">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00083">getSDOindex</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00332">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l00059">getSDOn2</a>, <a class="el" href="sdo_8c-source.html#l00063">getSDOn3</a>, <a class="el" href="sdo_8c-source.html#l00071">getSDOs</a>, <a class="el" href="sdo_8c-source.html#l00088">getSDOsubIndex</a>, <a class="el" href="sdo_8c-source.html#l00079">getSDOt</a>, <a class="el" href="sdo_8h-source.html#l00047">struct_s_transfer::index</a>, <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="sdo_8c-source.html#l00189">lineToSDO()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8h-source.html#l00081">struct_s_SDO::nodeId</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="sdo_8c-source.html#l00157">objdictToSDOline()</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00124">RestartSDO_TIMER</a>, <a class="el" href="def_8h-source.html#l00072">SDO_ABORTED_RCV</a>, <a class="el" href="def_8h-source.html#l00079">SDO_CLIENT</a>, <a class="el" href="objdictdef_8h-source.html#l00117">s_quick_index::SDO_CLT</a>, <a class="el" href="def_8h-source.html#l00074">SDO_DOWNLOAD_IN_PROGRESS</a>, <a class="el" href="def_8h-source.html#l00071">SDO_FINISHED</a>, <a class="el" href="def_8h-source.html#l00078">SDO_SERVER</a>, <a class="el" href="objdictdef_8h-source.html#l00116">s_quick_index::SDO_SVR</a>, <a class="el" href="def_8h-source.html#l00080">SDO_UNKNOWN</a>, <a class="el" href="def_8h-source.html#l00075">SDO_UPLOAD_IN_PROGRESS</a>, <a class="el" href="def_8h-source.html#l00045">SDOABT_GENERAL_ERROR</a>, <a class="el" href="def_8h-source.html#l00046">SDOABT_LOCAL_CTRL_ERROR</a>, <a class="el" href="def_8h-source.html#l00042">SDOABT_TOGGLE_NOT_ALTERNED</a>, <a class="el" href="sdo_8c-source.html#l00141">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00210">SDOtoLine()</a>, <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00342">setSDOlineRestBytes()</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>, <a class="el" href="sdo_8h-source.html#l00048">struct_s_transfer::subIndex</a>, <a class="el" href="sdo_8h-source.html#l00043">struct_s_transfer::toggle</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   617
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   618
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   619
<a class="anchor" name="0e102a0835e4115920cd406e80a8d135"></a><!-- doxytag: member="sdo.h::readNetworkDict" ref="0e102a0835e4115920cd406e80a8d135" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   620
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   621
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   622
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   623
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   624
          <td class="memname">UNS8 readNetworkDict           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   625
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   626
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   627
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   628
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   629
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   630
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   631
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   632
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   633
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   634
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   635
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   636
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   637
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   638
          <td class="paramtype">UNS16&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   639
          <td class="paramname"> <em>index</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   640
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   641
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   642
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   643
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   644
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   645
          <td class="paramname"> <em>subIndex</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   646
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   647
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   648
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   649
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   650
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   651
          <td class="paramname"> <em>dataType</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   652
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   653
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   654
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   655
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   656
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   657
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   658
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   659
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   660
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   661
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   662
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   663
Used by the application to send a SDO request frame to read in the dictionary of a server node whose node_id is ID at the index and subIndex indicated bus_id is hardware dependant datatype (defined in <a class="el" href="objdictdef_8h.html">objdictdef.h</a>) : put "visible_string" for strings, 0 for integers or reals or other value. return 0xFF if error, else return 0 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   664
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   665
Definition at line <a class="el" href="sdo_8c-source.html#l01282">1282</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   666
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   667
References <a class="el" href="sdo_8c-source.html#l01198">_readNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   668
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   669
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   670
<a class="anchor" name="542a5cdd20c00aa130a39fe68295e769"></a><!-- doxytag: member="sdo.h::readNetworkDictCallback" ref="542a5cdd20c00aa130a39fe68295e769" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   671
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   672
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   673
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   674
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   675
          <td class="memname">UNS8 readNetworkDictCallback           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   676
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   677
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   678
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   679
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   680
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   681
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   682
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   683
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   684
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   685
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   686
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   687
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   688
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   689
          <td class="paramtype">UNS16&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   690
          <td class="paramname"> <em>index</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   691
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   692
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   693
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   694
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   695
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   696
          <td class="paramname"> <em>subIndex</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   697
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   698
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   699
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   700
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   701
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   702
          <td class="paramname"> <em>dataType</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   703
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   704
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   705
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   706
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   707
          <td class="paramtype"><a class="el" href="sdo_8h.html#606eccfef67e572723e1efba3f0d87ba">SDOCallback_t</a>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   708
          <td class="paramname"> <em>Callback</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   709
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   710
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   711
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   712
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   713
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   714
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   715
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   716
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   717
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   718
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   719
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   720
Used to send a SDO request frame to read in a distant node dictionnary. The function Callback which must be defined in the user code is called at the end of the exchange. (on succes or abort). 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   721
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   722
Definition at line <a class="el" href="sdo_8c-source.html#l01288">1288</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   723
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   724
References <a class="el" href="sdo_8c-source.html#l01198">_readNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   725
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   726
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   727
<a class="anchor" name="1f4f07eccc4890a11ccf4f632da7740b"></a><!-- doxytag: member="sdo.h::resetSDO" ref="1f4f07eccc4890a11ccf4f632da7740b" args="(CO_Data *d)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   728
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   729
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   730
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   731
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   732
          <td class="memname">void resetSDO           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   733
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   734
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   735
          <td class="paramname"> <em>d</em>          </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   736
          <td>&nbsp;)&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   737
          <td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   738
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   739
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   740
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   741
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   742
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   743
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   744
Reset all sdo buffers 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   745
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   746
Definition at line <a class="el" href="sdo_8c-source.html#l00131">131</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   747
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   748
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="config_8h-source.html#l00029">SDO_MAX_SIMULTANEOUS_TRANSFERTS</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   749
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   750
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   751
<a class="anchor" name="42d33be015d4c4c83c73f1f0e588f481"></a><!-- doxytag: member="sdo.h::resetSDOline" ref="42d33be015d4c4c83c73f1f0e588f481" args="(CO_Data *d, UNS8 line)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   752
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   753
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   754
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   755
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   756
          <td class="memname">void resetSDOline           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   757
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   758
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   759
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   760
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   761
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   762
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   763
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   764
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   765
          <td class="paramname"> <em>line</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   766
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   767
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   768
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   769
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   770
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   771
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   772
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   773
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   774
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   775
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   776
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   777
Reset an unused line. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   778
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   779
Definition at line <a class="el" href="sdo_8c-source.html#l00253">253</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   780
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   781
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00056">struct_s_transfer::data</a>, <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="config_8h-source.html#l00028">SDO_MAX_LENGTH_TRANSFERT</a>, <a class="el" href="def_8h-source.html#l00070">SDO_RESET</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   782
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   783
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   784
<a class="anchor" name="2eb5309dca3a7363da5e5e7230b85d58"></a><!-- doxytag: member="sdo.h::SDOlineToObjdict" ref="2eb5309dca3a7363da5e5e7230b85d58" args="(CO_Data *d, UNS8 line)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   785
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   786
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   787
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   788
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   789
          <td class="memname">UNS32 SDOlineToObjdict           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   790
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   791
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   792
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   793
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   794
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   795
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   796
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   797
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   798
          <td class="paramname"> <em>line</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   799
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   800
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   801
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   802
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   803
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   804
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   805
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   806
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   807
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   808
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   809
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   810
Copy the data received from the SDO line transfert to the object dictionary Returns SDO error code if error. Else, returns 0; 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   811
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   812
Definition at line <a class="el" href="sdo_8c-source.html#l00141">141</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   813
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   814
References <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00056">struct_s_transfer::data</a>, <a class="el" href="sdo_8h-source.html#l00047">struct_s_transfer::index</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="objacces_8c-source.html#l00257">setODentry()</a>, <a class="el" href="sdo_8h-source.html#l00048">struct_s_transfer::subIndex</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   815
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   816
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   817
<a class="anchor" name="9309025e29b59e09026abcd3b45a5b61"></a><!-- doxytag: member="sdo.h::SDOTimeoutAlarm" ref="9309025e29b59e09026abcd3b45a5b61" args="(CO_Data *d, UNS32 id)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   818
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   819
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   820
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   821
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   822
          <td class="memname">void SDOTimeoutAlarm           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   823
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   824
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   825
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   826
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   827
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   828
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   829
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   830
          <td class="paramtype">UNS32&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   831
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   832
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   833
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   834
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   835
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   836
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   837
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   838
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   839
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   840
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   841
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   842
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   843
Reset of a SDO exchange on timeout. Send a SDO abort 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   844
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   845
Definition at line <a class="el" href="sdo_8c-source.html#l00093">93</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   846
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   847
References <a class="el" href="sdo_8h-source.html#l00044">struct_s_transfer::abortCode</a>, <a class="el" href="sdo_8h-source.html#l00067">struct_s_transfer::Callback</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00047">struct_s_transfer::index</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8h-source.html#l00039">struct_s_transfer::nodeId</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="def_8h-source.html#l00073">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00078">SDO_SERVER</a>, <a class="el" href="def_8h-source.html#l00043">SDOABT_TIMED_OUT</a>, <a class="el" href="sdo_8c-source.html#l00424">sendSDOabort()</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="sdo_8h-source.html#l00048">struct_s_transfer::subIndex</a>, <a class="el" href="sdo_8h-source.html#l00061">struct_s_transfer::timer</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="sdo_8h-source.html#l00041">struct_s_transfer::whoami</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   848
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   849
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   850
<a class="anchor" name="18b6f7e9c9441640a88ffef1e8720694"></a><!-- doxytag: member="sdo.h::SDOtoLine" ref="18b6f7e9c9441640a88ffef1e8720694" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   851
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   852
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   853
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   854
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   855
          <td class="memname">UNS8 SDOtoLine           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   856
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   857
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   858
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   859
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   860
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   861
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   862
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   863
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   864
          <td class="paramname"> <em>line</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   865
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   866
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   867
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   868
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   869
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   870
          <td class="paramname"> <em>nbBytes</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   871
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   872
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   873
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   874
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   875
          <td class="paramtype">UNS8 *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   876
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   877
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   878
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   879
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   880
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   881
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   882
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   883
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   884
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   885
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   886
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   887
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   888
Add data to an existant line Returns 0xFF if error. Else, returns 0; 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   889
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   890
Definition at line <a class="el" href="sdo_8c-source.html#l00210">210</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   891
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   892
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00056">struct_s_transfer::data</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="sdo_8h-source.html#l00050">struct_s_transfer::offset</a>, <a class="el" href="config_8h-source.html#l00028">SDO_MAX_LENGTH_TRANSFERT</a>, <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   893
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   894
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   895
<a class="anchor" name="c6b5d7d1439d537da992a96644a1ca5d"></a><!-- doxytag: member="sdo.h::sendSDO" ref="c6b5d7d1439d537da992a96644a1ca5d" args="(CO_Data *d, UNS8 whoami, s_SDO sdo)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   896
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   897
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   898
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   899
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   900
          <td class="memname">UNS8 sendSDO           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   901
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   902
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   903
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   904
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   905
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   906
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   907
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   908
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   909
          <td class="paramname"> <em>whoami</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   910
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   911
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   912
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   913
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   914
          <td class="paramtype"><a class="el" href="structstruct__s__SDO.html">s_SDO</a>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   915
          <td class="paramname"> <em>sdo</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   916
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   917
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   918
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   919
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   920
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   921
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   922
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   923
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   924
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   925
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   926
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   927
Transmit a SDO frame on the bus bus_id sdo is a structure which contains the sdo to transmit bus_id is hardware dependant whoami takes 2 values : SDO_CLIENT or SDO_SERVER return canSend(bus_id,&amp;m) or 0xFF if error 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   928
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   929
Definition at line <a class="el" href="sdo_8c-source.html#l00354">354</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   930
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   931
References <a class="el" href="sdo_8h-source.html#l00082">struct_s_SDO::body</a>, <a class="el" href="objdictdef_8h-source.html#l00108">td_indextable::bSubCount</a>, <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00076">BODY::data</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8h-source.html#l00081">struct_s_SDO::nodeId</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646c747c16a9c4d7dec65cdab6e38df99b7">Pre_operational</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="objdictdef_8h-source.html#l00117">s_quick_index::SDO_CLT</a>, <a class="el" href="def_8h-source.html#l00078">SDO_SERVER</a>, <a class="el" href="objdictdef_8h-source.html#l00116">s_quick_index::SDO_SVR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   932
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   933
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   934
<a class="anchor" name="b26c3f2fb63d81055809d6ccaa785b7c"></a><!-- doxytag: member="sdo.h::sendSDOabort" ref="b26c3f2fb63d81055809d6ccaa785b7c" args="(CO_Data *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   935
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   936
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   937
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   938
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   939
          <td class="memname">UNS8 sendSDOabort           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   940
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   941
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   942
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   943
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   944
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   945
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   946
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   947
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   948
          <td class="paramname"> <em>whoami</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   949
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   950
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   951
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   952
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   953
          <td class="paramtype">UNS16&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   954
          <td class="paramname"> <em>index</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   955
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   956
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   957
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   958
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   959
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   960
          <td class="paramname"> <em>subIndex</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   961
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   962
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   963
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   964
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   965
          <td class="paramtype">UNS32&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   966
          <td class="paramname"> <em>abortCode</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   967
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   968
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   969
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   970
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   971
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   972
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   973
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   974
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   975
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   976
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   977
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   978
Transmit a SDO error to the client. The reasons may be : Read/Write to a undefined object Read/Write to a undefined subindex Read/write a not valid length object Write a read only object whoami takes 2 values : SDO_CLIENT or SDO_SERVER 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   979
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   980
Definition at line <a class="el" href="sdo_8c-source.html#l00424">424</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   981
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   982
References <a class="el" href="data_8h-source.html#l00047">struct_CO_Data::bDeviceNodeId</a>, <a class="el" href="sdo_8h-source.html#l00082">struct_s_SDO::body</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8h-source.html#l00076">BODY::data</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8h-source.html#l00081">struct_s_SDO::nodeId</a>, <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   983
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   984
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   985
<a class="anchor" name="601a837ecb5f21bf4c66b058c5ae7810"></a><!-- doxytag: member="sdo.h::setSDOlineRestBytes" ref="601a837ecb5f21bf4c66b058c5ae7810" args="(CO_Data *d, UNS8 line, UNS8 nbBytes)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   986
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   987
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   988
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   989
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   990
          <td class="memname">UNS8 setSDOlineRestBytes           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   991
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   992
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   993
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   994
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   995
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   996
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   997
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   998
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
   999
          <td class="paramname"> <em>line</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1000
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1001
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1002
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1003
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1004
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1005
          <td class="paramname"> <em>nbBytes</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1006
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1007
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1008
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1009
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1010
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1011
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1012
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1013
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1014
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1015
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1016
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1017
Store in the line structure the nb of bytes which must be transmited (or received) bus_id is hardware dependant. return 0 if success, 0xFF if error. 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1018
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1019
Definition at line <a class="el" href="sdo_8c-source.html#l00342">342</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1020
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1021
References <a class="el" href="sdo_8h-source.html#l00049">struct_s_transfer::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="config_8h-source.html#l00028">SDO_MAX_LENGTH_TRANSFERT</a>, and <a class="el" href="data_8h-source.html#l00057">struct_CO_Data::transfers</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1022
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1023
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1024
<a class="anchor" name="bc20ed246e00053dcf71faa8f45ee39c"></a><!-- doxytag: member="sdo.h::writeNetworkDict" ref="bc20ed246e00053dcf71faa8f45ee39c" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1025
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1026
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1027
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1028
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1029
          <td class="memname">UNS8 writeNetworkDict           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1030
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1031
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1032
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1033
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1034
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1035
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1036
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1037
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1038
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1039
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1040
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1041
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1042
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1043
          <td class="paramtype">UNS16&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1044
          <td class="paramname"> <em>index</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1045
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1046
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1047
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1048
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1049
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1050
          <td class="paramname"> <em>subIndex</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1051
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1052
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1053
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1054
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1055
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1056
          <td class="paramname"> <em>count</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1057
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1058
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1059
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1060
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1061
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1062
          <td class="paramname"> <em>dataType</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1063
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1064
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1065
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1066
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1067
          <td class="paramtype">void *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1068
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1069
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1070
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1071
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1072
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1073
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1074
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1075
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1076
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1077
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1078
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1079
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1080
Used by the application to send a SDO request frame to write the data *data at the index and subIndex indicated in the dictionary of the slave whose node_id is nodeId Count : nb of bytes to write in the dictionnary. datatype (defined in <a class="el" href="objdictdef_8h.html">objdictdef.h</a>) : put "visible_string" for strings, 0 for integers or reals or other value. bus_id is hardware dependant return 0xFF if error, else return 0 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1081
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1082
Definition at line <a class="el" href="sdo_8c-source.html#l01182">1182</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1083
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1084
References <a class="el" href="sdo_8c-source.html#l01072">_writeNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1085
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1086
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1087
<a class="anchor" name="f4ec05293fb8971a1b282994498ed4f5"></a><!-- doxytag: member="sdo.h::writeNetworkDictCallBack" ref="f4ec05293fb8971a1b282994498ed4f5" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback)" -->
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1088
<div class="memitem">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1089
<div class="memproto">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1090
      <table class="memname">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1091
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1092
          <td class="memname">UNS8 writeNetworkDictCallBack           </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1093
          <td>(</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1094
          <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1095
          <td class="paramname"> <em>d</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1096
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1097
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1098
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1099
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1100
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1101
          <td class="paramname"> <em>nodeId</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1102
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1103
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1104
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1105
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1106
          <td class="paramtype">UNS16&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1107
          <td class="paramname"> <em>index</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1108
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1109
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1110
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1111
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1112
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1113
          <td class="paramname"> <em>subIndex</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1114
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1115
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1116
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1117
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1118
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1119
          <td class="paramname"> <em>count</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1120
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1121
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1122
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1123
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1124
          <td class="paramtype">UNS8&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1125
          <td class="paramname"> <em>dataType</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1126
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1127
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1128
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1129
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1130
          <td class="paramtype">void *&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1131
          <td class="paramname"> <em>data</em>, </td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1132
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1133
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1134
          <td class="paramkey"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1135
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1136
          <td class="paramtype"><a class="el" href="sdo_8h.html#606eccfef67e572723e1efba3f0d87ba">SDOCallback_t</a>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1137
          <td class="paramname"> <em>Callback</em></td><td>&nbsp;</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1138
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1139
        <tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1140
          <td></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1141
          <td>)</td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1142
          <td></td><td></td><td width="100%"></td>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1143
        </tr>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1144
      </table>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1145
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1146
<div class="memdoc">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1147
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1148
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1149
Used to send a SDO request frame to write in a distant node dictionnary. The function Callback which must be defined in the user code is called at the end of the exchange. (on succes or abort). 
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1150
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1151
Definition at line <a class="el" href="sdo_8c-source.html#l01190">1190</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1152
<p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1153
References <a class="el" href="sdo_8c-source.html#l01072">_writeNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1154
</div>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1155
</div><p>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1156
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 16:29:07 2007 for CanFestival by&nbsp;
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1157
<a href="http://www.doxygen.org/index.html">
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1158
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1159
</body>
b6572d0336c3 First doxygen implementation
nico
parents:
diff changeset
  1160
</html>