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: src/dcf.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><a href="annotated.html"><span>Data Structures</span></a></li> |
|
12 <li id="current"><a href="files.html"><span>Files</span></a></li> |
|
13 <li><a href="dirs.html"><span>Directories</span></a></li> |
|
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> |
|
20 <div class="nav"> |
|
21 <a class="el" href="dir_0aa10e4f705947227e11e7ccb081fbe4.html">src</a></div> |
|
22 <h1>dcf.c File Reference</h1>EXEMPLE OF SOMMARY. <a href="#_details">More...</a> |
|
23 <p> |
|
24 <code>#include "<a class="el" href="objacces_8h-source.html">objacces.h</a>"</code><br> |
|
25 <code>#include "<a class="el" href="sdo_8h-source.html">sdo.h</a>"</code><br> |
|
26 <code>#include "<a class="el" href="dcf_8h-source.html">dcf.h</a>"</code><br> |
|
27 <code>#include "<a class="el" href="sysdep_8h-source.html">sysdep.h</a>"</code><br> |
|
28 |
|
29 <p> |
|
30 Include dependency graph for dcf.c:<p><center><img src="dcf_8c__incl.png" border="0" usemap="#src/dcf.c_map" alt=""></center> |
|
31 <map name="src/dcf.c_map"> |
|
32 <area href="objacces_8h.html" shape="rect" coords="120,259,197,285" alt=""> |
|
33 <area href="sdo_8h.html" shape="rect" coords="384,5,432,32" alt=""> |
|
34 <area href="dcf_8h.html" shape="rect" coords="135,360,183,387" alt=""> |
|
35 <area href="sysdep_8h.html" shape="rect" coords="247,613,313,640" alt=""> |
|
36 <area href="win32_2applicfg_8h.html" shape="rect" coords="615,348,689,375" alt=""> |
|
37 <area href="data_8h.html" shape="rect" coords="253,259,307,285" alt=""> |
|
38 <area href="def_8h.html" shape="rect" coords="508,512,556,539" alt=""> |
|
39 <area href="can_8h.html" shape="rect" coords="508,411,556,437" alt=""> |
|
40 <area href="objdictdef_8h.html" shape="rect" coords="365,107,451,133" alt=""> |
|
41 <area href="pdo_8h.html" shape="rect" coords="383,461,433,488" alt=""> |
|
42 <area href="states_8h.html" shape="rect" coords="377,208,439,235" alt=""> |
|
43 <area href="lifegrd_8h.html" shape="rect" coords="375,309,441,336" alt=""> |
|
44 <area href="sync_8h.html" shape="rect" coords="380,157,436,184" alt=""> |
|
45 <area href="nmtMaster_8h.html" shape="rect" coords="364,259,452,285" alt=""> |
|
46 <area href="config_8h.html" shape="rect" coords="620,563,684,589" alt=""> |
|
47 <area href="timer_8h.html" shape="rect" coords="503,107,561,133" alt=""> |
|
48 <area href="win32_2timerscfg_8h.html" shape="rect" coords="612,120,692,147" alt=""> |
|
49 </map> |
|
50 |
|
51 <p> |
|
52 <a href="dcf_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
53 <tr><td></td></tr> |
|
54 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
55 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_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> |
|
56 |
|
57 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_8c.html#acb81126cc677d663f367f560ae0face">decompo_dcf</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS8 nodeId)</td></tr> |
|
58 |
|
59 <tr><td colspan="2"><br><h2>Variables</h2></td></tr> |
|
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structtd__indextable.html">indextable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="dcf_8c.html#8278bb07e79b2d6c7d9c372b023fa7ae">ptrTable</a></td></tr> |
|
61 |
|
62 </table> |
|
63 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
64 EXEMPLE OF SOMMARY. |
|
65 <p> |
|
66 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl> |
|
67 <dl class="date" compact><dt><b>Date:</b></dt><dd>Mon Jun 4 17:06:12 2007 </dd></dl> |
|
68 |
|
69 <p> |
|
70 Definition in file <a class="el" href="dcf_8c-source.html">dcf.c</a>.<hr><h2>Function Documentation</h2> |
|
71 <a class="anchor" name="aa754826c624685ec491735501631c4e"></a><!-- doxytag: member="dcf.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)" --> |
|
72 <div class="memitem"> |
|
73 <div class="memproto"> |
|
74 <table class="memname"> |
|
75 <tr> |
|
76 <td class="memname">INLINE UNS8 _writeNetworkDict </td> |
|
77 <td>(</td> |
|
78 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
79 <td class="paramname"> <em>d</em>, </td> |
|
80 </tr> |
|
81 <tr> |
|
82 <td class="paramkey"></td> |
|
83 <td></td> |
|
84 <td class="paramtype">UNS8 </td> |
|
85 <td class="paramname"> <em>nodeId</em>, </td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td class="paramkey"></td> |
|
89 <td></td> |
|
90 <td class="paramtype">UNS16 </td> |
|
91 <td class="paramname"> <em>index</em>, </td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td class="paramkey"></td> |
|
95 <td></td> |
|
96 <td class="paramtype">UNS8 </td> |
|
97 <td class="paramname"> <em>subIndex</em>, </td> |
|
98 </tr> |
|
99 <tr> |
|
100 <td class="paramkey"></td> |
|
101 <td></td> |
|
102 <td class="paramtype">UNS8 </td> |
|
103 <td class="paramname"> <em>count</em>, </td> |
|
104 </tr> |
|
105 <tr> |
|
106 <td class="paramkey"></td> |
|
107 <td></td> |
|
108 <td class="paramtype">UNS8 </td> |
|
109 <td class="paramname"> <em>dataType</em>, </td> |
|
110 </tr> |
|
111 <tr> |
|
112 <td class="paramkey"></td> |
|
113 <td></td> |
|
114 <td class="paramtype">void * </td> |
|
115 <td class="paramname"> <em>data</em>, </td> |
|
116 </tr> |
|
117 <tr> |
|
118 <td class="paramkey"></td> |
|
119 <td></td> |
|
120 <td class="paramtype"><a class="el" href="sdo_8h.html#a07f2d0e7b634e9474dad009a1a97a83">SDOCallback_t</a> </td> |
|
121 <td class="paramname"> <em>Callback</em>, </td> |
|
122 </tr> |
|
123 <tr> |
|
124 <td class="paramkey"></td> |
|
125 <td></td> |
|
126 <td class="paramtype">UNS8 </td> |
|
127 <td class="paramname"> <em>endianize</em></td><td> </td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td></td> |
|
131 <td>)</td> |
|
132 <td></td><td></td><td width="100%"></td> |
|
133 </tr> |
|
134 </table> |
|
135 </div> |
|
136 <div class="memdoc"> |
|
137 |
|
138 <p> |
|
139 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
140 <table border="0" cellspacing="2" cellpadding="0"> |
|
141 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
142 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
|
143 <tr><td valign="top"></td><td valign="top"><em>index</em> </td><td></td></tr> |
|
144 <tr><td valign="top"></td><td valign="top"><em>subIndex</em> </td><td></td></tr> |
|
145 <tr><td valign="top"></td><td valign="top"><em>count</em> </td><td></td></tr> |
|
146 <tr><td valign="top"></td><td valign="top"><em>dataType</em> </td><td></td></tr> |
|
147 <tr><td valign="top"></td><td valign="top"><em>data</em> </td><td></td></tr> |
|
148 <tr><td valign="top"></td><td valign="top"><em>Callback</em> </td><td></td></tr> |
|
149 <tr><td valign="top"></td><td valign="top"><em>endianize</em> </td><td></td></tr> |
|
150 </table> |
|
151 </dl> |
|
152 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
153 |
|
154 <p> |
|
155 Normal transfert |
|
156 <p> |
|
157 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>. |
|
158 <p> |
|
159 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="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#l00076">BODY::data</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="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="sdo_8h-source.html#l00050">struct_s_transfer::offset</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#l00072">SDO_DOWNLOAD_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>. |
|
160 <p> |
|
161 Referenced by <a class="el" href="dcf_8c-source.html#l00075">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>. |
|
162 <p> |
|
163 Here is the call graph for this function:<p><center><img src="dcf_8c_aa754826c624685ec491735501631c4e_cgraph.png" border="0" usemap="#dcf_8c_aa754826c624685ec491735501631c4e_cgraph_map" alt=""></center> |
|
164 <map name="dcf_8c_aa754826c624685ec491735501631c4e_cgraph_map"> |
|
165 <area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="185,5,295,32" alt=""> |
|
166 <area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="180,56,300,83" alt=""> |
|
167 <area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="349,132,435,159" alt=""> |
|
168 <area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="193,157,287,184" alt=""> |
|
169 <area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="204,208,276,235" alt=""> |
|
170 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="359,208,425,235" alt=""> |
|
171 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="483,208,595,235" alt=""> |
|
172 </map> |
|
173 |
|
174 </div> |
|
175 </div><p> |
|
176 <a class="anchor" name="acb81126cc677d663f367f560ae0face"></a><!-- doxytag: member="dcf.c::decompo_dcf" ref="acb81126cc677d663f367f560ae0face" args="(CO_Data *d, UNS8 nodeId)" --> |
|
177 <div class="memitem"> |
|
178 <div class="memproto"> |
|
179 <table class="memname"> |
|
180 <tr> |
|
181 <td class="memname">UNS32 decompo_dcf </td> |
|
182 <td>(</td> |
|
183 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
184 <td class="paramname"> <em>d</em>, </td> |
|
185 </tr> |
|
186 <tr> |
|
187 <td class="paramkey"></td> |
|
188 <td></td> |
|
189 <td class="paramtype">UNS8 </td> |
|
190 <td class="paramname"> <em>nodeId</em></td><td> </td> |
|
191 </tr> |
|
192 <tr> |
|
193 <td></td> |
|
194 <td>)</td> |
|
195 <td></td><td></td><td width="100%"></td> |
|
196 </tr> |
|
197 </table> |
|
198 </div> |
|
199 <div class="memdoc"> |
|
200 |
|
201 <p> |
|
202 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
203 <table border="0" cellspacing="2" cellpadding="0"> |
|
204 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
205 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
|
206 </table> |
|
207 </dl> |
|
208 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
209 |
|
210 <p> |
|
211 Definition at line <a class="el" href="dcf_8c-source.html#l00075">75</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>. |
|
212 <p> |
|
213 References <a class="el" href="sdo_8c-source.html#l01247">_writeNetworkDict()</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00093">struct_CO_Data::dcf_count_targets</a>, <a class="el" href="data_8h-source.html#l00092">struct_CO_Data::dcf_cursor</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="objdictdef_8h-source.html#l00088">td_subindex::pObject</a>, <a class="el" href="data_8h-source.html#l00064">struct_CO_Data::preOperational</a>, <a class="el" href="objdictdef_8h-source.html#l00095">td_indextable::pSubindex</a>, <a class="el" href="dcf_8c-source.html#l00045">ptrTable</a>, <a class="el" href="data_8h-source.html#l00088">struct_CO_Data::scanIndexOD</a>, <a class="el" href="objdictdef_8h-source.html#l00087">td_subindex::size</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="sysdep_8h-source.html#l00020">UNS16_LE</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="sysdep_8h-source.html#l00022">UNS32_LE</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>. |
|
214 <p> |
|
215 Referenced by <a class="el" href="states_8c-source.html#l00138">setState()</a>. |
|
216 <p> |
|
217 Here is the call graph for this function:<p><center><img src="dcf_8c_acb81126cc677d663f367f560ae0face_cgraph.png" border="0" usemap="#dcf_8c_acb81126cc677d663f367f560ae0face_cgraph_map" alt=""></center> |
|
218 <map name="dcf_8c_acb81126cc677d663f367f560ae0face_cgraph_map"> |
|
219 <area href="dcf_8c.html#aa754826c624685ec491735501631c4e" shape="rect" coords="147,107,272,133" alt=""> |
|
220 <area href="sdo_8c.html#cb77818f302f413301728d27c091fa03" shape="rect" coords="327,5,436,32" alt=""> |
|
221 <area href="sdo_8c.html#93b0dc6875fffd911a7b0dc1ba96a8d1" shape="rect" coords="321,56,441,83" alt=""> |
|
222 <area href="sdo_8c.html#397e3c42e4165191c97fe342ae02e184" shape="rect" coords="491,132,576,159" alt=""> |
|
223 <area href="sdo_8c.html#0d8fa7ef68e2d40eb014d9b89abf5448" shape="rect" coords="335,157,428,184" alt=""> |
|
224 <area href="sdo_8c.html#b708fa701e4afbb7b63c6e658317e6dc" shape="rect" coords="345,208,417,235" alt=""> |
|
225 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="500,208,567,235" alt=""> |
|
226 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="624,208,736,235" alt=""> |
|
227 </map> |
|
228 |
|
229 </div> |
|
230 </div><p> |
|
231 <hr><h2>Variable Documentation</h2> |
|
232 <a class="anchor" name="8278bb07e79b2d6c7d9c372b023fa7ae"></a><!-- doxytag: member="dcf.c::ptrTable" ref="8278bb07e79b2d6c7d9c372b023fa7ae" args="" --> |
|
233 <div class="memitem"> |
|
234 <div class="memproto"> |
|
235 <table class="memname"> |
|
236 <tr> |
|
237 <td class="memname">const <a class="el" href="structtd__indextable.html">indextable</a>* <a class="el" href="dcf_8c.html#8278bb07e79b2d6c7d9c372b023fa7ae">ptrTable</a> </td> |
|
238 </tr> |
|
239 </table> |
|
240 </div> |
|
241 <div class="memdoc"> |
|
242 |
|
243 <p> |
|
244 |
|
245 <p> |
|
246 Definition at line <a class="el" href="dcf_8c-source.html#l00045">45</a> of file <a class="el" href="dcf_8c-source.html">dcf.c</a>. |
|
247 <p> |
|
248 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#l00075">decompo_dcf()</a>, and <a class="el" href="states_8c-source.html#l00138">setState()</a>. |
|
249 </div> |
|
250 </div><p> |
|
251 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:37 2007 for CanFestival by |
|
252 <a href="http://www.doxygen.org/index.html"> |
|
253 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
254 </body> |
|
255 </html> |
|