CANopenNode
NMT master/slave and HB producer/consumer

Macros

#define CO_CONFIG_NMT   (0)
 Configuration of NMT and Heartbeat. More...
 
#define CO_CONFIG_HB_CONS   (CO_CONFIG_HB_CONS_ENABLE)
 Configuration of Heartbeat consumer. More...
 
#define CO_CONFIG_HB_CONS_SIZE   8
 Number of heartbeat consumer objects, where each object corresponds to one sub-index in OD object 0x1016, "Consumer heartbeat time". More...
 

Detailed Description

Macro Definition Documentation

◆ CO_CONFIG_NMT

#define CO_CONFIG_NMT   (0)

Configuration of NMT and Heartbeat.

Possible flags, can be ORed:

◆ CO_CONFIG_HB_CONS

#define CO_CONFIG_HB_CONS   (CO_CONFIG_HB_CONS_ENABLE)

Configuration of Heartbeat consumer.

Possible flags, can be ORed:

◆ CO_CONFIG_HB_CONS_SIZE

#define CO_CONFIG_HB_CONS_SIZE   8

Number of heartbeat consumer objects, where each object corresponds to one sub-index in OD object 0x1016, "Consumer heartbeat time".

If heartbeat consumer is enabled, then valid values are 1 to 127.