207
|
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
2 |
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
215
|
3 |
<title>CanFestival: src/sdo.c File Reference</title>
|
207
|
4 |
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
5 |
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
6 |
</head><body>
|
|
7 |
<!-- Generated by Doxygen 1.5.1 -->
|
|
8 |
<div class="tabs">
|
|
9 |
<ul>
|
|
10 |
<li><a href="main.html"><span>Main Page</span></a></li>
|
215
|
11 |
<li><a href="annotated.html"><span>Data Structures</span></a></li>
|
207
|
12 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
215
|
13 |
<li><a href="dirs.html"><span>Directories</span></a></li>
|
207
|
14 |
</ul></div>
|
|
15 |
<div class="tabs">
|
|
16 |
<ul>
|
|
17 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
18 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
19 |
</ul></div>
|
215
|
20 |
<div class="nav">
|
240
|
21 |
<a class="el" href="dir_0aa10e4f705947227e11e7ccb081fbe4.html">src</a></div>
|
215
|
22 |
<h1>sdo.c File Reference</h1><code>#include "<a class="el" href="objacces_8h-source.html">objacces.h</a>"</code><br>
|
|
23 |
<code>#include "<a class="el" href="sdo_8h-source.html">sdo.h</a>"</code><br>
|
|
24 |
<code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br>
|
|
25 |
|
|
26 |
<p>
|
|
27 |
Include dependency graph for sdo.c:<p><center><img src="sdo_8c__incl.png" border="0" usemap="#src/sdo.c_map" alt=""></center>
|
|
28 |
<map name="src/sdo.c_map">
|
240
|
29 |
<area href="objacces_8h.html" shape="rect" coords="129,260,207,287" alt="">
|
|
30 |
<area href="sdo_8h.html" shape="rect" coords="384,513,432,540" alt="">
|
|
31 |
<area href="win32_2canfestival_8h.html" shape="rect" coords="124,564,212,591" alt="">
|
|
32 |
<area href="win32_2applicfg_8h.html" shape="rect" coords="615,361,689,388" alt="">
|
|
33 |
<area href="data_8h.html" shape="rect" coords="261,260,315,287" alt="">
|
|
34 |
<area href="def_8h.html" shape="rect" coords="508,61,556,88" alt="">
|
|
35 |
<area href="can_8h.html" shape="rect" coords="508,223,556,249" alt="">
|
|
36 |
<area href="objdictdef_8h.html" shape="rect" coords="365,311,451,337" alt="">
|
|
37 |
<area href="pdo_8h.html" shape="rect" coords="383,159,433,185" alt="">
|
|
38 |
<area href="states_8h.html" shape="rect" coords="377,260,439,287" alt="">
|
|
39 |
<area href="lifegrd_8h.html" shape="rect" coords="375,361,441,388" alt="">
|
|
40 |
<area href="sync_8h.html" shape="rect" coords="380,57,436,84" alt="">
|
|
41 |
<area href="nmtMaster_8h.html" shape="rect" coords="364,108,452,135" alt="">
|
|
42 |
<area href="config_8h.html" shape="rect" coords="620,61,684,88" alt="">
|
|
43 |
<area href="timer_8h.html" shape="rect" coords="503,475,561,501" alt="">
|
|
44 |
<area href="win32_2timerscfg_8h.html" shape="rect" coords="612,545,692,572" alt="">
|
|
45 |
<area href="can__driver_8h.html" shape="rect" coords="364,564,452,591" alt="">
|
215
|
46 |
</map>
|
210
|
47 |
|
|
48 |
<p>
|
207
|
49 |
<a href="sdo_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
50 |
<tr><td></td></tr>
|
|
51 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
240
|
52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#90bf5255db20e3e74a0b043e30ad0be6">NO_INLINE</a></td></tr>
|
|
53 |
|
|
54 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#7821d61f7cecf16606977a20204723c8">INLINE</a></td></tr>
|
|
55 |
|
|
56 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#88d2c7caa4674dc107c8426a9bb9fbe2">getSDOcs</a>(byte) (byte >> 5)</td></tr>
|
|
57 |
|
|
58 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#9650fda82d38407e48ca47a794b6e851">getSDOn2</a>(byte) ((byte >> 2) & 3)</td></tr>
|
|
59 |
|
|
60 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#bd7f798d9a3805bb68e44c8680adc61d">getSDOn3</a>(byte) ((byte >> 1) & 7)</td></tr>
|
|
61 |
|
|
62 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#fa9f4babd1d9354513193c92884b380c">getSDOe</a>(byte) ((byte >> 1) & 1)</td></tr>
|
|
63 |
|
|
64 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#213b23372ba87bb6736fb76317ea6f5d">getSDOs</a>(byte) (byte & 1)</td></tr>
|
|
65 |
|
|
66 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#26b66edd49ebde74ba52fcbd39e77345">getSDOc</a>(byte) (byte & 1)</td></tr>
|
|
67 |
|
|
68 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#51eef12593fb0ee39ecf4bcd4c98d6ca">getSDOt</a>(byte) ((byte >> 4) & 1)</td></tr>
|
|
69 |
|
|
70 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#53bdbadfcc4fc6126e5bce64a3e807fd">getSDOindex</a>(byte1, byte2) ((byte2 << 8) | (byte1))</td></tr>
|
|
71 |
|
|
72 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#ff6e7e52d2fe28432a4ea2eecb055f7a">getSDOsubIndex</a>(byte3) (byte3)</td></tr>
|
|
73 |
|
|
74 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#5ad9524ff60bfeed23638dafae05f82b">StopSDO_TIMER</a>(id)</td></tr>
|
|
75 |
|
|
76 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#7e5ff26012829657bb259f10c97c5788">StartSDO_TIMER</a>(id)</td></tr>
|
|
77 |
|
|
78 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#67a3bef758c4d437b62edc60a6c3a3e0">RestartSDO_TIMER</a>(id)</td></tr>
|
207
|
79 |
|
|
80 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
240
|
81 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">INLINE UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#aa754826c624685ec491735501631c4e">_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, <a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> Callback, UNS8 endianize)</td></tr>
|
|
82 |
|
|
83 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">INLINE UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#d381df29f9b8c0a17bc10d845aba3a31">_readNetworkDict</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#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> Callback)</td></tr>
|
|
84 |
|
|
85 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#96a6defad098e149a011ee0b832f44a0">SDOTimeoutAlarm</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 id)</td></tr>
|
|
86 |
|
|
87 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#48d2bfe1b7581346bb720ad2542bac89">resetSDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr>
|
|
88 |
|
|
89 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#6603431e4ce111d365118681a3b80653">SDOlineToObjdict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line)</td></tr>
|
|
90 |
|
|
91 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90">objdictToSDOline</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line)</td></tr>
|
|
92 |
|
|
93 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66">lineToSDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
|
|
94 |
|
|
95 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb">SDOtoLine</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
|
|
96 |
|
|
97 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#85872a68746c862b8771045ef45385a5">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>
|
|
98 |
|
|
99 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448">resetSDOline</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line)</td></tr>
|
|
100 |
|
|
101 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184">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>
|
|
102 |
|
|
103 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#cb77818f302f413301728d27c091fa03">getSDOfreeLine</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 whoami, UNS8 *line)</td></tr>
|
|
104 |
|
|
105 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1">getSDOlineOnUse</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)</td></tr>
|
|
106 |
|
|
107 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#df77b984822a5cec9782ebd6bc64e700">closeSDOtransfer</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS8 whoami)</td></tr>
|
|
108 |
|
|
109 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a">getSDOlineRestBytes</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 *nbBytes)</td></tr>
|
|
110 |
|
|
111 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3">setSDOlineRestBytes</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 line, UNS8 nbBytes)</td></tr>
|
|
112 |
|
|
113 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc">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>
|
|
114 |
|
|
115 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#5ddd75f2935b87e9eeccd166d977fe5a">sendSDOabort</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)</td></tr>
|
|
116 |
|
|
117 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#c93bfdbec900f0b60386f0a2a5256826">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>
|
|
118 |
|
|
119 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#e38e2a7d1801309e41d81203321608dc">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>
|
|
120 |
|
|
121 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#f0491ff0ed4a472e54de7f24c4e8457a">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#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> Callback)</td></tr>
|
|
122 |
|
|
123 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#dbc2fd49f1f126684922973871e337aa">readNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)</td></tr>
|
|
124 |
|
|
125 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#e32ba4100bc5d0ea951110dce2820059">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#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> Callback)</td></tr>
|
|
126 |
|
|
127 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#bec7a9f46a1ddda9fed0c0e7c61558fc">getReadResultNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)</td></tr>
|
|
128 |
|
|
129 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b5b66393347520874a551ca2ec53f673">getWriteResultNetworkDict</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId, UNS32 *abortCode)</td></tr>
|
207
|
130 |
|
|
131 |
</table>
|
210
|
132 |
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
133 |
<dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl>
|
|
134 |
<dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl>
|
|
135 |
|
|
136 |
<p>
|
|
137 |
Definition in file <a class="el" href="sdo_8c-source.html">sdo.c</a>.<hr><h2>Define Documentation</h2>
|
240
|
138 |
<a class="anchor" name="26b66edd49ebde74ba52fcbd39e77345"></a><!-- doxytag: member="sdo.c::getSDOc" ref="26b66edd49ebde74ba52fcbd39e77345" args="(byte)" -->
|
207
|
139 |
<div class="memitem">
|
|
140 |
<div class="memproto">
|
|
141 |
<table class="memname">
|
|
142 |
<tr>
|
|
143 |
<td class="memname">#define getSDOc </td>
|
|
144 |
<td>(</td>
|
|
145 |
<td class="paramtype">byte </td>
|
|
146 |
<td class="paramname"> </td>
|
|
147 |
<td> ) </td>
|
|
148 |
<td width="100%"> (byte & 1)</td>
|
|
149 |
</tr>
|
|
150 |
</table>
|
|
151 |
</div>
|
|
152 |
<div class="memdoc">
|
|
153 |
|
|
154 |
<p>
|
|
155 |
Returns the indicator of end transmission from the first byte of the SDO
|
|
156 |
<p>
|
210
|
157 |
Definition at line <a class="el" href="sdo_8c-source.html#l00109">109</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
158 |
<p>
|
|
159 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
160 |
</div>
|
|
161 |
</div><p>
|
240
|
162 |
<a class="anchor" name="88d2c7caa4674dc107c8426a9bb9fbe2"></a><!-- doxytag: member="sdo.c::getSDOcs" ref="88d2c7caa4674dc107c8426a9bb9fbe2" args="(byte)" -->
|
207
|
163 |
<div class="memitem">
|
|
164 |
<div class="memproto">
|
|
165 |
<table class="memname">
|
|
166 |
<tr>
|
|
167 |
<td class="memname">#define getSDOcs </td>
|
|
168 |
<td>(</td>
|
|
169 |
<td class="paramtype">byte </td>
|
|
170 |
<td class="paramname"> </td>
|
|
171 |
<td> ) </td>
|
|
172 |
<td width="100%"> (byte >> 5)</td>
|
|
173 |
</tr>
|
|
174 |
</table>
|
|
175 |
</div>
|
|
176 |
<div class="memdoc">
|
|
177 |
|
|
178 |
<p>
|
|
179 |
Returns the command specifier (cs, ccs, scs) from the first byte of the SDO
|
|
180 |
<p>
|
210
|
181 |
Definition at line <a class="el" href="sdo_8c-source.html#l00089">89</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
182 |
<p>
|
|
183 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
184 |
</div>
|
|
185 |
</div><p>
|
240
|
186 |
<a class="anchor" name="fa9f4babd1d9354513193c92884b380c"></a><!-- doxytag: member="sdo.c::getSDOe" ref="fa9f4babd1d9354513193c92884b380c" args="(byte)" -->
|
207
|
187 |
<div class="memitem">
|
|
188 |
<div class="memproto">
|
|
189 |
<table class="memname">
|
|
190 |
<tr>
|
|
191 |
<td class="memname">#define getSDOe </td>
|
|
192 |
<td>(</td>
|
|
193 |
<td class="paramtype">byte </td>
|
|
194 |
<td class="paramname"> </td>
|
|
195 |
<td> ) </td>
|
|
196 |
<td width="100%"> ((byte >> 1) & 1)</td>
|
|
197 |
</tr>
|
|
198 |
</table>
|
|
199 |
</div>
|
|
200 |
<div class="memdoc">
|
|
201 |
|
|
202 |
<p>
|
|
203 |
Returns the transfer type from the first byte of the SDO
|
|
204 |
<p>
|
210
|
205 |
Definition at line <a class="el" href="sdo_8c-source.html#l00101">101</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
206 |
<p>
|
|
207 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
208 |
</div>
|
|
209 |
</div><p>
|
240
|
210 |
<a class="anchor" name="53bdbadfcc4fc6126e5bce64a3e807fd"></a><!-- doxytag: member="sdo.c::getSDOindex" ref="53bdbadfcc4fc6126e5bce64a3e807fd" args="(byte1, byte2)" -->
|
207
|
211 |
<div class="memitem">
|
|
212 |
<div class="memproto">
|
|
213 |
<table class="memname">
|
|
214 |
<tr>
|
|
215 |
<td class="memname">#define getSDOindex </td>
|
|
216 |
<td>(</td>
|
|
217 |
<td class="paramtype">byte1, <tr>
|
|
218 |
<td class="paramkey"></td>
|
|
219 |
<td></td>
|
|
220 |
<td class="paramtype">byte2 </td>
|
|
221 |
<td class="paramname"> </td>
|
|
222 |
<td> ) </td>
|
|
223 |
<td width="100%"> ((byte2 << 8) | (byte1))</td>
|
|
224 |
</tr>
|
|
225 |
</table>
|
|
226 |
</div>
|
|
227 |
<div class="memdoc">
|
|
228 |
|
|
229 |
<p>
|
|
230 |
Returns the index from the bytes 1 and 2 of the SDO
|
|
231 |
<p>
|
210
|
232 |
Definition at line <a class="el" href="sdo_8c-source.html#l00117">117</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
233 |
<p>
|
|
234 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
235 |
</div>
|
|
236 |
</div><p>
|
240
|
237 |
<a class="anchor" name="9650fda82d38407e48ca47a794b6e851"></a><!-- doxytag: member="sdo.c::getSDOn2" ref="9650fda82d38407e48ca47a794b6e851" args="(byte)" -->
|
207
|
238 |
<div class="memitem">
|
|
239 |
<div class="memproto">
|
|
240 |
<table class="memname">
|
|
241 |
<tr>
|
|
242 |
<td class="memname">#define getSDOn2 </td>
|
|
243 |
<td>(</td>
|
|
244 |
<td class="paramtype">byte </td>
|
|
245 |
<td class="paramname"> </td>
|
|
246 |
<td> ) </td>
|
|
247 |
<td width="100%"> ((byte >> 2) & 3)</td>
|
|
248 |
</tr>
|
|
249 |
</table>
|
|
250 |
</div>
|
|
251 |
<div class="memdoc">
|
|
252 |
|
|
253 |
<p>
|
|
254 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 2 bits
|
|
255 |
<p>
|
210
|
256 |
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>.
|
|
257 |
<p>
|
|
258 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
259 |
</div>
|
|
260 |
</div><p>
|
240
|
261 |
<a class="anchor" name="bd7f798d9a3805bb68e44c8680adc61d"></a><!-- doxytag: member="sdo.c::getSDOn3" ref="bd7f798d9a3805bb68e44c8680adc61d" args="(byte)" -->
|
207
|
262 |
<div class="memitem">
|
|
263 |
<div class="memproto">
|
|
264 |
<table class="memname">
|
|
265 |
<tr>
|
|
266 |
<td class="memname">#define getSDOn3 </td>
|
|
267 |
<td>(</td>
|
|
268 |
<td class="paramtype">byte </td>
|
|
269 |
<td class="paramname"> </td>
|
|
270 |
<td> ) </td>
|
|
271 |
<td width="100%"> ((byte >> 1) & 7)</td>
|
|
272 |
</tr>
|
|
273 |
</table>
|
|
274 |
</div>
|
|
275 |
<div class="memdoc">
|
|
276 |
|
|
277 |
<p>
|
|
278 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 3 bits
|
|
279 |
<p>
|
210
|
280 |
Definition at line <a class="el" href="sdo_8c-source.html#l00097">97</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
281 |
<p>
|
|
282 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
283 |
</div>
|
|
284 |
</div><p>
|
240
|
285 |
<a class="anchor" name="213b23372ba87bb6736fb76317ea6f5d"></a><!-- doxytag: member="sdo.c::getSDOs" ref="213b23372ba87bb6736fb76317ea6f5d" args="(byte)" -->
|
207
|
286 |
<div class="memitem">
|
|
287 |
<div class="memproto">
|
|
288 |
<table class="memname">
|
|
289 |
<tr>
|
|
290 |
<td class="memname">#define getSDOs </td>
|
|
291 |
<td>(</td>
|
|
292 |
<td class="paramtype">byte </td>
|
|
293 |
<td class="paramname"> </td>
|
|
294 |
<td> ) </td>
|
|
295 |
<td width="100%"> (byte & 1)</td>
|
|
296 |
</tr>
|
|
297 |
</table>
|
|
298 |
</div>
|
|
299 |
<div class="memdoc">
|
|
300 |
|
|
301 |
<p>
|
|
302 |
Returns the size indicator from the first byte of the SDO
|
|
303 |
<p>
|
210
|
304 |
Definition at line <a class="el" href="sdo_8c-source.html#l00105">105</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
305 |
<p>
|
|
306 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
307 |
</div>
|
|
308 |
</div><p>
|
240
|
309 |
<a class="anchor" name="ff6e7e52d2fe28432a4ea2eecb055f7a"></a><!-- doxytag: member="sdo.c::getSDOsubIndex" ref="ff6e7e52d2fe28432a4ea2eecb055f7a" args="(byte3)" -->
|
207
|
310 |
<div class="memitem">
|
|
311 |
<div class="memproto">
|
|
312 |
<table class="memname">
|
|
313 |
<tr>
|
|
314 |
<td class="memname">#define getSDOsubIndex </td>
|
|
315 |
<td>(</td>
|
|
316 |
<td class="paramtype">byte3 </td>
|
|
317 |
<td class="paramname"> </td>
|
|
318 |
<td> ) </td>
|
|
319 |
<td width="100%"> (byte3)</td>
|
|
320 |
</tr>
|
|
321 |
</table>
|
|
322 |
</div>
|
|
323 |
<div class="memdoc">
|
|
324 |
|
|
325 |
<p>
|
|
326 |
Returns the subIndex from the byte 3 of the SDO
|
|
327 |
<p>
|
210
|
328 |
Definition at line <a class="el" href="sdo_8c-source.html#l00121">121</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
329 |
<p>
|
|
330 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
331 |
</div>
|
|
332 |
</div><p>
|
240
|
333 |
<a class="anchor" name="51eef12593fb0ee39ecf4bcd4c98d6ca"></a><!-- doxytag: member="sdo.c::getSDOt" ref="51eef12593fb0ee39ecf4bcd4c98d6ca" args="(byte)" -->
|
207
|
334 |
<div class="memitem">
|
|
335 |
<div class="memproto">
|
|
336 |
<table class="memname">
|
|
337 |
<tr>
|
|
338 |
<td class="memname">#define getSDOt </td>
|
|
339 |
<td>(</td>
|
|
340 |
<td class="paramtype">byte </td>
|
|
341 |
<td class="paramname"> </td>
|
|
342 |
<td> ) </td>
|
|
343 |
<td width="100%"> ((byte >> 4) & 1)</td>
|
|
344 |
</tr>
|
|
345 |
</table>
|
|
346 |
</div>
|
|
347 |
<div class="memdoc">
|
|
348 |
|
|
349 |
<p>
|
|
350 |
Returns the toggle from the first byte of the SDO
|
|
351 |
<p>
|
210
|
352 |
Definition at line <a class="el" href="sdo_8c-source.html#l00113">113</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
353 |
<p>
|
|
354 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
355 |
</div>
|
|
356 |
</div><p>
|
240
|
357 |
<a class="anchor" name="7821d61f7cecf16606977a20204723c8"></a><!-- doxytag: member="sdo.c::INLINE" ref="7821d61f7cecf16606977a20204723c8" args="" -->
|
207
|
358 |
<div class="memitem">
|
|
359 |
<div class="memproto">
|
|
360 |
<table class="memname">
|
|
361 |
<tr>
|
|
362 |
<td class="memname">#define INLINE </td>
|
|
363 |
</tr>
|
|
364 |
</table>
|
|
365 |
</div>
|
|
366 |
<div class="memdoc">
|
|
367 |
|
|
368 |
<p>
|
|
369 |
|
|
370 |
<p>
|
210
|
371 |
Definition at line <a class="el" href="sdo_8c-source.html#l00043">43</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
207
|
372 |
</div>
|
|
373 |
</div><p>
|
240
|
374 |
<a class="anchor" name="90bf5255db20e3e74a0b043e30ad0be6"></a><!-- doxytag: member="sdo.c::NO_INLINE" ref="90bf5255db20e3e74a0b043e30ad0be6" args="" -->
|
207
|
375 |
<div class="memitem">
|
|
376 |
<div class="memproto">
|
|
377 |
<table class="memname">
|
|
378 |
<tr>
|
|
379 |
<td class="memname">#define NO_INLINE </td>
|
|
380 |
</tr>
|
|
381 |
</table>
|
|
382 |
</div>
|
|
383 |
<div class="memdoc">
|
|
384 |
|
|
385 |
<p>
|
|
386 |
|
|
387 |
<p>
|
210
|
388 |
Definition at line <a class="el" href="sdo_8c-source.html#l00040">40</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
207
|
389 |
</div>
|
|
390 |
</div><p>
|
240
|
391 |
<a class="anchor" name="67a3bef758c4d437b62edc60a6c3a3e0"></a><!-- doxytag: member="sdo.c::RestartSDO_TIMER" ref="67a3bef758c4d437b62edc60a6c3a3e0" args="(id)" -->
|
207
|
392 |
<div class="memitem">
|
|
393 |
<div class="memproto">
|
|
394 |
<table class="memname">
|
|
395 |
<tr>
|
|
396 |
<td class="memname">#define RestartSDO_TIMER </td>
|
|
397 |
<td>(</td>
|
|
398 |
<td class="paramtype">id </td>
|
|
399 |
<td class="paramname"> </td>
|
|
400 |
<td> ) </td>
|
|
401 |
<td width="100%"></td>
|
|
402 |
</tr>
|
|
403 |
</table>
|
|
404 |
</div>
|
|
405 |
<div class="memdoc">
|
|
406 |
|
|
407 |
<p>
|
240
|
408 |
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="hcs12_2applicfg_8h.html#d5dffc889e623fbc4f635e69276cdf20">MSG_WAR</a>(0x3A07, <span class="stringliteral">"restartSDO_TIMER for line : "</span>, line);\
|
|
409 |
<span class="keywordflow">if</span>(<a class="code" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a>-><a class="code" href="structstruct__CO__Data.html#57436603d120d11ae499105ec6451361">transfers</a>[<span class="keywordtype">id</span>].<a class="code" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">timer</a> != TIMER_NONE) { <a class="code" href="sdo_8c.html#5ad9524ff60bfeed23638dafae05f82b">StopSDO_TIMER</a>(<span class="keywordtype">id</span>) <a class="code" href="sdo_8c.html#7e5ff26012829657bb259f10c97c5788">StartSDO_TIMER</a>(<span class="keywordtype">id</span>) }
|
207
|
410 |
</pre></div>
|
|
411 |
<p>
|
210
|
412 |
Definition at line <a class="el" href="sdo_8c-source.html#l00160">160</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
413 |
<p>
|
|
414 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
415 |
</div>
|
|
416 |
</div><p>
|
240
|
417 |
<a class="anchor" name="7e5ff26012829657bb259f10c97c5788"></a><!-- doxytag: member="sdo.c::StartSDO_TIMER" ref="7e5ff26012829657bb259f10c97c5788" args="(id)" -->
|
207
|
418 |
<div class="memitem">
|
|
419 |
<div class="memproto">
|
|
420 |
<table class="memname">
|
|
421 |
<tr>
|
|
422 |
<td class="memname">#define StartSDO_TIMER </td>
|
|
423 |
<td>(</td>
|
|
424 |
<td class="paramtype">id </td>
|
|
425 |
<td class="paramname"> </td>
|
|
426 |
<td> ) </td>
|
|
427 |
<td width="100%"></td>
|
|
428 |
</tr>
|
|
429 |
</table>
|
|
430 |
</div>
|
|
431 |
<div class="memdoc">
|
|
432 |
|
|
433 |
<p>
|
240
|
434 |
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="hcs12_2applicfg_8h.html#d5dffc889e623fbc4f635e69276cdf20">MSG_WAR</a>(0x3A06, <span class="stringliteral">"StartSDO_TIMER for line : "</span>, line);\
|
|
435 |
<a class="code" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a>-><a class="code" href="structstruct__CO__Data.html#57436603d120d11ae499105ec6451361">transfers</a>[<a class="code" href="structstruct__s__timer__entry.html#abba0eed61eee45a3b4bef93edaaf77f">id</a>].<a class="code" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">timer</a> = <a class="code" href="timer_8c.html#956b22f24089db4c367f40199f838a20">SetAlarm</a>(<a class="code" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a>,<span class="keywordtype">id</span>,&<a class="code" href="sdo_8c.html#96a6defad098e149a011ee0b832f44a0">SDOTimeoutAlarm</a>,<a class="code" href="hcs12_2applicfg_8h.html#ffc50d6b8321e910d6d4821b2aecfa92">MS_TO_TIMEVAL</a>(<a class="code" href="config_8h.html#2114fa0c36f68031b18e883dcdbde6b5">SDO_TIMEOUT_MS</a>),0);
|
207
|
436 |
</pre></div>
|
|
437 |
<p>
|
210
|
438 |
Definition at line <a class="el" href="sdo_8c-source.html#l00156">156</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
439 |
<p>
|
|
440 |
Referenced by <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>.
|
207
|
441 |
</div>
|
|
442 |
</div><p>
|
240
|
443 |
<a class="anchor" name="5ad9524ff60bfeed23638dafae05f82b"></a><!-- doxytag: member="sdo.c::StopSDO_TIMER" ref="5ad9524ff60bfeed23638dafae05f82b" args="(id)" -->
|
207
|
444 |
<div class="memitem">
|
|
445 |
<div class="memproto">
|
|
446 |
<table class="memname">
|
|
447 |
<tr>
|
|
448 |
<td class="memname">#define StopSDO_TIMER </td>
|
|
449 |
<td>(</td>
|
|
450 |
<td class="paramtype">id </td>
|
|
451 |
<td class="paramname"> </td>
|
|
452 |
<td> ) </td>
|
|
453 |
<td width="100%"></td>
|
|
454 |
</tr>
|
|
455 |
</table>
|
|
456 |
</div>
|
|
457 |
<div class="memdoc">
|
|
458 |
|
|
459 |
<p>
|
240
|
460 |
<b>Value:</b><div class="fragment"><pre class="fragment"><a class="code" href="hcs12_2applicfg_8h.html#d5dffc889e623fbc4f635e69276cdf20">MSG_WAR</a>(0x3A05, <span class="stringliteral">"StopSDO_TIMER for line : "</span>, line);\
|
|
461 |
<a class="code" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a>-><a class="code" href="structstruct__CO__Data.html#57436603d120d11ae499105ec6451361">transfers</a>[<a class="code" href="structstruct__s__timer__entry.html#abba0eed61eee45a3b4bef93edaaf77f">id</a>].<a class="code" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">timer</a> = <a class="code" href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6">DelAlarm</a>(<a class="code" href="structstruct__s__timer__entry.html#1f47508e63fb89e692b98e178a78268f">d</a>-><a class="code" href="structstruct__CO__Data.html#57436603d120d11ae499105ec6451361">transfers</a>[<span class="keywordtype">id</span>].<a class="code" href="structstruct__s__transfer.html#e48328d294ca34e1ffe02cd2526fd469">timer</a>);
|
207
|
462 |
</pre></div>
|
|
463 |
<p>
|
210
|
464 |
Definition at line <a class="el" href="sdo_8c-source.html#l00152">152</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
465 |
<p>
|
|
466 |
Referenced by <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
467 |
</div>
|
|
468 |
</div><p>
|
|
469 |
<hr><h2>Function Documentation</h2>
|
240
|
470 |
<a class="anchor" name="d381df29f9b8c0a17bc10d845aba3a31"></a><!-- doxytag: member="sdo.c::_readNetworkDict" ref="d381df29f9b8c0a17bc10d845aba3a31" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)" -->
|
207
|
471 |
<div class="memitem">
|
|
472 |
<div class="memproto">
|
|
473 |
<table class="memname">
|
|
474 |
<tr>
|
|
475 |
<td class="memname">INLINE UNS8 _readNetworkDict </td>
|
|
476 |
<td>(</td>
|
215
|
477 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
478 |
<td class="paramname"> <em>d</em>, </td>
|
|
479 |
</tr>
|
|
480 |
<tr>
|
|
481 |
<td class="paramkey"></td>
|
|
482 |
<td></td>
|
|
483 |
<td class="paramtype">UNS8 </td>
|
|
484 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
485 |
</tr>
|
|
486 |
<tr>
|
|
487 |
<td class="paramkey"></td>
|
|
488 |
<td></td>
|
|
489 |
<td class="paramtype">UNS16 </td>
|
|
490 |
<td class="paramname"> <em>index</em>, </td>
|
|
491 |
</tr>
|
|
492 |
<tr>
|
|
493 |
<td class="paramkey"></td>
|
|
494 |
<td></td>
|
|
495 |
<td class="paramtype">UNS8 </td>
|
|
496 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
497 |
</tr>
|
|
498 |
<tr>
|
|
499 |
<td class="paramkey"></td>
|
|
500 |
<td></td>
|
|
501 |
<td class="paramtype">UNS8 </td>
|
|
502 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
503 |
</tr>
|
|
504 |
<tr>
|
|
505 |
<td class="paramkey"></td>
|
|
506 |
<td></td>
|
240
|
507 |
<td class="paramtype"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> </td>
|
207
|
508 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
509 |
</tr>
|
|
510 |
<tr>
|
|
511 |
<td></td>
|
|
512 |
<td>)</td>
|
|
513 |
<td></td><td></td><td width="100%"></td>
|
|
514 |
</tr>
|
|
515 |
</table>
|
|
516 |
</div>
|
|
517 |
<div class="memdoc">
|
|
518 |
|
|
519 |
<p>
|
210
|
520 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
521 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
522 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
523 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
524 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
525 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
526 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
527 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
528 |
</table>
|
|
529 |
</dl>
|
|
530 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
531 |
|
|
532 |
<p>
|
|
533 |
Definition at line <a class="el" href="sdo_8c-source.html#l01406">1406</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
534 |
<p>
|
240
|
535 |
References <a class="el" href="sdo_8h-source.html#l00082">struct_s_SDO::body</a>, <a class="el" href="objdictdef_8h-source.html#l00096">td_indextable::bSubCount</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#l00076">BODY::data</a>, <a class="el" href="sdo_8h-source.html#l00057">struct_s_transfer::dataType</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</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="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="def_8h-source.html#l00077">SDO_CLIENT</a>, <a class="el" href="objdictdef_8h-source.html#l00105">s_quick_index::SDO_CLT</a>, <a class="el" href="def_8h-source.html#l00073">SDO_UPLOAD_IN_PROGRESS</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</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>.
|
210
|
536 |
<p>
|
|
537 |
Referenced by <a class="el" href="sdo_8c-source.html#l01499">readNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l01516">readNetworkDictCallback()</a>.
|
|
538 |
<p>
|
240
|
539 |
Here is the call graph for this function:<p><center><img src="sdo_8c_d381df29f9b8c0a17bc10d845aba3a31_cgraph.png" border="0" usemap="#sdo_8c_d381df29f9b8c0a17bc10d845aba3a31_cgraph_map" alt=""></center>
|
|
540 |
<map name="sdo_8c_d381df29f9b8c0a17bc10d845aba3a31_cgraph_map">
|
|
541 |
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="180,5,289,32" alt="">
|
|
542 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="175,56,295,83" alt="">
|
|
543 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="344,132,429,159" alt="">
|
|
544 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="188,157,281,184" alt="">
|
|
545 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="199,208,271,235" alt="">
|
|
546 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="353,208,420,235" alt="">
|
|
547 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="477,208,589,235" alt="">
|
210
|
548 |
</map>
|
|
549 |
|
207
|
550 |
</div>
|
|
551 |
</div><p>
|
240
|
552 |
<a class="anchor" name="aa754826c624685ec491735501631c4e"></a><!-- doxytag: member="sdo.c::_writeNetworkDict" ref="aa754826c624685ec491735501631c4e" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize)" -->
|
207
|
553 |
<div class="memitem">
|
|
554 |
<div class="memproto">
|
|
555 |
<table class="memname">
|
|
556 |
<tr>
|
|
557 |
<td class="memname">INLINE UNS8 _writeNetworkDict </td>
|
|
558 |
<td>(</td>
|
215
|
559 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
560 |
<td class="paramname"> <em>d</em>, </td>
|
|
561 |
</tr>
|
|
562 |
<tr>
|
|
563 |
<td class="paramkey"></td>
|
|
564 |
<td></td>
|
|
565 |
<td class="paramtype">UNS8 </td>
|
|
566 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
567 |
</tr>
|
|
568 |
<tr>
|
|
569 |
<td class="paramkey"></td>
|
|
570 |
<td></td>
|
|
571 |
<td class="paramtype">UNS16 </td>
|
|
572 |
<td class="paramname"> <em>index</em>, </td>
|
|
573 |
</tr>
|
|
574 |
<tr>
|
|
575 |
<td class="paramkey"></td>
|
|
576 |
<td></td>
|
|
577 |
<td class="paramtype">UNS8 </td>
|
|
578 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
579 |
</tr>
|
|
580 |
<tr>
|
|
581 |
<td class="paramkey"></td>
|
|
582 |
<td></td>
|
|
583 |
<td class="paramtype">UNS8 </td>
|
|
584 |
<td class="paramname"> <em>count</em>, </td>
|
|
585 |
</tr>
|
|
586 |
<tr>
|
|
587 |
<td class="paramkey"></td>
|
|
588 |
<td></td>
|
|
589 |
<td class="paramtype">UNS8 </td>
|
|
590 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
591 |
</tr>
|
|
592 |
<tr>
|
|
593 |
<td class="paramkey"></td>
|
|
594 |
<td></td>
|
|
595 |
<td class="paramtype">void * </td>
|
|
596 |
<td class="paramname"> <em>data</em>, </td>
|
|
597 |
</tr>
|
|
598 |
<tr>
|
|
599 |
<td class="paramkey"></td>
|
|
600 |
<td></td>
|
240
|
601 |
<td class="paramtype"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> </td>
|
207
|
602 |
<td class="paramname"> <em>Callback</em>, </td>
|
|
603 |
</tr>
|
|
604 |
<tr>
|
|
605 |
<td class="paramkey"></td>
|
|
606 |
<td></td>
|
|
607 |
<td class="paramtype">UNS8 </td>
|
|
608 |
<td class="paramname"> <em>endianize</em></td><td> </td>
|
|
609 |
</tr>
|
|
610 |
<tr>
|
|
611 |
<td></td>
|
|
612 |
<td>)</td>
|
|
613 |
<td></td><td></td><td width="100%"></td>
|
|
614 |
</tr>
|
|
615 |
</table>
|
|
616 |
</div>
|
|
617 |
<div class="memdoc">
|
|
618 |
|
|
619 |
<p>
|
210
|
620 |
Called by writeNetworkDict<p>
|
|
621 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
622 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
623 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
624 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
625 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
626 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
627 |
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr>
|
|
628 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
629 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
630 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
631 |
<tr><td valign="top"></td><td valign="top"><em>endianize</em> </td><td></td></tr>
|
|
632 |
</table>
|
|
633 |
</dl>
|
|
634 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
635 |
|
207
|
636 |
</div>
|
|
637 |
</div><p>
|
240
|
638 |
<a class="anchor" name="df77b984822a5cec9782ebd6bc64e700"></a><!-- doxytag: member="sdo.c::closeSDOtransfer" ref="df77b984822a5cec9782ebd6bc64e700" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami)" -->
|
207
|
639 |
<div class="memitem">
|
|
640 |
<div class="memproto">
|
|
641 |
<table class="memname">
|
|
642 |
<tr>
|
|
643 |
<td class="memname">UNS8 closeSDOtransfer </td>
|
|
644 |
<td>(</td>
|
215
|
645 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
646 |
<td class="paramname"> <em>d</em>, </td>
|
|
647 |
</tr>
|
|
648 |
<tr>
|
|
649 |
<td class="paramkey"></td>
|
|
650 |
<td></td>
|
|
651 |
<td class="paramtype">UNS8 </td>
|
|
652 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
653 |
</tr>
|
|
654 |
<tr>
|
|
655 |
<td class="paramkey"></td>
|
|
656 |
<td></td>
|
|
657 |
<td class="paramtype">UNS8 </td>
|
|
658 |
<td class="paramname"> <em>whoami</em></td><td> </td>
|
|
659 |
</tr>
|
|
660 |
<tr>
|
|
661 |
<td></td>
|
|
662 |
<td>)</td>
|
|
663 |
<td></td><td></td><td width="100%"></td>
|
|
664 |
</tr>
|
|
665 |
</table>
|
|
666 |
</div>
|
|
667 |
<div class="memdoc">
|
|
668 |
|
|
669 |
<p>
|
210
|
670 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
671 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
672 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
673 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
674 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
675 |
</table>
|
|
676 |
</dl>
|
|
677 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
678 |
|
|
679 |
<p>
|
|
680 |
Definition at line <a class="el" href="sdo_8c-source.html#l00439">439</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
681 |
<p>
|
215
|
682 |
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
|
683 |
<p>
|
240
|
684 |
Referenced by <a class="el" href="main_8c-source.html#l00057">ReadSDO()</a>, and <a class="el" href="Master_8c-source.html#l00199">TestMaster_post_TPDO()</a>.
|
|
685 |
<p>
|
|
686 |
Here is the call graph for this function:<p><center><img src="sdo_8c_df77b984822a5cec9782ebd6bc64e700_cgraph.png" border="0" usemap="#sdo_8c_df77b984822a5cec9782ebd6bc64e700_cgraph_map" alt=""></center>
|
|
687 |
<map name="sdo_8c_df77b984822a5cec9782ebd6bc64e700_cgraph_map">
|
|
688 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="172,5,292,32" alt="">
|
|
689 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="185,56,279,83" alt="">
|
|
690 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="341,56,427,83" alt="">
|
210
|
691 |
</map>
|
|
692 |
|
207
|
693 |
</div>
|
|
694 |
</div><p>
|
240
|
695 |
<a class="anchor" name="85872a68746c862b8771045ef45385a5"></a><!-- doxytag: member="sdo.c::failedSDO" ref="85872a68746c862b8771045ef45385a5" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
|
207
|
696 |
<div class="memitem">
|
|
697 |
<div class="memproto">
|
|
698 |
<table class="memname">
|
|
699 |
<tr>
|
|
700 |
<td class="memname">UNS8 failedSDO </td>
|
|
701 |
<td>(</td>
|
215
|
702 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
703 |
<td class="paramname"> <em>d</em>, </td>
|
|
704 |
</tr>
|
|
705 |
<tr>
|
|
706 |
<td class="paramkey"></td>
|
|
707 |
<td></td>
|
|
708 |
<td class="paramtype">UNS8 </td>
|
|
709 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
710 |
</tr>
|
|
711 |
<tr>
|
|
712 |
<td class="paramkey"></td>
|
|
713 |
<td></td>
|
|
714 |
<td class="paramtype">UNS8 </td>
|
|
715 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
716 |
</tr>
|
|
717 |
<tr>
|
|
718 |
<td class="paramkey"></td>
|
|
719 |
<td></td>
|
|
720 |
<td class="paramtype">UNS16 </td>
|
|
721 |
<td class="paramname"> <em>index</em>, </td>
|
|
722 |
</tr>
|
|
723 |
<tr>
|
|
724 |
<td class="paramkey"></td>
|
|
725 |
<td></td>
|
|
726 |
<td class="paramtype">UNS8 </td>
|
|
727 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
728 |
</tr>
|
|
729 |
<tr>
|
|
730 |
<td class="paramkey"></td>
|
|
731 |
<td></td>
|
|
732 |
<td class="paramtype">UNS32 </td>
|
|
733 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
734 |
</tr>
|
|
735 |
<tr>
|
|
736 |
<td></td>
|
|
737 |
<td>)</td>
|
|
738 |
<td></td><td></td><td width="100%"></td>
|
|
739 |
</tr>
|
|
740 |
</table>
|
|
741 |
</div>
|
|
742 |
<div class="memdoc">
|
|
743 |
|
|
744 |
<p>
|
210
|
745 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
746 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
747 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
748 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
749 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
750 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
751 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
752 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
753 |
</table>
|
|
754 |
</dl>
|
|
755 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
756 |
|
|
757 |
<p>
|
|
758 |
Definition at line <a class="el" href="sdo_8c-source.html#l00307">307</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
759 |
<p>
|
240
|
760 |
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="def_8h-source.html#l00071">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00077">SDO_CLIENT</a>, <a class="el" href="def_8h-source.html#l00076">SDO_SERVER</a>, <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="sdo_8c-source.html#l00152">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>.
|
210
|
761 |
<p>
|
|
762 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
|
763 |
<p>
|
240
|
764 |
Here is the call graph for this function:<p><center><img src="sdo_8c_85872a68746c862b8771045ef45385a5_cgraph.png" border="0" usemap="#sdo_8c_85872a68746c862b8771045ef45385a5_cgraph_map" alt=""></center>
|
|
765 |
<map name="sdo_8c_85872a68746c862b8771045ef45385a5_cgraph_map">
|
|
766 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="135,5,255,32" alt="">
|
|
767 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="148,56,241,83" alt="">
|
|
768 |
<area href="sdo_8c.html#5ddd75f2935b87e9eeccd166d977fe5a" shape="rect" coords="145,107,244,133" alt="">
|
|
769 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="304,56,389,83" alt="">
|
|
770 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="311,107,383,133" alt="">
|
|
771 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="437,107,504,133" alt="">
|
|
772 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="552,107,664,133" alt="">
|
210
|
773 |
</map>
|
|
774 |
|
207
|
775 |
</div>
|
|
776 |
</div><p>
|
240
|
777 |
<a class="anchor" name="bec7a9f46a1ddda9fed0c0e7c61558fc"></a><!-- doxytag: member="sdo.c::getReadResultNetworkDict" ref="bec7a9f46a1ddda9fed0c0e7c61558fc" args="(CO_Data *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)" -->
|
207
|
778 |
<div class="memitem">
|
|
779 |
<div class="memproto">
|
|
780 |
<table class="memname">
|
|
781 |
<tr>
|
|
782 |
<td class="memname">UNS8 getReadResultNetworkDict </td>
|
|
783 |
<td>(</td>
|
215
|
784 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
785 |
<td class="paramname"> <em>d</em>, </td>
|
|
786 |
</tr>
|
|
787 |
<tr>
|
|
788 |
<td class="paramkey"></td>
|
|
789 |
<td></td>
|
|
790 |
<td class="paramtype">UNS8 </td>
|
|
791 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
792 |
</tr>
|
|
793 |
<tr>
|
|
794 |
<td class="paramkey"></td>
|
|
795 |
<td></td>
|
|
796 |
<td class="paramtype">void * </td>
|
|
797 |
<td class="paramname"> <em>data</em>, </td>
|
|
798 |
</tr>
|
|
799 |
<tr>
|
|
800 |
<td class="paramkey"></td>
|
|
801 |
<td></td>
|
|
802 |
<td class="paramtype">UNS8 * </td>
|
|
803 |
<td class="paramname"> <em>size</em>, </td>
|
|
804 |
</tr>
|
|
805 |
<tr>
|
|
806 |
<td class="paramkey"></td>
|
|
807 |
<td></td>
|
|
808 |
<td class="paramtype">UNS32 * </td>
|
|
809 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
810 |
</tr>
|
|
811 |
<tr>
|
|
812 |
<td></td>
|
|
813 |
<td>)</td>
|
|
814 |
<td></td><td></td><td width="100%"></td>
|
|
815 |
</tr>
|
|
816 |
</table>
|
|
817 |
</div>
|
|
818 |
<div class="memdoc">
|
|
819 |
|
|
820 |
<p>
|
210
|
821 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
822 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
823 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
824 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
825 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
826 |
<tr><td valign="top"></td><td valign="top"><em>size</em> </td><td></td></tr>
|
|
827 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
828 |
</table>
|
|
829 |
</dl>
|
|
830 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
831 |
|
|
832 |
<p>
|
|
833 |
Definition at line <a class="el" href="sdo_8c-source.html#l01532">1532</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
834 |
<p>
|
240
|
835 |
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#l00414">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="def_8h-source.html#l00071">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00077">SDO_CLIENT</a>, <a class="el" href="def_8h-source.html#l00069">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>.
|
|
836 |
<p>
|
|
837 |
Referenced by <a class="el" href="main_8c-source.html#l00057">ReadSDO()</a>, and <a class="el" href="Master_8c-source.html#l00199">TestMaster_post_TPDO()</a>.
|
|
838 |
<p>
|
|
839 |
Here is the call graph for this function:<p><center><img src="sdo_8c_bec7a9f46a1ddda9fed0c0e7c61558fc_cgraph.png" border="0" usemap="#sdo_8c_bec7a9f46a1ddda9fed0c0e7c61558fc_cgraph_map" alt=""></center>
|
|
840 |
<map name="sdo_8c_bec7a9f46a1ddda9fed0c0e7c61558fc_cgraph_map">
|
|
841 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="225,5,345,32" alt="">
|
210
|
842 |
</map>
|
|
843 |
|
207
|
844 |
</div>
|
|
845 |
</div><p>
|
240
|
846 |
<a class="anchor" name="cb77818f302f413301728d27c091fa03"></a><!-- doxytag: member="sdo.c::getSDOfreeLine" ref="cb77818f302f413301728d27c091fa03" args="(CO_Data *d, UNS8 whoami, UNS8 *line)" -->
|
207
|
847 |
<div class="memitem">
|
|
848 |
<div class="memproto">
|
|
849 |
<table class="memname">
|
|
850 |
<tr>
|
|
851 |
<td class="memname">UNS8 getSDOfreeLine </td>
|
|
852 |
<td>(</td>
|
215
|
853 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
854 |
<td class="paramname"> <em>d</em>, </td>
|
|
855 |
</tr>
|
|
856 |
<tr>
|
|
857 |
<td class="paramkey"></td>
|
|
858 |
<td></td>
|
|
859 |
<td class="paramtype">UNS8 </td>
|
|
860 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
861 |
</tr>
|
|
862 |
<tr>
|
|
863 |
<td class="paramkey"></td>
|
|
864 |
<td></td>
|
|
865 |
<td class="paramtype">UNS8 * </td>
|
|
866 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
867 |
</tr>
|
|
868 |
<tr>
|
|
869 |
<td></td>
|
|
870 |
<td>)</td>
|
|
871 |
<td></td><td></td><td width="100%"></td>
|
|
872 |
</tr>
|
|
873 |
</table>
|
|
874 |
</div>
|
|
875 |
<div class="memdoc">
|
|
876 |
|
|
877 |
<p>
|
210
|
878 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
879 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
880 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
881 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
882 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
883 |
</table>
|
|
884 |
</dl>
|
|
885 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
886 |
|
|
887 |
<p>
|
|
888 |
Definition at line <a class="el" href="sdo_8c-source.html#l00388">388</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
889 |
<p>
|
240
|
890 |
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#l00068">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>.
|
215
|
891 |
<p>
|
210
|
892 |
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
893 |
</div>
|
|
894 |
</div><p>
|
240
|
895 |
<a class="anchor" name="93b0dc6875fffd911a7b0dc1ba96a8d1"></a><!-- doxytag: member="sdo.c::getSDOlineOnUse" ref="93b0dc6875fffd911a7b0dc1ba96a8d1" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)" -->
|
207
|
896 |
<div class="memitem">
|
|
897 |
<div class="memproto">
|
|
898 |
<table class="memname">
|
|
899 |
<tr>
|
|
900 |
<td class="memname">UNS8 getSDOlineOnUse </td>
|
|
901 |
<td>(</td>
|
215
|
902 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
903 |
<td class="paramname"> <em>d</em>, </td>
|
|
904 |
</tr>
|
|
905 |
<tr>
|
|
906 |
<td class="paramkey"></td>
|
|
907 |
<td></td>
|
|
908 |
<td class="paramtype">UNS8 </td>
|
|
909 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
910 |
</tr>
|
|
911 |
<tr>
|
|
912 |
<td class="paramkey"></td>
|
|
913 |
<td></td>
|
|
914 |
<td class="paramtype">UNS8 </td>
|
|
915 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
916 |
</tr>
|
|
917 |
<tr>
|
|
918 |
<td class="paramkey"></td>
|
|
919 |
<td></td>
|
|
920 |
<td class="paramtype">UNS8 * </td>
|
|
921 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
922 |
</tr>
|
|
923 |
<tr>
|
|
924 |
<td></td>
|
|
925 |
<td>)</td>
|
|
926 |
<td></td><td></td><td width="100%"></td>
|
|
927 |
</tr>
|
|
928 |
</table>
|
|
929 |
</div>
|
|
930 |
<div class="memdoc">
|
|
931 |
|
|
932 |
<p>
|
210
|
933 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
934 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
935 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
936 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
937 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
938 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
939 |
</table>
|
|
940 |
</dl>
|
|
941 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
942 |
|
|
943 |
<p>
|
|
944 |
Definition at line <a class="el" href="sdo_8c-source.html#l00414">414</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
945 |
<p>
|
240
|
946 |
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#l00068">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>.
|
215
|
947 |
<p>
|
210
|
948 |
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00439">closeSDOtransfer()</a>, <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l01532">getReadResultNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01573">getWriteResultNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
949 |
</div>
|
|
950 |
</div><p>
|
240
|
951 |
<a class="anchor" name="8e536d3bb6ddd6da6da2148a39f00c5a"></a><!-- doxytag: member="sdo.c::getSDOlineRestBytes" ref="8e536d3bb6ddd6da6da2148a39f00c5a" args="(CO_Data *d, UNS8 line, UNS8 *nbBytes)" -->
|
207
|
952 |
<div class="memitem">
|
|
953 |
<div class="memproto">
|
|
954 |
<table class="memname">
|
|
955 |
<tr>
|
|
956 |
<td class="memname">UNS8 getSDOlineRestBytes </td>
|
|
957 |
<td>(</td>
|
215
|
958 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
959 |
<td class="paramname"> <em>d</em>, </td>
|
|
960 |
</tr>
|
|
961 |
<tr>
|
|
962 |
<td class="paramkey"></td>
|
|
963 |
<td></td>
|
|
964 |
<td class="paramtype">UNS8 </td>
|
|
965 |
<td class="paramname"> <em>line</em>, </td>
|
|
966 |
</tr>
|
|
967 |
<tr>
|
|
968 |
<td class="paramkey"></td>
|
|
969 |
<td></td>
|
|
970 |
<td class="paramtype">UNS8 * </td>
|
|
971 |
<td class="paramname"> <em>nbBytes</em></td><td> </td>
|
|
972 |
</tr>
|
|
973 |
<tr>
|
|
974 |
<td></td>
|
|
975 |
<td>)</td>
|
|
976 |
<td></td><td></td><td width="100%"></td>
|
|
977 |
</tr>
|
|
978 |
</table>
|
|
979 |
</div>
|
|
980 |
<div class="memdoc">
|
|
981 |
|
|
982 |
<p>
|
210
|
983 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
984 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
985 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
986 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
987 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
988 |
</table>
|
|
989 |
</dl>
|
|
990 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
991 |
|
|
992 |
<p>
|
|
993 |
Definition at line <a class="el" href="sdo_8c-source.html#l00461">461</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
994 |
<p>
|
215
|
995 |
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>.
|
|
996 |
<p>
|
210
|
997 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
998 |
</div>
|
|
999 |
</div><p>
|
240
|
1000 |
<a class="anchor" name="b5b66393347520874a551ca2ec53f673"></a><!-- doxytag: member="sdo.c::getWriteResultNetworkDict" ref="b5b66393347520874a551ca2ec53f673" args="(CO_Data *d, UNS8 nodeId, UNS32 *abortCode)" -->
|
207
|
1001 |
<div class="memitem">
|
|
1002 |
<div class="memproto">
|
|
1003 |
<table class="memname">
|
|
1004 |
<tr>
|
|
1005 |
<td class="memname">UNS8 getWriteResultNetworkDict </td>
|
|
1006 |
<td>(</td>
|
215
|
1007 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1008 |
<td class="paramname"> <em>d</em>, </td>
|
|
1009 |
</tr>
|
|
1010 |
<tr>
|
|
1011 |
<td class="paramkey"></td>
|
|
1012 |
<td></td>
|
|
1013 |
<td class="paramtype">UNS8 </td>
|
|
1014 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1015 |
</tr>
|
|
1016 |
<tr>
|
|
1017 |
<td class="paramkey"></td>
|
|
1018 |
<td></td>
|
|
1019 |
<td class="paramtype">UNS32 * </td>
|
|
1020 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
1021 |
</tr>
|
|
1022 |
<tr>
|
|
1023 |
<td></td>
|
|
1024 |
<td>)</td>
|
|
1025 |
<td></td><td></td><td width="100%"></td>
|
|
1026 |
</tr>
|
|
1027 |
</table>
|
|
1028 |
</div>
|
|
1029 |
<div class="memdoc">
|
|
1030 |
|
|
1031 |
<p>
|
210
|
1032 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1033 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1034 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1035 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1036 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
1037 |
</table>
|
|
1038 |
</dl>
|
|
1039 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1040 |
|
|
1041 |
<p>
|
|
1042 |
Definition at line <a class="el" href="sdo_8c-source.html#l01573">1573</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1043 |
<p>
|
240
|
1044 |
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#l00414">getSDOlineOnUse()</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="def_8h-source.html#l00071">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00077">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>.
|
|
1045 |
<p>
|
|
1046 |
Here is the call graph for this function:<p><center><img src="sdo_8c_b5b66393347520874a551ca2ec53f673_cgraph.png" border="0" usemap="#sdo_8c_b5b66393347520874a551ca2ec53f673_cgraph_map" alt=""></center>
|
|
1047 |
<map name="sdo_8c_b5b66393347520874a551ca2ec53f673_cgraph_map">
|
|
1048 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="228,5,348,32" alt="">
|
210
|
1049 |
</map>
|
|
1050 |
|
207
|
1051 |
</div>
|
|
1052 |
</div><p>
|
240
|
1053 |
<a class="anchor" name="397e3c42e4165191c97fe342ae02e184"></a><!-- doxytag: member="sdo.c::initSDOline" ref="397e3c42e4165191c97fe342ae02e184" args="(CO_Data *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state)" -->
|
207
|
1054 |
<div class="memitem">
|
|
1055 |
<div class="memproto">
|
|
1056 |
<table class="memname">
|
|
1057 |
<tr>
|
|
1058 |
<td class="memname">UNS8 initSDOline </td>
|
|
1059 |
<td>(</td>
|
215
|
1060 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1061 |
<td class="paramname"> <em>d</em>, </td>
|
|
1062 |
</tr>
|
|
1063 |
<tr>
|
|
1064 |
<td class="paramkey"></td>
|
|
1065 |
<td></td>
|
|
1066 |
<td class="paramtype">UNS8 </td>
|
|
1067 |
<td class="paramname"> <em>line</em>, </td>
|
|
1068 |
</tr>
|
|
1069 |
<tr>
|
|
1070 |
<td class="paramkey"></td>
|
|
1071 |
<td></td>
|
|
1072 |
<td class="paramtype">UNS8 </td>
|
|
1073 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1074 |
</tr>
|
|
1075 |
<tr>
|
|
1076 |
<td class="paramkey"></td>
|
|
1077 |
<td></td>
|
|
1078 |
<td class="paramtype">UNS16 </td>
|
|
1079 |
<td class="paramname"> <em>index</em>, </td>
|
|
1080 |
</tr>
|
|
1081 |
<tr>
|
|
1082 |
<td class="paramkey"></td>
|
|
1083 |
<td></td>
|
|
1084 |
<td class="paramtype">UNS8 </td>
|
|
1085 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1086 |
</tr>
|
|
1087 |
<tr>
|
|
1088 |
<td class="paramkey"></td>
|
|
1089 |
<td></td>
|
|
1090 |
<td class="paramtype">UNS8 </td>
|
|
1091 |
<td class="paramname"> <em>state</em></td><td> </td>
|
|
1092 |
</tr>
|
|
1093 |
<tr>
|
|
1094 |
<td></td>
|
|
1095 |
<td>)</td>
|
|
1096 |
<td></td><td></td><td width="100%"></td>
|
|
1097 |
</tr>
|
|
1098 |
</table>
|
|
1099 |
</div>
|
|
1100 |
<div class="memdoc">
|
|
1101 |
|
|
1102 |
<p>
|
210
|
1103 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1104 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1105 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1106 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1107 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1108 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1109 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1110 |
<tr><td valign="top"></td><td valign="top"><em>state</em> </td><td></td></tr>
|
|
1111 |
</table>
|
|
1112 |
</dl>
|
|
1113 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1114 |
|
|
1115 |
<p>
|
|
1116 |
Definition at line <a class="el" href="sdo_8c-source.html#l00359">359</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1117 |
<p>
|
240
|
1118 |
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#l00072">SDO_DOWNLOAD_IN_PROGRESS</a>, <a class="el" href="def_8h-source.html#l00073">SDO_UPLOAD_IN_PROGRESS</a>, <a class="el" href="sdo_8c-source.html#l00156">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#l00152">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>.
|
210
|
1119 |
<p>
|
|
1120 |
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>.
|
207
|
1121 |
</div>
|
|
1122 |
</div><p>
|
240
|
1123 |
<a class="anchor" name="ed2846a6b2403ab9f0b69712f0411d66"></a><!-- doxytag: member="sdo.c::lineToSDO" ref="ed2846a6b2403ab9f0b69712f0411d66" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
|
207
|
1124 |
<div class="memitem">
|
|
1125 |
<div class="memproto">
|
|
1126 |
<table class="memname">
|
|
1127 |
<tr>
|
|
1128 |
<td class="memname">UNS8 lineToSDO </td>
|
|
1129 |
<td>(</td>
|
215
|
1130 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1131 |
<td class="paramname"> <em>d</em>, </td>
|
|
1132 |
</tr>
|
|
1133 |
<tr>
|
|
1134 |
<td class="paramkey"></td>
|
|
1135 |
<td></td>
|
|
1136 |
<td class="paramtype">UNS8 </td>
|
|
1137 |
<td class="paramname"> <em>line</em>, </td>
|
|
1138 |
</tr>
|
|
1139 |
<tr>
|
|
1140 |
<td class="paramkey"></td>
|
|
1141 |
<td></td>
|
|
1142 |
<td class="paramtype">UNS8 </td>
|
|
1143 |
<td class="paramname"> <em>nbBytes</em>, </td>
|
|
1144 |
</tr>
|
|
1145 |
<tr>
|
|
1146 |
<td class="paramkey"></td>
|
|
1147 |
<td></td>
|
|
1148 |
<td class="paramtype">UNS8 * </td>
|
|
1149 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
1150 |
</tr>
|
|
1151 |
<tr>
|
|
1152 |
<td></td>
|
|
1153 |
<td>)</td>
|
|
1154 |
<td></td><td></td><td width="100%"></td>
|
|
1155 |
</tr>
|
|
1156 |
</table>
|
|
1157 |
</div>
|
|
1158 |
<div class="memdoc">
|
|
1159 |
|
|
1160 |
<p>
|
210
|
1161 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1162 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1163 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1164 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1165 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
1166 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
1167 |
</table>
|
|
1168 |
</dl>
|
|
1169 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1170 |
|
|
1171 |
<p>
|
|
1172 |
Definition at line <a class="el" href="sdo_8c-source.html#l00250">250</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1173 |
<p>
|
215
|
1174 |
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>.
|
|
1175 |
<p>
|
210
|
1176 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
1177 |
</div>
|
|
1178 |
</div><p>
|
240
|
1179 |
<a class="anchor" name="57448321a7e327ac8264dfed071a1f90"></a><!-- doxytag: member="sdo.c::objdictToSDOline" ref="57448321a7e327ac8264dfed071a1f90" args="(CO_Data *d, UNS8 line)" -->
|
207
|
1180 |
<div class="memitem">
|
|
1181 |
<div class="memproto">
|
|
1182 |
<table class="memname">
|
|
1183 |
<tr>
|
|
1184 |
<td class="memname">UNS32 objdictToSDOline </td>
|
|
1185 |
<td>(</td>
|
215
|
1186 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1187 |
<td class="paramname"> <em>d</em>, </td>
|
|
1188 |
</tr>
|
|
1189 |
<tr>
|
|
1190 |
<td class="paramkey"></td>
|
|
1191 |
<td></td>
|
|
1192 |
<td class="paramtype">UNS8 </td>
|
|
1193 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1194 |
</tr>
|
|
1195 |
<tr>
|
|
1196 |
<td></td>
|
|
1197 |
<td>)</td>
|
|
1198 |
<td></td><td></td><td width="100%"></td>
|
|
1199 |
</tr>
|
|
1200 |
</table>
|
|
1201 |
</div>
|
|
1202 |
<div class="memdoc">
|
|
1203 |
|
|
1204 |
<p>
|
210
|
1205 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1206 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1207 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1208 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1209 |
</table>
|
|
1210 |
</dl>
|
|
1211 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1212 |
|
|
1213 |
<p>
|
|
1214 |
Definition at line <a class="el" href="sdo_8c-source.html#l00209">209</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1215 |
<p>
|
215
|
1216 |
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#l00198">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>.
|
210
|
1217 |
<p>
|
|
1218 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
|
1219 |
<p>
|
240
|
1220 |
Here is the call graph for this function:<p><center><img src="sdo_8c_57448321a7e327ac8264dfed071a1f90_cgraph.png" border="0" usemap="#sdo_8c_57448321a7e327ac8264dfed071a1f90_cgraph_map" alt=""></center>
|
|
1221 |
<map name="sdo_8c_57448321a7e327ac8264dfed071a1f90_cgraph_map">
|
|
1222 |
<area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="175,5,257,32" alt="">
|
|
1223 |
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="307,5,397,32" alt="">
|
|
1224 |
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="447,5,585,32" alt="">
|
210
|
1225 |
</map>
|
|
1226 |
|
207
|
1227 |
</div>
|
|
1228 |
</div><p>
|
240
|
1229 |
<a class="anchor" name="c93bfdbec900f0b60386f0a2a5256826"></a><!-- doxytag: member="sdo.c::proceedSDO" ref="c93bfdbec900f0b60386f0a2a5256826" args="(CO_Data *d, Message *m)" -->
|
207
|
1230 |
<div class="memitem">
|
|
1231 |
<div class="memproto">
|
|
1232 |
<table class="memname">
|
|
1233 |
<tr>
|
|
1234 |
<td class="memname">UNS8 proceedSDO </td>
|
|
1235 |
<td>(</td>
|
215
|
1236 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
|
1237 |
<td class="paramname"> <em>d</em>, </td>
|
|
1238 |
</tr>
|
|
1239 |
<tr>
|
|
1240 |
<td class="paramkey"></td>
|
|
1241 |
<td></td>
|
|
1242 |
<td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td>
|
207
|
1243 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
1244 |
</tr>
|
|
1245 |
<tr>
|
|
1246 |
<td></td>
|
|
1247 |
<td>)</td>
|
|
1248 |
<td></td><td></td><td width="100%"></td>
|
|
1249 |
</tr>
|
|
1250 |
</table>
|
|
1251 |
</div>
|
|
1252 |
<div class="memdoc">
|
|
1253 |
|
|
1254 |
<p>
|
210
|
1255 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1256 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1257 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1258 |
<tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr>
|
|
1259 |
</table>
|
|
1260 |
</dl>
|
|
1261 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1262 |
|
|
1263 |
<p>
|
|
1264 |
The server node Id;<p>
|
215
|
1265 |
The server node Id;
|
210
|
1266 |
<p>
|
|
1267 |
Definition at line <a class="el" href="sdo_8c-source.html#l00608">608</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1268 |
<p>
|
240
|
1269 |
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#l00096">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="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="sdo_8h-source.html#l00076">BODY::data</a>, <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="sdo_8c-source.html#l00109">getSDOc</a>, <a class="el" href="sdo_8c-source.html#l00089">getSDOcs</a>, <a class="el" href="sdo_8c-source.html#l00101">getSDOe</a>, <a class="el" href="sdo_8c-source.html#l00388">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00117">getSDOindex</a>, <a class="el" href="sdo_8c-source.html#l00414">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00461">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l00093">getSDOn2</a>, <a class="el" href="sdo_8c-source.html#l00097">getSDOn3</a>, <a class="el" href="sdo_8c-source.html#l00105">getSDOs</a>, <a class="el" href="sdo_8c-source.html#l00121">getSDOsubIndex</a>, <a class="el" href="sdo_8c-source.html#l00113">getSDOt</a>, <a class="el" href="sdo_8h-source.html#l00047">struct_s_transfer::index</a>, <a class="el" href="sdo_8c-source.html#l00359">initSDOline()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="sdo_8c-source.html#l00250">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#l00209">objdictToSDOline()</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="sdo_8c-source.html#l00338">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00160">RestartSDO_TIMER</a>, <a class="el" href="def_8h-source.html#l00070">SDO_ABORTED_RCV</a>, <a class="el" href="def_8h-source.html#l00077">SDO_CLIENT</a>, <a class="el" href="objdictdef_8h-source.html#l00105">s_quick_index::SDO_CLT</a>, <a class="el" href="def_8h-source.html#l00072">SDO_DOWNLOAD_IN_PROGRESS</a>, <a class="el" href="def_8h-source.html#l00069">SDO_FINISHED</a>, <a class="el" href="def_8h-source.html#l00076">SDO_SERVER</a>, <a class="el" href="objdictdef_8h-source.html#l00104">s_quick_index::SDO_SVR</a>, <a class="el" href="def_8h-source.html#l00078">SDO_UNKNOWN</a>, <a class="el" href="def_8h-source.html#l00073">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#l00186">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00279">SDOtoLine()</a>, <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00479">setSDOlineRestBytes()</a>, <a class="el" href="sdo_8h-source.html#l00042">struct_s_transfer::state</a>, <a class="el" href="sdo_8c-source.html#l00152">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>.
|
210
|
1270 |
<p>
|
|
1271 |
Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>.
|
|
1272 |
<p>
|
240
|
1273 |
Here is the call graph for this function:<p><center><img src="sdo_8c_c93bfdbec900f0b60386f0a2a5256826_cgraph.png" border="0" usemap="#sdo_8c_c93bfdbec900f0b60386f0a2a5256826_cgraph_map" alt=""></center>
|
|
1274 |
<map name="sdo_8c_c93bfdbec900f0b60386f0a2a5256826_cgraph_map">
|
|
1275 |
<area href="sdo_8c.html#85872a68746c862b8771045ef45385a5" shape="rect" coords="175,129,252,156" alt="">
|
|
1276 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="332,180,452,207" alt="">
|
|
1277 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="345,79,439,105" alt="">
|
|
1278 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="504,53,589,80" alt="">
|
|
1279 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="511,180,583,207" alt="">
|
|
1280 |
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="159,281,268,308" alt="">
|
|
1281 |
<area href="sdo_8c.html#8e536d3bb6ddd6da6da2148a39f00c5a" shape="rect" coords="144,332,283,359" alt="">
|
|
1282 |
<area href="sdo_8c.html#ed2846a6b2403ab9f0b69712f0411d66" shape="rect" coords="172,383,255,409" alt="">
|
|
1283 |
<area href="sdo_8c.html#57448321a7e327ac8264dfed071a1f90" shape="rect" coords="153,433,273,460" alt="">
|
|
1284 |
<area href="sdo_8c.html#6603431e4ce111d365118681a3b80653" shape="rect" coords="152,484,275,511" alt="">
|
|
1285 |
<area href="sdo_8c.html#bd7fd1f216960f4765749ff21b8c40fb" shape="rect" coords="172,535,255,561" alt="">
|
|
1286 |
<area href="sdo_8c.html#6d81cdca911a4ea0234ab4b620a554f3" shape="rect" coords="145,585,281,612" alt="">
|
|
1287 |
<area href="sdo_8c.html#5ddd75f2935b87e9eeccd166d977fe5a" shape="rect" coords="343,129,441,156" alt="">
|
|
1288 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="677,180,744,207" alt="">
|
|
1289 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="829,180,941,207" alt="">
|
|
1290 |
<area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="351,433,433,460" alt="">
|
|
1291 |
<area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="501,433,592,460" alt="">
|
|
1292 |
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="641,459,780,485" alt="">
|
|
1293 |
<area href="objacces_8c.html#dad5d2f7890168cade2fbb7e0e4c6200" shape="rect" coords="351,484,433,511" alt="">
|
|
1294 |
<area href="objacces_8c.html#c6dc3f9ab23f6fa05c3a454cdc82c985" shape="rect" coords="503,484,591,511" alt="">
|
210
|
1295 |
</map>
|
|
1296 |
|
207
|
1297 |
</div>
|
|
1298 |
</div><p>
|
240
|
1299 |
<a class="anchor" name="dbc2fd49f1f126684922973871e337aa"></a><!-- doxytag: member="sdo.c::readNetworkDict" ref="dbc2fd49f1f126684922973871e337aa" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)" -->
|
207
|
1300 |
<div class="memitem">
|
|
1301 |
<div class="memproto">
|
|
1302 |
<table class="memname">
|
|
1303 |
<tr>
|
|
1304 |
<td class="memname">UNS8 readNetworkDict </td>
|
|
1305 |
<td>(</td>
|
215
|
1306 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1307 |
<td class="paramname"> <em>d</em>, </td>
|
|
1308 |
</tr>
|
|
1309 |
<tr>
|
|
1310 |
<td class="paramkey"></td>
|
|
1311 |
<td></td>
|
|
1312 |
<td class="paramtype">UNS8 </td>
|
|
1313 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1314 |
</tr>
|
|
1315 |
<tr>
|
|
1316 |
<td class="paramkey"></td>
|
|
1317 |
<td></td>
|
|
1318 |
<td class="paramtype">UNS16 </td>
|
|
1319 |
<td class="paramname"> <em>index</em>, </td>
|
|
1320 |
</tr>
|
|
1321 |
<tr>
|
|
1322 |
<td class="paramkey"></td>
|
|
1323 |
<td></td>
|
|
1324 |
<td class="paramtype">UNS8 </td>
|
|
1325 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1326 |
</tr>
|
|
1327 |
<tr>
|
|
1328 |
<td class="paramkey"></td>
|
|
1329 |
<td></td>
|
|
1330 |
<td class="paramtype">UNS8 </td>
|
|
1331 |
<td class="paramname"> <em>dataType</em></td><td> </td>
|
|
1332 |
</tr>
|
|
1333 |
<tr>
|
|
1334 |
<td></td>
|
|
1335 |
<td>)</td>
|
|
1336 |
<td></td><td></td><td width="100%"></td>
|
|
1337 |
</tr>
|
|
1338 |
</table>
|
|
1339 |
</div>
|
|
1340 |
<div class="memdoc">
|
|
1341 |
|
|
1342 |
<p>
|
210
|
1343 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1344 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1345 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1346 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1347 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1348 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1349 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
1350 |
</table>
|
|
1351 |
</dl>
|
|
1352 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1353 |
|
|
1354 |
<p>
|
|
1355 |
Definition at line <a class="el" href="sdo_8c-source.html#l01499">1499</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1356 |
<p>
|
215
|
1357 |
References <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
|
|
1358 |
<p>
|
240
|
1359 |
Referenced by <a class="el" href="main_8c-source.html#l00057">ReadSDO()</a>, and <a class="el" href="Master_8c-source.html#l00199">TestMaster_post_TPDO()</a>.
|
|
1360 |
<p>
|
|
1361 |
Here is the call graph for this function:<p><center><img src="sdo_8c_dbc2fd49f1f126684922973871e337aa_cgraph.png" border="0" usemap="#sdo_8c_dbc2fd49f1f126684922973871e337aa_cgraph_map" alt=""></center>
|
|
1362 |
<map name="sdo_8c_dbc2fd49f1f126684922973871e337aa_cgraph_map">
|
|
1363 |
<area href="sdo_8c.html#d381df29f9b8c0a17bc10d845aba3a31" shape="rect" coords="168,107,288,133" alt="">
|
|
1364 |
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="343,5,452,32" alt="">
|
|
1365 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="337,56,457,83" alt="">
|
|
1366 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="507,132,592,159" alt="">
|
|
1367 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="351,157,444,184" alt="">
|
|
1368 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="361,208,433,235" alt="">
|
|
1369 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="516,208,583,235" alt="">
|
|
1370 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="640,208,752,235" alt="">
|
210
|
1371 |
</map>
|
|
1372 |
|
207
|
1373 |
</div>
|
|
1374 |
</div><p>
|
240
|
1375 |
<a class="anchor" name="e32ba4100bc5d0ea951110dce2820059"></a><!-- doxytag: member="sdo.c::readNetworkDictCallback" ref="e32ba4100bc5d0ea951110dce2820059" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)" -->
|
207
|
1376 |
<div class="memitem">
|
|
1377 |
<div class="memproto">
|
|
1378 |
<table class="memname">
|
|
1379 |
<tr>
|
|
1380 |
<td class="memname">UNS8 readNetworkDictCallback </td>
|
|
1381 |
<td>(</td>
|
215
|
1382 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1383 |
<td class="paramname"> <em>d</em>, </td>
|
|
1384 |
</tr>
|
|
1385 |
<tr>
|
|
1386 |
<td class="paramkey"></td>
|
|
1387 |
<td></td>
|
|
1388 |
<td class="paramtype">UNS8 </td>
|
|
1389 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1390 |
</tr>
|
|
1391 |
<tr>
|
|
1392 |
<td class="paramkey"></td>
|
|
1393 |
<td></td>
|
|
1394 |
<td class="paramtype">UNS16 </td>
|
|
1395 |
<td class="paramname"> <em>index</em>, </td>
|
|
1396 |
</tr>
|
|
1397 |
<tr>
|
|
1398 |
<td class="paramkey"></td>
|
|
1399 |
<td></td>
|
|
1400 |
<td class="paramtype">UNS8 </td>
|
|
1401 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1402 |
</tr>
|
|
1403 |
<tr>
|
|
1404 |
<td class="paramkey"></td>
|
|
1405 |
<td></td>
|
|
1406 |
<td class="paramtype">UNS8 </td>
|
|
1407 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
1408 |
</tr>
|
|
1409 |
<tr>
|
|
1410 |
<td class="paramkey"></td>
|
|
1411 |
<td></td>
|
240
|
1412 |
<td class="paramtype"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> </td>
|
207
|
1413 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
1414 |
</tr>
|
|
1415 |
<tr>
|
|
1416 |
<td></td>
|
|
1417 |
<td>)</td>
|
|
1418 |
<td></td><td></td><td width="100%"></td>
|
|
1419 |
</tr>
|
|
1420 |
</table>
|
|
1421 |
</div>
|
|
1422 |
<div class="memdoc">
|
|
1423 |
|
|
1424 |
<p>
|
210
|
1425 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1426 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1427 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1428 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1429 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1430 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1431 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
1432 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
1433 |
</table>
|
|
1434 |
</dl>
|
|
1435 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1436 |
|
|
1437 |
<p>
|
|
1438 |
Definition at line <a class="el" href="sdo_8c-source.html#l01516">1516</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1439 |
<p>
|
215
|
1440 |
References <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
|
210
|
1441 |
<p>
|
240
|
1442 |
Here is the call graph for this function:<p><center><img src="sdo_8c_e32ba4100bc5d0ea951110dce2820059_cgraph.png" border="0" usemap="#sdo_8c_e32ba4100bc5d0ea951110dce2820059_cgraph_map" alt=""></center>
|
|
1443 |
<map name="sdo_8c_e32ba4100bc5d0ea951110dce2820059_cgraph_map">
|
|
1444 |
<area href="sdo_8c.html#d381df29f9b8c0a17bc10d845aba3a31" shape="rect" coords="216,107,336,133" alt="">
|
|
1445 |
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="391,5,500,32" alt="">
|
|
1446 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="385,56,505,83" alt="">
|
|
1447 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="555,132,640,159" alt="">
|
|
1448 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="399,157,492,184" alt="">
|
|
1449 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="409,208,481,235" alt="">
|
|
1450 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="564,208,631,235" alt="">
|
|
1451 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="688,208,800,235" alt="">
|
210
|
1452 |
</map>
|
|
1453 |
|
207
|
1454 |
</div>
|
|
1455 |
</div><p>
|
240
|
1456 |
<a class="anchor" name="48d2bfe1b7581346bb720ad2542bac89"></a><!-- doxytag: member="sdo.c::resetSDO" ref="48d2bfe1b7581346bb720ad2542bac89" args="(CO_Data *d)" -->
|
207
|
1457 |
<div class="memitem">
|
|
1458 |
<div class="memproto">
|
|
1459 |
<table class="memname">
|
|
1460 |
<tr>
|
|
1461 |
<td class="memname">void resetSDO </td>
|
|
1462 |
<td>(</td>
|
215
|
1463 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1464 |
<td class="paramname"> <em>d</em> </td>
|
|
1465 |
<td> ) </td>
|
|
1466 |
<td width="100%"></td>
|
|
1467 |
</tr>
|
|
1468 |
</table>
|
|
1469 |
</div>
|
|
1470 |
<div class="memdoc">
|
|
1471 |
|
|
1472 |
<p>
|
210
|
1473 |
Reset all sdo buffers<p>
|
|
1474 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1475 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1476 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1477 |
</table>
|
|
1478 |
</dl>
|
|
1479 |
|
|
1480 |
<p>
|
|
1481 |
Definition at line <a class="el" href="sdo_8c-source.html#l00169">169</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1482 |
<p>
|
215
|
1483 |
References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sdo_8c-source.html#l00338">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>.
|
210
|
1484 |
<p>
|
|
1485 |
Referenced by <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>.
|
|
1486 |
<p>
|
240
|
1487 |
Here is the call graph for this function:<p><center><img src="sdo_8c_48d2bfe1b7581346bb720ad2542bac89_cgraph.png" border="0" usemap="#sdo_8c_48d2bfe1b7581346bb720ad2542bac89_cgraph_map" alt=""></center>
|
|
1488 |
<map name="sdo_8c_48d2bfe1b7581346bb720ad2542bac89_cgraph_map">
|
|
1489 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="128,5,221,32" alt="">
|
|
1490 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="269,5,355,32" alt="">
|
210
|
1491 |
</map>
|
|
1492 |
|
207
|
1493 |
</div>
|
|
1494 |
</div><p>
|
240
|
1495 |
<a class="anchor" name="0d8fa7ef68e2d40eb014d9b89abf5448"></a><!-- doxytag: member="sdo.c::resetSDOline" ref="0d8fa7ef68e2d40eb014d9b89abf5448" args="(CO_Data *d, UNS8 line)" -->
|
207
|
1496 |
<div class="memitem">
|
|
1497 |
<div class="memproto">
|
|
1498 |
<table class="memname">
|
|
1499 |
<tr>
|
|
1500 |
<td class="memname">void resetSDOline </td>
|
|
1501 |
<td>(</td>
|
215
|
1502 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1503 |
<td class="paramname"> <em>d</em>, </td>
|
|
1504 |
</tr>
|
|
1505 |
<tr>
|
|
1506 |
<td class="paramkey"></td>
|
|
1507 |
<td></td>
|
|
1508 |
<td class="paramtype">UNS8 </td>
|
|
1509 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1510 |
</tr>
|
|
1511 |
<tr>
|
|
1512 |
<td></td>
|
|
1513 |
<td>)</td>
|
|
1514 |
<td></td><td></td><td width="100%"></td>
|
|
1515 |
</tr>
|
|
1516 |
</table>
|
|
1517 |
</div>
|
|
1518 |
<div class="memdoc">
|
|
1519 |
|
|
1520 |
<p>
|
210
|
1521 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1522 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1523 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1524 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1525 |
</table>
|
|
1526 |
</dl>
|
|
1527 |
|
|
1528 |
<p>
|
|
1529 |
Definition at line <a class="el" href="sdo_8c-source.html#l00338">338</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1530 |
<p>
|
240
|
1531 |
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#l00359">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#l00068">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>.
|
210
|
1532 |
<p>
|
|
1533 |
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00439">closeSDOtransfer()</a>, <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00169">resetSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
|
|
1534 |
<p>
|
240
|
1535 |
Here is the call graph for this function:<p><center><img src="sdo_8c_0d8fa7ef68e2d40eb014d9b89abf5448_cgraph.png" border="0" usemap="#sdo_8c_0d8fa7ef68e2d40eb014d9b89abf5448_cgraph_map" alt=""></center>
|
|
1536 |
<map name="sdo_8c_0d8fa7ef68e2d40eb014d9b89abf5448_cgraph_map">
|
|
1537 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="147,5,232,32" alt="">
|
210
|
1538 |
</map>
|
|
1539 |
|
207
|
1540 |
</div>
|
|
1541 |
</div><p>
|
240
|
1542 |
<a class="anchor" name="6603431e4ce111d365118681a3b80653"></a><!-- doxytag: member="sdo.c::SDOlineToObjdict" ref="6603431e4ce111d365118681a3b80653" args="(CO_Data *d, UNS8 line)" -->
|
207
|
1543 |
<div class="memitem">
|
|
1544 |
<div class="memproto">
|
|
1545 |
<table class="memname">
|
|
1546 |
<tr>
|
|
1547 |
<td class="memname">UNS32 SDOlineToObjdict </td>
|
|
1548 |
<td>(</td>
|
215
|
1549 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1550 |
<td class="paramname"> <em>d</em>, </td>
|
|
1551 |
</tr>
|
|
1552 |
<tr>
|
|
1553 |
<td class="paramkey"></td>
|
|
1554 |
<td></td>
|
|
1555 |
<td class="paramtype">UNS8 </td>
|
|
1556 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1557 |
</tr>
|
|
1558 |
<tr>
|
|
1559 |
<td></td>
|
|
1560 |
<td>)</td>
|
|
1561 |
<td></td><td></td><td width="100%"></td>
|
|
1562 |
</tr>
|
|
1563 |
</table>
|
|
1564 |
</div>
|
|
1565 |
<div class="memdoc">
|
|
1566 |
|
|
1567 |
<p>
|
210
|
1568 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1569 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1570 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1571 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1572 |
</table>
|
|
1573 |
</dl>
|
|
1574 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1575 |
|
|
1576 |
<p>
|
|
1577 |
Definition at line <a class="el" href="sdo_8c-source.html#l00186">186</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1578 |
<p>
|
215
|
1579 |
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#l00350">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>.
|
210
|
1580 |
<p>
|
|
1581 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
|
1582 |
<p>
|
240
|
1583 |
Here is the call graph for this function:<p><center><img src="sdo_8c_6603431e4ce111d365118681a3b80653_cgraph.png" border="0" usemap="#sdo_8c_6603431e4ce111d365118681a3b80653_cgraph_map" alt=""></center>
|
|
1584 |
<map name="sdo_8c_6603431e4ce111d365118681a3b80653_cgraph_map">
|
|
1585 |
<area href="objacces_8c.html#dad5d2f7890168cade2fbb7e0e4c6200" shape="rect" coords="176,5,259,32" alt="">
|
|
1586 |
<area href="objacces_8c.html#c6dc3f9ab23f6fa05c3a454cdc82c985" shape="rect" coords="308,5,396,32" alt="">
|
|
1587 |
<area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="447,5,585,32" alt="">
|
210
|
1588 |
</map>
|
|
1589 |
|
207
|
1590 |
</div>
|
|
1591 |
</div><p>
|
240
|
1592 |
<a class="anchor" name="96a6defad098e149a011ee0b832f44a0"></a><!-- doxytag: member="sdo.c::SDOTimeoutAlarm" ref="96a6defad098e149a011ee0b832f44a0" args="(CO_Data *d, UNS32 id)" -->
|
207
|
1593 |
<div class="memitem">
|
|
1594 |
<div class="memproto">
|
|
1595 |
<table class="memname">
|
|
1596 |
<tr>
|
|
1597 |
<td class="memname">void SDOTimeoutAlarm </td>
|
|
1598 |
<td>(</td>
|
215
|
1599 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1600 |
<td class="paramname"> <em>d</em>, </td>
|
|
1601 |
</tr>
|
|
1602 |
<tr>
|
|
1603 |
<td class="paramkey"></td>
|
|
1604 |
<td></td>
|
|
1605 |
<td class="paramtype">UNS32 </td>
|
|
1606 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
1607 |
</tr>
|
|
1608 |
<tr>
|
|
1609 |
<td></td>
|
|
1610 |
<td>)</td>
|
|
1611 |
<td></td><td></td><td width="100%"></td>
|
|
1612 |
</tr>
|
|
1613 |
</table>
|
|
1614 |
</div>
|
|
1615 |
<div class="memdoc">
|
|
1616 |
|
|
1617 |
<p>
|
210
|
1618 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1619 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1620 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1621 |
<tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr>
|
|
1622 |
</table>
|
|
1623 |
</dl>
|
|
1624 |
|
|
1625 |
<p>
|
|
1626 |
Definition at line <a class="el" href="sdo_8c-source.html#l00129">129</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1627 |
<p>
|
240
|
1628 |
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#l00338">resetSDOline()</a>, <a class="el" href="def_8h-source.html#l00071">SDO_ABORTED_INTERNAL</a>, <a class="el" href="def_8h-source.html#l00076">SDO_SERVER</a>, <a class="el" href="def_8h-source.html#l00043">SDOABT_TIMED_OUT</a>, <a class="el" href="sdo_8c-source.html#l00578">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>.
|
|
1629 |
<p>
|
|
1630 |
Here is the call graph for this function:<p><center><img src="sdo_8c_96a6defad098e149a011ee0b832f44a0_cgraph.png" border="0" usemap="#sdo_8c_96a6defad098e149a011ee0b832f44a0_cgraph_map" alt=""></center>
|
|
1631 |
<map name="sdo_8c_96a6defad098e149a011ee0b832f44a0_cgraph_map">
|
|
1632 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="185,5,279,32" alt="">
|
|
1633 |
<area href="sdo_8c.html#5ddd75f2935b87e9eeccd166d977fe5a" shape="rect" coords="183,56,281,83" alt="">
|
|
1634 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="331,5,416,32" alt="">
|
|
1635 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="337,56,409,83" alt="">
|
|
1636 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="464,56,531,83" alt="">
|
|
1637 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="579,56,691,83" alt="">
|
210
|
1638 |
</map>
|
|
1639 |
|
207
|
1640 |
</div>
|
|
1641 |
</div><p>
|
240
|
1642 |
<a class="anchor" name="bd7fd1f216960f4765749ff21b8c40fb"></a><!-- doxytag: member="sdo.c::SDOtoLine" ref="bd7fd1f216960f4765749ff21b8c40fb" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
|
207
|
1643 |
<div class="memitem">
|
|
1644 |
<div class="memproto">
|
|
1645 |
<table class="memname">
|
|
1646 |
<tr>
|
|
1647 |
<td class="memname">UNS8 SDOtoLine </td>
|
|
1648 |
<td>(</td>
|
215
|
1649 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1650 |
<td class="paramname"> <em>d</em>, </td>
|
|
1651 |
</tr>
|
|
1652 |
<tr>
|
|
1653 |
<td class="paramkey"></td>
|
|
1654 |
<td></td>
|
|
1655 |
<td class="paramtype">UNS8 </td>
|
|
1656 |
<td class="paramname"> <em>line</em>, </td>
|
|
1657 |
</tr>
|
|
1658 |
<tr>
|
|
1659 |
<td class="paramkey"></td>
|
|
1660 |
<td></td>
|
|
1661 |
<td class="paramtype">UNS8 </td>
|
|
1662 |
<td class="paramname"> <em>nbBytes</em>, </td>
|
|
1663 |
</tr>
|
|
1664 |
<tr>
|
|
1665 |
<td class="paramkey"></td>
|
|
1666 |
<td></td>
|
|
1667 |
<td class="paramtype">UNS8 * </td>
|
|
1668 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
1669 |
</tr>
|
|
1670 |
<tr>
|
|
1671 |
<td></td>
|
|
1672 |
<td>)</td>
|
|
1673 |
<td></td><td></td><td width="100%"></td>
|
|
1674 |
</tr>
|
|
1675 |
</table>
|
|
1676 |
</div>
|
|
1677 |
<div class="memdoc">
|
|
1678 |
|
|
1679 |
<p>
|
210
|
1680 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1681 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1682 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1683 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1684 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
1685 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
1686 |
</table>
|
|
1687 |
</dl>
|
|
1688 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1689 |
|
|
1690 |
<p>
|
|
1691 |
Definition at line <a class="el" href="sdo_8c-source.html#l00279">279</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1692 |
<p>
|
215
|
1693 |
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>.
|
|
1694 |
<p>
|
210
|
1695 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
1696 |
</div>
|
|
1697 |
</div><p>
|
240
|
1698 |
<a class="anchor" name="b708fa701e4afbb7b63c6e658317e6dc"></a><!-- doxytag: member="sdo.c::sendSDO" ref="b708fa701e4afbb7b63c6e658317e6dc" args="(CO_Data *d, UNS8 whoami, s_SDO sdo)" -->
|
207
|
1699 |
<div class="memitem">
|
|
1700 |
<div class="memproto">
|
|
1701 |
<table class="memname">
|
|
1702 |
<tr>
|
|
1703 |
<td class="memname">UNS8 sendSDO </td>
|
|
1704 |
<td>(</td>
|
215
|
1705 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1706 |
<td class="paramname"> <em>d</em>, </td>
|
|
1707 |
</tr>
|
|
1708 |
<tr>
|
|
1709 |
<td class="paramkey"></td>
|
|
1710 |
<td></td>
|
|
1711 |
<td class="paramtype">UNS8 </td>
|
|
1712 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
1713 |
</tr>
|
|
1714 |
<tr>
|
|
1715 |
<td class="paramkey"></td>
|
|
1716 |
<td></td>
|
215
|
1717 |
<td class="paramtype"><a class="el" href="structstruct__s__SDO.html">s_SDO</a> </td>
|
207
|
1718 |
<td class="paramname"> <em>sdo</em></td><td> </td>
|
|
1719 |
</tr>
|
|
1720 |
<tr>
|
|
1721 |
<td></td>
|
|
1722 |
<td>)</td>
|
|
1723 |
<td></td><td></td><td width="100%"></td>
|
|
1724 |
</tr>
|
|
1725 |
</table>
|
|
1726 |
</div>
|
|
1727 |
<div class="memdoc">
|
|
1728 |
|
|
1729 |
<p>
|
210
|
1730 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1731 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1732 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1733 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
1734 |
<tr><td valign="top"></td><td valign="top"><em>sdo</em> </td><td></td></tr>
|
|
1735 |
</table>
|
|
1736 |
</dl>
|
|
1737 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1738 |
|
|
1739 |
<p>
|
|
1740 |
Definition at line <a class="el" href="sdo_8c-source.html#l00498">498</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1741 |
<p>
|
240
|
1742 |
References <a class="el" href="sdo_8h-source.html#l00082">struct_s_SDO::body</a>, <a class="el" href="objdictdef_8h-source.html#l00096">td_indextable::bSubCount</a>, <a class="el" href="data_8h-source.html#l00087">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="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="sdo_8h-source.html#l00076">BODY::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#80401a8f6d29787e07427b2baf63053824952153680b2c826995af50d0b16aea">Operational</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="states_8h.html#80401a8f6d29787e07427b2baf630538aa3d4da3fd99f3a79599fa514561754a">Pre_operational</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="objdictdef_8h-source.html#l00105">s_quick_index::SDO_CLT</a>, <a class="el" href="def_8h-source.html#l00076">SDO_SERVER</a>, <a class="el" href="objdictdef_8h-source.html#l00104">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>.
|
215
|
1743 |
<p>
|
210
|
1744 |
Referenced by <a class="el" href="sdo_8c-source.html#l01406">_readNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00578">sendSDOabort()</a>.
|
215
|
1745 |
<p>
|
240
|
1746 |
Here is the call graph for this function:<p><center><img src="sdo_8c_b708fa701e4afbb7b63c6e658317e6dc_cgraph.png" border="0" usemap="#sdo_8c_b708fa701e4afbb7b63c6e658317e6dc_cgraph_map" alt=""></center>
|
|
1747 |
<map name="sdo_8c_b708fa701e4afbb7b63c6e658317e6dc_cgraph_map">
|
|
1748 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="125,5,192,32" alt="">
|
|
1749 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="240,5,352,32" alt="">
|
215
|
1750 |
</map>
|
|
1751 |
|
207
|
1752 |
</div>
|
|
1753 |
</div><p>
|
240
|
1754 |
<a class="anchor" name="5ddd75f2935b87e9eeccd166d977fe5a"></a><!-- doxytag: member="sdo.c::sendSDOabort" ref="5ddd75f2935b87e9eeccd166d977fe5a" args="(CO_Data *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
|
207
|
1755 |
<div class="memitem">
|
|
1756 |
<div class="memproto">
|
|
1757 |
<table class="memname">
|
|
1758 |
<tr>
|
|
1759 |
<td class="memname">UNS8 sendSDOabort </td>
|
|
1760 |
<td>(</td>
|
215
|
1761 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1762 |
<td class="paramname"> <em>d</em>, </td>
|
|
1763 |
</tr>
|
|
1764 |
<tr>
|
|
1765 |
<td class="paramkey"></td>
|
|
1766 |
<td></td>
|
|
1767 |
<td class="paramtype">UNS8 </td>
|
|
1768 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
1769 |
</tr>
|
|
1770 |
<tr>
|
|
1771 |
<td class="paramkey"></td>
|
|
1772 |
<td></td>
|
|
1773 |
<td class="paramtype">UNS16 </td>
|
|
1774 |
<td class="paramname"> <em>index</em>, </td>
|
|
1775 |
</tr>
|
|
1776 |
<tr>
|
|
1777 |
<td class="paramkey"></td>
|
|
1778 |
<td></td>
|
|
1779 |
<td class="paramtype">UNS8 </td>
|
|
1780 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1781 |
</tr>
|
|
1782 |
<tr>
|
|
1783 |
<td class="paramkey"></td>
|
|
1784 |
<td></td>
|
|
1785 |
<td class="paramtype">UNS32 </td>
|
|
1786 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
1787 |
</tr>
|
|
1788 |
<tr>
|
|
1789 |
<td></td>
|
|
1790 |
<td>)</td>
|
|
1791 |
<td></td><td></td><td width="100%"></td>
|
|
1792 |
</tr>
|
|
1793 |
</table>
|
|
1794 |
</div>
|
|
1795 |
<div class="memdoc">
|
|
1796 |
|
|
1797 |
<p>
|
210
|
1798 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1799 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1800 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1801 |
<tr><td valign="top"></td><td valign="top"><em>whoami</em> </td><td></td></tr>
|
|
1802 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1803 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1804 |
<tr><td valign="top"></td><td valign="top"><em>abortCode</em> </td><td></td></tr>
|
|
1805 |
</table>
|
|
1806 |
</dl>
|
|
1807 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1808 |
|
|
1809 |
<p>
|
|
1810 |
Definition at line <a class="el" href="sdo_8c-source.html#l00578">578</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1811 |
<p>
|
215
|
1812 |
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#l00498">sendSDO()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>.
|
210
|
1813 |
<p>
|
|
1814 |
Referenced by <a class="el" href="sdo_8c-source.html#l00307">failedSDO()</a>, and <a class="el" href="sdo_8c-source.html#l00129">SDOTimeoutAlarm()</a>.
|
|
1815 |
<p>
|
240
|
1816 |
Here is the call graph for this function:<p><center><img src="sdo_8c_5ddd75f2935b87e9eeccd166d977fe5a_cgraph.png" border="0" usemap="#sdo_8c_5ddd75f2935b87e9eeccd166d977fe5a_cgraph_map" alt=""></center>
|
|
1817 |
<map name="sdo_8c_5ddd75f2935b87e9eeccd166d977fe5a_cgraph_map">
|
|
1818 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="155,5,227,32" alt="">
|
|
1819 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="275,5,341,32" alt="">
|
|
1820 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="389,5,501,32" alt="">
|
210
|
1821 |
</map>
|
|
1822 |
|
207
|
1823 |
</div>
|
|
1824 |
</div><p>
|
240
|
1825 |
<a class="anchor" name="6d81cdca911a4ea0234ab4b620a554f3"></a><!-- doxytag: member="sdo.c::setSDOlineRestBytes" ref="6d81cdca911a4ea0234ab4b620a554f3" args="(CO_Data *d, UNS8 line, UNS8 nbBytes)" -->
|
207
|
1826 |
<div class="memitem">
|
|
1827 |
<div class="memproto">
|
|
1828 |
<table class="memname">
|
|
1829 |
<tr>
|
|
1830 |
<td class="memname">UNS8 setSDOlineRestBytes </td>
|
|
1831 |
<td>(</td>
|
215
|
1832 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1833 |
<td class="paramname"> <em>d</em>, </td>
|
|
1834 |
</tr>
|
|
1835 |
<tr>
|
|
1836 |
<td class="paramkey"></td>
|
|
1837 |
<td></td>
|
|
1838 |
<td class="paramtype">UNS8 </td>
|
|
1839 |
<td class="paramname"> <em>line</em>, </td>
|
|
1840 |
</tr>
|
|
1841 |
<tr>
|
|
1842 |
<td class="paramkey"></td>
|
|
1843 |
<td></td>
|
|
1844 |
<td class="paramtype">UNS8 </td>
|
|
1845 |
<td class="paramname"> <em>nbBytes</em></td><td> </td>
|
|
1846 |
</tr>
|
|
1847 |
<tr>
|
|
1848 |
<td></td>
|
|
1849 |
<td>)</td>
|
|
1850 |
<td></td><td></td><td width="100%"></td>
|
|
1851 |
</tr>
|
|
1852 |
</table>
|
|
1853 |
</div>
|
|
1854 |
<div class="memdoc">
|
|
1855 |
|
|
1856 |
<p>
|
210
|
1857 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1858 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1859 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1860 |
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td></td></tr>
|
|
1861 |
<tr><td valign="top"></td><td valign="top"><em>nbBytes</em> </td><td></td></tr>
|
|
1862 |
</table>
|
|
1863 |
</dl>
|
|
1864 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1865 |
|
|
1866 |
<p>
|
|
1867 |
Definition at line <a class="el" href="sdo_8c-source.html#l00479">479</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1868 |
<p>
|
215
|
1869 |
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>.
|
|
1870 |
<p>
|
210
|
1871 |
Referenced by <a class="el" href="sdo_8c-source.html#l00608">proceedSDO()</a>.
|
207
|
1872 |
</div>
|
|
1873 |
</div><p>
|
240
|
1874 |
<a class="anchor" name="e38e2a7d1801309e41d81203321608dc"></a><!-- doxytag: member="sdo.c::writeNetworkDict" ref="e38e2a7d1801309e41d81203321608dc" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data)" -->
|
207
|
1875 |
<div class="memitem">
|
|
1876 |
<div class="memproto">
|
|
1877 |
<table class="memname">
|
|
1878 |
<tr>
|
|
1879 |
<td class="memname">UNS8 writeNetworkDict </td>
|
|
1880 |
<td>(</td>
|
215
|
1881 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1882 |
<td class="paramname"> <em>d</em>, </td>
|
|
1883 |
</tr>
|
|
1884 |
<tr>
|
|
1885 |
<td class="paramkey"></td>
|
|
1886 |
<td></td>
|
|
1887 |
<td class="paramtype">UNS8 </td>
|
|
1888 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1889 |
</tr>
|
|
1890 |
<tr>
|
|
1891 |
<td class="paramkey"></td>
|
|
1892 |
<td></td>
|
|
1893 |
<td class="paramtype">UNS16 </td>
|
|
1894 |
<td class="paramname"> <em>index</em>, </td>
|
|
1895 |
</tr>
|
|
1896 |
<tr>
|
|
1897 |
<td class="paramkey"></td>
|
|
1898 |
<td></td>
|
|
1899 |
<td class="paramtype">UNS8 </td>
|
|
1900 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1901 |
</tr>
|
|
1902 |
<tr>
|
|
1903 |
<td class="paramkey"></td>
|
|
1904 |
<td></td>
|
|
1905 |
<td class="paramtype">UNS8 </td>
|
|
1906 |
<td class="paramname"> <em>count</em>, </td>
|
|
1907 |
</tr>
|
|
1908 |
<tr>
|
|
1909 |
<td class="paramkey"></td>
|
|
1910 |
<td></td>
|
|
1911 |
<td class="paramtype">UNS8 </td>
|
|
1912 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
1913 |
</tr>
|
|
1914 |
<tr>
|
|
1915 |
<td class="paramkey"></td>
|
|
1916 |
<td></td>
|
|
1917 |
<td class="paramtype">void * </td>
|
|
1918 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
1919 |
</tr>
|
|
1920 |
<tr>
|
|
1921 |
<td></td>
|
|
1922 |
<td>)</td>
|
|
1923 |
<td></td><td></td><td width="100%"></td>
|
|
1924 |
</tr>
|
|
1925 |
</table>
|
|
1926 |
</div>
|
|
1927 |
<div class="memdoc">
|
|
1928 |
|
|
1929 |
<p>
|
210
|
1930 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
1931 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
1932 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
1933 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
1934 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
1935 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
1936 |
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr>
|
|
1937 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
1938 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
1939 |
</table>
|
|
1940 |
</dl>
|
|
1941 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
1942 |
|
|
1943 |
<p>
|
|
1944 |
Definition at line <a class="el" href="sdo_8c-source.html#l01368">1368</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1945 |
<p>
|
215
|
1946 |
References <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
|
210
|
1947 |
<p>
|
240
|
1948 |
Here is the call graph for this function:<p><center><img src="sdo_8c_e38e2a7d1801309e41d81203321608dc_cgraph.png" border="0" usemap="#sdo_8c_e38e2a7d1801309e41d81203321608dc_cgraph_map" alt=""></center>
|
|
1949 |
<map name="sdo_8c_e38e2a7d1801309e41d81203321608dc_cgraph_map">
|
|
1950 |
<area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="173,107,299,133" alt="">
|
|
1951 |
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="353,5,463,32" alt="">
|
|
1952 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="348,56,468,83" alt="">
|
|
1953 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="517,132,603,159" alt="">
|
|
1954 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="361,157,455,184" alt="">
|
|
1955 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="372,208,444,235" alt="">
|
|
1956 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="527,208,593,235" alt="">
|
|
1957 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="651,208,763,235" alt="">
|
210
|
1958 |
</map>
|
|
1959 |
|
207
|
1960 |
</div>
|
|
1961 |
</div><p>
|
240
|
1962 |
<a class="anchor" name="f0491ff0ed4a472e54de7f24c4e8457a"></a><!-- doxytag: member="sdo.c::writeNetworkDictCallBack" ref="f0491ff0ed4a472e54de7f24c4e8457a" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback)" -->
|
207
|
1963 |
<div class="memitem">
|
|
1964 |
<div class="memproto">
|
|
1965 |
<table class="memname">
|
|
1966 |
<tr>
|
|
1967 |
<td class="memname">UNS8 writeNetworkDictCallBack </td>
|
|
1968 |
<td>(</td>
|
215
|
1969 |
<td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td>
|
207
|
1970 |
<td class="paramname"> <em>d</em>, </td>
|
|
1971 |
</tr>
|
|
1972 |
<tr>
|
|
1973 |
<td class="paramkey"></td>
|
|
1974 |
<td></td>
|
|
1975 |
<td class="paramtype">UNS8 </td>
|
|
1976 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1977 |
</tr>
|
|
1978 |
<tr>
|
|
1979 |
<td class="paramkey"></td>
|
|
1980 |
<td></td>
|
|
1981 |
<td class="paramtype">UNS16 </td>
|
|
1982 |
<td class="paramname"> <em>index</em>, </td>
|
|
1983 |
</tr>
|
|
1984 |
<tr>
|
|
1985 |
<td class="paramkey"></td>
|
|
1986 |
<td></td>
|
|
1987 |
<td class="paramtype">UNS8 </td>
|
|
1988 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1989 |
</tr>
|
|
1990 |
<tr>
|
|
1991 |
<td class="paramkey"></td>
|
|
1992 |
<td></td>
|
|
1993 |
<td class="paramtype">UNS8 </td>
|
|
1994 |
<td class="paramname"> <em>count</em>, </td>
|
|
1995 |
</tr>
|
|
1996 |
<tr>
|
|
1997 |
<td class="paramkey"></td>
|
|
1998 |
<td></td>
|
|
1999 |
<td class="paramtype">UNS8 </td>
|
|
2000 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
2001 |
</tr>
|
|
2002 |
<tr>
|
|
2003 |
<td class="paramkey"></td>
|
|
2004 |
<td></td>
|
|
2005 |
<td class="paramtype">void * </td>
|
|
2006 |
<td class="paramname"> <em>data</em>, </td>
|
|
2007 |
</tr>
|
|
2008 |
<tr>
|
|
2009 |
<td class="paramkey"></td>
|
|
2010 |
<td></td>
|
240
|
2011 |
<td class="paramtype"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> </td>
|
207
|
2012 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
2013 |
</tr>
|
|
2014 |
<tr>
|
|
2015 |
<td></td>
|
|
2016 |
<td>)</td>
|
|
2017 |
<td></td><td></td><td width="100%"></td>
|
|
2018 |
</tr>
|
|
2019 |
</table>
|
|
2020 |
</div>
|
|
2021 |
<div class="memdoc">
|
|
2022 |
|
|
2023 |
<p>
|
210
|
2024 |
<dl compact><dt><b>Parameters:</b></dt><dd>
|
|
2025 |
<table border="0" cellspacing="2" cellpadding="0">
|
|
2026 |
<tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr>
|
|
2027 |
<tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr>
|
|
2028 |
<tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr>
|
|
2029 |
<tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr>
|
|
2030 |
<tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr>
|
|
2031 |
<tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr>
|
|
2032 |
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr>
|
|
2033 |
<tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr>
|
|
2034 |
</table>
|
|
2035 |
</dl>
|
|
2036 |
<dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl>
|
|
2037 |
|
|
2038 |
<p>
|
|
2039 |
Definition at line <a class="el" href="sdo_8c-source.html#l01388">1388</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
2040 |
<p>
|
215
|
2041 |
References <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, and <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>.
|
210
|
2042 |
<p>
|
240
|
2043 |
Referenced by <a class="el" href="Master_8c-source.html#l00199">TestMaster_post_TPDO()</a>.
|
|
2044 |
<p>
|
|
2045 |
Here is the call graph for this function:<p><center><img src="sdo_8c_f0491ff0ed4a472e54de7f24c4e8457a_cgraph.png" border="0" usemap="#sdo_8c_f0491ff0ed4a472e54de7f24c4e8457a_cgraph_map" alt=""></center>
|
|
2046 |
<map name="sdo_8c_f0491ff0ed4a472e54de7f24c4e8457a_cgraph_map">
|
|
2047 |
<area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="221,107,347,133" alt="">
|
|
2048 |
<area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="401,5,511,32" alt="">
|
|
2049 |
<area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="396,56,516,83" alt="">
|
|
2050 |
<area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="565,132,651,159" alt="">
|
|
2051 |
<area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="409,157,503,184" alt="">
|
|
2052 |
<area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="420,208,492,235" alt="">
|
|
2053 |
<area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="575,208,641,235" alt="">
|
|
2054 |
<area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="699,208,811,235" alt="">
|
210
|
2055 |
</map>
|
|
2056 |
|
|
2057 |
</div>
|
|
2058 |
</div><p>
|
240
|
2059 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:41 2007 for CanFestival by
|
207
|
2060 |
<a href="http://www.doxygen.org/index.html">
|
|
2061 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
2062 |
</body>
|
|
2063 |
</html>
|