CANopen Slave Documentation
Version 6.16.04
|
Macros | |
#define | CP_MASK_STD_FRAME ((uint32_t) 0x000007FF) |
#define | CP_MASK_EXT_FRAME ((uint32_t) 0x1FFFFFFF) |
#define | CP_MASK_MSG_FORMAT ((uint8_t) 0x03) |
The following definitions are used in combination with the structure CpCanMsg_s.
#define CP_MASK_EXT_FRAME ((uint32_t) 0x1FFFFFFF) |
Mask for extended frame (29 bits), used in combination with the CpCanMsg_s::ulIdentifier.
#define CP_MASK_MSG_FORMAT ((uint8_t) 0x03) |
Mask for message format, used in combination with ubMsgCtrl
field of the CpCanMsg_ts structure (CpCanMsg_s::ubMsgCtrl). This mask covers CP_MSG_FORMAT_CBFF, CP_MSG_FORMAT_CEFF, CP_MSG_FORMAT_FBFF and CP_MSG_FORMAT_FEFF control flags.
#define CP_MASK_STD_FRAME ((uint32_t) 0x000007FF) |
Mask for standard frame (11 bits), used in combination with the CpCanMsg_s::ulIdentifier.