CANopen Master Documentation
Version 6.06.04
|
Macros | |
#define | ID_FLAG_EXTENDED ((uint32_t) 0x20000000) |
#define | ID_FLAG_NO_RTR ((uint32_t) 0x40000000) |
#define | ID_FLAG_DISABLED ((uint32_t) 0x80000000) |
#define | ID_MASK_VALUE ((uint32_t) 0x1FFFFFFF) |
The COB-ID for various CANopen services (PDO, TIME, SYNC) can be changed via the object dictionary. The ID_FLAG definitions specify the bit positions for controlling the COB-ID value.
#define ID_FLAG_DISABLED ((uint32_t) 0x80000000) |
Disable service.
The identifier for the CANopen service is disabled in case the bit is set within the COB-ID object, i.e. it is not possible to receive or transmit data.
#define ID_FLAG_EXTENDED ((uint32_t) 0x20000000) |
Extended frame format.
The identifier for the CANopen service uses the Extended Frame Format (EFF, 29-Bit CAN-ID) in case the bit is set within the COB-ID object. Otherwise the the Base Frame Format (BFF, 11-Bit CAN-ID) is used
#define ID_FLAG_NO_RTR ((uint32_t) 0x40000000) |
No RTR allowed on this PDO.
This flag is only valid for TPDO COB-ID configuration. No RTR allowed on this PDO in case the bit is set within the COB-ID object.
#define ID_MASK_VALUE ((uint32_t) 0x1FFFFFFF) |
Mask the valid 29-bit identifier value.