libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
CAN Miscellaneous Bit Masks
Collaboration diagram for CAN Miscellaneous Bit Masks:

Macros

#define CAN_BITS_2_0   (0x07)
 
#define CAN_BITS_3_0   (0x0F)
 
#define CAN_BITS_4_0   (0x1F)
 
#define CAN_BITS_7_3   (0xF8)
 
#define CAN_BITS_10_3   (0x07F8)
 
#define CAN_BITS_12_5   (0x00001FE0U)
 
#define CAN_BITS_20_13   (0x001FE000U)
 
#define CAN_BITS_28_21   (0x1FE00000U)
 
#define CAN_BITS_15_8   (0x0000FF00U)
 
#define CAN_BITS_23_16   (0x00FF0000U)
 
#define CAN_BITS_31_24   (0xFF000000U)
 
#define CAN_BITS_23_21   (0x00E00000U)
 

Detailed Description

Macro Definition Documentation

◆ CAN_BITS_10_3

#define CAN_BITS_10_3   (0x07F8)

Definition at line 258 of file can.h.

◆ CAN_BITS_12_5

#define CAN_BITS_12_5   (0x00001FE0U)

Definition at line 259 of file can.h.

◆ CAN_BITS_15_8

#define CAN_BITS_15_8   (0x0000FF00U)

Definition at line 262 of file can.h.

◆ CAN_BITS_20_13

#define CAN_BITS_20_13   (0x001FE000U)

Definition at line 260 of file can.h.

◆ CAN_BITS_23_16

#define CAN_BITS_23_16   (0x00FF0000U)

Definition at line 263 of file can.h.

◆ CAN_BITS_23_21

#define CAN_BITS_23_21   (0x00E00000U)

Definition at line 265 of file can.h.

◆ CAN_BITS_28_21

#define CAN_BITS_28_21   (0x1FE00000U)

Definition at line 261 of file can.h.

◆ CAN_BITS_2_0

#define CAN_BITS_2_0   (0x07)

Definition at line 254 of file can.h.

◆ CAN_BITS_31_24

#define CAN_BITS_31_24   (0xFF000000U)

Definition at line 264 of file can.h.

◆ CAN_BITS_3_0

#define CAN_BITS_3_0   (0x0F)

Definition at line 255 of file can.h.

◆ CAN_BITS_4_0

#define CAN_BITS_4_0   (0x1F)

Definition at line 256 of file can.h.

◆ CAN_BITS_7_3

#define CAN_BITS_7_3   (0xF8)

Definition at line 257 of file can.h.