CANopenNode
CANopen protocol stack
|
One monitored node inside CO_HBconsumer_t. More...
#include <CO_HBconsumer.h>
Data Fields | |
uint8_t | nodeId |
Node Id of the monitored node. | |
CO_NMT_internalState_t | NMTstate |
NMT state of the remote node (Heartbeat payload) | |
CO_HBconsumer_state_t | HBstate |
Current heartbeat monitoring state of the remote node. | |
uint32_t | timeoutTimer |
Time since last heartbeat received. | |
uint32_t | time_us |
Consumer heartbeat time from OD. | |
volatile void * | CANrxNew |
Indication if new Heartbeat message received from the CAN bus. | |
void(* | pFunctSignalPre )(void *object) |
From CO_HBconsumer_initCallbackPre() or NULL. | |
void * | functSignalObjectPre |
From CO_HBconsumer_initCallbackPre() or NULL. | |
CO_NMT_internalState_t | NMTstatePrev |
Previous value of the remote node (Heartbeat payload) | |
void(* | pFunctSignalNmtChanged )(uint8_t nodeId, uint8_t idx, CO_NMT_internalState_t NMTstate, void *object) |
Callback for remote NMT changed event. | |
void * | pFunctSignalObjectNmtChanged |
Pointer to object. | |
void(* | pFunctSignalHbStarted )(uint8_t nodeId, uint8_t idx, void *object) |
Callback for heartbeat state change to active event. | |
void * | functSignalObjectHbStarted |
Pointer to object. | |
void(* | pFunctSignalTimeout )(uint8_t nodeId, uint8_t idx, void *object) |
Callback for consumer timeout event. | |
void * | functSignalObjectTimeout |
Pointer to object. | |
void(* | pFunctSignalRemoteReset )(uint8_t nodeId, uint8_t idx, void *object) |
Callback for remote reset event. | |
void * | functSignalObjectRemoteReset |
Pointer to object. | |
One monitored node inside CO_HBconsumer_t.
void(* CO_HBconsNode_t::pFunctSignalNmtChanged) (uint8_t nodeId, uint8_t idx, CO_NMT_internalState_t NMTstate, void *object) |
Callback for remote NMT changed event.
From CO_HBconsumer_initCallbackNmtChanged() or NULL.
Callback for heartbeat state change to active event.
From CO_HBconsumer_initCallbackHeartbeatStarted() or NULL.
Callback for consumer timeout event.
From CO_HBconsumer_initCallbackTimeout() or NULL.
Callback for remote reset event.
From CO_HBconsumer_initCallbackRemoteReset() or NULL.