|
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: include/pdo.h 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_2209bfb26110ae52d50da4cefad5e72f.html">include</a></div> |
|
22 <h1>pdo.h File Reference</h1><code>#include <<a class="el" href="win32_2applicfg_8h-source.html">applicfg.h</a>></code><br> |
|
23 <code>#include <<a class="el" href="def_8h-source.html">def.h</a>></code><br> |
|
24 <code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br> |
|
25 |
|
26 <p> |
|
27 Include dependency graph for pdo.h:<p><center><img src="pdo_8h__incl.png" border="0" usemap="#include/pdo.h_map" alt=""></center> |
|
28 <map name="include/pdo.h_map"> |
|
29 <area href="win32_2applicfg_8h.html" shape="rect" coords="568,292,656,316" alt=""> |
|
30 <area href="def_8h.html" shape="rect" coords="308,75,364,99" alt=""> |
|
31 <area href="data_8h.html" shape="rect" coords="169,320,233,344" alt=""> |
|
32 <area href="config_8h.html" shape="rect" coords="439,75,513,99" alt=""> |
|
33 <area href="can_8h.html" shape="rect" coords="447,196,505,220" alt=""> |
|
34 <area href="objdictdef_8h.html" shape="rect" coords="285,224,387,248" alt=""> |
|
35 <area href="objacces_8h.html" shape="rect" coords="289,272,383,296" alt=""> |
|
36 <area href="sdo_8h.html" shape="rect" coords="307,416,365,440" alt=""> |
|
37 <area href="states_8h.html" shape="rect" coords="299,320,373,344" alt=""> |
|
38 <area href="lifegrd_8h.html" shape="rect" coords="297,368,375,392" alt=""> |
|
39 <area href="sync_8h.html" shape="rect" coords="303,464,369,488" alt=""> |
|
40 <area href="nmtMaster_8h.html" shape="rect" coords="283,512,389,536" alt=""> |
|
41 <area href="timer_8h.html" shape="rect" coords="441,417,511,441" alt=""> |
|
42 <area href="win32_2timerscfg_8h.html" shape="rect" coords="563,384,661,408" alt=""> |
|
43 </map> |
|
44 |
|
45 <p> |
|
46 This graph shows which files directly or indirectly include this file:<p><center><img src="pdo_8h__dep__incl.png" border="0" usemap="#include/pdo.hdep_map" alt=""></center> |
|
47 <map name="include/pdo.hdep_map"> |
|
48 <area href="pdo_8c.html" shape="rect" coords="735,180,817,204" alt=""> |
|
49 <area href="data_8h.html" shape="rect" coords="169,473,287,497" alt=""> |
|
50 <area href="lifegrd_8c.html" shape="rect" coords="725,617,827,641" alt=""> |
|
51 <area href="sync_8c.html" shape="rect" coords="732,255,820,279" alt=""> |
|
52 <area href="unix_8c.html" shape="rect" coords="703,316,849,340" alt=""> |
|
53 <area href="objdict_8h.html" shape="rect" coords="353,377,636,401" alt=""> |
|
54 <area href="TestMasterSlave_2TestMaster_8h.html" shape="rect" coords="351,425,639,449" alt=""> |
|
55 <area href="TestSlave_8h.html" shape="rect" coords="353,473,636,497" alt=""> |
|
56 <area href="TestMasterMicroMod_2TestMaster_8h.html" shape="rect" coords="336,521,653,545" alt=""> |
|
57 <area href="win32test_8h.html" shape="rect" coords="375,569,615,593" alt=""> |
|
58 <area href="objacces_8h.html" shape="rect" coords="421,180,568,204" alt=""> |
|
59 <area href="lifegrd_8h.html" shape="rect" coords="429,617,560,641" alt=""> |
|
60 <area href="nmtMaster_8h.html" shape="rect" coords="415,716,575,740" alt=""> |
|
61 <area href="nmtSlave_8h.html" shape="rect" coords="419,764,571,788" alt=""> |
|
62 <area href="timer_8h.html" shape="rect" coords="433,812,556,836" alt=""> |
|
63 <area href="sdo_8h.html" shape="rect" coords="720,873,832,897" alt=""> |
|
64 <area href="states_8h.html" shape="rect" coords="431,84,559,108" alt=""> |
|
65 <area href="unix_2canfestival_8h.html" shape="rect" coords="397,132,592,156" alt=""> |
|
66 <area href="win32_2canfestival_8h.html" shape="rect" coords="391,279,599,303" alt=""> |
|
67 </map> |
|
68 |
|
69 <p> |
|
70 <a href="pdo_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
71 <tr><td></td></tr> |
|
72 <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> |
|
73 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__process__var.html">struct_s_process_var</a></td></tr> |
|
74 |
|
75 <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structstruct__s__PDO.html">struct_s_PDO</a></td></tr> |
|
76 |
|
77 <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> |
|
78 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structstruct__s__process__var.html">struct_s_process_var</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#cebb3b4d895da8e726cc7eddb6035e6f">s_process_var</a></td></tr> |
|
79 |
|
80 <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structstruct__s__PDO.html">struct_s_PDO</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#7f9085f960c6632e8c79537abac9a9ff">s_PDO</a></td></tr> |
|
81 |
|
82 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
|
83 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#a6774c219dc64c1cec4b4721ba23e15a">sendPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structstruct__s__PDO.html">s_PDO</a> pdo, UNS8 request)</td></tr> |
|
84 |
|
85 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#298b8291fa35cca22264cf8a70bf138a">PDOmGR</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cobId)</td></tr> |
|
86 |
|
87 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#b9c82d949045cb7f52ed40d0ee8c7bf1">buildPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS16 index)</td></tr> |
|
88 |
|
89 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#cc08547009d3d2755d2291999941694c">sendPDOrequest</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cobId)</td></tr> |
|
90 |
|
91 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#ae7d661cd3ef7adf93a0d08fdb15b7f2">proceedPDO</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *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="pdo_8h.html#07ff33d0d2e6b1070bf3c27578006e8d">sendPDOevent</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, void *variable)</td></tr> |
|
94 |
|
95 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="pdo_8h.html#e468510c9f77f502207d961d26389918">CopyBits</a> (UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)</td></tr> |
|
96 |
|
97 </table> |
|
98 <hr><h2>Typedef Documentation</h2> |
|
99 <a class="anchor" name="7f9085f960c6632e8c79537abac9a9ff"></a><!-- doxytag: member="pdo.h::s_PDO" ref="7f9085f960c6632e8c79537abac9a9ff" args="" --> |
|
100 <div class="memitem"> |
|
101 <div class="memproto"> |
|
102 <table class="memname"> |
|
103 <tr> |
|
104 <td class="memname">typedef struct <a class="el" href="structstruct__s__PDO.html">struct_s_PDO</a> <a class="el" href="structstruct__s__PDO.html">s_PDO</a> </td> |
|
105 </tr> |
|
106 </table> |
|
107 </div> |
|
108 <div class="memdoc"> |
|
109 |
|
110 <p> |
|
111 The PDO structure |
|
112 </div> |
|
113 </div><p> |
|
114 <a class="anchor" name="cebb3b4d895da8e726cc7eddb6035e6f"></a><!-- doxytag: member="pdo.h::s_process_var" ref="cebb3b4d895da8e726cc7eddb6035e6f" args="" --> |
|
115 <div class="memitem"> |
|
116 <div class="memproto"> |
|
117 <table class="memname"> |
|
118 <tr> |
|
119 <td class="memname">typedef struct <a class="el" href="structstruct__s__process__var.html">struct_s_process_var</a> <a class="el" href="structstruct__s__process__var.html">s_process_var</a> </td> |
|
120 </tr> |
|
121 </table> |
|
122 </div> |
|
123 <div class="memdoc"> |
|
124 |
|
125 <p> |
|
126 |
|
127 </div> |
|
128 </div><p> |
|
129 <hr><h2>Function Documentation</h2> |
|
130 <a class="anchor" name="b9c82d949045cb7f52ed40d0ee8c7bf1"></a><!-- doxytag: member="pdo.h::buildPDO" ref="b9c82d949045cb7f52ed40d0ee8c7bf1" args="(CO_Data *d, UNS16 index)" --> |
|
131 <div class="memitem"> |
|
132 <div class="memproto"> |
|
133 <table class="memname"> |
|
134 <tr> |
|
135 <td class="memname">UNS8 buildPDO </td> |
|
136 <td>(</td> |
|
137 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
138 <td class="paramname"> <em>d</em>, </td> |
|
139 </tr> |
|
140 <tr> |
|
141 <td class="paramkey"></td> |
|
142 <td></td> |
|
143 <td class="paramtype">UNS16 </td> |
|
144 <td class="paramname"> <em>index</em></td><td> </td> |
|
145 </tr> |
|
146 <tr> |
|
147 <td></td> |
|
148 <td>)</td> |
|
149 <td></td><td></td><td width="100%"></td> |
|
150 </tr> |
|
151 </table> |
|
152 </div> |
|
153 <div class="memdoc"> |
|
154 |
|
155 <p> |
|
156 Prepare the PDO defined at index to be sent by PDOmGR Copy all the data to transmit in process_var *pwCobId : returns the value of the cobid. (subindex 1) Return 0 or 0xFF if error. |
|
157 </div> |
|
158 </div><p> |
|
159 <a class="anchor" name="e468510c9f77f502207d961d26389918"></a><!-- doxytag: member="pdo.h::CopyBits" ref="e468510c9f77f502207d961d26389918" args="(UNS8 NbBits, UNS8 *SrcByteIndex, UNS8 SrcBitIndex, UNS8 SrcBigEndian, UNS8 *DestByteIndex, UNS8 DestBitIndex, UNS8 DestBigEndian)" --> |
|
160 <div class="memitem"> |
|
161 <div class="memproto"> |
|
162 <table class="memname"> |
|
163 <tr> |
|
164 <td class="memname">void CopyBits </td> |
|
165 <td>(</td> |
|
166 <td class="paramtype">UNS8 </td> |
|
167 <td class="paramname"> <em>NbBits</em>, </td> |
|
168 </tr> |
|
169 <tr> |
|
170 <td class="paramkey"></td> |
|
171 <td></td> |
|
172 <td class="paramtype">UNS8 * </td> |
|
173 <td class="paramname"> <em>SrcByteIndex</em>, </td> |
|
174 </tr> |
|
175 <tr> |
|
176 <td class="paramkey"></td> |
|
177 <td></td> |
|
178 <td class="paramtype">UNS8 </td> |
|
179 <td class="paramname"> <em>SrcBitIndex</em>, </td> |
|
180 </tr> |
|
181 <tr> |
|
182 <td class="paramkey"></td> |
|
183 <td></td> |
|
184 <td class="paramtype">UNS8 </td> |
|
185 <td class="paramname"> <em>SrcBigEndian</em>, </td> |
|
186 </tr> |
|
187 <tr> |
|
188 <td class="paramkey"></td> |
|
189 <td></td> |
|
190 <td class="paramtype">UNS8 * </td> |
|
191 <td class="paramname"> <em>DestByteIndex</em>, </td> |
|
192 </tr> |
|
193 <tr> |
|
194 <td class="paramkey"></td> |
|
195 <td></td> |
|
196 <td class="paramtype">UNS8 </td> |
|
197 <td class="paramname"> <em>DestBitIndex</em>, </td> |
|
198 </tr> |
|
199 <tr> |
|
200 <td class="paramkey"></td> |
|
201 <td></td> |
|
202 <td class="paramtype">UNS8 </td> |
|
203 <td class="paramname"> <em>DestBigEndian</em></td><td> </td> |
|
204 </tr> |
|
205 <tr> |
|
206 <td></td> |
|
207 <td>)</td> |
|
208 <td></td><td></td><td width="100%"></td> |
|
209 </tr> |
|
210 </table> |
|
211 </div> |
|
212 <div class="memdoc"> |
|
213 |
|
214 <p> |
|
215 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
216 <table border="0" cellspacing="2" cellpadding="0"> |
|
217 <tr><td valign="top"></td><td valign="top"><em>NbBits</em> </td><td></td></tr> |
|
218 <tr><td valign="top"></td><td valign="top"><em>SrcByteIndex</em> </td><td></td></tr> |
|
219 <tr><td valign="top"></td><td valign="top"><em>SrcBitIndex</em> </td><td></td></tr> |
|
220 <tr><td valign="top"></td><td valign="top"><em>SrcBigEndian</em> </td><td></td></tr> |
|
221 <tr><td valign="top"></td><td valign="top"><em>DestByteIndex</em> </td><td></td></tr> |
|
222 <tr><td valign="top"></td><td valign="top"><em>DestBitIndex</em> </td><td></td></tr> |
|
223 <tr><td valign="top"></td><td valign="top"><em>DestBigEndian</em> </td><td></td></tr> |
|
224 </table> |
|
225 </dl> |
|
226 |
|
227 <p> |
|
228 Definition at line <a class="el" href="pdo_8c-source.html#l00430">430</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>. |
|
229 <p> |
|
230 References <a class="el" href="hcs12_2applicfg_8h-source.html#l00129">INTEGER8</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>. |
|
231 <p> |
|
232 Referenced by <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, and <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>. |
|
233 </div> |
|
234 </div><p> |
|
235 <a class="anchor" name="298b8291fa35cca22264cf8a70bf138a"></a><!-- doxytag: member="pdo.h::PDOmGR" ref="298b8291fa35cca22264cf8a70bf138a" args="(CO_Data *d, UNS32 cobId)" --> |
|
236 <div class="memitem"> |
|
237 <div class="memproto"> |
|
238 <table class="memname"> |
|
239 <tr> |
|
240 <td class="memname">UNS8 PDOmGR </td> |
|
241 <td>(</td> |
|
242 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
243 <td class="paramname"> <em>d</em>, </td> |
|
244 </tr> |
|
245 <tr> |
|
246 <td class="paramkey"></td> |
|
247 <td></td> |
|
248 <td class="paramtype">UNS32 </td> |
|
249 <td class="paramname"> <em>cobId</em></td><td> </td> |
|
250 </tr> |
|
251 <tr> |
|
252 <td></td> |
|
253 <td>)</td> |
|
254 <td></td><td></td><td width="100%"></td> |
|
255 </tr> |
|
256 </table> |
|
257 </div> |
|
258 <div class="memdoc"> |
|
259 |
|
260 <p> |
|
261 PDO Manager<p> |
|
262 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
263 <table border="0" cellspacing="2" cellpadding="0"> |
|
264 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
265 <tr><td valign="top"></td><td valign="top"><em>cobId</em> </td><td></td></tr> |
|
266 </table> |
|
267 </dl> |
|
268 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
269 |
|
270 <p> |
|
271 Definition at line <a class="el" href="pdo_8c-source.html#l00079">79</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>. |
|
272 <p> |
|
273 References <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="pdo_8h-source.html#l00046">struct_s_PDO::data</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="pdo_8c-source.html#l00037">sendPDO()</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>. |
|
274 <p> |
|
275 Referenced by <a class="el" href="pdo_8c-source.html#l00221">proceedPDO()</a>, and <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>. |
|
276 <p> |
|
277 Here is the call graph for this function:<p><center><img src="pdo_8h_298b8291fa35cca22264cf8a70bf138a_cgraph.png" border="0" usemap="#pdo_8h_298b8291fa35cca22264cf8a70bf138a_cgraph_map" alt=""></center> |
|
278 <map name="pdo_8h_298b8291fa35cca22264cf8a70bf138a_cgraph_map"> |
|
279 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="140,6,223,30" alt=""> |
|
280 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="273,6,353,30" alt=""> |
|
281 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="404,6,535,30" alt=""> |
|
282 </map> |
|
283 |
|
284 </div> |
|
285 </div><p> |
|
286 <a class="anchor" name="ae7d661cd3ef7adf93a0d08fdb15b7f2"></a><!-- doxytag: member="pdo.h::proceedPDO" ref="ae7d661cd3ef7adf93a0d08fdb15b7f2" args="(CO_Data *d, Message *m)" --> |
|
287 <div class="memitem"> |
|
288 <div class="memproto"> |
|
289 <table class="memname"> |
|
290 <tr> |
|
291 <td class="memname">UNS8 proceedPDO </td> |
|
292 <td>(</td> |
|
293 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
294 <td class="paramname"> <em>d</em>, </td> |
|
295 </tr> |
|
296 <tr> |
|
297 <td class="paramkey"></td> |
|
298 <td></td> |
|
299 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
300 <td class="paramname"> <em>m</em></td><td> </td> |
|
301 </tr> |
|
302 <tr> |
|
303 <td></td> |
|
304 <td>)</td> |
|
305 <td></td><td></td><td width="100%"></td> |
|
306 </tr> |
|
307 </table> |
|
308 </div> |
|
309 <div class="memdoc"> |
|
310 |
|
311 <p> |
|
312 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
313 <table border="0" cellspacing="2" cellpadding="0"> |
|
314 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
315 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
|
316 </table> |
|
317 </dl> |
|
318 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
319 |
|
320 <p> |
|
321 Definition at line <a class="el" href="pdo_8c-source.html#l00221">221</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>. |
|
322 <p> |
|
323 References <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="pdo_8c-source.html#l00430">CopyBits()</a>, <a class="el" href="pdo_8h-source.html#l00033">struct_s_process_var::count</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="pdo_8h-source.html#l00037">struct_s_process_var::data</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="objacces_8c-source.html#l00198">getODentry()</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00177">MSG_ERR</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="def_8h-source.html#l00031">OD_SUCCESSFUL</a>, <a class="el" href="objdictdef_8h-source.html#l00118">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00119">s_quick_index::PDO_RCV_MAP</a>, <a class="el" href="objdictdef_8h-source.html#l00120">s_quick_index::PDO_TRS</a>, <a class="el" href="objdictdef_8h-source.html#l00121">s_quick_index::PDO_TRS_MAP</a>, <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="data_8h-source.html#l00086">struct_CO_Data::process_var</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="objacces_8c-source.html#l00350">setODentry()</a>, <a class="el" href="def_8h-source.html#l00113">state1</a>, <a class="el" href="def_8h-source.html#l00114">state2</a>, <a class="el" href="def_8h-source.html#l00116">state4</a>, <a class="el" href="def_8h-source.html#l00117">state5</a>, <a class="el" href="objdictdef_8h-source.html#l00080">TRANS_EVENT</a>, <a class="el" href="objdictdef_8h-source.html#l00079">TRANS_RTR</a>, <a class="el" href="objdictdef_8h-source.html#l00078">TRANS_RTR_SYNC</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00140">UNS16</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00141">UNS32</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>. |
|
324 <p> |
|
325 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>. |
|
326 <p> |
|
327 Here is the call graph for this function:<p><center><img src="pdo_8h_ae7d661cd3ef7adf93a0d08fdb15b7f2_cgraph.png" border="0" usemap="#pdo_8h_ae7d661cd3ef7adf93a0d08fdb15b7f2_cgraph_map" alt=""></center> |
|
328 <map name="pdo_8h_ae7d661cd3ef7adf93a0d08fdb15b7f2_cgraph_map"> |
|
329 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="171,6,251,30" alt=""> |
|
330 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="161,102,260,126" alt=""> |
|
331 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="169,150,252,174" alt=""> |
|
332 <area href="objacces_8c.html#17e598cc1b2e60380e2e4e75afe9b3b0" shape="rect" coords="161,54,260,78" alt=""> |
|
333 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="311,102,417,126" alt=""> |
|
334 <area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="468,78,636,102" alt=""> |
|
335 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="323,150,405,174" alt=""> |
|
336 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="512,150,592,174" alt=""> |
|
337 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="687,150,817,174" alt=""> |
|
338 <area href="objacces_8c.html#72f69950be4a1352fc78648c71454820" shape="rect" coords="311,54,417,78" alt=""> |
|
339 </map> |
|
340 |
|
341 </div> |
|
342 </div><p> |
|
343 <a class="anchor" name="a6774c219dc64c1cec4b4721ba23e15a"></a><!-- doxytag: member="pdo.h::sendPDO" ref="a6774c219dc64c1cec4b4721ba23e15a" args="(CO_Data *d, s_PDO pdo, UNS8 request)" --> |
|
344 <div class="memitem"> |
|
345 <div class="memproto"> |
|
346 <table class="memname"> |
|
347 <tr> |
|
348 <td class="memname">UNS8 sendPDO </td> |
|
349 <td>(</td> |
|
350 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
351 <td class="paramname"> <em>d</em>, </td> |
|
352 </tr> |
|
353 <tr> |
|
354 <td class="paramkey"></td> |
|
355 <td></td> |
|
356 <td class="paramtype"><a class="el" href="structstruct__s__PDO.html">s_PDO</a> </td> |
|
357 <td class="paramname"> <em>pdo</em>, </td> |
|
358 </tr> |
|
359 <tr> |
|
360 <td class="paramkey"></td> |
|
361 <td></td> |
|
362 <td class="paramtype">UNS8 </td> |
|
363 <td class="paramname"> <em>request</em></td><td> </td> |
|
364 </tr> |
|
365 <tr> |
|
366 <td></td> |
|
367 <td>)</td> |
|
368 <td></td><td></td><td width="100%"></td> |
|
369 </tr> |
|
370 </table> |
|
371 </div> |
|
372 <div class="memdoc"> |
|
373 |
|
374 <p> |
|
375 Transmit a PDO data frame on the bus bus_id pdo is a structure which contains the pdo to transmit bus_id is hardware dependant return canSend(bus_id,&m) or 0xFF if error request can take the value REQUEST or NOT_A_REQUEST |
|
376 <p> |
|
377 Definition at line <a class="el" href="pdo_8c-source.html#l00037">37</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>. |
|
378 <p> |
|
379 References <a class="el" href="data_8h-source.html#l00090">struct_CO_Data::canHandle</a>, <a class="el" href="canOpenDriver_8c-source.html#l00505">canSend()</a>, <a class="el" href="can_8h-source.html#l00042">Message::cob_id</a>, <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="pdo_8h-source.html#l00046">struct_s_PDO::data</a>, <a class="el" href="can_8h-source.html#l00046">Message::data</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="can_8h-source.html#l00045">Message::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00061">struct_CO_Data::nodeState</a>, <a class="el" href="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="can_8h-source.html#l00043">Message::rtr</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>, and <a class="el" href="can_8h-source.html#l00036">SHORT_CAN::w</a>. |
|
380 <p> |
|
381 Referenced by <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>, and <a class="el" href="pdo_8c-source.html#l00181">sendPDOrequest()</a>. |
|
382 <p> |
|
383 Here is the call graph for this function:<p><center><img src="pdo_8h_a6774c219dc64c1cec4b4721ba23e15a_cgraph.png" border="0" usemap="#pdo_8h_a6774c219dc64c1cec4b4721ba23e15a_cgraph_map" alt=""></center> |
|
384 <map name="pdo_8h_a6774c219dc64c1cec4b4721ba23e15a_cgraph_map"> |
|
385 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="140,6,220,30" alt=""> |
|
386 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="271,6,401,30" alt=""> |
|
387 </map> |
|
388 |
|
389 </div> |
|
390 </div><p> |
|
391 <a class="anchor" name="07ff33d0d2e6b1070bf3c27578006e8d"></a><!-- doxytag: member="pdo.h::sendPDOevent" ref="07ff33d0d2e6b1070bf3c27578006e8d" args="(CO_Data *d, void *variable)" --> |
|
392 <div class="memitem"> |
|
393 <div class="memproto"> |
|
394 <table class="memname"> |
|
395 <tr> |
|
396 <td class="memname">UNS8 sendPDOevent </td> |
|
397 <td>(</td> |
|
398 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
399 <td class="paramname"> <em>d</em>, </td> |
|
400 </tr> |
|
401 <tr> |
|
402 <td class="paramkey"></td> |
|
403 <td></td> |
|
404 <td class="paramtype">void * </td> |
|
405 <td class="paramname"> <em>variable</em></td><td> </td> |
|
406 </tr> |
|
407 <tr> |
|
408 <td></td> |
|
409 <td>)</td> |
|
410 <td></td><td></td><td width="100%"></td> |
|
411 </tr> |
|
412 </table> |
|
413 </div> |
|
414 <div class="memdoc"> |
|
415 |
|
416 <p> |
|
417 |
|
418 </div> |
|
419 </div><p> |
|
420 <a class="anchor" name="cc08547009d3d2755d2291999941694c"></a><!-- doxytag: member="pdo.h::sendPDOrequest" ref="cc08547009d3d2755d2291999941694c" args="(CO_Data *d, UNS32 cobId)" --> |
|
421 <div class="memitem"> |
|
422 <div class="memproto"> |
|
423 <table class="memname"> |
|
424 <tr> |
|
425 <td class="memname">UNS8 sendPDOrequest </td> |
|
426 <td>(</td> |
|
427 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
428 <td class="paramname"> <em>d</em>, </td> |
|
429 </tr> |
|
430 <tr> |
|
431 <td class="paramkey"></td> |
|
432 <td></td> |
|
433 <td class="paramtype">UNS32 </td> |
|
434 <td class="paramname"> <em>cobId</em></td><td> </td> |
|
435 </tr> |
|
436 <tr> |
|
437 <td></td> |
|
438 <td>)</td> |
|
439 <td></td><td></td><td width="100%"></td> |
|
440 </tr> |
|
441 </table> |
|
442 </div> |
|
443 <div class="memdoc"> |
|
444 |
|
445 <p> |
|
446 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
447 <table border="0" cellspacing="2" cellpadding="0"> |
|
448 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
449 <tr><td valign="top"></td><td valign="top"><em>cobId</em> </td><td></td></tr> |
|
450 </table> |
|
451 </dl> |
|
452 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
453 |
|
454 <p> |
|
455 Definition at line <a class="el" href="pdo_8c-source.html#l00181">181</a> of file <a class="el" href="pdo_8c-source.html">pdo.c</a>. |
|
456 <p> |
|
457 References <a class="el" href="pdo_8h-source.html#l00044">struct_s_PDO::cobId</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="data_8h-source.html#l00050">struct_CO_Data::firstIndex</a>, <a class="el" href="data_8h-source.html#l00051">struct_CO_Data::lastIndex</a>, <a class="el" href="pdo_8h-source.html#l00045">struct_s_PDO::len</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</a>, <a class="el" href="data_8h-source.html#l00048">struct_CO_Data::objdict</a>, <a class="el" href="objdictdef_8h-source.html#l00118">s_quick_index::PDO_RCV</a>, <a class="el" href="objdictdef_8h-source.html#l00100">td_subindex::pObject</a>, <a class="el" href="objdictdef_8h-source.html#l00107">td_indextable::pSubindex</a>, <a class="el" href="def_8h-source.html#l00054">REQUEST</a>, <a class="el" href="pdo_8c-source.html#l00037">sendPDO()</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>. |
|
458 <p> |
|
459 Here is the call graph for this function:<p><center><img src="pdo_8h_cc08547009d3d2755d2291999941694c_cgraph.png" border="0" usemap="#pdo_8h_cc08547009d3d2755d2291999941694c_cgraph_map" alt=""></center> |
|
460 <map name="pdo_8h_cc08547009d3d2755d2291999941694c_cgraph_map"> |
|
461 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="191,6,273,30" alt=""> |
|
462 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="324,6,404,30" alt=""> |
|
463 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="455,6,585,30" alt=""> |
|
464 </map> |
|
465 |
|
466 </div> |
|
467 </div><p> |
|
468 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:02 2007 for CanFestival by |
|
469 <a href="http://www.doxygen.org/index.html"> |
|
470 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
471 </body> |
|
472 </html> |