This group contains register bit definitions.
More...
This group contains register bit definitions.
◆ GRCAN_CANCONF_BPR
#define GRCAN_CANCONF_BPR |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANCONF_BPR_SHIFT ) & \
GRCAN_CANCONF_BPR_MASK )
◆ GRCAN_CANCONF_BPR_GET
#define GRCAN_CANCONF_BPR_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANCONF_BPR_MASK ) >> \
GRCAN_CANCONF_BPR_SHIFT )
◆ GRCAN_CANCONF_BPR_SET
#define GRCAN_CANCONF_BPR_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANCONF_BPR_MASK ) | \
( ( ( _val ) << GRCAN_CANCONF_BPR_SHIFT ) & \
GRCAN_CANCONF_BPR_MASK ) )
◆ GRCAN_CANCONF_PS1
#define GRCAN_CANCONF_PS1 |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANCONF_PS1_SHIFT ) & \
GRCAN_CANCONF_PS1_MASK )
◆ GRCAN_CANCONF_PS1_GET
#define GRCAN_CANCONF_PS1_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANCONF_PS1_MASK ) >> \
GRCAN_CANCONF_PS1_SHIFT )
◆ GRCAN_CANCONF_PS1_SET
#define GRCAN_CANCONF_PS1_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANCONF_PS1_MASK ) | \
( ( ( _val ) << GRCAN_CANCONF_PS1_SHIFT ) & \
GRCAN_CANCONF_PS1_MASK ) )
◆ GRCAN_CANCONF_PS2
#define GRCAN_CANCONF_PS2 |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANCONF_PS2_SHIFT ) & \
GRCAN_CANCONF_PS2_MASK )
◆ GRCAN_CANCONF_PS2_GET
#define GRCAN_CANCONF_PS2_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANCONF_PS2_MASK ) >> \
GRCAN_CANCONF_PS2_SHIFT )
◆ GRCAN_CANCONF_PS2_SET
#define GRCAN_CANCONF_PS2_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANCONF_PS2_MASK ) | \
( ( ( _val ) << GRCAN_CANCONF_PS2_SHIFT ) & \
GRCAN_CANCONF_PS2_MASK ) )
◆ GRCAN_CANCONF_RSJ
#define GRCAN_CANCONF_RSJ |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANCONF_RSJ_SHIFT ) & \
GRCAN_CANCONF_RSJ_MASK )
◆ GRCAN_CANCONF_RSJ_GET
#define GRCAN_CANCONF_RSJ_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANCONF_RSJ_MASK ) >> \
GRCAN_CANCONF_RSJ_SHIFT )
◆ GRCAN_CANCONF_RSJ_SET
#define GRCAN_CANCONF_RSJ_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANCONF_RSJ_MASK ) | \
( ( ( _val ) << GRCAN_CANCONF_RSJ_SHIFT ) & \
GRCAN_CANCONF_RSJ_MASK ) )
◆ GRCAN_CANCONF_SCALER
#define GRCAN_CANCONF_SCALER |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANCONF_SCALER_SHIFT ) & \
GRCAN_CANCONF_SCALER_MASK )
◆ GRCAN_CANCONF_SCALER_GET
#define GRCAN_CANCONF_SCALER_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANCONF_SCALER_MASK ) >> \
GRCAN_CANCONF_SCALER_SHIFT )
◆ GRCAN_CANCONF_SCALER_SET
#define GRCAN_CANCONF_SCALER_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANCONF_SCALER_MASK ) | \
( ( ( _val ) << GRCAN_CANCONF_SCALER_SHIFT ) & \
GRCAN_CANCONF_SCALER_MASK ) )