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/sync.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>sync.c File Reference</h1><code>#include "<a class="el" href="data_8h-source.html">data.h</a>"</code><br> |
|
23 <code>#include "<a class="el" href="sync_8h-source.html">sync.h</a>"</code><br> |
|
24 <code>#include "<a class="el" href="win32_2canfestival_8h-source.html">canfestival.h</a>"</code><br> |
|
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="267,360,320,387" alt=""> |
|
30 <area href="sync_8h.html" shape="rect" coords="385,5,441,32" alt=""> |
|
31 <area href="win32_2canfestival_8h.html" shape="rect" coords="129,512,217,539" alt=""> |
|
32 <area href="win32_2applicfg_8h.html" shape="rect" coords="620,360,695,387" alt=""> |
|
33 <area href="def_8h.html" shape="rect" coords="513,81,561,108" alt=""> |
|
34 <area href="can_8h.html" shape="rect" coords="513,259,561,285" alt=""> |
|
35 <area href="objdictdef_8h.html" shape="rect" coords="371,107,456,133" alt=""> |
|
36 <area href="objacces_8h.html" shape="rect" coords="375,309,452,336" alt=""> |
|
37 <area href="sdo_8h.html" shape="rect" coords="389,613,437,640" alt=""> |
|
38 <area href="pdo_8h.html" shape="rect" coords="388,208,439,235" alt=""> |
|
39 <area href="states_8h.html" shape="rect" coords="383,360,444,387" alt=""> |
|
40 <area href="lifegrd_8h.html" shape="rect" coords="380,461,447,488" alt=""> |
|
41 <area href="nmtMaster_8h.html" shape="rect" coords="369,411,457,437" alt=""> |
|
42 <area href="config_8h.html" shape="rect" coords="625,81,689,108" alt=""> |
|
43 <area href="timer_8h.html" shape="rect" coords="508,588,567,615" alt=""> |
|
44 <area href="win32_2timerscfg_8h.html" shape="rect" coords="617,613,697,640" alt=""> |
|
45 <area href="can__driver_8h.html" shape="rect" coords="369,512,457,539" alt=""> |
|
46 </map> |
|
47 |
|
48 <p> |
|
49 <a href="sync_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
|
50 <tr><td></td></tr> |
|
51 <tr><td colspan="2"><br><h2>Functions</h2></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#4f6067ef03a5c85e07ddd817dd8d948f">SyncAlarm</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 id)</td></tr> |
|
53 |
|
54 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS32 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#9bcb477ec78154d3d0d0c9bb60392224">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> |
|
55 |
|
56 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9">startSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
57 |
|
58 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4">stopSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d)</td></tr> |
|
59 |
|
60 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e">sendSYNC</a> (<a class="el" href="structstruct__CO__Data.html">CO_Data</a> *d, UNS32 cob_id)</td></tr> |
|
61 |
|
62 <tr><td class="memItemLeft" nowrap align="right" valign="top">UNS8 </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197">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> |
|
63 |
|
64 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#4361c24679b77c8c1466f0357fabaa6d">_post_sync</a> ()</td></tr> |
|
65 |
|
66 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="sync_8c.html#8098c6d131b8c2b779a8e06070c818da">_post_TPDO</a> ()</td></tr> |
|
67 |
|
68 </table> |
|
69 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
70 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT and Francis DUPIN </dd></dl> |
|
71 <dl class="date" compact><dt><b>Date:</b></dt><dd>Tue Jun 5 09:32:32 2007 </dd></dl> |
|
72 |
|
73 <p> |
|
74 Definition in file <a class="el" href="sync_8c-source.html">sync.c</a>.<hr><h2>Function Documentation</h2> |
|
75 <a class="anchor" name="4361c24679b77c8c1466f0357fabaa6d"></a><!-- doxytag: member="sync.c::_post_sync" ref="4361c24679b77c8c1466f0357fabaa6d" args="()" --> |
|
76 <div class="memitem"> |
|
77 <div class="memproto"> |
|
78 <table class="memname"> |
|
79 <tr> |
|
80 <td class="memname">void _post_sync </td> |
|
81 <td>(</td> |
|
82 <td class="paramtype">void </td> |
|
83 <td class="paramname"> </td> |
|
84 <td> ) </td> |
|
85 <td width="100%"></td> |
|
86 </tr> |
|
87 </table> |
|
88 </div> |
|
89 <div class="memdoc"> |
|
90 |
|
91 <p> |
|
92 |
|
93 <p> |
|
94 Definition at line <a class="el" href="sync_8c-source.html#l00164">164</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
|
95 </div> |
|
96 </div><p> |
|
97 <a class="anchor" name="8098c6d131b8c2b779a8e06070c818da"></a><!-- doxytag: member="sync.c::_post_TPDO" ref="8098c6d131b8c2b779a8e06070c818da" args="()" --> |
|
98 <div class="memitem"> |
|
99 <div class="memproto"> |
|
100 <table class="memname"> |
|
101 <tr> |
|
102 <td class="memname">void _post_TPDO </td> |
|
103 <td>(</td> |
|
104 <td class="paramtype">void </td> |
|
105 <td class="paramname"> </td> |
|
106 <td> ) </td> |
|
107 <td width="100%"></td> |
|
108 </tr> |
|
109 </table> |
|
110 </div> |
|
111 <div class="memdoc"> |
|
112 |
|
113 <p> |
|
114 |
|
115 <p> |
|
116 Definition at line <a class="el" href="sync_8c-source.html#l00165">165</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
|
117 </div> |
|
118 </div><p> |
|
119 <a class="anchor" name="9bcb477ec78154d3d0d0c9bb60392224"></a><!-- doxytag: member="sync.c::OnCOB_ID_SyncUpdate" ref="9bcb477ec78154d3d0d0c9bb60392224" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" --> |
|
120 <div class="memitem"> |
|
121 <div class="memproto"> |
|
122 <table class="memname"> |
|
123 <tr> |
|
124 <td class="memname">UNS32 OnCOB_ID_SyncUpdate </td> |
|
125 <td>(</td> |
|
126 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
127 <td class="paramname"> <em>d</em>, </td> |
|
128 </tr> |
|
129 <tr> |
|
130 <td class="paramkey"></td> |
|
131 <td></td> |
|
132 <td class="paramtype">const <a class="el" href="structtd__indextable.html">indextable</a> * </td> |
|
133 <td class="paramname"> <em>unsused_indextable</em>, </td> |
|
134 </tr> |
|
135 <tr> |
|
136 <td class="paramkey"></td> |
|
137 <td></td> |
|
138 <td class="paramtype">UNS8 </td> |
|
139 <td class="paramname"> <em>unsused_bSubindex</em></td><td> </td> |
|
140 </tr> |
|
141 <tr> |
|
142 <td></td> |
|
143 <td>)</td> |
|
144 <td></td><td></td><td width="100%"></td> |
|
145 </tr> |
|
146 </table> |
|
147 </div> |
|
148 <div class="memdoc"> |
|
149 |
|
150 <p> |
|
151 This is called when Index 0x1005 is updated.<p> |
|
152 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
153 <table border="0" cellspacing="2" cellpadding="0"> |
|
154 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
155 <tr><td valign="top"></td><td valign="top"><em>unsused_indextable</em> </td><td></td></tr> |
|
156 <tr><td valign="top"></td><td valign="top"><em>unsused_bSubindex</em> </td><td></td></tr> |
|
157 </table> |
|
158 </dl> |
|
159 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
160 |
|
161 <p> |
|
162 Definition at line <a class="el" href="sync_8c-source.html#l00069">69</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
|
163 <p> |
|
164 References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, and <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>. |
|
165 <p> |
|
166 Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>. |
|
167 <p> |
|
168 Here is the call graph for this function:<p><center><img src="sync_8c_9bcb477ec78154d3d0d0c9bb60392224_cgraph.png" border="0" usemap="#sync_8c_9bcb477ec78154d3d0d0c9bb60392224_cgraph_map" alt=""></center> |
|
169 <map name="sync_8c_9bcb477ec78154d3d0d0c9bb60392224_cgraph_map"> |
|
170 <area href="sync_8c.html#4a5d93c6c2b82b6449519b1143437ee9" shape="rect" coords="211,81,291,108" alt=""> |
|
171 <area href="objacces_8c.html#9a512a966532e40f35d3a4201bf54ead" shape="rect" coords="339,5,517,32" alt=""> |
|
172 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="392,56,464,83" alt=""> |
|
173 <area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="389,107,467,133" alt=""> |
|
174 <area href="sync_8c.html#4f6067ef03a5c85e07ddd817dd8d948f" shape="rect" coords="387,157,469,184" alt=""> |
|
175 <area href="objacces_8c.html#b2839d53051e322c12605c1d7f3dc4e5" shape="rect" coords="567,5,660,32" alt=""> |
|
176 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="576,107,651,133" alt=""> |
|
177 <area href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e" shape="rect" coords="573,157,653,184" alt=""> |
|
178 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="725,132,792,159" alt=""> |
|
179 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="709,183,808,209" alt=""> |
|
180 </map> |
|
181 |
|
182 </div> |
|
183 </div><p> |
|
184 <a class="anchor" name="89ae8cfbfc53c26248d5d91f689c7197"></a><!-- doxytag: member="sync.c::proceedSYNC" ref="89ae8cfbfc53c26248d5d91f689c7197" args="(CO_Data *d, Message *m)" --> |
|
185 <div class="memitem"> |
|
186 <div class="memproto"> |
|
187 <table class="memname"> |
|
188 <tr> |
|
189 <td class="memname">UNS8 proceedSYNC </td> |
|
190 <td>(</td> |
|
191 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
192 <td class="paramname"> <em>d</em>, </td> |
|
193 </tr> |
|
194 <tr> |
|
195 <td class="paramkey"></td> |
|
196 <td></td> |
|
197 <td class="paramtype"><a class="el" href="structMessage.html">Message</a> * </td> |
|
198 <td class="paramname"> <em>m</em></td><td> </td> |
|
199 </tr> |
|
200 <tr> |
|
201 <td></td> |
|
202 <td>)</td> |
|
203 <td></td><td></td><td width="100%"></td> |
|
204 </tr> |
|
205 </table> |
|
206 </div> |
|
207 <div class="memdoc"> |
|
208 |
|
209 <p> |
|
210 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
211 <table border="0" cellspacing="2" cellpadding="0"> |
|
212 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
213 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
|
214 </table> |
|
215 </dl> |
|
216 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
217 |
|
218 <p> |
|
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>. |
|
220 <p> |
|
221 References <a class="el" href="pdo_8c-source.html#l00442">_sendPDOevent()</a>, <a class="el" href="states_8h-source.html#l00055">s_state_communication::csPDO</a>, <a class="el" href="data_8h-source.html#l00062">struct_CO_Data::CurrentCommunicationState</a>, <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="hcs12_2applicfg_8h-source.html#l00190">MSG_WAR</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>, and <a class="el" href="hcs12_2applicfg_8h-source.html#l00139">UNS8</a>. |
|
222 <p> |
|
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>. |
|
224 <p> |
|
225 Here is the call graph for this function:<p><center><img src="sync_8c_89ae8cfbfc53c26248d5d91f689c7197_cgraph.png" border="0" usemap="#sync_8c_89ae8cfbfc53c26248d5d91f689c7197_cgraph_map" alt=""></center> |
|
226 <map name="sync_8c_89ae8cfbfc53c26248d5d91f689c7197_cgraph_map"> |
|
227 <area href="pdo_8c.html#fbf33713253ccf33f9277e31c78a6cb5" shape="rect" coords="153,208,260,235" alt=""> |
|
228 <area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="348,56,423,83" alt=""> |
|
229 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="352,107,419,133" alt=""> |
|
230 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="348,157,423,184" alt=""> |
|
231 <area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="313,208,457,235" alt=""> |
|
232 <area href="pdo_8c.html#adf6445208b9af9b11f66f66a5d1f1f9" shape="rect" coords="311,259,460,285" alt=""> |
|
233 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="349,309,421,336" alt=""> |
|
234 <area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="529,5,601,32" alt=""> |
|
235 <area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="524,56,607,83" alt=""> |
|
236 <area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="669,56,760,83" alt=""> |
|
237 <area href="objacces_8c.html#8577ef029b11faa6cfd1102f6bb10f59" shape="rect" coords="809,56,948,83" alt=""> |
|
238 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="509,107,621,133" alt=""> |
|
239 </map> |
|
240 |
|
241 </div> |
|
242 </div><p> |
|
243 <a class="anchor" name="9d242846e77a0792d2db7a455c4b955e"></a><!-- doxytag: member="sync.c::sendSYNC" ref="9d242846e77a0792d2db7a455c4b955e" args="(CO_Data *d, UNS32 cob_id)" --> |
|
244 <div class="memitem"> |
|
245 <div class="memproto"> |
|
246 <table class="memname"> |
|
247 <tr> |
|
248 <td class="memname">UNS8 sendSYNC </td> |
|
249 <td>(</td> |
|
250 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
251 <td class="paramname"> <em>d</em>, </td> |
|
252 </tr> |
|
253 <tr> |
|
254 <td class="paramkey"></td> |
|
255 <td></td> |
|
256 <td class="paramtype">UNS32 </td> |
|
257 <td class="paramname"> <em>cob_id</em></td><td> </td> |
|
258 </tr> |
|
259 <tr> |
|
260 <td></td> |
|
261 <td>)</td> |
|
262 <td></td><td></td><td width="100%"></td> |
|
263 </tr> |
|
264 </table> |
|
265 </div> |
|
266 <div class="memdoc"> |
|
267 |
|
268 <p> |
|
269 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
270 <table border="0" cellspacing="2" cellpadding="0"> |
|
271 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
272 <tr><td valign="top"></td><td valign="top"><em>cob_id</em> </td><td></td></tr> |
|
273 </table> |
|
274 </dl> |
|
275 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
276 |
|
277 <p> |
|
278 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>. |
|
279 <p> |
|
280 References <a class="el" href="data_8h-source.html#l00087">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>. |
|
281 <p> |
|
282 Referenced by <a class="el" href="sync_8c-source.html#l00055">SyncAlarm()</a>. |
|
283 <p> |
|
284 Here is the call graph for this function:<p><center><img src="sync_8c_9d242846e77a0792d2db7a455c4b955e_cgraph.png" border="0" usemap="#sync_8c_9d242846e77a0792d2db7a455c4b955e_cgraph_map" alt=""></center> |
|
285 <map name="sync_8c_9d242846e77a0792d2db7a455c4b955e_cgraph_map"> |
|
286 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="483,5,549,32" alt=""> |
|
287 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="136,107,235,133" alt=""> |
|
288 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="640,5,752,32" alt=""> |
|
289 <area href="pdo_8c.html#fbf33713253ccf33f9277e31c78a6cb5" shape="rect" coords="284,157,391,184" alt=""> |
|
290 <area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="479,56,553,83" alt=""> |
|
291 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="479,107,553,133" alt=""> |
|
292 <area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="444,157,588,184" alt=""> |
|
293 <area href="pdo_8c.html#adf6445208b9af9b11f66f66a5d1f1f9" shape="rect" coords="441,208,591,235" alt=""> |
|
294 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="480,259,552,285" alt=""> |
|
295 <area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="660,56,732,83" alt=""> |
|
296 <area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="655,107,737,133" alt=""> |
|
297 <area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="800,107,891,133" alt=""> |
|
298 </map> |
|
299 |
|
300 </div> |
|
301 </div><p> |
|
302 <a class="anchor" name="4a5d93c6c2b82b6449519b1143437ee9"></a><!-- doxytag: member="sync.c::startSYNC" ref="4a5d93c6c2b82b6449519b1143437ee9" args="(CO_Data *d)" --> |
|
303 <div class="memitem"> |
|
304 <div class="memproto"> |
|
305 <table class="memname"> |
|
306 <tr> |
|
307 <td class="memname">void startSYNC </td> |
|
308 <td>(</td> |
|
309 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
310 <td class="paramname"> <em>d</em> </td> |
|
311 <td> ) </td> |
|
312 <td width="100%"></td> |
|
313 </tr> |
|
314 </table> |
|
315 </div> |
|
316 <div class="memdoc"> |
|
317 |
|
318 <p> |
|
319 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
320 <table border="0" cellspacing="2" cellpadding="0"> |
|
321 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
322 </table> |
|
323 </dl> |
|
324 |
|
325 <p> |
|
326 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>. |
|
327 <p> |
|
328 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>. |
|
329 <p> |
|
330 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>. |
|
331 <p> |
|
332 Here is the call graph for this function:<p><center><img src="sync_8c_4a5d93c6c2b82b6449519b1143437ee9_cgraph.png" border="0" usemap="#sync_8c_4a5d93c6c2b82b6449519b1143437ee9_cgraph_map" alt=""></center> |
|
333 <map name="sync_8c_4a5d93c6c2b82b6449519b1143437ee9_cgraph_map"> |
|
334 <area href="sync_8c.html#9bcb477ec78154d3d0d0c9bb60392224" shape="rect" coords="144,5,301,32" alt=""> |
|
335 <area href="objacces_8c.html#9a512a966532e40f35d3a4201bf54ead" shape="rect" coords="133,56,312,83" alt=""> |
|
336 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="187,107,259,133" alt=""> |
|
337 <area href="sync_8c.html#3b95ed533faac10bd1f2eabc649e92f4" shape="rect" coords="184,157,261,184" alt=""> |
|
338 <area href="sync_8c.html#4f6067ef03a5c85e07ddd817dd8d948f" shape="rect" coords="181,208,264,235" alt=""> |
|
339 <area href="objacces_8c.html#b2839d53051e322c12605c1d7f3dc4e5" shape="rect" coords="361,56,455,83" alt=""> |
|
340 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="371,157,445,184" alt=""> |
|
341 <area href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e" shape="rect" coords="368,208,448,235" alt=""> |
|
342 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="520,183,587,209" alt=""> |
|
343 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="504,233,603,260" alt=""> |
|
344 </map> |
|
345 |
|
346 </div> |
|
347 </div><p> |
|
348 <a class="anchor" name="3b95ed533faac10bd1f2eabc649e92f4"></a><!-- doxytag: member="sync.c::stopSYNC" ref="3b95ed533faac10bd1f2eabc649e92f4" args="(CO_Data *d)" --> |
|
349 <div class="memitem"> |
|
350 <div class="memproto"> |
|
351 <table class="memname"> |
|
352 <tr> |
|
353 <td class="memname">void stopSYNC </td> |
|
354 <td>(</td> |
|
355 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
356 <td class="paramname"> <em>d</em> </td> |
|
357 <td> ) </td> |
|
358 <td width="100%"></td> |
|
359 </tr> |
|
360 </table> |
|
361 </div> |
|
362 <div class="memdoc"> |
|
363 |
|
364 <p> |
|
365 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
366 <table border="0" cellspacing="2" cellpadding="0"> |
|
367 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
368 </table> |
|
369 </dl> |
|
370 |
|
371 <p> |
|
372 Definition at line <a class="el" href="sync_8c-source.html#l00105">105</a> of file <a class="el" href="sync_8c-source.html">sync.c</a>. |
|
373 <p> |
|
374 References <a class="el" href="timer_8h-source.html#l00045">struct_s_timer_entry::d</a>, <a class="el" href="timer_8c-source.html#l00112">DelAlarm()</a>, and <a class="el" href="data_8h-source.html#l00078">struct_CO_Data::syncTimer</a>. |
|
375 <p> |
|
376 Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
|
377 <p> |
|
378 Here is the call graph for this function:<p><center><img src="sync_8c_3b95ed533faac10bd1f2eabc649e92f4_cgraph.png" border="0" usemap="#sync_8c_3b95ed533faac10bd1f2eabc649e92f4_cgraph_map" alt=""></center> |
|
379 <map name="sync_8c_3b95ed533faac10bd1f2eabc649e92f4_cgraph_map"> |
|
380 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="133,5,208,32" alt=""> |
|
381 </map> |
|
382 |
|
383 </div> |
|
384 </div><p> |
|
385 <a class="anchor" name="4f6067ef03a5c85e07ddd817dd8d948f"></a><!-- doxytag: member="sync.c::SyncAlarm" ref="4f6067ef03a5c85e07ddd817dd8d948f" args="(CO_Data *d, UNS32 id)" --> |
|
386 <div class="memitem"> |
|
387 <div class="memproto"> |
|
388 <table class="memname"> |
|
389 <tr> |
|
390 <td class="memname">void SyncAlarm </td> |
|
391 <td>(</td> |
|
392 <td class="paramtype"><a class="el" href="structstruct__CO__Data.html">CO_Data</a> * </td> |
|
393 <td class="paramname"> <em>d</em>, </td> |
|
394 </tr> |
|
395 <tr> |
|
396 <td class="paramkey"></td> |
|
397 <td></td> |
|
398 <td class="paramtype">UNS32 </td> |
|
399 <td class="paramname"> <em>id</em></td><td> </td> |
|
400 </tr> |
|
401 <tr> |
|
402 <td></td> |
|
403 <td>)</td> |
|
404 <td></td><td></td><td width="100%"></td> |
|
405 </tr> |
|
406 </table> |
|
407 </div> |
|
408 <div class="memdoc"> |
|
409 |
|
410 <p> |
|
411 <dl compact><dt><b>Parameters:</b></dt><dd> |
|
412 <table border="0" cellspacing="2" cellpadding="0"> |
|
413 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
414 <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr> |
|
415 </table> |
|
416 </dl> |
|
417 |
|
418 <p> |
|
419 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>. |
|
420 <p> |
|
421 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>. |
|
422 <p> |
|
423 Referenced by <a class="el" href="sync_8c-source.html#l00080">startSYNC()</a>. |
|
424 <p> |
|
425 Here is the call graph for this function:<p><center><img src="sync_8c_4f6067ef03a5c85e07ddd817dd8d948f_cgraph.png" border="0" usemap="#sync_8c_4f6067ef03a5c85e07ddd817dd8d948f_cgraph_map" alt=""></center> |
|
426 <map name="sync_8c_4f6067ef03a5c85e07ddd817dd8d948f_cgraph_map"> |
|
427 <area href="sync_8c.html#9d242846e77a0792d2db7a455c4b955e" shape="rect" coords="137,69,217,96" alt=""> |
|
428 <area href="canOpenDriver_8c.html#fab789b9b2ee0ab6c6f27e67d6c03661" shape="rect" coords="613,5,680,32" alt=""> |
|
429 <area href="sync_8c.html#89ae8cfbfc53c26248d5d91f689c7197" shape="rect" coords="267,107,365,133" alt=""> |
|
430 <area href="canOpenDriver_8c.html#cd855997446329e6b6338fe8644edf11" shape="rect" coords="771,5,883,32" alt=""> |
|
431 <area href="pdo_8c.html#fbf33713253ccf33f9277e31c78a6cb5" shape="rect" coords="415,157,521,184" alt=""> |
|
432 <area href="pdo_8c.html#06b1b812ca18d3167243fb2b2acb6414" shape="rect" coords="609,56,684,83" alt=""> |
|
433 <area href="timer_8c.html#12fe6467e1df03cc40dd6f76123c99f6" shape="rect" coords="609,107,684,133" alt=""> |
|
434 <area href="pdo_8c.html#1e6f0540474e95f2928151efec83ccb6" shape="rect" coords="575,157,719,184" alt=""> |
|
435 <area href="pdo_8c.html#adf6445208b9af9b11f66f66a5d1f1f9" shape="rect" coords="572,208,721,235" alt=""> |
|
436 <area href="timer_8c.html#956b22f24089db4c367f40199f838a20" shape="rect" coords="611,259,683,285" alt=""> |
|
437 <area href="pdo_8c.html#ad755ad656fe0f661ca6bd17acb1245a" shape="rect" coords="791,56,863,83" alt=""> |
|
438 <area href="objacces_8c.html#cad0c118b1e06230c9cceb8e3985822b" shape="rect" coords="785,107,868,133" alt=""> |
|
439 <area href="objacces_8c.html#6a3eb5cb9f79f3bee030bfbb6fdd7711" shape="rect" coords="931,107,1021,133" alt=""> |
|
440 </map> |
|
441 |
|
442 </div> |
|
443 </div><p> |
|
444 <hr size="1"><address style="align: right;"><small>Generated on Mon Jul 2 19:10:42 2007 for CanFestival by |
|
445 <a href="http://www.doxygen.org/index.html"> |
|
446 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
|
447 </body> |
|
448 </html> |
|