CANopenNode
CANopen protocol stack
Loading...
Searching...
No Matches
CO_HBconsumer_t Struct Reference

Heartbeat consumer object. More...

#include <CO_HBconsumer.h>

+ Collaboration diagram for CO_HBconsumer_t:

Data Fields

CO_EM_tem
 From CO_HBconsumer_init()
 
CO_HBconsNode_tmonitoredNodes
 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_tCANdevRx
 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.
 

Detailed Description

Heartbeat consumer object.

Object is initilaized by CO_HBconsumer_init(). It contains an array of CO_HBconsNode_t objects.

Field Documentation

◆ allMonitoredActive

bool_t CO_HBconsumer_t::allMonitoredActive

True, if all monitored nodes are active or no node is monitored.

Can be read by the application

◆ allMonitoredOperational

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

◆ pFunctSignalNmtChanged

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.


The documentation for this struct was generated from the following file: