Network Management
This section describes the API functions of the CANopen network management module. These functions are implemented within the source file: co_nmt.c/h
The class CO.NMT
is defined within co_nmt.h
and is responsible for the CANopen network slave management. The following data members are in this class:
Data Member | Type | Description |
---|---|---|
Node | CO_NODE * | Reference to parent CANopen node |
Mode | CO_MODE | Current NMT mode |
Tmr | CPU_INT16S | Heartbeat timer identifier |
Allowed | CPU_INT08U | Encoding of allowed CAN messages |
Note: The data within this structure must never be manipulated without the corresponding class member functions. This can lead to unpredictable behavior of the CANopen node.
End of topic