RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
Receive Channel Mask Register (CanRxMASK)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANRXMASK_AM_SHIFT   0
 
#define GRCAN_CANRXMASK_AM_MASK   0x1fffffffU
 
#define GRCAN_CANRXMASK_AM_GET(_reg)
 
#define GRCAN_CANRXMASK_AM_SET(_reg, _val)
 
#define GRCAN_CANRXMASK_AM(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANRXMASK_AM

#define GRCAN_CANRXMASK_AM (   _val)
Value:
( ( ( _val ) << GRCAN_CANRXMASK_AM_SHIFT ) & \
GRCAN_CANRXMASK_AM_MASK )

◆ GRCAN_CANRXMASK_AM_GET

#define GRCAN_CANRXMASK_AM_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANRXMASK_AM_MASK ) >> \
GRCAN_CANRXMASK_AM_SHIFT )

◆ GRCAN_CANRXMASK_AM_SET

#define GRCAN_CANRXMASK_AM_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANRXMASK_AM_MASK ) | \
( ( ( _val ) << GRCAN_CANRXMASK_AM_SHIFT ) & \
GRCAN_CANRXMASK_AM_MASK ) )