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">
|
|
3 |
<title>CanFestival: /home/epimerde/documents/tc11/CanFestival-3/src/sdo.c File Reference</title>
|
|
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>
|
|
11 |
<li id="current"><a href="files.html"><span>Files</span></a></li>
|
|
12 |
</ul></div>
|
|
13 |
<div class="tabs">
|
|
14 |
<ul>
|
|
15 |
<li><a href="files.html"><span>File List</span></a></li>
|
|
16 |
<li><a href="globals.html"><span>Globals</span></a></li>
|
|
17 |
</ul></div>
|
|
18 |
<h1>/home/epimerde/documents/tc11/CanFestival-3/src/sdo.c File Reference</h1><code>#include "objacces.h"</code><br>
|
|
19 |
<code>#include "sdo.h"</code><br>
|
|
20 |
<code>#include "canfestival.h"</code><br>
|
|
21 |
|
|
22 |
<p>
|
|
23 |
<a href="sdo_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
24 |
<tr><td></td></tr>
|
|
25 |
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
|
26 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b5ce7bd7fe4169a9f709815f03f9870b">NO_INLINE</a></td></tr>
|
|
27 |
|
|
28 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a></td></tr>
|
|
29 |
|
|
30 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#ce5a1634ff4089db3b228cdd5010c321">getSDOcs</a>(byte) (byte >> 5)</td></tr>
|
|
31 |
|
|
32 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#dfd3877d80f6b903b491a115e587bd14">getSDOn2</a>(byte) ((byte >> 2) & 3)</td></tr>
|
|
33 |
|
|
34 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#e5677ca12bfb71b06cbd6e99e9be0955">getSDOn3</a>(byte) ((byte >> 1) & 7)</td></tr>
|
|
35 |
|
|
36 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#cf60675f20de8746e279dce3a5c8e3c6">getSDOe</a>(byte) ((byte >> 1) & 1)</td></tr>
|
|
37 |
|
|
38 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#f7f9e9bc3d59c9772d4c767b199dcf89">getSDOs</a>(byte) (byte & 1)</td></tr>
|
|
39 |
|
|
40 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#e5a2dafe8497bff1fd88f881ea74414d">getSDOc</a>(byte) (byte & 1)</td></tr>
|
|
41 |
|
|
42 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#464b29fd628d92426de0a841232bdd12">getSDOt</a>(byte) ((byte >> 4) & 1)</td></tr>
|
|
43 |
|
|
44 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#d9b34e26bf67f1251f3bb364756e17f1">getSDOindex</a>(byte1, byte2) ((byte2 << 8) | (byte1))</td></tr>
|
|
45 |
|
|
46 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#52a96f6fa6083f6b291133135b7155a8">getSDOsubIndex</a>(byte3) (byte3)</td></tr>
|
|
47 |
|
|
48 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b90f05aac908e8eee39a34b3e21e0ea9">StopSDO_TIMER</a>(id)</td></tr>
|
|
49 |
|
|
50 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#c1e9eb7a28803b958d298b6997cc60ca">StartSDO_TIMER</a>(id)</td></tr>
|
|
51 |
|
|
52 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b3938a9884014e96cafc42aeee743c0f">RestartSDO_TIMER</a>(id)</td></tr>
|
|
53 |
|
|
54 |
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
|
55 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">INLINE UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#3c07605ffe3ea197aa36e583ef87a20a">_writeNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize)</td></tr>
|
|
56 |
|
|
57 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">INLINE UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#4bb4b3cd35af7e7580cffde23e9d3270">_readNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)</td></tr>
|
|
58 |
|
|
59 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#9309025e29b59e09026abcd3b45a5b61">SDOTimeoutAlarm</a> (CO_Data *d, UNS32 id)</td></tr>
|
|
60 |
|
|
61 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#1f4f07eccc4890a11ccf4f632da7740b">resetSDO</a> (CO_Data *d)</td></tr>
|
|
62 |
|
|
63 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2eb5309dca3a7363da5e5e7230b85d58">SDOlineToObjdict</a> (CO_Data *d, UNS8 line)</td></tr>
|
|
64 |
|
|
65 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#29427a80fd1aeabff30bf0602fbc220f">objdictToSDOline</a> (CO_Data *d, UNS8 line)</td></tr>
|
|
66 |
|
|
67 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#ad6eb8be03b832ebba4dfb87aaba4065">lineToSDO</a> (CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
|
|
68 |
|
|
69 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#18b6f7e9c9441640a88ffef1e8720694">SDOtoLine</a> (CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)</td></tr>
|
|
70 |
|
|
71 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2019db2a4d17e6d29c055cbae173e2b9">failedSDO</a> (CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)</td></tr>
|
|
72 |
|
|
73 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481">resetSDOline</a> (CO_Data *d, UNS8 line)</td></tr>
|
|
74 |
|
|
75 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d">initSDOline</a> (CO_Data *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state)</td></tr>
|
|
76 |
|
|
77 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#58d1f9691977617601beb9e5b4123252">getSDOfreeLine</a> (CO_Data *d, UNS8 whoami, UNS8 *line)</td></tr>
|
|
78 |
|
|
79 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f">getSDOlineOnUse</a> (CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)</td></tr>
|
|
80 |
|
|
81 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#555a772d3a88a29c495f33513f8b2d58">closeSDOtransfer</a> (CO_Data *d, UNS8 nodeId, UNS8 whoami)</td></tr>
|
|
82 |
|
|
83 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#acceb714c6e457e98deb9ba164ba2a2f">getSDOlineRestBytes</a> (CO_Data *d, UNS8 line, UNS8 *nbBytes)</td></tr>
|
|
84 |
|
|
85 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#601a837ecb5f21bf4c66b058c5ae7810">setSDOlineRestBytes</a> (CO_Data *d, UNS8 line, UNS8 nbBytes)</td></tr>
|
|
86 |
|
|
87 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d">sendSDO</a> (CO_Data *d, UNS8 whoami, s_SDO sdo)</td></tr>
|
|
88 |
|
|
89 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#b26c3f2fb63d81055809d6ccaa785b7c">sendSDOabort</a> (CO_Data *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)</td></tr>
|
|
90 |
|
|
91 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#2a93a7c780472b1d8666d89aa270f661">proceedSDO</a> (CO_Data *d, Message *m)</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#bc20ed246e00053dcf71faa8f45ee39c">writeNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *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#f4ec05293fb8971a1b282994498ed4f5">writeNetworkDictCallBack</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback)</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#0e102a0835e4115920cd406e80a8d135">readNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)</td></tr>
|
|
98 |
|
|
99 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sdo_8c.html#542a5cdd20c00aa130a39fe68295e769">readNetworkDictCallback</a> (CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)</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#05b0c8eee1faee3c7a2f6e2ba3a16533">getReadResultNetworkDict</a> (CO_Data *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)</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#8671e306873f19362c60bb50ab930d1d">getWriteResultNetworkDict</a> (CO_Data *d, UNS8 nodeId, UNS32 *abortCode)</td></tr>
|
|
104 |
|
|
105 |
</table>
|
|
106 |
<hr><h2>Define Documentation</h2>
|
|
107 |
<a class="anchor" name="e5a2dafe8497bff1fd88f881ea74414d"></a><!-- doxytag: member="sdo.c::getSDOc" ref="e5a2dafe8497bff1fd88f881ea74414d" args="(byte)" -->
|
|
108 |
<div class="memitem">
|
|
109 |
<div class="memproto">
|
|
110 |
<table class="memname">
|
|
111 |
<tr>
|
|
112 |
<td class="memname">#define getSDOc </td>
|
|
113 |
<td>(</td>
|
|
114 |
<td class="paramtype">byte </td>
|
|
115 |
<td class="paramname"> </td>
|
|
116 |
<td> ) </td>
|
|
117 |
<td width="100%"> (byte & 1)</td>
|
|
118 |
</tr>
|
|
119 |
</table>
|
|
120 |
</div>
|
|
121 |
<div class="memdoc">
|
|
122 |
|
|
123 |
<p>
|
|
124 |
Returns the indicator of end transmission from the first byte of the SDO
|
|
125 |
<p>
|
|
126 |
Definition at line <a class="el" href="sdo_8c-source.html#l00075">75</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
127 |
</div>
|
|
128 |
</div><p>
|
|
129 |
<a class="anchor" name="ce5a1634ff4089db3b228cdd5010c321"></a><!-- doxytag: member="sdo.c::getSDOcs" ref="ce5a1634ff4089db3b228cdd5010c321" args="(byte)" -->
|
|
130 |
<div class="memitem">
|
|
131 |
<div class="memproto">
|
|
132 |
<table class="memname">
|
|
133 |
<tr>
|
|
134 |
<td class="memname">#define getSDOcs </td>
|
|
135 |
<td>(</td>
|
|
136 |
<td class="paramtype">byte </td>
|
|
137 |
<td class="paramname"> </td>
|
|
138 |
<td> ) </td>
|
|
139 |
<td width="100%"> (byte >> 5)</td>
|
|
140 |
</tr>
|
|
141 |
</table>
|
|
142 |
</div>
|
|
143 |
<div class="memdoc">
|
|
144 |
|
|
145 |
<p>
|
|
146 |
Returns the command specifier (cs, ccs, scs) from the first byte of the SDO
|
|
147 |
<p>
|
|
148 |
Definition at line <a class="el" href="sdo_8c-source.html#l00055">55</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
149 |
</div>
|
|
150 |
</div><p>
|
|
151 |
<a class="anchor" name="cf60675f20de8746e279dce3a5c8e3c6"></a><!-- doxytag: member="sdo.c::getSDOe" ref="cf60675f20de8746e279dce3a5c8e3c6" args="(byte)" -->
|
|
152 |
<div class="memitem">
|
|
153 |
<div class="memproto">
|
|
154 |
<table class="memname">
|
|
155 |
<tr>
|
|
156 |
<td class="memname">#define getSDOe </td>
|
|
157 |
<td>(</td>
|
|
158 |
<td class="paramtype">byte </td>
|
|
159 |
<td class="paramname"> </td>
|
|
160 |
<td> ) </td>
|
|
161 |
<td width="100%"> ((byte >> 1) & 1)</td>
|
|
162 |
</tr>
|
|
163 |
</table>
|
|
164 |
</div>
|
|
165 |
<div class="memdoc">
|
|
166 |
|
|
167 |
<p>
|
|
168 |
Returns the transfer type from the first byte of the SDO
|
|
169 |
<p>
|
|
170 |
Definition at line <a class="el" href="sdo_8c-source.html#l00067">67</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
171 |
</div>
|
|
172 |
</div><p>
|
|
173 |
<a class="anchor" name="d9b34e26bf67f1251f3bb364756e17f1"></a><!-- doxytag: member="sdo.c::getSDOindex" ref="d9b34e26bf67f1251f3bb364756e17f1" args="(byte1, byte2)" -->
|
|
174 |
<div class="memitem">
|
|
175 |
<div class="memproto">
|
|
176 |
<table class="memname">
|
|
177 |
<tr>
|
|
178 |
<td class="memname">#define getSDOindex </td>
|
|
179 |
<td>(</td>
|
|
180 |
<td class="paramtype">byte1, <tr>
|
|
181 |
<td class="paramkey"></td>
|
|
182 |
<td></td>
|
|
183 |
<td class="paramtype">byte2 </td>
|
|
184 |
<td class="paramname"> </td>
|
|
185 |
<td> ) </td>
|
|
186 |
<td width="100%"> ((byte2 << 8) | (byte1))</td>
|
|
187 |
</tr>
|
|
188 |
</table>
|
|
189 |
</div>
|
|
190 |
<div class="memdoc">
|
|
191 |
|
|
192 |
<p>
|
|
193 |
Returns the index from the bytes 1 and 2 of the SDO
|
|
194 |
<p>
|
|
195 |
Definition at line <a class="el" href="sdo_8c-source.html#l00083">83</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
196 |
</div>
|
|
197 |
</div><p>
|
|
198 |
<a class="anchor" name="dfd3877d80f6b903b491a115e587bd14"></a><!-- doxytag: member="sdo.c::getSDOn2" ref="dfd3877d80f6b903b491a115e587bd14" args="(byte)" -->
|
|
199 |
<div class="memitem">
|
|
200 |
<div class="memproto">
|
|
201 |
<table class="memname">
|
|
202 |
<tr>
|
|
203 |
<td class="memname">#define getSDOn2 </td>
|
|
204 |
<td>(</td>
|
|
205 |
<td class="paramtype">byte </td>
|
|
206 |
<td class="paramname"> </td>
|
|
207 |
<td> ) </td>
|
|
208 |
<td width="100%"> ((byte >> 2) & 3)</td>
|
|
209 |
</tr>
|
|
210 |
</table>
|
|
211 |
</div>
|
|
212 |
<div class="memdoc">
|
|
213 |
|
|
214 |
<p>
|
|
215 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 2 bits
|
|
216 |
<p>
|
|
217 |
Definition at line <a class="el" href="sdo_8c-source.html#l00059">59</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
218 |
</div>
|
|
219 |
</div><p>
|
|
220 |
<a class="anchor" name="e5677ca12bfb71b06cbd6e99e9be0955"></a><!-- doxytag: member="sdo.c::getSDOn3" ref="e5677ca12bfb71b06cbd6e99e9be0955" args="(byte)" -->
|
|
221 |
<div class="memitem">
|
|
222 |
<div class="memproto">
|
|
223 |
<table class="memname">
|
|
224 |
<tr>
|
|
225 |
<td class="memname">#define getSDOn3 </td>
|
|
226 |
<td>(</td>
|
|
227 |
<td class="paramtype">byte </td>
|
|
228 |
<td class="paramname"> </td>
|
|
229 |
<td> ) </td>
|
|
230 |
<td width="100%"> ((byte >> 1) & 7)</td>
|
|
231 |
</tr>
|
|
232 |
</table>
|
|
233 |
</div>
|
|
234 |
<div class="memdoc">
|
|
235 |
|
|
236 |
<p>
|
|
237 |
Returns the number of bytes without data from the first byte of the SDO. Coded in 3 bits
|
|
238 |
<p>
|
|
239 |
Definition at line <a class="el" href="sdo_8c-source.html#l00063">63</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
240 |
</div>
|
|
241 |
</div><p>
|
|
242 |
<a class="anchor" name="f7f9e9bc3d59c9772d4c767b199dcf89"></a><!-- doxytag: member="sdo.c::getSDOs" ref="f7f9e9bc3d59c9772d4c767b199dcf89" args="(byte)" -->
|
|
243 |
<div class="memitem">
|
|
244 |
<div class="memproto">
|
|
245 |
<table class="memname">
|
|
246 |
<tr>
|
|
247 |
<td class="memname">#define getSDOs </td>
|
|
248 |
<td>(</td>
|
|
249 |
<td class="paramtype">byte </td>
|
|
250 |
<td class="paramname"> </td>
|
|
251 |
<td> ) </td>
|
|
252 |
<td width="100%"> (byte & 1)</td>
|
|
253 |
</tr>
|
|
254 |
</table>
|
|
255 |
</div>
|
|
256 |
<div class="memdoc">
|
|
257 |
|
|
258 |
<p>
|
|
259 |
Returns the size indicator from the first byte of the SDO
|
|
260 |
<p>
|
|
261 |
Definition at line <a class="el" href="sdo_8c-source.html#l00071">71</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
262 |
</div>
|
|
263 |
</div><p>
|
|
264 |
<a class="anchor" name="52a96f6fa6083f6b291133135b7155a8"></a><!-- doxytag: member="sdo.c::getSDOsubIndex" ref="52a96f6fa6083f6b291133135b7155a8" args="(byte3)" -->
|
|
265 |
<div class="memitem">
|
|
266 |
<div class="memproto">
|
|
267 |
<table class="memname">
|
|
268 |
<tr>
|
|
269 |
<td class="memname">#define getSDOsubIndex </td>
|
|
270 |
<td>(</td>
|
|
271 |
<td class="paramtype">byte3 </td>
|
|
272 |
<td class="paramname"> </td>
|
|
273 |
<td> ) </td>
|
|
274 |
<td width="100%"> (byte3)</td>
|
|
275 |
</tr>
|
|
276 |
</table>
|
|
277 |
</div>
|
|
278 |
<div class="memdoc">
|
|
279 |
|
|
280 |
<p>
|
|
281 |
Returns the subIndex from the byte 3 of the SDO
|
|
282 |
<p>
|
|
283 |
Definition at line <a class="el" href="sdo_8c-source.html#l00088">88</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
284 |
</div>
|
|
285 |
</div><p>
|
|
286 |
<a class="anchor" name="464b29fd628d92426de0a841232bdd12"></a><!-- doxytag: member="sdo.c::getSDOt" ref="464b29fd628d92426de0a841232bdd12" args="(byte)" -->
|
|
287 |
<div class="memitem">
|
|
288 |
<div class="memproto">
|
|
289 |
<table class="memname">
|
|
290 |
<tr>
|
|
291 |
<td class="memname">#define getSDOt </td>
|
|
292 |
<td>(</td>
|
|
293 |
<td class="paramtype">byte </td>
|
|
294 |
<td class="paramname"> </td>
|
|
295 |
<td> ) </td>
|
|
296 |
<td width="100%"> ((byte >> 4) & 1)</td>
|
|
297 |
</tr>
|
|
298 |
</table>
|
|
299 |
</div>
|
|
300 |
<div class="memdoc">
|
|
301 |
|
|
302 |
<p>
|
|
303 |
Returns the toggle from the first byte of the SDO
|
|
304 |
<p>
|
|
305 |
Definition at line <a class="el" href="sdo_8c-source.html#l00079">79</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
306 |
</div>
|
|
307 |
</div><p>
|
|
308 |
<a class="anchor" name="2eb6f9e0395b47b8d5e3eeae4fe0c116"></a><!-- doxytag: member="sdo.c::INLINE" ref="2eb6f9e0395b47b8d5e3eeae4fe0c116" args="" -->
|
|
309 |
<div class="memitem">
|
|
310 |
<div class="memproto">
|
|
311 |
<table class="memname">
|
|
312 |
<tr>
|
|
313 |
<td class="memname">#define INLINE </td>
|
|
314 |
</tr>
|
|
315 |
</table>
|
|
316 |
</div>
|
|
317 |
<div class="memdoc">
|
|
318 |
|
|
319 |
<p>
|
|
320 |
|
|
321 |
<p>
|
|
322 |
Definition at line <a class="el" href="sdo_8c-source.html#l00034">34</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
323 |
</div>
|
|
324 |
</div><p>
|
|
325 |
<a class="anchor" name="b5ce7bd7fe4169a9f709815f03f9870b"></a><!-- doxytag: member="sdo.c::NO_INLINE" ref="b5ce7bd7fe4169a9f709815f03f9870b" args="" -->
|
|
326 |
<div class="memitem">
|
|
327 |
<div class="memproto">
|
|
328 |
<table class="memname">
|
|
329 |
<tr>
|
|
330 |
<td class="memname">#define NO_INLINE </td>
|
|
331 |
</tr>
|
|
332 |
</table>
|
|
333 |
</div>
|
|
334 |
<div class="memdoc">
|
|
335 |
|
|
336 |
<p>
|
|
337 |
|
|
338 |
<p>
|
|
339 |
Definition at line <a class="el" href="sdo_8c-source.html#l00031">31</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
340 |
</div>
|
|
341 |
</div><p>
|
|
342 |
<a class="anchor" name="b3938a9884014e96cafc42aeee743c0f"></a><!-- doxytag: member="sdo.c::RestartSDO_TIMER" ref="b3938a9884014e96cafc42aeee743c0f" args="(id)" -->
|
|
343 |
<div class="memitem">
|
|
344 |
<div class="memproto">
|
|
345 |
<table class="memname">
|
|
346 |
<tr>
|
|
347 |
<td class="memname">#define RestartSDO_TIMER </td>
|
|
348 |
<td>(</td>
|
|
349 |
<td class="paramtype">id </td>
|
|
350 |
<td class="paramname"> </td>
|
|
351 |
<td> ) </td>
|
|
352 |
<td width="100%"></td>
|
|
353 |
</tr>
|
|
354 |
</table>
|
|
355 |
</div>
|
|
356 |
<div class="memdoc">
|
|
357 |
|
|
358 |
<p>
|
|
359 |
<b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A07, <span class="stringliteral">"restartSDO_TIMER for line : "</span>, line);\
|
|
360 |
<span class="keywordflow">if</span>(d->transfers[<span class="keywordtype">id</span>].timer != TIMER_NONE) { <a class="code" href="sdo_8c.html#b90f05aac908e8eee39a34b3e21e0ea9">StopSDO_TIMER</a>(<span class="keywordtype">id</span>) <a class="code" href="sdo_8c.html#c1e9eb7a28803b958d298b6997cc60ca">StartSDO_TIMER</a>(<span class="keywordtype">id</span>) }
|
|
361 |
</pre></div>
|
|
362 |
<p>
|
|
363 |
Definition at line <a class="el" href="sdo_8c-source.html#l00124">124</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
364 |
</div>
|
|
365 |
</div><p>
|
|
366 |
<a class="anchor" name="c1e9eb7a28803b958d298b6997cc60ca"></a><!-- doxytag: member="sdo.c::StartSDO_TIMER" ref="c1e9eb7a28803b958d298b6997cc60ca" args="(id)" -->
|
|
367 |
<div class="memitem">
|
|
368 |
<div class="memproto">
|
|
369 |
<table class="memname">
|
|
370 |
<tr>
|
|
371 |
<td class="memname">#define StartSDO_TIMER </td>
|
|
372 |
<td>(</td>
|
|
373 |
<td class="paramtype">id </td>
|
|
374 |
<td class="paramname"> </td>
|
|
375 |
<td> ) </td>
|
|
376 |
<td width="100%"></td>
|
|
377 |
</tr>
|
|
378 |
</table>
|
|
379 |
</div>
|
|
380 |
<div class="memdoc">
|
|
381 |
|
|
382 |
<p>
|
|
383 |
<b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A06, <span class="stringliteral">"StartSDO_TIMER for line : "</span>, line);\
|
|
384 |
d->transfers[id].timer = <a class="code" href="timer_8c.html#11c2616d78f06ed9144ef662f757b128">SetAlarm</a>(d,<span class="keywordtype">id</span>,&<a class="code" href="sdo_8c.html#9309025e29b59e09026abcd3b45a5b61">SDOTimeoutAlarm</a>,MS_TO_TIMEVAL(SDO_TIMEOUT_MS),0);
|
|
385 |
</pre></div>
|
|
386 |
<p>
|
|
387 |
Definition at line <a class="el" href="sdo_8c-source.html#l00120">120</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
388 |
</div>
|
|
389 |
</div><p>
|
|
390 |
<a class="anchor" name="b90f05aac908e8eee39a34b3e21e0ea9"></a><!-- doxytag: member="sdo.c::StopSDO_TIMER" ref="b90f05aac908e8eee39a34b3e21e0ea9" args="(id)" -->
|
|
391 |
<div class="memitem">
|
|
392 |
<div class="memproto">
|
|
393 |
<table class="memname">
|
|
394 |
<tr>
|
|
395 |
<td class="memname">#define StopSDO_TIMER </td>
|
|
396 |
<td>(</td>
|
|
397 |
<td class="paramtype">id </td>
|
|
398 |
<td class="paramname"> </td>
|
|
399 |
<td> ) </td>
|
|
400 |
<td width="100%"></td>
|
|
401 |
</tr>
|
|
402 |
</table>
|
|
403 |
</div>
|
|
404 |
<div class="memdoc">
|
|
405 |
|
|
406 |
<p>
|
|
407 |
<b>Value:</b><div class="fragment"><pre class="fragment">MSG_WAR(0x3A05, <span class="stringliteral">"StopSDO_TIMER for line : "</span>, line);\
|
|
408 |
d->transfers[id].timer = <a class="code" href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21">DelAlarm</a>(d->transfers[<span class="keywordtype">id</span>].timer);
|
|
409 |
</pre></div>
|
|
410 |
<p>
|
|
411 |
Definition at line <a class="el" href="sdo_8c-source.html#l00116">116</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
412 |
</div>
|
|
413 |
</div><p>
|
|
414 |
<hr><h2>Function Documentation</h2>
|
|
415 |
<a class="anchor" name="4bb4b3cd35af7e7580cffde23e9d3270"></a><!-- doxytag: member="sdo.c::_readNetworkDict" ref="4bb4b3cd35af7e7580cffde23e9d3270" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)" -->
|
|
416 |
<div class="memitem">
|
|
417 |
<div class="memproto">
|
|
418 |
<table class="memname">
|
|
419 |
<tr>
|
|
420 |
<td class="memname">INLINE UNS8 _readNetworkDict </td>
|
|
421 |
<td>(</td>
|
|
422 |
<td class="paramtype">CO_Data * </td>
|
|
423 |
<td class="paramname"> <em>d</em>, </td>
|
|
424 |
</tr>
|
|
425 |
<tr>
|
|
426 |
<td class="paramkey"></td>
|
|
427 |
<td></td>
|
|
428 |
<td class="paramtype">UNS8 </td>
|
|
429 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
430 |
</tr>
|
|
431 |
<tr>
|
|
432 |
<td class="paramkey"></td>
|
|
433 |
<td></td>
|
|
434 |
<td class="paramtype">UNS16 </td>
|
|
435 |
<td class="paramname"> <em>index</em>, </td>
|
|
436 |
</tr>
|
|
437 |
<tr>
|
|
438 |
<td class="paramkey"></td>
|
|
439 |
<td></td>
|
|
440 |
<td class="paramtype">UNS8 </td>
|
|
441 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
442 |
</tr>
|
|
443 |
<tr>
|
|
444 |
<td class="paramkey"></td>
|
|
445 |
<td></td>
|
|
446 |
<td class="paramtype">UNS8 </td>
|
|
447 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
448 |
</tr>
|
|
449 |
<tr>
|
|
450 |
<td class="paramkey"></td>
|
|
451 |
<td></td>
|
|
452 |
<td class="paramtype">SDOCallback_t </td>
|
|
453 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
454 |
</tr>
|
|
455 |
<tr>
|
|
456 |
<td></td>
|
|
457 |
<td>)</td>
|
|
458 |
<td></td><td></td><td width="100%"></td>
|
|
459 |
</tr>
|
|
460 |
</table>
|
|
461 |
</div>
|
|
462 |
<div class="memdoc">
|
|
463 |
|
|
464 |
<p>
|
|
465 |
Called by readNetworkDict
|
|
466 |
<p>
|
|
467 |
Definition at line <a class="el" href="sdo_8c-source.html#l01198">1198</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
468 |
<p>
|
|
469 |
References <a class="el" href="sdo_8c-source.html#l00284">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>.
|
|
470 |
</div>
|
|
471 |
</div><p>
|
|
472 |
<a class="anchor" name="3c07605ffe3ea197aa36e583ef87a20a"></a><!-- doxytag: member="sdo.c::_writeNetworkDict" ref="3c07605ffe3ea197aa36e583ef87a20a" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback, UNS8 endianize)" -->
|
|
473 |
<div class="memitem">
|
|
474 |
<div class="memproto">
|
|
475 |
<table class="memname">
|
|
476 |
<tr>
|
|
477 |
<td class="memname">INLINE UNS8 _writeNetworkDict </td>
|
|
478 |
<td>(</td>
|
|
479 |
<td class="paramtype">CO_Data * </td>
|
|
480 |
<td class="paramname"> <em>d</em>, </td>
|
|
481 |
</tr>
|
|
482 |
<tr>
|
|
483 |
<td class="paramkey"></td>
|
|
484 |
<td></td>
|
|
485 |
<td class="paramtype">UNS8 </td>
|
|
486 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
487 |
</tr>
|
|
488 |
<tr>
|
|
489 |
<td class="paramkey"></td>
|
|
490 |
<td></td>
|
|
491 |
<td class="paramtype">UNS16 </td>
|
|
492 |
<td class="paramname"> <em>index</em>, </td>
|
|
493 |
</tr>
|
|
494 |
<tr>
|
|
495 |
<td class="paramkey"></td>
|
|
496 |
<td></td>
|
|
497 |
<td class="paramtype">UNS8 </td>
|
|
498 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
499 |
</tr>
|
|
500 |
<tr>
|
|
501 |
<td class="paramkey"></td>
|
|
502 |
<td></td>
|
|
503 |
<td class="paramtype">UNS8 </td>
|
|
504 |
<td class="paramname"> <em>count</em>, </td>
|
|
505 |
</tr>
|
|
506 |
<tr>
|
|
507 |
<td class="paramkey"></td>
|
|
508 |
<td></td>
|
|
509 |
<td class="paramtype">UNS8 </td>
|
|
510 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
511 |
</tr>
|
|
512 |
<tr>
|
|
513 |
<td class="paramkey"></td>
|
|
514 |
<td></td>
|
|
515 |
<td class="paramtype">void * </td>
|
|
516 |
<td class="paramname"> <em>data</em>, </td>
|
|
517 |
</tr>
|
|
518 |
<tr>
|
|
519 |
<td class="paramkey"></td>
|
|
520 |
<td></td>
|
|
521 |
<td class="paramtype">SDOCallback_t </td>
|
|
522 |
<td class="paramname"> <em>Callback</em>, </td>
|
|
523 |
</tr>
|
|
524 |
<tr>
|
|
525 |
<td class="paramkey"></td>
|
|
526 |
<td></td>
|
|
527 |
<td class="paramtype">UNS8 </td>
|
|
528 |
<td class="paramname"> <em>endianize</em></td><td> </td>
|
|
529 |
</tr>
|
|
530 |
<tr>
|
|
531 |
<td></td>
|
|
532 |
<td>)</td>
|
|
533 |
<td></td><td></td><td width="100%"></td>
|
|
534 |
</tr>
|
|
535 |
</table>
|
|
536 |
</div>
|
|
537 |
<div class="memdoc">
|
|
538 |
|
|
539 |
<p>
|
|
540 |
Called by writeNetworkDict
|
|
541 |
</div>
|
|
542 |
</div><p>
|
|
543 |
<a class="anchor" name="555a772d3a88a29c495f33513f8b2d58"></a><!-- doxytag: member="sdo.c::closeSDOtransfer" ref="555a772d3a88a29c495f33513f8b2d58" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami)" -->
|
|
544 |
<div class="memitem">
|
|
545 |
<div class="memproto">
|
|
546 |
<table class="memname">
|
|
547 |
<tr>
|
|
548 |
<td class="memname">UNS8 closeSDOtransfer </td>
|
|
549 |
<td>(</td>
|
|
550 |
<td class="paramtype">CO_Data * </td>
|
|
551 |
<td class="paramname"> <em>d</em>, </td>
|
|
552 |
</tr>
|
|
553 |
<tr>
|
|
554 |
<td class="paramkey"></td>
|
|
555 |
<td></td>
|
|
556 |
<td class="paramtype">UNS8 </td>
|
|
557 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
558 |
</tr>
|
|
559 |
<tr>
|
|
560 |
<td class="paramkey"></td>
|
|
561 |
<td></td>
|
|
562 |
<td class="paramtype">UNS8 </td>
|
|
563 |
<td class="paramname"> <em>whoami</em></td><td> </td>
|
|
564 |
</tr>
|
|
565 |
<tr>
|
|
566 |
<td></td>
|
|
567 |
<td>)</td>
|
|
568 |
<td></td><td></td><td width="100%"></td>
|
|
569 |
</tr>
|
|
570 |
</table>
|
|
571 |
</div>
|
|
572 |
<div class="memdoc">
|
|
573 |
|
|
574 |
<p>
|
|
575 |
|
|
576 |
<p>
|
|
577 |
Definition at line <a class="el" href="sdo_8c-source.html#l00318">318</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
578 |
<p>
|
|
579 |
References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, and <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>.
|
|
580 |
</div>
|
|
581 |
</div><p>
|
|
582 |
<a class="anchor" name="2019db2a4d17e6d29c055cbae173e2b9"></a><!-- doxytag: member="sdo.c::failedSDO" ref="2019db2a4d17e6d29c055cbae173e2b9" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
|
|
583 |
<div class="memitem">
|
|
584 |
<div class="memproto">
|
|
585 |
<table class="memname">
|
|
586 |
<tr>
|
|
587 |
<td class="memname">UNS8 failedSDO </td>
|
|
588 |
<td>(</td>
|
|
589 |
<td class="paramtype">CO_Data * </td>
|
|
590 |
<td class="paramname"> <em>d</em>, </td>
|
|
591 |
</tr>
|
|
592 |
<tr>
|
|
593 |
<td class="paramkey"></td>
|
|
594 |
<td></td>
|
|
595 |
<td class="paramtype">UNS8 </td>
|
|
596 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
597 |
</tr>
|
|
598 |
<tr>
|
|
599 |
<td class="paramkey"></td>
|
|
600 |
<td></td>
|
|
601 |
<td class="paramtype">UNS8 </td>
|
|
602 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
603 |
</tr>
|
|
604 |
<tr>
|
|
605 |
<td class="paramkey"></td>
|
|
606 |
<td></td>
|
|
607 |
<td class="paramtype">UNS16 </td>
|
|
608 |
<td class="paramname"> <em>index</em>, </td>
|
|
609 |
</tr>
|
|
610 |
<tr>
|
|
611 |
<td class="paramkey"></td>
|
|
612 |
<td></td>
|
|
613 |
<td class="paramtype">UNS8 </td>
|
|
614 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
615 |
</tr>
|
|
616 |
<tr>
|
|
617 |
<td class="paramkey"></td>
|
|
618 |
<td></td>
|
|
619 |
<td class="paramtype">UNS32 </td>
|
|
620 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
621 |
</tr>
|
|
622 |
<tr>
|
|
623 |
<td></td>
|
|
624 |
<td>)</td>
|
|
625 |
<td></td><td></td><td width="100%"></td>
|
|
626 |
</tr>
|
|
627 |
</table>
|
|
628 |
</div>
|
|
629 |
<div class="memdoc">
|
|
630 |
|
|
631 |
<p>
|
|
632 |
|
|
633 |
<p>
|
|
634 |
Definition at line <a class="el" href="sdo_8c-source.html#l00227">227</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
635 |
<p>
|
|
636 |
References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00424">sendSDOabort()</a>, and <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>.
|
|
637 |
</div>
|
|
638 |
</div><p>
|
|
639 |
<a class="anchor" name="05b0c8eee1faee3c7a2f6e2ba3a16533"></a><!-- doxytag: member="sdo.c::getReadResultNetworkDict" ref="05b0c8eee1faee3c7a2f6e2ba3a16533" args="(CO_Data *d, UNS8 nodeId, void *data, UNS8 *size, UNS32 *abortCode)" -->
|
|
640 |
<div class="memitem">
|
|
641 |
<div class="memproto">
|
|
642 |
<table class="memname">
|
|
643 |
<tr>
|
|
644 |
<td class="memname">UNS8 getReadResultNetworkDict </td>
|
|
645 |
<td>(</td>
|
|
646 |
<td class="paramtype">CO_Data * </td>
|
|
647 |
<td class="paramname"> <em>d</em>, </td>
|
|
648 |
</tr>
|
|
649 |
<tr>
|
|
650 |
<td class="paramkey"></td>
|
|
651 |
<td></td>
|
|
652 |
<td class="paramtype">UNS8 </td>
|
|
653 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
654 |
</tr>
|
|
655 |
<tr>
|
|
656 |
<td class="paramkey"></td>
|
|
657 |
<td></td>
|
|
658 |
<td class="paramtype">void * </td>
|
|
659 |
<td class="paramname"> <em>data</em>, </td>
|
|
660 |
</tr>
|
|
661 |
<tr>
|
|
662 |
<td class="paramkey"></td>
|
|
663 |
<td></td>
|
|
664 |
<td class="paramtype">UNS8 * </td>
|
|
665 |
<td class="paramname"> <em>size</em>, </td>
|
|
666 |
</tr>
|
|
667 |
<tr>
|
|
668 |
<td class="paramkey"></td>
|
|
669 |
<td></td>
|
|
670 |
<td class="paramtype">UNS32 * </td>
|
|
671 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
672 |
</tr>
|
|
673 |
<tr>
|
|
674 |
<td></td>
|
|
675 |
<td>)</td>
|
|
676 |
<td></td><td></td><td width="100%"></td>
|
|
677 |
</tr>
|
|
678 |
</table>
|
|
679 |
</div>
|
|
680 |
<div class="memdoc">
|
|
681 |
|
|
682 |
<p>
|
|
683 |
|
|
684 |
<p>
|
|
685 |
Definition at line <a class="el" href="sdo_8c-source.html#l01295">1295</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
686 |
<p>
|
|
687 |
References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>.
|
|
688 |
</div>
|
|
689 |
</div><p>
|
|
690 |
<a class="anchor" name="58d1f9691977617601beb9e5b4123252"></a><!-- doxytag: member="sdo.c::getSDOfreeLine" ref="58d1f9691977617601beb9e5b4123252" args="(CO_Data *d, UNS8 whoami, UNS8 *line)" -->
|
|
691 |
<div class="memitem">
|
|
692 |
<div class="memproto">
|
|
693 |
<table class="memname">
|
|
694 |
<tr>
|
|
695 |
<td class="memname">UNS8 getSDOfreeLine </td>
|
|
696 |
<td>(</td>
|
|
697 |
<td class="paramtype">CO_Data * </td>
|
|
698 |
<td class="paramname"> <em>d</em>, </td>
|
|
699 |
</tr>
|
|
700 |
<tr>
|
|
701 |
<td class="paramkey"></td>
|
|
702 |
<td></td>
|
|
703 |
<td class="paramtype">UNS8 </td>
|
|
704 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
705 |
</tr>
|
|
706 |
<tr>
|
|
707 |
<td class="paramkey"></td>
|
|
708 |
<td></td>
|
|
709 |
<td class="paramtype">UNS8 * </td>
|
|
710 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
711 |
</tr>
|
|
712 |
<tr>
|
|
713 |
<td></td>
|
|
714 |
<td>)</td>
|
|
715 |
<td></td><td></td><td width="100%"></td>
|
|
716 |
</tr>
|
|
717 |
</table>
|
|
718 |
</div>
|
|
719 |
<div class="memdoc">
|
|
720 |
|
|
721 |
<p>
|
|
722 |
|
|
723 |
<p>
|
|
724 |
Definition at line <a class="el" href="sdo_8c-source.html#l00284">284</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
725 |
</div>
|
|
726 |
</div><p>
|
|
727 |
<a class="anchor" name="bb0c376b048ab2c6e0524b135b62376f"></a><!-- doxytag: member="sdo.c::getSDOlineOnUse" ref="bb0c376b048ab2c6e0524b135b62376f" args="(CO_Data *d, UNS8 nodeId, UNS8 whoami, UNS8 *line)" -->
|
|
728 |
<div class="memitem">
|
|
729 |
<div class="memproto">
|
|
730 |
<table class="memname">
|
|
731 |
<tr>
|
|
732 |
<td class="memname">UNS8 getSDOlineOnUse </td>
|
|
733 |
<td>(</td>
|
|
734 |
<td class="paramtype">CO_Data * </td>
|
|
735 |
<td class="paramname"> <em>d</em>, </td>
|
|
736 |
</tr>
|
|
737 |
<tr>
|
|
738 |
<td class="paramkey"></td>
|
|
739 |
<td></td>
|
|
740 |
<td class="paramtype">UNS8 </td>
|
|
741 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
742 |
</tr>
|
|
743 |
<tr>
|
|
744 |
<td class="paramkey"></td>
|
|
745 |
<td></td>
|
|
746 |
<td class="paramtype">UNS8 </td>
|
|
747 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
748 |
</tr>
|
|
749 |
<tr>
|
|
750 |
<td class="paramkey"></td>
|
|
751 |
<td></td>
|
|
752 |
<td class="paramtype">UNS8 * </td>
|
|
753 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
754 |
</tr>
|
|
755 |
<tr>
|
|
756 |
<td></td>
|
|
757 |
<td>)</td>
|
|
758 |
<td></td><td></td><td width="100%"></td>
|
|
759 |
</tr>
|
|
760 |
</table>
|
|
761 |
</div>
|
|
762 |
<div class="memdoc">
|
|
763 |
|
|
764 |
<p>
|
|
765 |
|
|
766 |
<p>
|
|
767 |
Definition at line <a class="el" href="sdo_8c-source.html#l00301">301</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
768 |
</div>
|
|
769 |
</div><p>
|
|
770 |
<a class="anchor" name="acceb714c6e457e98deb9ba164ba2a2f"></a><!-- doxytag: member="sdo.c::getSDOlineRestBytes" ref="acceb714c6e457e98deb9ba164ba2a2f" args="(CO_Data *d, UNS8 line, UNS8 *nbBytes)" -->
|
|
771 |
<div class="memitem">
|
|
772 |
<div class="memproto">
|
|
773 |
<table class="memname">
|
|
774 |
<tr>
|
|
775 |
<td class="memname">UNS8 getSDOlineRestBytes </td>
|
|
776 |
<td>(</td>
|
|
777 |
<td class="paramtype">CO_Data * </td>
|
|
778 |
<td class="paramname"> <em>d</em>, </td>
|
|
779 |
</tr>
|
|
780 |
<tr>
|
|
781 |
<td class="paramkey"></td>
|
|
782 |
<td></td>
|
|
783 |
<td class="paramtype">UNS8 </td>
|
|
784 |
<td class="paramname"> <em>line</em>, </td>
|
|
785 |
</tr>
|
|
786 |
<tr>
|
|
787 |
<td class="paramkey"></td>
|
|
788 |
<td></td>
|
|
789 |
<td class="paramtype">UNS8 * </td>
|
|
790 |
<td class="paramname"> <em>nbBytes</em></td><td> </td>
|
|
791 |
</tr>
|
|
792 |
<tr>
|
|
793 |
<td></td>
|
|
794 |
<td>)</td>
|
|
795 |
<td></td><td></td><td width="100%"></td>
|
|
796 |
</tr>
|
|
797 |
</table>
|
|
798 |
</div>
|
|
799 |
<div class="memdoc">
|
|
800 |
|
|
801 |
<p>
|
|
802 |
|
|
803 |
<p>
|
|
804 |
Definition at line <a class="el" href="sdo_8c-source.html#l00332">332</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
805 |
</div>
|
|
806 |
</div><p>
|
|
807 |
<a class="anchor" name="8671e306873f19362c60bb50ab930d1d"></a><!-- doxytag: member="sdo.c::getWriteResultNetworkDict" ref="8671e306873f19362c60bb50ab930d1d" args="(CO_Data *d, UNS8 nodeId, UNS32 *abortCode)" -->
|
|
808 |
<div class="memitem">
|
|
809 |
<div class="memproto">
|
|
810 |
<table class="memname">
|
|
811 |
<tr>
|
|
812 |
<td class="memname">UNS8 getWriteResultNetworkDict </td>
|
|
813 |
<td>(</td>
|
|
814 |
<td class="paramtype">CO_Data * </td>
|
|
815 |
<td class="paramname"> <em>d</em>, </td>
|
|
816 |
</tr>
|
|
817 |
<tr>
|
|
818 |
<td class="paramkey"></td>
|
|
819 |
<td></td>
|
|
820 |
<td class="paramtype">UNS8 </td>
|
|
821 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
822 |
</tr>
|
|
823 |
<tr>
|
|
824 |
<td class="paramkey"></td>
|
|
825 |
<td></td>
|
|
826 |
<td class="paramtype">UNS32 * </td>
|
|
827 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
828 |
</tr>
|
|
829 |
<tr>
|
|
830 |
<td></td>
|
|
831 |
<td>)</td>
|
|
832 |
<td></td><td></td><td width="100%"></td>
|
|
833 |
</tr>
|
|
834 |
</table>
|
|
835 |
</div>
|
|
836 |
<div class="memdoc">
|
|
837 |
|
|
838 |
<p>
|
|
839 |
|
|
840 |
<p>
|
|
841 |
Definition at line <a class="el" href="sdo_8c-source.html#l01329">1329</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
842 |
<p>
|
|
843 |
References <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>.
|
|
844 |
</div>
|
|
845 |
</div><p>
|
|
846 |
<a class="anchor" name="b9c873a15f55b29112b5527a6cc6898d"></a><!-- doxytag: member="sdo.c::initSDOline" ref="b9c873a15f55b29112b5527a6cc6898d" args="(CO_Data *d, UNS8 line, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 state)" -->
|
|
847 |
<div class="memitem">
|
|
848 |
<div class="memproto">
|
|
849 |
<table class="memname">
|
|
850 |
<tr>
|
|
851 |
<td class="memname">UNS8 initSDOline </td>
|
|
852 |
<td>(</td>
|
|
853 |
<td class="paramtype">CO_Data * </td>
|
|
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>line</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>nodeId</em>, </td>
|
|
867 |
</tr>
|
|
868 |
<tr>
|
|
869 |
<td class="paramkey"></td>
|
|
870 |
<td></td>
|
|
871 |
<td class="paramtype">UNS16 </td>
|
|
872 |
<td class="paramname"> <em>index</em>, </td>
|
|
873 |
</tr>
|
|
874 |
<tr>
|
|
875 |
<td class="paramkey"></td>
|
|
876 |
<td></td>
|
|
877 |
<td class="paramtype">UNS8 </td>
|
|
878 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
879 |
</tr>
|
|
880 |
<tr>
|
|
881 |
<td class="paramkey"></td>
|
|
882 |
<td></td>
|
|
883 |
<td class="paramtype">UNS8 </td>
|
|
884 |
<td class="paramname"> <em>state</em></td><td> </td>
|
|
885 |
</tr>
|
|
886 |
<tr>
|
|
887 |
<td></td>
|
|
888 |
<td>)</td>
|
|
889 |
<td></td><td></td><td width="100%"></td>
|
|
890 |
</tr>
|
|
891 |
</table>
|
|
892 |
</div>
|
|
893 |
<div class="memdoc">
|
|
894 |
|
|
895 |
<p>
|
|
896 |
|
|
897 |
<p>
|
|
898 |
Definition at line <a class="el" href="sdo_8c-source.html#l00263">263</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
899 |
<p>
|
|
900 |
References <a class="el" href="sdo_8c-source.html#l00120">StartSDO_TIMER</a>, and <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>.
|
|
901 |
</div>
|
|
902 |
</div><p>
|
|
903 |
<a class="anchor" name="ad6eb8be03b832ebba4dfb87aaba4065"></a><!-- doxytag: member="sdo.c::lineToSDO" ref="ad6eb8be03b832ebba4dfb87aaba4065" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
|
|
904 |
<div class="memitem">
|
|
905 |
<div class="memproto">
|
|
906 |
<table class="memname">
|
|
907 |
<tr>
|
|
908 |
<td class="memname">UNS8 lineToSDO </td>
|
|
909 |
<td>(</td>
|
|
910 |
<td class="paramtype">CO_Data * </td>
|
|
911 |
<td class="paramname"> <em>d</em>, </td>
|
|
912 |
</tr>
|
|
913 |
<tr>
|
|
914 |
<td class="paramkey"></td>
|
|
915 |
<td></td>
|
|
916 |
<td class="paramtype">UNS8 </td>
|
|
917 |
<td class="paramname"> <em>line</em>, </td>
|
|
918 |
</tr>
|
|
919 |
<tr>
|
|
920 |
<td class="paramkey"></td>
|
|
921 |
<td></td>
|
|
922 |
<td class="paramtype">UNS8 </td>
|
|
923 |
<td class="paramname"> <em>nbBytes</em>, </td>
|
|
924 |
</tr>
|
|
925 |
<tr>
|
|
926 |
<td class="paramkey"></td>
|
|
927 |
<td></td>
|
|
928 |
<td class="paramtype">UNS8 * </td>
|
|
929 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
930 |
</tr>
|
|
931 |
<tr>
|
|
932 |
<td></td>
|
|
933 |
<td>)</td>
|
|
934 |
<td></td><td></td><td width="100%"></td>
|
|
935 |
</tr>
|
|
936 |
</table>
|
|
937 |
</div>
|
|
938 |
<div class="memdoc">
|
|
939 |
|
|
940 |
<p>
|
|
941 |
|
|
942 |
<p>
|
|
943 |
Definition at line <a class="el" href="sdo_8c-source.html#l00189">189</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
944 |
</div>
|
|
945 |
</div><p>
|
|
946 |
<a class="anchor" name="29427a80fd1aeabff30bf0602fbc220f"></a><!-- doxytag: member="sdo.c::objdictToSDOline" ref="29427a80fd1aeabff30bf0602fbc220f" args="(CO_Data *d, UNS8 line)" -->
|
|
947 |
<div class="memitem">
|
|
948 |
<div class="memproto">
|
|
949 |
<table class="memname">
|
|
950 |
<tr>
|
|
951 |
<td class="memname">UNS32 objdictToSDOline </td>
|
|
952 |
<td>(</td>
|
|
953 |
<td class="paramtype">CO_Data * </td>
|
|
954 |
<td class="paramname"> <em>d</em>, </td>
|
|
955 |
</tr>
|
|
956 |
<tr>
|
|
957 |
<td class="paramkey"></td>
|
|
958 |
<td></td>
|
|
959 |
<td class="paramtype">UNS8 </td>
|
|
960 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
961 |
</tr>
|
|
962 |
<tr>
|
|
963 |
<td></td>
|
|
964 |
<td>)</td>
|
|
965 |
<td></td><td></td><td width="100%"></td>
|
|
966 |
</tr>
|
|
967 |
</table>
|
|
968 |
</div>
|
|
969 |
<div class="memdoc">
|
|
970 |
|
|
971 |
<p>
|
|
972 |
|
|
973 |
<p>
|
|
974 |
Definition at line <a class="el" href="sdo_8c-source.html#l00157">157</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
975 |
<p>
|
|
976 |
References <a class="el" href="objacces_8c-source.html#l00145">getODentry()</a>.
|
|
977 |
</div>
|
|
978 |
</div><p>
|
|
979 |
<a class="anchor" name="2a93a7c780472b1d8666d89aa270f661"></a><!-- doxytag: member="sdo.c::proceedSDO" ref="2a93a7c780472b1d8666d89aa270f661" args="(CO_Data *d, Message *m)" -->
|
|
980 |
<div class="memitem">
|
|
981 |
<div class="memproto">
|
|
982 |
<table class="memname">
|
|
983 |
<tr>
|
|
984 |
<td class="memname">UNS8 proceedSDO </td>
|
|
985 |
<td>(</td>
|
|
986 |
<td class="paramtype">CO_Data * </td>
|
|
987 |
<td class="paramname"> <em>d</em>, </td>
|
|
988 |
</tr>
|
|
989 |
<tr>
|
|
990 |
<td class="paramkey"></td>
|
|
991 |
<td></td>
|
|
992 |
<td class="paramtype">Message * </td>
|
|
993 |
<td class="paramname"> <em>m</em></td><td> </td>
|
|
994 |
</tr>
|
|
995 |
<tr>
|
|
996 |
<td></td>
|
|
997 |
<td>)</td>
|
|
998 |
<td></td><td></td><td width="100%"></td>
|
|
999 |
</tr>
|
|
1000 |
</table>
|
|
1001 |
</div>
|
|
1002 |
<div class="memdoc">
|
|
1003 |
|
|
1004 |
<p>
|
|
1005 |
|
|
1006 |
<p>
|
|
1007 |
Definition at line <a class="el" href="sdo_8c-source.html#l00447">447</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1008 |
<p>
|
|
1009 |
References <a class="el" href="sdo_8c-source.html#l00227">failedSDO()</a>, <a class="el" href="sdo_8c-source.html#l00075">getSDOc</a>, <a class="el" href="sdo_8c-source.html#l00055">getSDOcs</a>, <a class="el" href="sdo_8c-source.html#l00067">getSDOe</a>, <a class="el" href="sdo_8c-source.html#l00284">getSDOfreeLine()</a>, <a class="el" href="sdo_8c-source.html#l00083">getSDOindex</a>, <a class="el" href="sdo_8c-source.html#l00301">getSDOlineOnUse()</a>, <a class="el" href="sdo_8c-source.html#l00332">getSDOlineRestBytes()</a>, <a class="el" href="sdo_8c-source.html#l00059">getSDOn2</a>, <a class="el" href="sdo_8c-source.html#l00063">getSDOn3</a>, <a class="el" href="sdo_8c-source.html#l00071">getSDOs</a>, <a class="el" href="sdo_8c-source.html#l00088">getSDOsubIndex</a>, <a class="el" href="sdo_8c-source.html#l00079">getSDOt</a>, <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00189">lineToSDO()</a>, <a class="el" href="sdo_8c-source.html#l00157">objdictToSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, <a class="el" href="sdo_8c-source.html#l00124">RestartSDO_TIMER</a>, <a class="el" href="sdo_8c-source.html#l00141">SDOlineToObjdict()</a>, <a class="el" href="sdo_8c-source.html#l00210">SDOtoLine()</a>, <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>, <a class="el" href="sdo_8c-source.html#l00342">setSDOlineRestBytes()</a>, and <a class="el" href="sdo_8c-source.html#l00116">StopSDO_TIMER</a>.
|
|
1010 |
</div>
|
|
1011 |
</div><p>
|
|
1012 |
<a class="anchor" name="0e102a0835e4115920cd406e80a8d135"></a><!-- doxytag: member="sdo.c::readNetworkDict" ref="0e102a0835e4115920cd406e80a8d135" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType)" -->
|
|
1013 |
<div class="memitem">
|
|
1014 |
<div class="memproto">
|
|
1015 |
<table class="memname">
|
|
1016 |
<tr>
|
|
1017 |
<td class="memname">UNS8 readNetworkDict </td>
|
|
1018 |
<td>(</td>
|
|
1019 |
<td class="paramtype">CO_Data * </td>
|
|
1020 |
<td class="paramname"> <em>d</em>, </td>
|
|
1021 |
</tr>
|
|
1022 |
<tr>
|
|
1023 |
<td class="paramkey"></td>
|
|
1024 |
<td></td>
|
|
1025 |
<td class="paramtype">UNS8 </td>
|
|
1026 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1027 |
</tr>
|
|
1028 |
<tr>
|
|
1029 |
<td class="paramkey"></td>
|
|
1030 |
<td></td>
|
|
1031 |
<td class="paramtype">UNS16 </td>
|
|
1032 |
<td class="paramname"> <em>index</em>, </td>
|
|
1033 |
</tr>
|
|
1034 |
<tr>
|
|
1035 |
<td class="paramkey"></td>
|
|
1036 |
<td></td>
|
|
1037 |
<td class="paramtype">UNS8 </td>
|
|
1038 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1039 |
</tr>
|
|
1040 |
<tr>
|
|
1041 |
<td class="paramkey"></td>
|
|
1042 |
<td></td>
|
|
1043 |
<td class="paramtype">UNS8 </td>
|
|
1044 |
<td class="paramname"> <em>dataType</em></td><td> </td>
|
|
1045 |
</tr>
|
|
1046 |
<tr>
|
|
1047 |
<td></td>
|
|
1048 |
<td>)</td>
|
|
1049 |
<td></td><td></td><td width="100%"></td>
|
|
1050 |
</tr>
|
|
1051 |
</table>
|
|
1052 |
</div>
|
|
1053 |
<div class="memdoc">
|
|
1054 |
|
|
1055 |
<p>
|
|
1056 |
|
|
1057 |
<p>
|
|
1058 |
Definition at line <a class="el" href="sdo_8c-source.html#l01282">1282</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1059 |
<p>
|
|
1060 |
References <a class="el" href="sdo_8c-source.html#l01198">_readNetworkDict()</a>.
|
|
1061 |
</div>
|
|
1062 |
</div><p>
|
|
1063 |
<a class="anchor" name="542a5cdd20c00aa130a39fe68295e769"></a><!-- doxytag: member="sdo.c::readNetworkDictCallback" ref="542a5cdd20c00aa130a39fe68295e769" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 dataType, SDOCallback_t Callback)" -->
|
|
1064 |
<div class="memitem">
|
|
1065 |
<div class="memproto">
|
|
1066 |
<table class="memname">
|
|
1067 |
<tr>
|
|
1068 |
<td class="memname">UNS8 readNetworkDictCallback </td>
|
|
1069 |
<td>(</td>
|
|
1070 |
<td class="paramtype">CO_Data * </td>
|
|
1071 |
<td class="paramname"> <em>d</em>, </td>
|
|
1072 |
</tr>
|
|
1073 |
<tr>
|
|
1074 |
<td class="paramkey"></td>
|
|
1075 |
<td></td>
|
|
1076 |
<td class="paramtype">UNS8 </td>
|
|
1077 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1078 |
</tr>
|
|
1079 |
<tr>
|
|
1080 |
<td class="paramkey"></td>
|
|
1081 |
<td></td>
|
|
1082 |
<td class="paramtype">UNS16 </td>
|
|
1083 |
<td class="paramname"> <em>index</em>, </td>
|
|
1084 |
</tr>
|
|
1085 |
<tr>
|
|
1086 |
<td class="paramkey"></td>
|
|
1087 |
<td></td>
|
|
1088 |
<td class="paramtype">UNS8 </td>
|
|
1089 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1090 |
</tr>
|
|
1091 |
<tr>
|
|
1092 |
<td class="paramkey"></td>
|
|
1093 |
<td></td>
|
|
1094 |
<td class="paramtype">UNS8 </td>
|
|
1095 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
1096 |
</tr>
|
|
1097 |
<tr>
|
|
1098 |
<td class="paramkey"></td>
|
|
1099 |
<td></td>
|
|
1100 |
<td class="paramtype">SDOCallback_t </td>
|
|
1101 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
1102 |
</tr>
|
|
1103 |
<tr>
|
|
1104 |
<td></td>
|
|
1105 |
<td>)</td>
|
|
1106 |
<td></td><td></td><td width="100%"></td>
|
|
1107 |
</tr>
|
|
1108 |
</table>
|
|
1109 |
</div>
|
|
1110 |
<div class="memdoc">
|
|
1111 |
|
|
1112 |
<p>
|
|
1113 |
|
|
1114 |
<p>
|
|
1115 |
Definition at line <a class="el" href="sdo_8c-source.html#l01288">1288</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1116 |
<p>
|
|
1117 |
References <a class="el" href="sdo_8c-source.html#l01198">_readNetworkDict()</a>.
|
|
1118 |
</div>
|
|
1119 |
</div><p>
|
|
1120 |
<a class="anchor" name="1f4f07eccc4890a11ccf4f632da7740b"></a><!-- doxytag: member="sdo.c::resetSDO" ref="1f4f07eccc4890a11ccf4f632da7740b" args="(CO_Data *d)" -->
|
|
1121 |
<div class="memitem">
|
|
1122 |
<div class="memproto">
|
|
1123 |
<table class="memname">
|
|
1124 |
<tr>
|
|
1125 |
<td class="memname">void resetSDO </td>
|
|
1126 |
<td>(</td>
|
|
1127 |
<td class="paramtype">CO_Data * </td>
|
|
1128 |
<td class="paramname"> <em>d</em> </td>
|
|
1129 |
<td> ) </td>
|
|
1130 |
<td width="100%"></td>
|
|
1131 |
</tr>
|
|
1132 |
</table>
|
|
1133 |
</div>
|
|
1134 |
<div class="memdoc">
|
|
1135 |
|
|
1136 |
<p>
|
|
1137 |
Reset all sdo buffers
|
|
1138 |
<p>
|
|
1139 |
Definition at line <a class="el" href="sdo_8c-source.html#l00131">131</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1140 |
<p>
|
|
1141 |
References <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>.
|
|
1142 |
</div>
|
|
1143 |
</div><p>
|
|
1144 |
<a class="anchor" name="42d33be015d4c4c83c73f1f0e588f481"></a><!-- doxytag: member="sdo.c::resetSDOline" ref="42d33be015d4c4c83c73f1f0e588f481" args="(CO_Data *d, UNS8 line)" -->
|
|
1145 |
<div class="memitem">
|
|
1146 |
<div class="memproto">
|
|
1147 |
<table class="memname">
|
|
1148 |
<tr>
|
|
1149 |
<td class="memname">void resetSDOline </td>
|
|
1150 |
<td>(</td>
|
|
1151 |
<td class="paramtype">CO_Data * </td>
|
|
1152 |
<td class="paramname"> <em>d</em>, </td>
|
|
1153 |
</tr>
|
|
1154 |
<tr>
|
|
1155 |
<td class="paramkey"></td>
|
|
1156 |
<td></td>
|
|
1157 |
<td class="paramtype">UNS8 </td>
|
|
1158 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1159 |
</tr>
|
|
1160 |
<tr>
|
|
1161 |
<td></td>
|
|
1162 |
<td>)</td>
|
|
1163 |
<td></td><td></td><td width="100%"></td>
|
|
1164 |
</tr>
|
|
1165 |
</table>
|
|
1166 |
</div>
|
|
1167 |
<div class="memdoc">
|
|
1168 |
|
|
1169 |
<p>
|
|
1170 |
|
|
1171 |
<p>
|
|
1172 |
Definition at line <a class="el" href="sdo_8c-source.html#l00253">253</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1173 |
<p>
|
|
1174 |
References <a class="el" href="sdo_8c-source.html#l00263">initSDOline()</a>.
|
|
1175 |
</div>
|
|
1176 |
</div><p>
|
|
1177 |
<a class="anchor" name="2eb5309dca3a7363da5e5e7230b85d58"></a><!-- doxytag: member="sdo.c::SDOlineToObjdict" ref="2eb5309dca3a7363da5e5e7230b85d58" args="(CO_Data *d, UNS8 line)" -->
|
|
1178 |
<div class="memitem">
|
|
1179 |
<div class="memproto">
|
|
1180 |
<table class="memname">
|
|
1181 |
<tr>
|
|
1182 |
<td class="memname">UNS32 SDOlineToObjdict </td>
|
|
1183 |
<td>(</td>
|
|
1184 |
<td class="paramtype">CO_Data * </td>
|
|
1185 |
<td class="paramname"> <em>d</em>, </td>
|
|
1186 |
</tr>
|
|
1187 |
<tr>
|
|
1188 |
<td class="paramkey"></td>
|
|
1189 |
<td></td>
|
|
1190 |
<td class="paramtype">UNS8 </td>
|
|
1191 |
<td class="paramname"> <em>line</em></td><td> </td>
|
|
1192 |
</tr>
|
|
1193 |
<tr>
|
|
1194 |
<td></td>
|
|
1195 |
<td>)</td>
|
|
1196 |
<td></td><td></td><td width="100%"></td>
|
|
1197 |
</tr>
|
|
1198 |
</table>
|
|
1199 |
</div>
|
|
1200 |
<div class="memdoc">
|
|
1201 |
|
|
1202 |
<p>
|
|
1203 |
|
|
1204 |
<p>
|
|
1205 |
Definition at line <a class="el" href="sdo_8c-source.html#l00141">141</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1206 |
<p>
|
|
1207 |
References <a class="el" href="objacces_8c-source.html#l00257">setODentry()</a>.
|
|
1208 |
</div>
|
|
1209 |
</div><p>
|
|
1210 |
<a class="anchor" name="9309025e29b59e09026abcd3b45a5b61"></a><!-- doxytag: member="sdo.c::SDOTimeoutAlarm" ref="9309025e29b59e09026abcd3b45a5b61" args="(CO_Data *d, UNS32 id)" -->
|
|
1211 |
<div class="memitem">
|
|
1212 |
<div class="memproto">
|
|
1213 |
<table class="memname">
|
|
1214 |
<tr>
|
|
1215 |
<td class="memname">void SDOTimeoutAlarm </td>
|
|
1216 |
<td>(</td>
|
|
1217 |
<td class="paramtype">CO_Data * </td>
|
|
1218 |
<td class="paramname"> <em>d</em>, </td>
|
|
1219 |
</tr>
|
|
1220 |
<tr>
|
|
1221 |
<td class="paramkey"></td>
|
|
1222 |
<td></td>
|
|
1223 |
<td class="paramtype">UNS32 </td>
|
|
1224 |
<td class="paramname"> <em>id</em></td><td> </td>
|
|
1225 |
</tr>
|
|
1226 |
<tr>
|
|
1227 |
<td></td>
|
|
1228 |
<td>)</td>
|
|
1229 |
<td></td><td></td><td width="100%"></td>
|
|
1230 |
</tr>
|
|
1231 |
</table>
|
|
1232 |
</div>
|
|
1233 |
<div class="memdoc">
|
|
1234 |
|
|
1235 |
<p>
|
|
1236 |
|
|
1237 |
<p>
|
|
1238 |
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>.
|
|
1239 |
<p>
|
|
1240 |
References <a class="el" href="sdo_8c-source.html#l00253">resetSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00424">sendSDOabort()</a>.
|
|
1241 |
</div>
|
|
1242 |
</div><p>
|
|
1243 |
<a class="anchor" name="18b6f7e9c9441640a88ffef1e8720694"></a><!-- doxytag: member="sdo.c::SDOtoLine" ref="18b6f7e9c9441640a88ffef1e8720694" args="(CO_Data *d, UNS8 line, UNS8 nbBytes, UNS8 *data)" -->
|
|
1244 |
<div class="memitem">
|
|
1245 |
<div class="memproto">
|
|
1246 |
<table class="memname">
|
|
1247 |
<tr>
|
|
1248 |
<td class="memname">UNS8 SDOtoLine </td>
|
|
1249 |
<td>(</td>
|
|
1250 |
<td class="paramtype">CO_Data * </td>
|
|
1251 |
<td class="paramname"> <em>d</em>, </td>
|
|
1252 |
</tr>
|
|
1253 |
<tr>
|
|
1254 |
<td class="paramkey"></td>
|
|
1255 |
<td></td>
|
|
1256 |
<td class="paramtype">UNS8 </td>
|
|
1257 |
<td class="paramname"> <em>line</em>, </td>
|
|
1258 |
</tr>
|
|
1259 |
<tr>
|
|
1260 |
<td class="paramkey"></td>
|
|
1261 |
<td></td>
|
|
1262 |
<td class="paramtype">UNS8 </td>
|
|
1263 |
<td class="paramname"> <em>nbBytes</em>, </td>
|
|
1264 |
</tr>
|
|
1265 |
<tr>
|
|
1266 |
<td class="paramkey"></td>
|
|
1267 |
<td></td>
|
|
1268 |
<td class="paramtype">UNS8 * </td>
|
|
1269 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
1270 |
</tr>
|
|
1271 |
<tr>
|
|
1272 |
<td></td>
|
|
1273 |
<td>)</td>
|
|
1274 |
<td></td><td></td><td width="100%"></td>
|
|
1275 |
</tr>
|
|
1276 |
</table>
|
|
1277 |
</div>
|
|
1278 |
<div class="memdoc">
|
|
1279 |
|
|
1280 |
<p>
|
|
1281 |
|
|
1282 |
<p>
|
|
1283 |
Definition at line <a class="el" href="sdo_8c-source.html#l00210">210</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1284 |
</div>
|
|
1285 |
</div><p>
|
|
1286 |
<a class="anchor" name="c6b5d7d1439d537da992a96644a1ca5d"></a><!-- doxytag: member="sdo.c::sendSDO" ref="c6b5d7d1439d537da992a96644a1ca5d" args="(CO_Data *d, UNS8 whoami, s_SDO sdo)" -->
|
|
1287 |
<div class="memitem">
|
|
1288 |
<div class="memproto">
|
|
1289 |
<table class="memname">
|
|
1290 |
<tr>
|
|
1291 |
<td class="memname">UNS8 sendSDO </td>
|
|
1292 |
<td>(</td>
|
|
1293 |
<td class="paramtype">CO_Data * </td>
|
|
1294 |
<td class="paramname"> <em>d</em>, </td>
|
|
1295 |
</tr>
|
|
1296 |
<tr>
|
|
1297 |
<td class="paramkey"></td>
|
|
1298 |
<td></td>
|
|
1299 |
<td class="paramtype">UNS8 </td>
|
|
1300 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
1301 |
</tr>
|
|
1302 |
<tr>
|
|
1303 |
<td class="paramkey"></td>
|
|
1304 |
<td></td>
|
|
1305 |
<td class="paramtype">s_SDO </td>
|
|
1306 |
<td class="paramname"> <em>sdo</em></td><td> </td>
|
|
1307 |
</tr>
|
|
1308 |
<tr>
|
|
1309 |
<td></td>
|
|
1310 |
<td>)</td>
|
|
1311 |
<td></td><td></td><td width="100%"></td>
|
|
1312 |
</tr>
|
|
1313 |
</table>
|
|
1314 |
</div>
|
|
1315 |
<div class="memdoc">
|
|
1316 |
|
|
1317 |
<p>
|
|
1318 |
|
|
1319 |
<p>
|
|
1320 |
Definition at line <a class="el" href="sdo_8c-source.html#l00354">354</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1321 |
</div>
|
|
1322 |
</div><p>
|
|
1323 |
<a class="anchor" name="b26c3f2fb63d81055809d6ccaa785b7c"></a><!-- doxytag: member="sdo.c::sendSDOabort" ref="b26c3f2fb63d81055809d6ccaa785b7c" args="(CO_Data *d, UNS8 whoami, UNS16 index, UNS8 subIndex, UNS32 abortCode)" -->
|
|
1324 |
<div class="memitem">
|
|
1325 |
<div class="memproto">
|
|
1326 |
<table class="memname">
|
|
1327 |
<tr>
|
|
1328 |
<td class="memname">UNS8 sendSDOabort </td>
|
|
1329 |
<td>(</td>
|
|
1330 |
<td class="paramtype">CO_Data * </td>
|
|
1331 |
<td class="paramname"> <em>d</em>, </td>
|
|
1332 |
</tr>
|
|
1333 |
<tr>
|
|
1334 |
<td class="paramkey"></td>
|
|
1335 |
<td></td>
|
|
1336 |
<td class="paramtype">UNS8 </td>
|
|
1337 |
<td class="paramname"> <em>whoami</em>, </td>
|
|
1338 |
</tr>
|
|
1339 |
<tr>
|
|
1340 |
<td class="paramkey"></td>
|
|
1341 |
<td></td>
|
|
1342 |
<td class="paramtype">UNS16 </td>
|
|
1343 |
<td class="paramname"> <em>index</em>, </td>
|
|
1344 |
</tr>
|
|
1345 |
<tr>
|
|
1346 |
<td class="paramkey"></td>
|
|
1347 |
<td></td>
|
|
1348 |
<td class="paramtype">UNS8 </td>
|
|
1349 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1350 |
</tr>
|
|
1351 |
<tr>
|
|
1352 |
<td class="paramkey"></td>
|
|
1353 |
<td></td>
|
|
1354 |
<td class="paramtype">UNS32 </td>
|
|
1355 |
<td class="paramname"> <em>abortCode</em></td><td> </td>
|
|
1356 |
</tr>
|
|
1357 |
<tr>
|
|
1358 |
<td></td>
|
|
1359 |
<td>)</td>
|
|
1360 |
<td></td><td></td><td width="100%"></td>
|
|
1361 |
</tr>
|
|
1362 |
</table>
|
|
1363 |
</div>
|
|
1364 |
<div class="memdoc">
|
|
1365 |
|
|
1366 |
<p>
|
|
1367 |
|
|
1368 |
<p>
|
|
1369 |
Definition at line <a class="el" href="sdo_8c-source.html#l00424">424</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1370 |
<p>
|
|
1371 |
References <a class="el" href="sdo_8c-source.html#l00354">sendSDO()</a>.
|
|
1372 |
</div>
|
|
1373 |
</div><p>
|
|
1374 |
<a class="anchor" name="601a837ecb5f21bf4c66b058c5ae7810"></a><!-- doxytag: member="sdo.c::setSDOlineRestBytes" ref="601a837ecb5f21bf4c66b058c5ae7810" args="(CO_Data *d, UNS8 line, UNS8 nbBytes)" -->
|
|
1375 |
<div class="memitem">
|
|
1376 |
<div class="memproto">
|
|
1377 |
<table class="memname">
|
|
1378 |
<tr>
|
|
1379 |
<td class="memname">UNS8 setSDOlineRestBytes </td>
|
|
1380 |
<td>(</td>
|
|
1381 |
<td class="paramtype">CO_Data * </td>
|
|
1382 |
<td class="paramname"> <em>d</em>, </td>
|
|
1383 |
</tr>
|
|
1384 |
<tr>
|
|
1385 |
<td class="paramkey"></td>
|
|
1386 |
<td></td>
|
|
1387 |
<td class="paramtype">UNS8 </td>
|
|
1388 |
<td class="paramname"> <em>line</em>, </td>
|
|
1389 |
</tr>
|
|
1390 |
<tr>
|
|
1391 |
<td class="paramkey"></td>
|
|
1392 |
<td></td>
|
|
1393 |
<td class="paramtype">UNS8 </td>
|
|
1394 |
<td class="paramname"> <em>nbBytes</em></td><td> </td>
|
|
1395 |
</tr>
|
|
1396 |
<tr>
|
|
1397 |
<td></td>
|
|
1398 |
<td>)</td>
|
|
1399 |
<td></td><td></td><td width="100%"></td>
|
|
1400 |
</tr>
|
|
1401 |
</table>
|
|
1402 |
</div>
|
|
1403 |
<div class="memdoc">
|
|
1404 |
|
|
1405 |
<p>
|
|
1406 |
|
|
1407 |
<p>
|
|
1408 |
Definition at line <a class="el" href="sdo_8c-source.html#l00342">342</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1409 |
</div>
|
|
1410 |
</div><p>
|
|
1411 |
<a class="anchor" name="bc20ed246e00053dcf71faa8f45ee39c"></a><!-- doxytag: member="sdo.c::writeNetworkDict" ref="bc20ed246e00053dcf71faa8f45ee39c" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data)" -->
|
|
1412 |
<div class="memitem">
|
|
1413 |
<div class="memproto">
|
|
1414 |
<table class="memname">
|
|
1415 |
<tr>
|
|
1416 |
<td class="memname">UNS8 writeNetworkDict </td>
|
|
1417 |
<td>(</td>
|
|
1418 |
<td class="paramtype">CO_Data * </td>
|
|
1419 |
<td class="paramname"> <em>d</em>, </td>
|
|
1420 |
</tr>
|
|
1421 |
<tr>
|
|
1422 |
<td class="paramkey"></td>
|
|
1423 |
<td></td>
|
|
1424 |
<td class="paramtype">UNS8 </td>
|
|
1425 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1426 |
</tr>
|
|
1427 |
<tr>
|
|
1428 |
<td class="paramkey"></td>
|
|
1429 |
<td></td>
|
|
1430 |
<td class="paramtype">UNS16 </td>
|
|
1431 |
<td class="paramname"> <em>index</em>, </td>
|
|
1432 |
</tr>
|
|
1433 |
<tr>
|
|
1434 |
<td class="paramkey"></td>
|
|
1435 |
<td></td>
|
|
1436 |
<td class="paramtype">UNS8 </td>
|
|
1437 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1438 |
</tr>
|
|
1439 |
<tr>
|
|
1440 |
<td class="paramkey"></td>
|
|
1441 |
<td></td>
|
|
1442 |
<td class="paramtype">UNS8 </td>
|
|
1443 |
<td class="paramname"> <em>count</em>, </td>
|
|
1444 |
</tr>
|
|
1445 |
<tr>
|
|
1446 |
<td class="paramkey"></td>
|
|
1447 |
<td></td>
|
|
1448 |
<td class="paramtype">UNS8 </td>
|
|
1449 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
1450 |
</tr>
|
|
1451 |
<tr>
|
|
1452 |
<td class="paramkey"></td>
|
|
1453 |
<td></td>
|
|
1454 |
<td class="paramtype">void * </td>
|
|
1455 |
<td class="paramname"> <em>data</em></td><td> </td>
|
|
1456 |
</tr>
|
|
1457 |
<tr>
|
|
1458 |
<td></td>
|
|
1459 |
<td>)</td>
|
|
1460 |
<td></td><td></td><td width="100%"></td>
|
|
1461 |
</tr>
|
|
1462 |
</table>
|
|
1463 |
</div>
|
|
1464 |
<div class="memdoc">
|
|
1465 |
|
|
1466 |
<p>
|
|
1467 |
|
|
1468 |
<p>
|
|
1469 |
Definition at line <a class="el" href="sdo_8c-source.html#l01182">1182</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1470 |
<p>
|
|
1471 |
References <a class="el" href="sdo_8c-source.html#l01072">_writeNetworkDict()</a>.
|
|
1472 |
</div>
|
|
1473 |
</div><p>
|
|
1474 |
<a class="anchor" name="f4ec05293fb8971a1b282994498ed4f5"></a><!-- doxytag: member="sdo.c::writeNetworkDictCallBack" ref="f4ec05293fb8971a1b282994498ed4f5" args="(CO_Data *d, UNS8 nodeId, UNS16 index, UNS8 subIndex, UNS8 count, UNS8 dataType, void *data, SDOCallback_t Callback)" -->
|
|
1475 |
<div class="memitem">
|
|
1476 |
<div class="memproto">
|
|
1477 |
<table class="memname">
|
|
1478 |
<tr>
|
|
1479 |
<td class="memname">UNS8 writeNetworkDictCallBack </td>
|
|
1480 |
<td>(</td>
|
|
1481 |
<td class="paramtype">CO_Data * </td>
|
|
1482 |
<td class="paramname"> <em>d</em>, </td>
|
|
1483 |
</tr>
|
|
1484 |
<tr>
|
|
1485 |
<td class="paramkey"></td>
|
|
1486 |
<td></td>
|
|
1487 |
<td class="paramtype">UNS8 </td>
|
|
1488 |
<td class="paramname"> <em>nodeId</em>, </td>
|
|
1489 |
</tr>
|
|
1490 |
<tr>
|
|
1491 |
<td class="paramkey"></td>
|
|
1492 |
<td></td>
|
|
1493 |
<td class="paramtype">UNS16 </td>
|
|
1494 |
<td class="paramname"> <em>index</em>, </td>
|
|
1495 |
</tr>
|
|
1496 |
<tr>
|
|
1497 |
<td class="paramkey"></td>
|
|
1498 |
<td></td>
|
|
1499 |
<td class="paramtype">UNS8 </td>
|
|
1500 |
<td class="paramname"> <em>subIndex</em>, </td>
|
|
1501 |
</tr>
|
|
1502 |
<tr>
|
|
1503 |
<td class="paramkey"></td>
|
|
1504 |
<td></td>
|
|
1505 |
<td class="paramtype">UNS8 </td>
|
|
1506 |
<td class="paramname"> <em>count</em>, </td>
|
|
1507 |
</tr>
|
|
1508 |
<tr>
|
|
1509 |
<td class="paramkey"></td>
|
|
1510 |
<td></td>
|
|
1511 |
<td class="paramtype">UNS8 </td>
|
|
1512 |
<td class="paramname"> <em>dataType</em>, </td>
|
|
1513 |
</tr>
|
|
1514 |
<tr>
|
|
1515 |
<td class="paramkey"></td>
|
|
1516 |
<td></td>
|
|
1517 |
<td class="paramtype">void * </td>
|
|
1518 |
<td class="paramname"> <em>data</em>, </td>
|
|
1519 |
</tr>
|
|
1520 |
<tr>
|
|
1521 |
<td class="paramkey"></td>
|
|
1522 |
<td></td>
|
|
1523 |
<td class="paramtype">SDOCallback_t </td>
|
|
1524 |
<td class="paramname"> <em>Callback</em></td><td> </td>
|
|
1525 |
</tr>
|
|
1526 |
<tr>
|
|
1527 |
<td></td>
|
|
1528 |
<td>)</td>
|
|
1529 |
<td></td><td></td><td width="100%"></td>
|
|
1530 |
</tr>
|
|
1531 |
</table>
|
|
1532 |
</div>
|
|
1533 |
<div class="memdoc">
|
|
1534 |
|
|
1535 |
<p>
|
|
1536 |
|
|
1537 |
<p>
|
|
1538 |
Definition at line <a class="el" href="sdo_8c-source.html#l01190">1190</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>.
|
|
1539 |
<p>
|
|
1540 |
References <a class="el" href="sdo_8c-source.html#l01072">_writeNetworkDict()</a>.
|
|
1541 |
</div>
|
|
1542 |
</div><p>
|
|
1543 |
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by
|
|
1544 |
<a href="http://www.doxygen.org/index.html">
|
|
1545 |
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
|
|
1546 |
</body>
|
|
1547 |
</html>
|