This group contains register bit definitions.
More...
This group contains register bit definitions.
◆ GRCAN_CANSTAT_RXCHANNELS
#define GRCAN_CANSTAT_RXCHANNELS |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANSTAT_RXCHANNELS_SHIFT ) & \
GRCAN_CANSTAT_RXCHANNELS_MASK )
◆ GRCAN_CANSTAT_RXCHANNELS_GET
#define GRCAN_CANSTAT_RXCHANNELS_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANSTAT_RXCHANNELS_MASK ) >> \
GRCAN_CANSTAT_RXCHANNELS_SHIFT )
◆ GRCAN_CANSTAT_RXCHANNELS_SET
#define GRCAN_CANSTAT_RXCHANNELS_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANSTAT_RXCHANNELS_MASK ) | \
( ( ( _val ) << GRCAN_CANSTAT_RXCHANNELS_SHIFT ) & \
GRCAN_CANSTAT_RXCHANNELS_MASK ) )
◆ GRCAN_CANSTAT_RXERRCNT
#define GRCAN_CANSTAT_RXERRCNT |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANSTAT_RXERRCNT_SHIFT ) & \
GRCAN_CANSTAT_RXERRCNT_MASK )
◆ GRCAN_CANSTAT_RXERRCNT_GET
#define GRCAN_CANSTAT_RXERRCNT_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANSTAT_RXERRCNT_MASK ) >> \
GRCAN_CANSTAT_RXERRCNT_SHIFT )
◆ GRCAN_CANSTAT_RXERRCNT_SET
#define GRCAN_CANSTAT_RXERRCNT_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANSTAT_RXERRCNT_MASK ) | \
( ( ( _val ) << GRCAN_CANSTAT_RXERRCNT_SHIFT ) & \
GRCAN_CANSTAT_RXERRCNT_MASK ) )
◆ GRCAN_CANSTAT_TXCHANNELS
#define GRCAN_CANSTAT_TXCHANNELS |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANSTAT_TXCHANNELS_SHIFT ) & \
GRCAN_CANSTAT_TXCHANNELS_MASK )
◆ GRCAN_CANSTAT_TXCHANNELS_GET
#define GRCAN_CANSTAT_TXCHANNELS_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANSTAT_TXCHANNELS_MASK ) >> \
GRCAN_CANSTAT_TXCHANNELS_SHIFT )
◆ GRCAN_CANSTAT_TXCHANNELS_SET
#define GRCAN_CANSTAT_TXCHANNELS_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANSTAT_TXCHANNELS_MASK ) | \
( ( ( _val ) << GRCAN_CANSTAT_TXCHANNELS_SHIFT ) & \
GRCAN_CANSTAT_TXCHANNELS_MASK ) )
◆ GRCAN_CANSTAT_TXERRCNT
#define GRCAN_CANSTAT_TXERRCNT |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << GRCAN_CANSTAT_TXERRCNT_SHIFT ) & \
GRCAN_CANSTAT_TXERRCNT_MASK )
◆ GRCAN_CANSTAT_TXERRCNT_GET
#define GRCAN_CANSTAT_TXERRCNT_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & GRCAN_CANSTAT_TXERRCNT_MASK ) >> \
GRCAN_CANSTAT_TXERRCNT_SHIFT )
◆ GRCAN_CANSTAT_TXERRCNT_SET
#define GRCAN_CANSTAT_TXERRCNT_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~GRCAN_CANSTAT_TXERRCNT_MASK ) | \
( ( ( _val ) << GRCAN_CANSTAT_TXERRCNT_SHIFT ) & \
GRCAN_CANSTAT_TXERRCNT_MASK ) )