Modules | |
Common definitions | |
NMT master/slave and HB producer/consumer | |
Emergency producer/consumer | |
SDO server/client | |
Time producer/consumer | |
SYNC and PDO producer/consumer | |
CANopen LED diodes | |
Specified in standard CiA 303-3. | |
Safety Related Data Objects (SRDO) | |
Specified in standard EN 50325-5 (CiA 304) | |
LSS master/slave | |
Specified in standard CiA 305. | |
CANopen gateway | |
Specified in standard CiA 309. | |
CRC 16 calculation | |
Helper object. | |
FIFO buffer | |
Helper object. | |
Trace recorder | |
Non standard object. | |
Debug messages | |
Messages from different parts of the stack. | |
Stack configuration macros specify, which parts of the stack will be enabled.
Default values for stack configuration macros are set in corresponding header files. The same default values are also provided in this file, but only for documentation generator. Default values can be overridden by CO_driver_target.h file. If specified so, they can further be overridden by CO_driver_custom.h file.
Stack configuration macro is specified as bits, where each bit enables/disables some part of the configurable CANopenNode object. Flags are used for enabling or checking specific bit. Multiple flags can be ORed together.
Some functionalities of CANopenNode objects, enabled by configuration macros, requires some objects from Object Dictionary to exist. Object Dictionary configuration must match Stack configuration.