|
NNP STM Generic Remote Module git-main
|
#include <data.h>#include "lifegrd.h"#include "canfestival.h"#include "sysdep.h"#include "ObjDict.h"Go to the source code of this file.
Functions | |
| void | ConsumerHearbeatAlarm (CO_Data *d, UNS32 id) |
| void | ProducerHearbeatAlarm (CO_Data *d, UNS32 id) |
| the Consumer Timer Callback. Heartbeat has been modified to include module Serial Number | |
| UNS32 | OnHearbeatProducerUpdate (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex) |
| e_nodeState | getNodeState (CO_Data *d, UNS8 nodeId) |
| To read the state of a node This can be used by the master after having sent a life guard request, of by any node if it is waiting for heartbeat. | |
| void | processNODE_GUARD (CO_Data *d, Message *m) |
| This function is responsible to process a canopen-message which seams to be an NMT Error Control Messages. At them moment we assume that every NMT error control message is a heartbeat message. If a BootUp message is detected, it will return the nodeId of the Slave who booted up. | |
| UNS32 | OnHeartbeatProducerUpdate (CO_Data *d, const indextable *unsused_indextable, UNS8 unsused_bSubindex) |
| This is called when Index 0x1017 is updated. | |
| void | heartbeatInit (CO_Data *d) |
| Start heartbeat consumer and producer with respect to 0x1016 and 0x1017 object dictionary entries. | |
| void | heartbeatStop (CO_Data *d) |
| Stop heartbeat consumer and producer. | |
| void | _heartbeatError (CO_Data *d, UNS8 heartbeatID) |
| heartbeat Error | |
| void | _post_SlaveBootup (CO_Data *d, UNS8 SlaveID) |
| post slave bootup | |
Definition in file lifegrd.c.
call heartbeat error with NodeId
Definition at line 45 of file lifegrd.c.
Referenced by heartbeatInit(), and processNODE_GUARD().
