CANopen Slave Documentation
Version 7.00.02
|
Macros | |
#define | COS_CONF_SLAVE ((uint16_t) 0x0000) |
#define | COS_CONF_MASTER ((uint16_t) 0x0001) |
#define | COS_CONF_AUTOSTART ((uint16_t) 0x0002) |
#define | COS_CONF_FD ((uint16_t) 0x0004) |
#define | COS_CONF_J1939 ((uint16_t) 0x0010) |
The COS_CONF definitions specifies configuration options ofr the protocol stack, i.e. they define the parameter uwConfigV
of the function CosMgrInit().
#define COS_CONF_AUTOSTART ((uint16_t) 0x0002) |
After transmission of the boot-up message, make an automatic transition of the NMT state machine to the Operational state.
#define COS_CONF_FD ((uint16_t) 0x0004) |
Start CANopen slave in ISO CAN FD mode (CANopen FD).
#define COS_CONF_J1939 ((uint16_t) 0x0010) |
Start in J1939 mode. This is a mutually exclusive option. It requires an existing installation of the J1939 protocol stack (see application note AN 5003).
#define COS_CONF_MASTER ((uint16_t) 0x0001) |
Use the CANopen FD Slave protocol stack as NMT master and LSS master. This option is only possible in conjunction with the mini-master add-on. It is advised to use the CANopen FD Master protocol stack in order to achieve full support of all CANopen master features.
#define COS_CONF_SLAVE ((uint16_t) 0x0000) |
This the the default configuration: CANopen slave.