13 <div class="tabs"> |
13 <div class="tabs"> |
14 <ul> |
14 <ul> |
15 <li><a href="files.html"><span>File List</span></a></li> |
15 <li><a href="files.html"><span>File List</span></a></li> |
16 <li><a href="globals.html"><span>Globals</span></a></li> |
16 <li><a href="globals.html"><span>Globals</span></a></li> |
17 </ul></div> |
17 </ul></div> |
18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/dcf.c File Reference</h1><code>#include "objacces.h"</code><br> |
18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/dcf.c File Reference</h1>EXEMPLE OF SOMMARY. <a href="#_details">More...</a> |
|
19 <p> |
|
20 <code>#include "objacces.h"</code><br> |
19 <code>#include "sdo.h"</code><br> |
21 <code>#include "sdo.h"</code><br> |
20 <code>#include "dcf.h"</code><br> |
22 <code>#include "dcf.h"</code><br> |
21 <code>#include "sysdep.h"</code><br> |
23 <code>#include "sysdep.h"</code><br> |
|
24 |
|
25 <p> |
|
26 Include dependency graph for dcf.c:<p><center><img src="dcf_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/dcf.c_map" alt=""></center> |
22 |
27 |
23 <p> |
28 <p> |
24 <a href="dcf_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
29 <a href="dcf_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
25 <tr><td></td></tr> |
30 <tr><td></td></tr> |
26 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
31 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
30 |
35 |
31 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
36 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
32 <tr><td class="memItemLeft" nowrap align="right" valign="top">const indextable * </td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_8c.html#8bddcdce84393146515136d33d063060">ptrTable</a></td></tr> |
37 <tr><td class="memItemLeft" nowrap align="right" valign="top">const indextable * </td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_8c.html#8bddcdce84393146515136d33d063060">ptrTable</a></td></tr> |
33 |
38 |
34 </table> |
39 </table> |
35 <hr><h2>Function Documentation</h2> |
40 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
41 EXEMPLE OF SOMMARY. |
|
42 <p> |
|
43 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl> |
|
44 <dl class="date" compact><dt><b>Date:</b></dt><dd>Mon Jun 4 17:06:12 2007 </dd></dl> |
|
45 |
|
46 <p> |
|
47 Definition in file <a class="el" href="dcf_8c-source.html">dcf.c</a>.<hr><h2>Function Documentation</h2> |
36 <a class="anchor" name="3c07605ffe3ea197aa36e583ef87a20a"></a><!-- doxytag: member="dcf.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)" --> |
48 <a class="anchor" name="3c07605ffe3ea197aa36e583ef87a20a"></a><!-- doxytag: member="dcf.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)" --> |
37 <div class="memitem"> |
49 <div class="memitem"> |
38 <div class="memproto"> |
50 <div class="memproto"> |
39 <table class="memname"> |
51 <table class="memname"> |
40 <tr> |
52 <tr> |
99 </table> |
111 </table> |
100 </div> |
112 </div> |
101 <div class="memdoc"> |
113 <div class="memdoc"> |
102 |
114 |
103 <p> |
115 <p> |
104 |
116 <dl compact><dt><b>Parameters:</b></dt><dd> |
105 <p> |
117 <table border="0" cellspacing="2" cellpadding="0"> |
106 Definition at line <a class="el" href="sdo_8c-source.html#l01072">1072</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
118 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
107 <p> |
119 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
108 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>. |
120 <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr> |
|
121 <tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr> |
|
122 <tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr> |
|
123 <tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr> |
|
124 <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr> |
|
125 <tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr> |
|
126 <tr><td valign="top"></td><td valign="top"><em>endianize</em> </td><td></td></tr> |
|
127 </table> |
|
128 </dl> |
|
129 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
130 |
|
131 <p> |
|
132 Verify that there is no SDO communication yet.<p> |
|
133 Taking the line ...<p> |
|
134 Check which SDO to use to communicate with the node<p> |
|
135 looking for the nodeId server<p> |
|
136 Copy data to transfers structure.<p> |
|
137 Send the SDO to the server. Initiate download, cs=1.<p> |
|
138 Expedited transfert<p> |
|
139 Normal transfert<p> |
|
140 nb of byte to transmit. Max = 255. (canfestival2 limitation).<p> |
|
141 release the line |
|
142 <p> |
|
143 Definition at line <a class="el" href="sdo_8c-source.html#l01247">1247</a> of file <a class="el" href="sdo_8c-source.html">sdo.c</a>. |
|
144 <p> |
|
145 References <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="sdo_8c-source.html#l00338">resetSDOline()</a>, and <a class="el" href="sdo_8c-source.html#l00498">sendSDO()</a>. |
|
146 <p> |
|
147 Referenced by <a class="el" href="dcf_8c-source.html#l00087">decompo_dcf()</a>, <a class="el" href="sdo_8c-source.html#l01368">writeNetworkDict()</a>, and <a class="el" href="sdo_8c-source.html#l01388">writeNetworkDictCallBack()</a>. |
|
148 <p> |
|
149 Here is the call graph for this function:<p><center><img src="dcf_8c_3c07605ffe3ea197aa36e583ef87a20a_cgraph.png" border="0" usemap="#dcf_8c_3c07605ffe3ea197aa36e583ef87a20a_cgraph_map" alt=""></center> |
|
150 <map name="dcf_8c_3c07605ffe3ea197aa36e583ef87a20a_cgraph_map"> |
|
151 <area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="208,5,336,29" alt=""> |
|
152 <area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="201,53,343,77" alt=""> |
|
153 <area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="393,128,489,152" alt=""> |
|
154 <area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="217,152,327,176" alt=""> |
|
155 <area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="231,200,313,224" alt=""> |
|
156 </map> |
|
157 |
109 </div> |
158 </div> |
110 </div><p> |
159 </div><p> |
111 <a class="anchor" name="8452e163e7649968ad6dae1601a5fb0d"></a><!-- doxytag: member="dcf.c::decompo_dcf" ref="8452e163e7649968ad6dae1601a5fb0d" args="(CO_Data *d, UNS8 nodeId)" --> |
160 <a class="anchor" name="8452e163e7649968ad6dae1601a5fb0d"></a><!-- doxytag: member="dcf.c::decompo_dcf" ref="8452e163e7649968ad6dae1601a5fb0d" args="(CO_Data *d, UNS8 nodeId)" --> |
112 <div class="memitem"> |
161 <div class="memitem"> |
113 <div class="memproto"> |
162 <div class="memproto"> |
132 </table> |
181 </table> |
133 </div> |
182 </div> |
134 <div class="memdoc"> |
183 <div class="memdoc"> |
135 |
184 |
136 <p> |
185 <p> |
137 |
186 <dl compact><dt><b>Parameters:</b></dt><dd> |
138 <p> |
187 <table border="0" cellspacing="2" cellpadding="0"> |
139 Definition at line <a class="el" href="dcf_8c-source.html#l00049">49</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>. |
188 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
140 <p> |
189 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
141 References <a class="el" href="sdo_8c-source.html#l01072">_writeNetworkDict()</a>, and <a class="el" href="dcf_8c-source.html#l00033">ptrTable</a>. |
190 </table> |
|
191 </dl> |
|
192 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
193 |
|
194 <p> |
|
195 Loop on all Nodes supported in DCF subindexes<p> |
|
196 condition on consise DCF string for NodeID, if big enough<p> |
|
197 pointer to the DCF string for NodeID<p> |
|
198 CO_Data* d<p> |
|
199 UNS8 nodeId<p> |
|
200 UNS16 index<p> |
|
201 UNS8 subindex<p> |
|
202 UNS8 count<p> |
|
203 UNS8 dataType<p> |
|
204 void *data<p> |
|
205 SDOCallback_t Callback<p> |
|
206 no endianize<p> |
|
207 Push d->dcf_cursor to the end of data<p> |
|
208 Switch Master to preOperational state |
|
209 <p> |
|
210 Definition at line <a class="el" href="dcf_8c-source.html#l00087">87</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>. |
|
211 <p> |
|
212 References <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, and <a class="el" href="dcf_8c-source.html#l00057">ptrTable</a>. |
|
213 <p> |
|
214 Referenced by <a class="el" href="states_8c-source.html#l00138">setState()</a>. |
|
215 <p> |
|
216 Here is the call graph for this function:<p><center><img src="dcf_8c_8452e163e7649968ad6dae1601a5fb0d_cgraph.png" border="0" usemap="#dcf_8c_8452e163e7649968ad6dae1601a5fb0d_cgraph_map" alt=""></center> |
|
217 <map name="dcf_8c_8452e163e7649968ad6dae1601a5fb0d_cgraph_map"> |
|
218 <area href="dcf_8c.html#3c07605ffe3ea197aa36e583ef87a20a" shape="rect" coords="165,103,312,127" alt=""> |
|
219 <area href="sdo_8c.html#58d1f9691977617601beb9e5b4123252" shape="rect" coords="368,5,496,29" alt=""> |
|
220 <area href="sdo_8c.html#bb0c376b048ab2c6e0524b135b62376f" shape="rect" coords="361,53,503,77" alt=""> |
|
221 <area href="sdo_8c.html#b9c873a15f55b29112b5527a6cc6898d" shape="rect" coords="553,128,649,152" alt=""> |
|
222 <area href="sdo_8c.html#42d33be015d4c4c83c73f1f0e588f481" shape="rect" coords="377,152,487,176" alt=""> |
|
223 <area href="sdo_8c.html#c6b5d7d1439d537da992a96644a1ca5d" shape="rect" coords="391,200,473,224" alt=""> |
|
224 </map> |
|
225 |
142 </div> |
226 </div> |
143 </div><p> |
227 </div><p> |
144 <hr><h2>Variable Documentation</h2> |
228 <hr><h2>Variable Documentation</h2> |
145 <a class="anchor" name="8bddcdce84393146515136d33d063060"></a><!-- doxytag: member="dcf.c::ptrTable" ref="8bddcdce84393146515136d33d063060" args="" --> |
229 <a class="anchor" name="8bddcdce84393146515136d33d063060"></a><!-- doxytag: member="dcf.c::ptrTable" ref="8bddcdce84393146515136d33d063060" args="" --> |
146 <div class="memitem"> |
230 <div class="memitem"> |
154 <div class="memdoc"> |
238 <div class="memdoc"> |
155 |
239 |
156 <p> |
240 <p> |
157 |
241 |
158 <p> |
242 <p> |
159 Definition at line <a class="el" href="dcf_8c-source.html#l00033">33</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>. |
243 Definition at line <a class="el" href="dcf_8c-source.html#l00057">57</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>. |
|
244 <p> |
|
245 Referenced by <a class="el" href="objacces_8c-source.html#l00105">_getODentry()</a>, <a class="el" href="objacces_8c-source.html#l00260">_setODentry()</a>, <a class="el" href="dcf_8c-source.html#l00087">decompo_dcf()</a>, and <a class="el" href="states_8c-source.html#l00138">setState()</a>. |
160 </div> |
246 </div> |
161 </div><p> |
247 </div><p> |
162 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by |
248 <hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:05 2007 for CanFestival by |
163 <a href="http://www.doxygen.org/index.html"> |
249 <a href="http://www.doxygen.org/index.html"> |
164 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
250 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
165 </body> |
251 </body> |
166 </html> |
252 </html> |