CANopenNode
CANopen protocol stack
|
Heartbeat consumer object. More...
#include <CO_HBconsumer.h>
Data Fields | |
CO_EM_t * | em |
From CO_HBconsumer_init() | |
CO_HBconsNode_t * | monitoredNodes |
Array of monitored nodes, from CO_HBconsumer_init() | |
uint8_t | numberOfMonitoredNodes |
Actual number of monitored nodes, size-of-the-above-array or number-of-array-elements-in-OD-0x1016, whichever is smaller. | |
bool_t | allMonitoredActive |
True, if all monitored nodes are active or no node is monitored. | |
bool_t | allMonitoredOperational |
True, if all monitored nodes are NMT operational or no node is monitored. | |
bool_t | NMTisPreOrOperationalPrev |
previous state of the variable | |
CO_CANmodule_t * | CANdevRx |
From CO_HBconsumer_init() | |
uint16_t | CANdevRxIdxStart |
From CO_HBconsumer_init() | |
OD_extension_t | OD_1016_extension |
Extension for OD object. | |
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. | |
Heartbeat consumer object.
Object is initilaized by CO_HBconsumer_init(). It contains an array of CO_HBconsNode_t objects.
bool_t CO_HBconsumer_t::allMonitoredActive |
True, if all monitored nodes are active or no node is monitored.
Can be read by the application
bool_t CO_HBconsumer_t::allMonitoredOperational |
True, if all monitored nodes are NMT operational or no node is monitored.
Can be read by the application
void(* CO_HBconsumer_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.