RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Receive Channel Code Register (CanRxCODE)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANRXCODE_AC_SHIFT   0
 
#define GRCAN_CANRXCODE_AC_MASK   0x1fffffffU
 
#define GRCAN_CANRXCODE_AC_GET(_reg)
 
#define GRCAN_CANRXCODE_AC_SET(_reg, _val)
 
#define GRCAN_CANRXCODE_AC(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANRXCODE_AC

#define GRCAN_CANRXCODE_AC (   _val)
Value:
( ( ( _val ) << GRCAN_CANRXCODE_AC_SHIFT ) & \
GRCAN_CANRXCODE_AC_MASK )

◆ GRCAN_CANRXCODE_AC_GET

#define GRCAN_CANRXCODE_AC_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANRXCODE_AC_MASK ) >> \
GRCAN_CANRXCODE_AC_SHIFT )

◆ GRCAN_CANRXCODE_AC_SET

#define GRCAN_CANRXCODE_AC_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANRXCODE_AC_MASK ) | \
( ( ( _val ) << GRCAN_CANRXCODE_AC_SHIFT ) & \
GRCAN_CANRXCODE_AC_MASK ) )