nico@215: nico@215: nico@215: CanFestival: include/lifegrd.h File Reference nico@215: nico@215: nico@215: nico@215: nico@215:
nico@215:
nico@215:
nico@215:
nico@215: nico@215:

lifegrd.h File Reference

#include <applicfg.h>
nico@215: #include "data.h"
nico@215: nico@215:

nico@215: Include dependency graph for lifegrd.h:

nico@215: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215: nico@215:

nico@215: This graph shows which files directly or indirectly include this file:

nico@215: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215: nico@215:

nico@215: Go to the source code of this file. nico@215: nico@215: etisserant@240: nico@215: nico@215: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215:

Typedefs

typedef void(*) heartbeatError_t (UNS8)

Functions

void _heartbeatError (UNS8 heartbeatID)
e_nodeState getNodeState (CO_Data *d, UNS8 nodeId)
void heartbeatInit (CO_Data *d)
void heartbeatStop (CO_Data *d)
void proceedNODE_GUARD (CO_Data *d, Message *m)
nico@215:


Typedef Documentation

etisserant@240: etisserant@240:
etisserant@240:
etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215:
typedef void(*) heartbeatError_t(UNS8)
nico@215:
nico@215:
nico@215: nico@215:

nico@215: nico@215:

nico@215: Definition at line 29 of file lifegrd.h. nico@215:

nico@215:

nico@215:


Function Documentation

etisserant@240: nico@215:
nico@215:
nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
void _heartbeatError (UNS8  heartbeatID  ) 
nico@215:
nico@215:
nico@215: nico@215:

nico@215:

Parameters:
nico@215: nico@215: nico@215:
heartbeatID 
nico@215:
nico@215: nico@215:

nico@215: Definition at line 252 of file lifegrd.c. nico@215:

nico@215:

etisserant@240: etisserant@240:

etisserant@240:
etisserant@240: etisserant@240: etisserant@240: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
e_nodeState getNodeState (CO_Data d,
UNS8  nodeId 
)
nico@215:
nico@215:
nico@215: nico@215:

nico@215:

Parameters:
nico@215: nico@215: nico@215: nico@215:
d 
nodeId 
nico@215:
nico@215:
Returns:
nico@215: nico@215:

nico@215: Definition at line 55 of file lifegrd.c. nico@215:

nico@215: References struct_s_timer_entry::d, and struct_CO_Data::NMTable. nico@215:

nico@215: Referenced by GetChangeStateResults(). nico@215:

nico@215:

etisserant@240: nico@215:

nico@215:
nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
void heartbeatInit (CO_Data d  ) 
nico@215:
nico@215:
nico@215: nico@215:

nico@215:

Parameters:
nico@215: nico@215: nico@215:
d 
nico@215:
nico@215: nico@215:

nico@215: Definition at line 206 of file lifegrd.c. nico@215:

etisserant@240: 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. nico@215:

nico@215: Referenced by OnHeartbeatProducerUpdate(), and switchCommunicationState(). nico@215:

etisserant@240: Here is the call graph for this function:

etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240:
etisserant@240:

etisserant@240: nico@215:

nico@215:
nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
void heartbeatStop (CO_Data d  ) 
nico@215:
nico@215:
nico@215: nico@215:

nico@215:

Parameters:
nico@215: nico@215: nico@215:
d 
nico@215:
nico@215: nico@215:

nico@215: Definition at line 236 of file lifegrd.c. nico@215:

nico@215: References struct_CO_Data::ConsumerHeartbeatCount, struct_CO_Data::ConsumerHeartBeatTimers, struct_s_timer_entry::d, DelAlarm(), struct_CO_Data::ProducerHeartBeatTimer, and UNS8. nico@215:

nico@215: Referenced by OnHeartbeatProducerUpdate(), and switchCommunicationState(). nico@215:

etisserant@240: Here is the call graph for this function:

etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240:
etisserant@240:

etisserant@240: nico@215:

nico@215:
nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215: nico@215:
void proceedNODE_GUARD (CO_Data d,
Message m 
)
nico@215:
nico@215:
nico@215: nico@215:

nico@215:

Parameters:
nico@215: nico@215: nico@215: nico@215:
d 
m 
nico@215:
nico@215: nico@215:

nico@215: Notice that only the master can have sent this node guarding request

nico@215: 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) nico@215:

nico@215: Definition at line 81 of file lifegrd.c. nico@215:

etisserant@240: 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. nico@215:

nico@215: Referenced by canDispatch(). nico@215:

etisserant@240: Here is the call graph for this function:

etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240: etisserant@240:
etisserant@240:

etisserant@240:


Generated on Mon Jul 2 19:10:29 2007 for CanFestival by  nico@215: nico@215: doxygen 1.5.1
nico@215: nico@215: