libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
CAN Bus Timing 0 Register bit definitions. More...
Macros | |
#define | CAN_BTR0_BRP_MASK (0x3F) |
#define | CAN_BTR0_BRP_SHIFT 16 |
#define | CAN_BTR0_BRP(val) (((val) & CAN_BTR0_BRP_MASK) << CAN_BTR0_BRP_SHIFT) |
#define | CAN_BTR0_SJW_MASK (0x03) |
#define | CAN_BTR0_SJW_SHIFT 22 |
#define | CAN_BTR0_SJW(val) (((val) & CAN_BTR0_SJW_MASK) << CAN_BTR0_SJW_SHIFT) |
CAN Bus Timing 0 Register bit definitions.
#define CAN_BTR0_BRP | ( | val | ) | (((val) & CAN_BTR0_BRP_MASK) << CAN_BTR0_BRP_SHIFT) |
#define CAN_BTR0_SJW | ( | val | ) | (((val) & CAN_BTR0_SJW_MASK) << CAN_BTR0_SJW_SHIFT) |