18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c File Reference</h1><code>#include <data.h></code><br> |
18 <h1>/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c File Reference</h1><code>#include <data.h></code><br> |
19 <code>#include "lifegrd.h"</code><br> |
19 <code>#include "lifegrd.h"</code><br> |
20 <code>#include "canfestival.h"</code><br> |
20 <code>#include "canfestival.h"</code><br> |
21 |
21 |
22 <p> |
22 <p> |
|
23 Include dependency graph for lifegrd.c:<p><center><img src="lifegrd_8c__incl.png" border="0" usemap="#/home/epimerde/documents/tc11/CanFestival-3/src/lifegrd.c_map" alt=""></center> |
|
24 |
|
25 <p> |
23 <a href="lifegrd_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
26 <a href="lifegrd_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
24 <tr><td></td></tr> |
27 <tr><td></td></tr> |
25 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
28 <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
26 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198">ConsumerHearbeatAlarm</a> (CO_Data *d, UNS32 id)</td></tr> |
29 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198">ConsumerHearbeatAlarm</a> (CO_Data *d, UNS32 id)</td></tr> |
27 |
30 |
40 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7">heartbeatStop</a> (CO_Data *d)</td></tr> |
43 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7">heartbeatStop</a> (CO_Data *d)</td></tr> |
41 |
44 |
42 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#5249eb891f5677b80ccf01e604748524">_heartbeatError</a> (UNS8 heartbeatID)</td></tr> |
45 <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="lifegrd_8c.html#5249eb891f5677b80ccf01e604748524">_heartbeatError</a> (UNS8 heartbeatID)</td></tr> |
43 |
46 |
44 </table> |
47 </table> |
45 <hr><h2>Function Documentation</h2> |
48 <hr><a name="_details"></a><h2>Detailed Description</h2> |
|
49 <dl class="author" compact><dt><b>Author:</b></dt><dd>Edouard TISSERANT </dd></dl> |
|
50 <dl class="date" compact><dt><b>Date:</b></dt><dd>Mon Jun 4 17:19:24 2007 </dd></dl> |
|
51 |
|
52 <p> |
|
53 Definition in file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>.<hr><h2>Function Documentation</h2> |
46 <a class="anchor" name="5249eb891f5677b80ccf01e604748524"></a><!-- doxytag: member="lifegrd.c::_heartbeatError" ref="5249eb891f5677b80ccf01e604748524" args="(UNS8 heartbeatID)" --> |
54 <a class="anchor" name="5249eb891f5677b80ccf01e604748524"></a><!-- doxytag: member="lifegrd.c::_heartbeatError" ref="5249eb891f5677b80ccf01e604748524" args="(UNS8 heartbeatID)" --> |
47 <div class="memitem"> |
55 <div class="memitem"> |
48 <div class="memproto"> |
56 <div class="memproto"> |
49 <table class="memname"> |
57 <table class="memname"> |
50 <tr> |
58 <tr> |
58 </table> |
66 </table> |
59 </div> |
67 </div> |
60 <div class="memdoc"> |
68 <div class="memdoc"> |
61 |
69 |
62 <p> |
70 <p> |
63 |
71 <dl compact><dt><b>Parameters:</b></dt><dd> |
64 <p> |
72 <table border="0" cellspacing="2" cellpadding="0"> |
65 Definition at line <a class="el" href="lifegrd_8c-source.html#l00184">184</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
73 <tr><td valign="top"></td><td valign="top"><em>heartbeatID</em> </td><td></td></tr> |
|
74 </table> |
|
75 </dl> |
|
76 |
|
77 <p> |
|
78 Definition at line <a class="el" href="lifegrd_8c-source.html#l00252">252</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
66 </div> |
79 </div> |
67 </div><p> |
80 </div><p> |
68 <a class="anchor" name="e3cd4656f5b2a37d4b8d364293538198"></a><!-- doxytag: member="lifegrd.c::ConsumerHearbeatAlarm" ref="e3cd4656f5b2a37d4b8d364293538198" args="(CO_Data *d, UNS32 id)" --> |
81 <a class="anchor" name="e3cd4656f5b2a37d4b8d364293538198"></a><!-- doxytag: member="lifegrd.c::ConsumerHearbeatAlarm" ref="e3cd4656f5b2a37d4b8d364293538198" args="(CO_Data *d, UNS32 id)" --> |
69 <div class="memitem"> |
82 <div class="memitem"> |
70 <div class="memproto"> |
83 <div class="memproto"> |
89 </table> |
102 </table> |
90 </div> |
103 </div> |
91 <div class="memdoc"> |
104 <div class="memdoc"> |
92 |
105 |
93 <p> |
106 <p> |
94 |
107 The Consumer Timer Callback<p> |
95 <p> |
108 <dl compact><dt><b>Parameters:</b></dt><dd> |
96 Definition at line <a class="el" href="lifegrd_8c-source.html#l00041">41</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
109 <table border="0" cellspacing="2" cellpadding="0"> |
|
110 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
111 <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr> |
|
112 </table> |
|
113 </dl> |
|
114 |
|
115 <p> |
|
116 call heartbeat error with NodeId |
|
117 <p> |
|
118 Definition at line <a class="el" href="lifegrd_8c-source.html#l00067">67</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
|
119 <p> |
|
120 Referenced by <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, and <a class="el" href="lifegrd_8c-source.html#l00081">proceedNODE_GUARD()</a>. |
97 </div> |
121 </div> |
98 </div><p> |
122 </div><p> |
99 <a class="anchor" name="627254070e45c23f1776e12c524492ff"></a><!-- doxytag: member="lifegrd.c::getNodeState" ref="627254070e45c23f1776e12c524492ff" args="(CO_Data *d, UNS8 nodeId)" --> |
123 <a class="anchor" name="627254070e45c23f1776e12c524492ff"></a><!-- doxytag: member="lifegrd.c::getNodeState" ref="627254070e45c23f1776e12c524492ff" args="(CO_Data *d, UNS8 nodeId)" --> |
100 <div class="memitem"> |
124 <div class="memitem"> |
101 <div class="memproto"> |
125 <div class="memproto"> |
120 </table> |
144 </table> |
121 </div> |
145 </div> |
122 <div class="memdoc"> |
146 <div class="memdoc"> |
123 |
147 |
124 <p> |
148 <p> |
125 |
149 <dl compact><dt><b>Parameters:</b></dt><dd> |
126 <p> |
150 <table border="0" cellspacing="2" cellpadding="0"> |
127 Definition at line <a class="el" href="lifegrd_8c-source.html#l00033">33</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
151 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
|
152 <tr><td valign="top"></td><td valign="top"><em>nodeId</em> </td><td></td></tr> |
|
153 </table> |
|
154 </dl> |
|
155 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
156 |
|
157 <p> |
|
158 Definition at line <a class="el" href="lifegrd_8c-source.html#l00055">55</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
128 </div> |
159 </div> |
129 </div><p> |
160 </div><p> |
130 <a class="anchor" name="8896f6846e4d020390f6953f3d98aa21"></a><!-- doxytag: member="lifegrd.c::heartbeatInit" ref="8896f6846e4d020390f6953f3d98aa21" args="(CO_Data *d)" --> |
161 <a class="anchor" name="8896f6846e4d020390f6953f3d98aa21"></a><!-- doxytag: member="lifegrd.c::heartbeatInit" ref="8896f6846e4d020390f6953f3d98aa21" args="(CO_Data *d)" --> |
131 <div class="memitem"> |
162 <div class="memitem"> |
132 <div class="memproto"> |
163 <div class="memproto"> |
142 </table> |
173 </table> |
143 </div> |
174 </div> |
144 <div class="memdoc"> |
175 <div class="memdoc"> |
145 |
176 |
146 <p> |
177 <p> |
147 |
178 <dl compact><dt><b>Parameters:</b></dt><dd> |
148 <p> |
179 <table border="0" cellspacing="2" cellpadding="0"> |
149 Definition at line <a class="el" href="lifegrd_8c-source.html#l00147">147</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
180 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
150 <p> |
181 </table> |
151 References <a class="el" href="lifegrd_8c-source.html#l00041">ConsumerHearbeatAlarm()</a>, <a class="el" href="lifegrd_8c-source.html#l00139">OnHeartbeatProducerUpdate()</a>, <a class="el" href="lifegrd_8c-source.html#l00113">ProducerHearbeatAlarm()</a>, <a class="el" href="objacces_8c-source.html#l00297">RegisterSetODentryCallBack()</a>, and <a class="el" href="timer_8c-source.html#l00038">SetAlarm()</a>. |
182 </dl> |
|
183 |
|
184 <p> |
|
185 Index to scan the table of heartbeat consumers<p> |
|
186 MSG_WAR(0x3121, "should_time : ", should_time ) ; |
|
187 <p> |
|
188 Definition at line <a class="el" href="lifegrd_8c-source.html#l00206">206</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
|
189 <p> |
|
190 References <a class="el" href="lifegrd_8c-source.html#l00067">ConsumerHearbeatAlarm()</a>, <a class="el" href="lifegrd_8c-source.html#l00194">OnHeartbeatProducerUpdate()</a>, <a class="el" href="lifegrd_8c-source.html#l00161">ProducerHearbeatAlarm()</a>, <a class="el" href="objacces_8c-source.html#l00419">RegisterSetODentryCallBack()</a>, and <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>. |
|
191 <p> |
|
192 Referenced by <a class="el" href="lifegrd_8c-source.html#l00194">OnHeartbeatProducerUpdate()</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
|
193 <p> |
|
194 Here is the call graph for this function:<p><center><img src="lifegrd_8c_8896f6846e4d020390f6953f3d98aa21_cgraph.png" border="0" usemap="#lifegrd_8c_8896f6846e4d020390f6953f3d98aa21_cgraph_map" alt=""></center> |
|
195 <map name="lifegrd_8c_8896f6846e4d020390f6953f3d98aa21_cgraph_map"> |
|
196 <area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="176,5,368,29" alt=""> |
|
197 <area href="lifegrd_8c.html#098c81fb9326fb2c7b43e88a55ce1368" shape="rect" coords="164,53,380,77" alt=""> |
|
198 <area href="lifegrd_8c.html#626b7d9e527a898682d9122f91454de9" shape="rect" coords="429,103,613,127" alt=""> |
|
199 <area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="165,152,379,176" alt=""> |
|
200 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="231,200,313,224" alt=""> |
|
201 <area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="463,55,580,79" alt=""> |
|
202 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="663,79,745,103" alt=""> |
|
203 <area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="465,152,577,176" alt=""> |
|
204 </map> |
|
205 |
152 </div> |
206 </div> |
153 </div><p> |
207 </div><p> |
154 <a class="anchor" name="1b73047269c2a02065e12af18c6053c7"></a><!-- doxytag: member="lifegrd.c::heartbeatStop" ref="1b73047269c2a02065e12af18c6053c7" args="(CO_Data *d)" --> |
208 <a class="anchor" name="1b73047269c2a02065e12af18c6053c7"></a><!-- doxytag: member="lifegrd.c::heartbeatStop" ref="1b73047269c2a02065e12af18c6053c7" args="(CO_Data *d)" --> |
155 <div class="memitem"> |
209 <div class="memitem"> |
156 <div class="memproto"> |
210 <div class="memproto"> |
166 </table> |
220 </table> |
167 </div> |
221 </div> |
168 <div class="memdoc"> |
222 <div class="memdoc"> |
169 |
223 |
170 <p> |
224 <p> |
171 |
225 <dl compact><dt><b>Parameters:</b></dt><dd> |
172 <p> |
226 <table border="0" cellspacing="2" cellpadding="0"> |
173 Definition at line <a class="el" href="lifegrd_8c-source.html#l00173">173</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
227 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
174 <p> |
228 </table> |
175 References <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>. |
229 </dl> |
|
230 |
|
231 <p> |
|
232 Definition at line <a class="el" href="lifegrd_8c-source.html#l00236">236</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
|
233 <p> |
|
234 References <a class="el" href="timer_8c-source.html#l00112">DelAlarm()</a>. |
|
235 <p> |
|
236 Referenced by <a class="el" href="lifegrd_8c-source.html#l00194">OnHeartbeatProducerUpdate()</a>, and <a class="el" href="states_8c-source.html#l00120">switchCommunicationState()</a>. |
|
237 <p> |
|
238 Here is the call graph for this function:<p><center><img src="lifegrd_8c_1b73047269c2a02065e12af18c6053c7_cgraph.png" border="0" usemap="#lifegrd_8c_1b73047269c2a02065e12af18c6053c7_cgraph_map" alt=""></center> |
|
239 <map name="lifegrd_8c_1b73047269c2a02065e12af18c6053c7_cgraph_map"> |
|
240 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="175,6,257,30" alt=""> |
|
241 </map> |
|
242 |
176 </div> |
243 </div> |
177 </div><p> |
244 </div><p> |
178 <a class="anchor" name="ec7b3543d04cf7d7098b27fba2510696"></a><!-- doxytag: member="lifegrd.c::OnHearbeatProducerUpdate" ref="ec7b3543d04cf7d7098b27fba2510696" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" --> |
245 <a class="anchor" name="ec7b3543d04cf7d7098b27fba2510696"></a><!-- doxytag: member="lifegrd.c::OnHearbeatProducerUpdate" ref="ec7b3543d04cf7d7098b27fba2510696" args="(CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex)" --> |
179 <div class="memitem"> |
246 <div class="memitem"> |
180 <div class="memproto"> |
247 <div class="memproto"> |
240 </table> |
307 </table> |
241 </div> |
308 </div> |
242 <div class="memdoc"> |
309 <div class="memdoc"> |
243 |
310 |
244 <p> |
311 <p> |
245 |
312 This is called when Index 0x1017 is updated.<p> |
246 <p> |
313 <dl compact><dt><b>Parameters:</b></dt><dd> |
247 Definition at line <a class="el" href="lifegrd_8c-source.html#l00139">139</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
314 <table border="0" cellspacing="2" cellpadding="0"> |
248 <p> |
315 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
249 References <a class="el" href="lifegrd_8c-source.html#l00147">heartbeatInit()</a>, and <a class="el" href="lifegrd_8c-source.html#l00173">heartbeatStop()</a>. |
316 <tr><td valign="top"></td><td valign="top"><em>unsused_indextable</em> </td><td></td></tr> |
|
317 <tr><td valign="top"></td><td valign="top"><em>unsused_bSubindex</em> </td><td></td></tr> |
|
318 </table> |
|
319 </dl> |
|
320 <dl class="return" compact><dt><b>Returns:</b></dt><dd></dd></dl> |
|
321 |
|
322 <p> |
|
323 Definition at line <a class="el" href="lifegrd_8c-source.html#l00194">194</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
|
324 <p> |
|
325 References <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>, and <a class="el" href="lifegrd_8c-source.html#l00236">heartbeatStop()</a>. |
|
326 <p> |
|
327 Referenced by <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>. |
|
328 <p> |
|
329 Here is the call graph for this function:<p><center><img src="lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368_cgraph.png" border="0" usemap="#lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368_cgraph_map" alt=""></center> |
|
330 <map name="lifegrd_8c_098c81fb9326fb2c7b43e88a55ce1368_cgraph_map"> |
|
331 <area href="lifegrd_8c.html#8896f6846e4d020390f6953f3d98aa21" shape="rect" coords="278,101,387,125" alt=""> |
|
332 <area href="lifegrd_8c.html#1b73047269c2a02065e12af18c6053c7" shape="rect" coords="274,173,391,197" alt=""> |
|
333 <area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="451,101,643,125" alt=""> |
|
334 <area href="lifegrd_8c.html#626b7d9e527a898682d9122f91454de9" shape="rect" coords="455,149,639,173" alt=""> |
|
335 <area href="objacces_8c.html#514e7b9c13835a86446b1cd38fa34049" shape="rect" coords="440,5,654,29" alt=""> |
|
336 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="506,53,588,77" alt=""> |
|
337 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="716,175,799,199" alt=""> |
|
338 <area href="objacces_8c.html#11e9f24840d05a6a622955b51f91af53" shape="rect" coords="702,5,814,29" alt=""> |
|
339 </map> |
|
340 |
250 </div> |
341 </div> |
251 </div><p> |
342 </div><p> |
252 <a class="anchor" name="b3248945e06e8b05518beddf665f174d"></a><!-- doxytag: member="lifegrd.c::proceedNODE_GUARD" ref="b3248945e06e8b05518beddf665f174d" args="(CO_Data *d, Message *m)" --> |
343 <a class="anchor" name="b3248945e06e8b05518beddf665f174d"></a><!-- doxytag: member="lifegrd.c::proceedNODE_GUARD" ref="b3248945e06e8b05518beddf665f174d" args="(CO_Data *d, Message *m)" --> |
253 <div class="memitem"> |
344 <div class="memitem"> |
254 <div class="memproto"> |
345 <div class="memproto"> |
273 </table> |
364 </table> |
274 </div> |
365 </div> |
275 <div class="memdoc"> |
366 <div class="memdoc"> |
276 |
367 |
277 <p> |
368 <p> |
278 |
369 <dl compact><dt><b>Parameters:</b></dt><dd> |
279 <p> |
370 <table border="0" cellspacing="2" cellpadding="0"> |
280 Definition at line <a class="el" href="lifegrd_8c-source.html#l00050">50</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
371 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
281 <p> |
372 <tr><td valign="top"></td><td valign="top"><em>m</em> </td><td></td></tr> |
282 References <a class="el" href="lifegrd_8c-source.html#l00041">ConsumerHearbeatAlarm()</a>, <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>, and <a class="el" href="timer_8c-source.html#l00038">SetAlarm()</a>. |
373 </table> |
|
374 </dl> |
|
375 |
|
376 <p> |
|
377 Notice that only the master can have sent this node guarding request<p> |
|
378 Receiving a NMT NodeGuarding (request of the state by the master) Only answer to the NMT NodeGuarding request, the master is not checked (not implemented)<p> |
|
379 send the nodeguard response.<p> |
|
380 Not a request CAN<p> |
|
381 the slave's state receievd is stored in the NMTable<p> |
|
382 The state is stored on 7 bit<p> |
|
383 Boot-Up frame reception<p> |
|
384 The device send the boot-up message (Initialisation) to indicate the master that it is entered in pre_operational mode Because the device enter automaticaly in pre_operational mode, the pre_operational mode is stored NMTable[bus_id][nodeId] = Pre_operational |
|
385 <p> |
|
386 Definition at line <a class="el" href="lifegrd_8c-source.html#l00081">81</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
|
387 <p> |
|
388 References <a class="el" href="lifegrd_8c-source.html#l00067">ConsumerHearbeatAlarm()</a>, <a class="el" href="timer_8c-source.html#l00112">DelAlarm()</a>, and <a class="el" href="timer_8c-source.html#l00057">SetAlarm()</a>. |
|
389 <p> |
|
390 Referenced by <a class="el" href="states_8c-source.html#l00065">canDispatch()</a>. |
|
391 <p> |
|
392 Here is the call graph for this function:<p><center><img src="lifegrd_8c_b3248945e06e8b05518beddf665f174d_cgraph.png" border="0" usemap="#lifegrd_8c_b3248945e06e8b05518beddf665f174d_cgraph_map" alt=""></center> |
|
393 <map name="lifegrd_8c_b3248945e06e8b05518beddf665f174d_cgraph_map"> |
|
394 <area href="lifegrd_8c.html#e3cd4656f5b2a37d4b8d364293538198" shape="rect" coords="228,6,420,30" alt=""> |
|
395 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="283,54,366,78" alt=""> |
|
396 <area href="timer_8c.html#11c2616d78f06ed9144ef662f757b128" shape="rect" coords="283,102,366,126" alt=""> |
|
397 </map> |
|
398 |
283 </div> |
399 </div> |
284 </div><p> |
400 </div><p> |
285 <a class="anchor" name="626b7d9e527a898682d9122f91454de9"></a><!-- doxytag: member="lifegrd.c::ProducerHearbeatAlarm" ref="626b7d9e527a898682d9122f91454de9" args="(CO_Data *d, UNS32 id)" --> |
401 <a class="anchor" name="626b7d9e527a898682d9122f91454de9"></a><!-- doxytag: member="lifegrd.c::ProducerHearbeatAlarm" ref="626b7d9e527a898682d9122f91454de9" args="(CO_Data *d, UNS32 id)" --> |
286 <div class="memitem"> |
402 <div class="memitem"> |
287 <div class="memproto"> |
403 <div class="memproto"> |
306 </table> |
422 </table> |
307 </div> |
423 </div> |
308 <div class="memdoc"> |
424 <div class="memdoc"> |
309 |
425 |
310 <p> |
426 <p> |
311 |
427 The Consumer Timer Callback<p> |
312 <p> |
428 <dl compact><dt><b>Parameters:</b></dt><dd> |
313 Definition at line <a class="el" href="lifegrd_8c-source.html#l00113">113</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
429 <table border="0" cellspacing="2" cellpadding="0"> |
314 <p> |
430 <tr><td valign="top"></td><td valign="top"><em>d</em> </td><td></td></tr> |
315 References <a class="el" href="timer_8c-source.html#l00087">DelAlarm()</a>. |
431 <tr><td valign="top"></td><td valign="top"><em>id</em> </td><td></td></tr> |
316 </div> |
432 </table> |
317 </div><p> |
433 </dl> |
318 <hr size="1"><address style="align: right;"><small>Generated on Mon Jun 4 17:09:27 2007 for CanFestival by |
434 |
|
435 <p> |
|
436 Time expired, the heartbeat must be sent immediately generate the correct node-id: this is done by the offset 1792 (decimal) and additionaly the node-id of this device.<p> |
|
437 No toggle for heartbeat !<p> |
|
438 send the heartbeat |
|
439 <p> |
|
440 Definition at line <a class="el" href="lifegrd_8c-source.html#l00161">161</a> of file <a class="el" href="lifegrd_8c-source.html">lifegrd.c</a>. |
|
441 <p> |
|
442 References <a class="el" href="timer_8c-source.html#l00112">DelAlarm()</a>. |
|
443 <p> |
|
444 Referenced by <a class="el" href="lifegrd_8c-source.html#l00206">heartbeatInit()</a>. |
|
445 <p> |
|
446 Here is the call graph for this function:<p><center><img src="lifegrd_8c_626b7d9e527a898682d9122f91454de9_cgraph.png" border="0" usemap="#lifegrd_8c_626b7d9e527a898682d9122f91454de9_cgraph_map" alt=""></center> |
|
447 <map name="lifegrd_8c_626b7d9e527a898682d9122f91454de9_cgraph_map"> |
|
448 <area href="timer_8c.html#991b3cfaac2f201b14d5530f75985c21" shape="rect" coords="239,6,321,30" alt=""> |
|
449 </map> |
|
450 |
|
451 </div> |
|
452 </div><p> |
|
453 <hr size="1"><address style="align: right;"><small>Generated on Tue Jun 5 18:32:06 2007 for CanFestival by |
319 <a href="http://www.doxygen.org/index.html"> |
454 <a href="http://www.doxygen.org/index.html"> |
320 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
455 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> |
321 </body> |
456 </body> |
322 </html> |
457 </html> |