libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
CAN Acceptance Code/Mask Register. More...
Macros | |
#define | CAN_ACR_DUAL_DB_UPPER 0x000F0000U /* 19:16 */ |
#define | CAN_ACR_DUAL_DB_LOWER 0x0000000FU /* 3:0 */ |
#define | CAN_ACR_DUAL_ID1 0xFFE00000U /* 31:21 */ |
#define | CAN_ACR_DUAL_ID2 0x0000FFE0U /* 15:5 */ |
#define | CAN_ACR_DUAL_RTR1 0x00100000U /* 20 */ |
#define | CAN_ACR_DUAL_RTR2 0x00000010U /* 4 */ |
#define | CAN_ACR_SINGLE_STD_ID 0xFFE00000U /* 31:21 */ |
#define | CAN_ACR_SINGLE_STD_RTR 0x00100000U /* 20 */ |
#define | CAN_ACR_SINGLE_STD_DB1 0x0000FF00U /* 15:8 */ |
#define | CAN_ACR_SINGLE_STD_DB2 0x000000FFU /* 7:0 */ |
#define | CAN_ACR_SINGLE_EXT_ID 0xFFFFFFF8U /* 31:3 */ |
#define | CAN_ACR_SINGLE_EXT_RTR 0x00000004U /* 2 */ |
CAN Acceptance Code/Mask Register.
This is used for filtering messages. Mask value of 1 ignores the bit. Mask value of 0 checks the bit.