diff -r 2cb34a4ac65a -r 6b5a4c21e061 doc/doxygen/html/lifegrd_8c.html --- a/doc/doxygen/html/lifegrd_8c.html Tue Jun 05 17:34:33 2007 +0200 +++ b/doc/doxygen/html/lifegrd_8c.html Tue Jun 05 18:43:21 2007 +0200 @@ -20,6 +20,9 @@ #include "canfestival.h"

+Include dependency graph for lifegrd.c:

+ +

Go to the source code of this file. @@ -42,7 +45,12 @@

Functions

void _heartbeatError (UNS8 heartbeatID)
-


Function Documentation

+

Detailed Description

+
Author:
Edouard TISSERANT
+
Date:
Mon Jun 4 17:19:24 2007
+ +

+Definition in file lifegrd.c.


Function Documentation

@@ -60,9 +68,14 @@

- -

-Definition at line 184 of file lifegrd.c. +

Parameters:
+ + +
heartbeatID 
+
+ +

+Definition at line 252 of file lifegrd.c.

@@ -91,9 +104,20 @@

- -

-Definition at line 41 of file lifegrd.c. +The Consumer Timer Callback

+

Parameters:
+ + + +
d 
id 
+
+ +

+call heartbeat error with NodeId +

+Definition at line 67 of file lifegrd.c. +

+Referenced by heartbeatInit(), and proceedNODE_GUARD().

@@ -122,9 +146,16 @@

- -

-Definition at line 33 of file lifegrd.c. +

Parameters:
+ + + +
d 
nodeId 
+
+
Returns:
+ +

+Definition at line 55 of file lifegrd.c.

@@ -144,11 +175,34 @@

- -

-Definition at line 147 of file lifegrd.c. -

-References ConsumerHearbeatAlarm(), OnHeartbeatProducerUpdate(), ProducerHearbeatAlarm(), RegisterSetODentryCallBack(), and SetAlarm(). +

Parameters:
+ + +
d 
+
+ +

+Index to scan the table of heartbeat consumers

+MSG_WAR(0x3121, "should_time : ", should_time ) ; +

+Definition at line 206 of file lifegrd.c. +

+References ConsumerHearbeatAlarm(), OnHeartbeatProducerUpdate(), ProducerHearbeatAlarm(), RegisterSetODentryCallBack(), and SetAlarm(). +

+Referenced by OnHeartbeatProducerUpdate(), and switchCommunicationState(). +

+Here is the call graph for this function:

+ + + + + + + + + + +

@@ -168,11 +222,24 @@

- -

-Definition at line 173 of file lifegrd.c. -

-References DelAlarm(). +

Parameters:
+ + +
d 
+
+ +

+Definition at line 236 of file lifegrd.c. +

+References DelAlarm(). +

+Referenced by OnHeartbeatProducerUpdate(), and switchCommunicationState(). +

+Here is the call graph for this function:

+ + + +

@@ -242,11 +309,35 @@

- -

-Definition at line 139 of file lifegrd.c. -

-References heartbeatInit(), and heartbeatStop(). +This is called when Index 0x1017 is updated.

+

Parameters:
+ + + + +
d 
unsused_indextable 
unsused_bSubindex 
+
+
Returns:
+ +

+Definition at line 194 of file lifegrd.c. +

+References heartbeatInit(), and heartbeatStop(). +

+Referenced by heartbeatInit(). +

+Here is the call graph for this function:

+ + + + + + + + + + +

@@ -275,11 +366,36 @@

- -

-Definition at line 50 of file lifegrd.c. -

-References ConsumerHearbeatAlarm(), DelAlarm(), and SetAlarm(). +

Parameters:
+ + + +
d 
m 
+
+ +

+Notice that only the master can have sent this node guarding request

+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)

+send the nodeguard response.

+Not a request CAN

+the slave's state receievd is stored in the NMTable

+The state is stored on 7 bit

+Boot-Up frame reception

+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 +

+Definition at line 81 of file lifegrd.c. +

+References ConsumerHearbeatAlarm(), DelAlarm(), and SetAlarm(). +

+Referenced by canDispatch(). +

+Here is the call graph for this function:

+ + + + + +

@@ -308,14 +424,33 @@

- -

-Definition at line 113 of file lifegrd.c. -

-References DelAlarm(). -

-

-


Generated on Mon Jun 4 17:09:27 2007 for CanFestival by  +The Consumer Timer Callback

+

Parameters:
+ + + +
d 
id 
+
+ +

+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.

+No toggle for heartbeat !

+send the heartbeat +

+Definition at line 161 of file lifegrd.c. +

+References DelAlarm(). +

+Referenced by heartbeatInit(). +

+Here is the call graph for this function:

+ + + + + +

+


Generated on Tue Jun 5 18:32:06 2007 for CanFestival by  doxygen 1.5.1