Mask values for CAN messages
Detailed Description
The following definitions are used in combination with the structure
CpCanMsg_s.
Define Documentation
#define CP_MASK_EXT_BIT 0x01 |
Set the EXT bit (extended frame) in the ubMsgCtrl
field of the _TsCpCanMsg structure (CpCanMsg_s::ubMsgCtrl).
#define CP_MASK_EXT_FRAME 0x1FFFFFFF |
#define CP_MASK_OVR_BIT 0x04 |
#define CP_MASK_RTR_BIT 0x02 |
Set the RTR bit (remote frame) in the ubMsgCtrl field of the _TsCpCanMsg structure (CpCanMsg_s::ubMsgCtrl).
#define CP_MASK_STD_FRAME 0x000007FF |