1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
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"> |
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/sync.c File Reference</title> |
3 <title>CanFestival: src/sync.c File Reference</title> |
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
4 <link href="doxygen.css" rel="stylesheet" type="text/css"> |
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
5 <link href="tabs.css" rel="stylesheet" type="text/css"> |
6 </head><body> |
6 </head><body> |
7 <!-- Generated by Doxygen 1.5.1 --> |
7 <!-- Generated by Doxygen 1.5.1 --> |
8 <div class="tabs"> |
8 <div class="tabs"> |
9 <ul> |
9 <ul> |
10 <li><a href="main.html"><span>Main Page</span></a></li> |
10 <li><a href="main.html"><span>Main Page</span></a></li> |
|
11 <li><a href="annotated.html"><span>Data Structures</span></a></li> |
11 <li id="current"><a href="files.html"><span>Files</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> |
12 </ul></div> |
14 </ul></div> |
13 <div class="tabs"> |
15 <div class="tabs"> |
14 <ul> |
16 <ul> |
15 <li><a href="files.html"><span>File List</span></a></li> |
17 <li><a href="files.html"><span>File List</span></a></li> |
16 <li><a href="globals.html"><span>Globals</span></a></li> |
18 <li><a href="globals.html"><span>Globals</span></a></li> |
17 </ul></div> |
19 </ul></div> |
18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/sync.c File Reference</h1><code>#include "data.h"</code><br> |
20 <div class="nav"> |
19 <code>#include "sync.h"</code><br> |
21 <a class="el" href="dir_c0a169d39c08973f879fd54f07b9e9f7.html">src</a></div> |
20 <code>#include "canfestival.h"</code><br> |
22 <h1>sync.c File Reference</h1><code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br> |
21 |
23 <code>#include "<a class="el" href="sync_8h-source.html">sync.h</a>"</code><br> |
22 <p> |
24 <code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br> |
23 Include dependency graph for sync.c:<p><center><img src="sync_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/sync.c_map" alt=""></center> |
25 |
|
26 <p> |
|
27 Include dependency graph for sync.c:<p><center><img src="sync_8c__incl.png" border="0" usemap="#src/sync.c_map" alt=""></center> |
|
28 <map name="src/sync.c_map"> |
|
29 <area href="data_8h.html" shape="rect" coords="322,296,386,320" alt=""> |
|
30 <area href="sync_8h.html" shape="rect" coords="474,6,540,30" alt=""> |
|
31 <area href="win32_2canfestival_8h.html" shape="rect" coords="146,566,252,590" alt=""> |
|
32 <area href="win32_2applicfg_8h.html" shape="rect" coords="731,396,819,420" alt=""> |
|
33 <area href="def_8h.html" shape="rect" coords="615,84,671,108" alt=""> |
|
34 <area href="can_8h.html" shape="rect" coords="478,542,536,566" alt=""> |
|
35 <area href="objdictdef_8h.html" shape="rect" coords="456,248,558,272" alt=""> |
|
36 <area href="objacces_8h.html" shape="rect" coords="460,395,554,419" alt=""> |
|
37 <area href="sdo_8h.html" shape="rect" coords="478,443,536,467" alt=""> |
|
38 <area href="pdo_8h.html" shape="rect" coords="478,152,536,176" alt=""> |
|
39 <area href="states_8h.html" shape="rect" coords="470,200,544,224" alt=""> |
|
40 <area href="lifegrd_8h.html" shape="rect" coords="468,296,546,320" alt=""> |
|
41 <area href="nmtMaster_8h.html" shape="rect" coords="454,104,560,128" alt=""> |
|
42 <area href="config_8h.html" shape="rect" coords="738,84,812,108" alt=""> |
|
43 <area href="timer_8h.html" shape="rect" coords="608,468,678,492" alt=""> |
|
44 <area href="win32_2timerscfg_8h.html" shape="rect" coords="726,543,824,567" alt=""> |
|
45 <area href="can__driver_8h.html" shape="rect" coords="302,566,406,590" alt=""> |
|
46 </map> |
24 |
47 |
25 <p> |
48 <p> |
26 <a href="sync_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
49 <a href="sync_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
27 <tr><td></td></tr> |
50 <tr><td></td></tr> |
28 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
51 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45">SyncAlarm</a> (CO_Data *d, UNS32 id)</td></tr> |
52 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45">SyncAlarm</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 id)</td></tr> |
30 |
53 |
31 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#82595787f641ab85980d83522f1158b0">OnCOB_ID_SyncUpdate</a> (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)</td></tr> |
54 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#82595787f641ab85980d83522f1158b0">OnCOB_ID_SyncUpdate</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, const <a class="el" href="structtd__indextable.html">indextable</a> *unsused_indextable, UNS8 unsused_bSubindex)</td></tr> |
32 |
55 |
33 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a">startSYNC</a> (CO_Data *d)</td></tr> |
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#2e0bf669f5b40dfbdda0f12a5ae3631a">startSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
34 |
57 |
35 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164">stopSYNC</a> (CO_Data *d)</td></tr> |
58 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164">stopSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
36 |
59 |
37 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50">sendSYNC</a> (CO_Data *d, UNS32 cob_id)</td></tr> |
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50">sendSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cob_id)</td></tr> |
38 |
61 |
39 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1">proceedSYNC</a> (CO_Data *d, Message *m)</td></tr> |
62 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1">proceedSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, <a class="el" href="structMessage.html">Message</a> *m)</td></tr> |
40 |
63 |
41 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a5e0cde14192eb72627526bb75c033c5">_post_sync</a> ()</td></tr> |
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#a5e0cde14192eb72627526bb75c033c5">_post_sync</a> ()</td></tr> |
42 |
65 |
43 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#c4082a05eed4b4c472f4ff2f7323dd28">_post_TPDO</a> ()</td></tr> |
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#c4082a05eed4b4c472f4ff2f7323dd28">_post_TPDO</a> ()</td></tr> |
44 |
67 |
148 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="436,102,524,126" alt=""> |
173 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="436,102,524,126" alt=""> |
149 <area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="434,150,527,174" alt=""> |
174 <area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="434,150,527,174" alt=""> |
150 <area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="635,6,747,30" alt=""> |
175 <area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="635,6,747,30" alt=""> |
151 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="650,102,732,126" alt=""> |
176 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="650,102,732,126" alt=""> |
152 <area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="646,150,736,174" alt=""> |
177 <area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="646,150,736,174" alt=""> |
153 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="796,150,908,174" alt=""> |
178 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="812,126,892,150" alt=""> |
|
179 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="796,174,908,198" alt=""> |
154 </map> |
180 </map> |
155 |
181 |
156 </div> |
182 </div> |
157 </div><p> |
183 </div><p> |
158 <a class="anchor" name="80cadcba23dc859db8a8d3f52789d6d1"></a><!-- doxytag: member="sync.c::proceedSYNC" ref="80cadcba23dc859db8a8d3f52789d6d1" args="(CO_Data *d, Message *m)" --> |
184 <a class="anchor" name="80cadcba23dc859db8a8d3f52789d6d1"></a><!-- doxytag: member="sync.c::proceedSYNC" ref="80cadcba23dc859db8a8d3f52789d6d1" args="(CO_Data *d, Message *m)" --> |
188 </table> |
214 </table> |
189 </dl> |
215 </dl> |
190 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
216 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
191 |
217 |
192 <p> |
218 <p> |
193 pointer to the var which is mapped to a pdo<p> |
|
194 pointer fo the var which holds the mapping parameter of an mapping entry<p> |
|
195 pointer to the transmissiontype...<p> |
|
196 only operational state allows PDO transmission<p> |
|
197 So, the node is in operational state<p> |
|
198 study all PDO stored in the objects dictionary<p> |
|
199 get the PDO transmission type<p> |
|
200 check if transmission type is after (this) SYNC<p> |
|
201 The message may not be transmited every SYNC but every n SYNC<p> |
|
202 get PDO CobId<p> |
|
203 get mapped objects number to transmit with this PDO<p> |
|
204 get mapping parameters<p> |
|
205 get data to transmit<p> |
|
206 copy bit per bit in little endian<p> |
|
207 loop to get all the data to transmit |
|
208 <p> |
|
209 Definition at line <a class="el" href="sync_8c-source.html#l00141">141</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
219 Definition at line <a class="el" href="sync_8c-source.html#l00141">141</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
210 <p> |
220 <p> |
211 References <a class="el" href="pdo_8c-source.html#l00430">CopyBits()</a>, <a class="el" href="objacces_8c-source.html#l00198">getODentry()</a>, and <a class="el" href="pdo_8c-source.html#l00079">PDOmGR()</a>. |
221 References <a class="el" href="objdictdef_8h-source.html#l00108">td_indextable::bSubCount</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="data_8h-source.html#l00049">struct_CO_Data::count_sync</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="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="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="data_8h-source.html#l00061">struct_CO_Data::nodeState</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="states_8h.html#3136d2815abe9d284f985e0a7ec68646a80594b1522cb686b981f56bbec45124">Operational</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#l00082">struct_CO_Data::post_sync</a>, <a class="el" href="data_8h-source.html#l00083">struct_CO_Data::post_TPDO</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#l00122">state10</a>, <a class="el" href="def_8h-source.html#l00123">state11</a>, <a class="el" href="def_8h-source.html#l00115">state3</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="def_8h-source.html#l00119">state7</a>, <a class="el" href="def_8h-source.html#l00120">state8</a>, <a class="el" href="def_8h-source.html#l00121">state9</a>, <a class="el" href="objdictdef_8h-source.html#l00077">TRANS_SYNC_MAX</a>, <a class="el" href="objdictdef_8h-source.html#l00076">TRANS_SYNC_MIN</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>. |
212 <p> |
222 <p> |
213 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>, and <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>. |
223 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>, and <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>. |
214 <p> |
224 <p> |
215 Here is the call graph for this function:<p><center><img src="sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph.png" border="0" usemap="#sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph_map" alt=""></center> |
225 Here is the call graph for this function:<p><center><img src="sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph.png" border="0" usemap="#sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph_map" alt=""></center> |
216 <map name="sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph_map"> |
226 <map name="sync_8c_80cadcba23dc859db8a8d3f52789d6d1_cgraph_map"> |
217 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="179,6,259,30" alt=""> |
227 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="179,6,259,30" alt=""> |
218 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="170,54,268,78" alt=""> |
228 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="169,54,268,78" alt=""> |
219 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="178,102,260,126" alt=""> |
229 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="177,102,260,126" alt=""> |
220 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="319,54,426,78" alt=""> |
230 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="319,54,425,78" alt=""> |
221 <area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="476,54,644,78" alt=""> |
231 <area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="476,54,644,78" alt=""> |
222 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="331,102,414,126" alt=""> |
232 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="331,102,413,126" alt=""> |
|
233 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="520,102,600,126" alt=""> |
|
234 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="695,102,825,126" alt=""> |
223 </map> |
235 </map> |
224 |
236 |
225 </div> |
237 </div> |
226 </div><p> |
238 </div><p> |
227 <a class="anchor" name="0bcc501eb14c12365ffbaa3453905b50"></a><!-- doxytag: member="sync.c::sendSYNC" ref="0bcc501eb14c12365ffbaa3453905b50" args="(CO_Data *d, UNS32 cob_id)" --> |
239 <a class="anchor" name="0bcc501eb14c12365ffbaa3453905b50"></a><!-- doxytag: member="sync.c::sendSYNC" ref="0bcc501eb14c12365ffbaa3453905b50" args="(CO_Data *d, UNS32 cob_id)" --> |
259 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
271 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
260 |
272 |
261 <p> |
273 <p> |
262 Definition at line <a class="el" href="sync_8c-source.html#l00118">118</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
274 Definition at line <a class="el" href="sync_8c-source.html#l00118">118</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
263 <p> |
275 <p> |
264 References <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</a>. |
276 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="timer_8h-source.html#l00045">struct_s_timer_entry::d</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="def_8h-source.html#l00055">NOT_A_REQUEST</a>, <a class="el" href="sync_8c-source.html#l00141">proceedSYNC()</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>. |
265 <p> |
277 <p> |
266 Referenced by <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>. |
278 Referenced by <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>. |
267 <p> |
279 <p> |
268 Here is the call graph for this function:<p><center><img src="sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph.png" border="0" usemap="#sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph_map" alt=""></center> |
280 Here is the call graph for this function:<p><center><img src="sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph.png" border="0" usemap="#sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph_map" alt=""></center> |
269 <map name="sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph_map"> |
281 <map name="sync_8c_0bcc501eb14c12365ffbaa3453905b50_cgraph_map"> |
270 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="145,54,257,78" alt=""> |
282 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="659,32,739,56" alt=""> |
271 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="317,6,397,30" alt=""> |
283 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="146,80,258,104" alt=""> |
272 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="308,54,407,78" alt=""> |
284 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="834,32,964,56" alt=""> |
273 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="316,102,399,126" alt=""> |
285 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="318,104,398,128" alt=""> |
274 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="457,54,564,78" alt=""> |
286 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="308,152,407,176" alt=""> |
275 <area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="615,54,783,78" alt=""> |
287 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="316,56,399,80" alt=""> |
276 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="469,102,552,126" alt=""> |
288 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="458,152,564,176" alt=""> |
|
289 <area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="615,152,783,176" alt=""> |
|
290 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="470,56,552,80" alt=""> |
277 </map> |
291 </map> |
278 |
292 |
279 </div> |
293 </div> |
280 </div><p> |
294 </div><p> |
281 <a class="anchor" name="2e0bf669f5b40dfbdda0f12a5ae3631a"></a><!-- doxytag: member="sync.c::startSYNC" ref="2e0bf669f5b40dfbdda0f12a5ae3631a" args="(CO_Data *d)" --> |
295 <a class="anchor" name="2e0bf669f5b40dfbdda0f12a5ae3631a"></a><!-- doxytag: member="sync.c::startSYNC" ref="2e0bf669f5b40dfbdda0f12a5ae3631a" args="(CO_Data *d)" --> |
302 </dl> |
316 </dl> |
303 |
317 |
304 <p> |
318 <p> |
305 Definition at line <a class="el" href="sync_8c-source.html#l00080">80</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
319 Definition at line <a class="el" href="sync_8c-source.html#l00080">80</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
306 <p> |
320 <p> |
307 References <a class="el" href="sync_8c-source.html#l00069">OnCOB_ID_SyncUpdate()</a>, <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>, <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>, <a class="el" href="sync_8c-source.html#l00105">stopSYNC()</a>, and <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>. |
321 References <a class="el" href="data_8h-source.html#l00079">struct_CO_Data::COB_ID_Sync</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="sync_8c-source.html#l00069">OnCOB_ID_SyncUpdate()</a>, <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>, <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>, <a class="el" href="sync_8c-source.html#l00105">stopSYNC()</a>, <a class="el" href="data_8h-source.html#l00080">struct_CO_Data::Sync_Cycle_Period</a>, <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>, <a class="el" href="data_8h-source.html#l00078">struct_CO_Data::syncTimer</a>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00157">US_TO_TIMEVAL</a>. |
308 <p> |
322 <p> |
309 Referenced by <a class="el" href="sync_8c-source.html#l00069">OnCOB_ID_SyncUpdate()</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
323 Referenced by <a class="el" href="sync_8c-source.html#l00069">OnCOB_ID_SyncUpdate()</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
310 <p> |
324 <p> |
311 Here is the call graph for this function:<p><center><img src="sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph.png" border="0" usemap="#sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph_map" alt=""></center> |
325 Here is the call graph for this function:<p><center><img src="sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph.png" border="0" usemap="#sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph_map" alt=""></center> |
312 <map name="sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph_map"> |
326 <map name="sync_8c_2e0bf669f5b40dfbdda0f12a5ae3631a_cgraph_map"> |
313 <area href="sync_8c.html#82595787f641ab85980d83522f1158b0" shape="rect" coords="161,6,340,30" alt=""> |
327 <area href="sync_8c.html#82595787f641ab85980d83522f1158b0" shape="rect" coords="162,6,340,30" alt=""> |
314 <area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="144,54,357,78" alt=""> |
328 <area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="144,54,358,78" alt=""> |
315 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="209,102,292,126" alt=""> |
329 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="210,102,292,126" alt=""> |
316 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="207,150,295,174" alt=""> |
330 <area href="sync_8c.html#41c47dbd59d22bf9bab6cd288cf27164" shape="rect" coords="207,150,295,174" alt=""> |
317 <area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="204,198,297,222" alt=""> |
331 <area href="sync_8c.html#bbcce7b549414c7bc1aa72fa66258b45" shape="rect" coords="204,198,298,222" alt=""> |
318 <area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="405,54,517,78" alt=""> |
332 <area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="406,54,518,78" alt=""> |
319 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="420,150,503,174" alt=""> |
333 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="420,150,503,174" alt=""> |
320 <area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="416,198,507,222" alt=""> |
334 <area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="416,198,507,222" alt=""> |
321 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="567,198,679,222" alt=""> |
335 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="583,162,663,186" alt=""> |
322 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="739,150,819,174" alt=""> |
336 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="567,234,679,258" alt=""> |
323 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="729,198,828,222" alt=""> |
337 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="730,150,860,174" alt=""> |
324 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="737,246,820,270" alt=""> |
338 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="755,198,835,222" alt=""> |
325 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="879,198,985,222" alt=""> |
339 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="746,246,844,270" alt=""> |
326 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="891,246,973,270" alt=""> |
340 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="754,294,836,318" alt=""> |
327 </map> |
341 </map> |
328 |
342 |
329 </div> |
343 </div> |
330 </div><p> |
344 </div><p> |
331 <a class="anchor" name="41c47dbd59d22bf9bab6cd288cf27164"></a><!-- doxytag: member="sync.c::stopSYNC" ref="41c47dbd59d22bf9bab6cd288cf27164" args="(CO_Data *d)" --> |
345 <a class="anchor" name="41c47dbd59d22bf9bab6cd288cf27164"></a><!-- doxytag: member="sync.c::stopSYNC" ref="41c47dbd59d22bf9bab6cd288cf27164" args="(CO_Data *d)" --> |
399 </dl> |
413 </dl> |
400 |
414 |
401 <p> |
415 <p> |
402 Definition at line <a class="el" href="sync_8c-source.html#l00055">55</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
416 Definition at line <a class="el" href="sync_8c-source.html#l00055">55</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
403 <p> |
417 <p> |
404 References <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>. |
418 References <a class="el" href="data_8h-source.html#l00079">struct_CO_Data::COB_ID_Sync</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, and <a class="el" href="sync_8c-source.html#l00118">sendSYNC()</a>. |
405 <p> |
419 <p> |
406 Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>. |
420 Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>. |
407 <p> |
421 <p> |
408 Here is the call graph for this function:<p><center><img src="sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph.png" border="0" usemap="#sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph_map" alt=""></center> |
422 Here is the call graph for this function:<p><center><img src="sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph.png" border="0" usemap="#sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph_map" alt=""></center> |
409 <map name="sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph_map"> |
423 <map name="sync_8c_bbcce7b549414c7bc1aa72fa66258b45_cgraph_map"> |
410 <area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="149,54,240,78" alt=""> |
424 <area href="sync_8c.html#0bcc501eb14c12365ffbaa3453905b50" shape="rect" coords="150,32,240,56" alt=""> |
411 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="289,54,401,78" alt=""> |
425 <area href="canOpenDriver_8c.html#b57b4b3c000e9f61135175495e874977" shape="rect" coords="759,80,839,104" alt=""> |
412 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="461,6,541,30" alt=""> |
426 <area href="sync_8c.html#80cadcba23dc859db8a8d3f52789d6d1" shape="rect" coords="290,80,402,104" alt=""> |
413 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="452,54,551,78" alt=""> |
427 <area href="canOpenDriver_8c.html#2f2d1ed55cfd9d7f85883f8d70d318ba" shape="rect" coords="890,80,1020,104" alt=""> |
414 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="460,102,543,126" alt=""> |
428 <area href="pdo_8c.html#e468510c9f77f502207d961d26389918" shape="rect" coords="462,56,542,80" alt=""> |
415 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="601,54,708,78" alt=""> |
429 <area href="objacces_8c.html#39c263a4bc5d2d824fefe22fdb4c2dac" shape="rect" coords="452,104,551,128" alt=""> |
416 <area href="objacces_8c.html#75d39b2dadcdb48f7321c6f3766aad26" shape="rect" coords="759,54,927,78" alt=""> |
430 <area href="pdo_8c.html#298b8291fa35cca22264cf8a70bf138a" shape="rect" coords="460,152,543,176" alt=""> |
417 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="613,102,696,126" alt=""> |
431 <area href="objacces_8c.html#49e9444c8c8d39906a40a153366ed09c" shape="rect" coords="602,104,708,128" alt=""> |
418 </map> |
432 <area href="pdo_8c.html#d9a4a4f0a4ef48866c6184ccbd30f210" shape="rect" coords="614,152,696,176" alt=""> |
419 |
433 </map> |
420 </div> |
434 |
421 </div><p> |
435 </div> |
422 <hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:11 2007 for CanFestival by |
436 </div><p> |
|
437 <hr size="1"><address style="align: right;"><small>Generated on Fri Jun 8 08:52:16 2007 for CanFestival by |
423 <a href="http://www.doxygen.org/index.html"> |
438 <a href="http://www.doxygen.org/index.html"> |
424 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
439 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
425 </body> |
440 </body> |
426 </html> |
441 </html> |