- e_nodeState getNodeState |
- ( |
- CO_Data * |
+ e_nodeState getNodeState |
+ ( |
+ CO_Data * |
d, |
@@ -156,6 +181,10 @@
Definition at line 55 of file lifegrd.c.
+
+References struct_s_timer_entry::d, and struct_CO_Data::NMTable.
+
+Referenced by GetChangeStateResults().
@@ -165,7 +194,7 @@
void heartbeatInit |
( |
- CO_Data * |
+ CO_Data * |
d |
) |
|
@@ -182,25 +211,24 @@
-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().
+References ConsumerHearbeatAlarm(), struct_CO_Data::ConsumerHeartbeatCount, struct_CO_Data::ConsumerHeartbeatEntries, struct_CO_Data::ConsumerHeartBeatTimers, struct_s_timer_entry::d, MS_TO_TIMEVAL, OnHeartbeatProducerUpdate(), ProducerHearbeatAlarm(), struct_CO_Data::ProducerHeartBeatTime, struct_CO_Data::ProducerHeartBeatTimer, RegisterSetODentryCallBack(), SetAlarm(), TIMEVAL, struct_CO_Data::toggle, UNS16, UNS32, and UNS8.
Referenced by OnHeartbeatProducerUpdate(), and switchCommunicationState().
Here is the call graph for this function:
@@ -212,7 +240,7 @@
void heartbeatStop |
( |
- CO_Data * |
+ CO_Data * |
d |
) |
|
@@ -231,7 +259,7 @@
Definition at line 236 of file lifegrd.c.
-References DelAlarm().
+References struct_CO_Data::ConsumerHeartbeatCount, struct_CO_Data::ConsumerHeartBeatTimers, struct_s_timer_entry::d, DelAlarm(), struct_CO_Data::ProducerHeartBeatTimer, and UNS8.
Referenced by OnHeartbeatProducerUpdate(), and switchCommunicationState().
@@ -249,13 +277,13 @@
UNS32 OnHearbeatProducerUpdate |
( |
- CO_Data * |
- d, |
-
-
- |
- |
- const indextable * |
+ CO_Data * |
+ d, |
+
+
+ |
+ |
+ const indextable * |
unsused_indextable, |
@@ -284,13 +312,13 @@
UNS32 OnHeartbeatProducerUpdate |
( |
- CO_Data * |
- d, |
-
-
- |
- |
- const indextable * |
+ CO_Data * |
+ d, |
+
+
+ |
+ |
+ const indextable * |
unsused_indextable, |
@@ -322,20 +350,22 @@
Definition at line 194 of file lifegrd.c.
-References heartbeatInit(), and heartbeatStop().
+References struct_s_timer_entry::d, heartbeatInit(), and heartbeatStop().
Referenced by heartbeatInit().
Here is the call graph for this function:
@@ -347,13 +377,13 @@
void proceedNODE_GUARD |
( |
- CO_Data * |
- d, |
-
-
- |
- |
- Message * |
+ CO_Data * |
+ d, |
+
+
+ |
+ |
+ Message * |
m | |
@@ -375,25 +405,21 @@
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
+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)
Definition at line 81 of file lifegrd.c.
-References ConsumerHearbeatAlarm(), DelAlarm(), and SetAlarm().
+References struct_CO_Data::bDeviceNodeId, struct_CO_Data::canHandle, canSend(), Message::cob_id, ConsumerHearbeatAlarm(), struct_CO_Data::ConsumerHeartbeatCount, struct_CO_Data::ConsumerHeartbeatEntries, struct_CO_Data::ConsumerHeartBeatTimers, struct_s_timer_entry::d, Message::data, DelAlarm(), GET_NODE_ID, Initialisation, Message::len, MS_TO_TIMEVAL, MSG_WAR, struct_CO_Data::NMTable, struct_CO_Data::nodeState, Message::rtr, SetAlarm(), TIMEVAL, struct_CO_Data::toggle, Unknown_state, UNS32, UNS8, and SHORT_CAN::w.
Referenced by canDispatch().
Here is the call graph for this function:
@@ -405,7 +431,7 @@
void ProducerHearbeatAlarm |
( |
- CO_Data * |
+ CO_Data * |
d, |
@@ -433,24 +459,22 @@
-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().
+References struct_CO_Data::bDeviceNodeId, struct_CO_Data::canHandle, canSend(), Message::cob_id, struct_s_timer_entry::d, Message::data, DelAlarm(), Message::len, MSG_WAR, struct_CO_Data::nodeState, struct_CO_Data::ProducerHeartBeatTime, struct_CO_Data::ProducerHeartBeatTimer, Message::rtr, UNS8, and SHORT_CAN::w.
Referenced by heartbeatInit().
Here is the call graph for this function:
-
-
-
-
Generated on Tue Jun 5 18:32:06 2007 for CanFestival by
+
+
+
+
+
+
+
+
Generated on Fri Jun 8 08:52:10 2007 for CanFestival by
1.5.1