RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Macros
SYNC Mask Filter Register (CanMASK)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANMASK_MASK_SHIFT   0
 
#define GRCAN_CANMASK_MASK_MASK   0x1fffffffU
 
#define GRCAN_CANMASK_MASK_GET(_reg)
 
#define GRCAN_CANMASK_MASK_SET(_reg, _val)
 
#define GRCAN_CANMASK_MASK(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANMASK_MASK

#define GRCAN_CANMASK_MASK (   _val)
Value:
( ( ( _val ) << GRCAN_CANMASK_MASK_SHIFT ) & \
GRCAN_CANMASK_MASK_MASK )

◆ GRCAN_CANMASK_MASK_GET

#define GRCAN_CANMASK_MASK_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANMASK_MASK_MASK ) >> \
GRCAN_CANMASK_MASK_SHIFT )

◆ GRCAN_CANMASK_MASK_SET

#define GRCAN_CANMASK_MASK_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANMASK_MASK_MASK ) | \
( ( ( _val ) << GRCAN_CANMASK_MASK_SHIFT ) & \
GRCAN_CANMASK_MASK_MASK ) )