RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
Receive Channel Read Register (CanRxRD)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANRXRD_READ_SHIFT   4
 
#define GRCAN_CANRXRD_READ_MASK   0xffff0U
 
#define GRCAN_CANRXRD_READ_GET(_reg)
 
#define GRCAN_CANRXRD_READ_SET(_reg, _val)
 
#define GRCAN_CANRXRD_READ(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANRXRD_READ

#define GRCAN_CANRXRD_READ (   _val)
Value:
( ( ( _val ) << GRCAN_CANRXRD_READ_SHIFT ) & \
GRCAN_CANRXRD_READ_MASK )

◆ GRCAN_CANRXRD_READ_GET

#define GRCAN_CANRXRD_READ_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANRXRD_READ_MASK ) >> \
GRCAN_CANRXRD_READ_SHIFT )

◆ GRCAN_CANRXRD_READ_SET

#define GRCAN_CANRXRD_READ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANRXRD_READ_MASK ) | \
( ( ( _val ) << GRCAN_CANRXRD_READ_SHIFT ) & \
GRCAN_CANRXRD_READ_MASK ) )