RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
Transmit Channel Read Register (CanTxRD)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANTXRD_READ_SHIFT   4
 
#define GRCAN_CANTXRD_READ_MASK   0xffff0U
 
#define GRCAN_CANTXRD_READ_GET(_reg)
 
#define GRCAN_CANTXRD_READ_SET(_reg, _val)
 
#define GRCAN_CANTXRD_READ(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANTXRD_READ

#define GRCAN_CANTXRD_READ (   _val)
Value:
( ( ( _val ) << GRCAN_CANTXRD_READ_SHIFT ) & \
GRCAN_CANTXRD_READ_MASK )

◆ GRCAN_CANTXRD_READ_GET

#define GRCAN_CANTXRD_READ_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANTXRD_READ_MASK ) >> \
GRCAN_CANTXRD_READ_SHIFT )

◆ GRCAN_CANTXRD_READ_SET

#define GRCAN_CANTXRD_READ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANTXRD_READ_MASK ) | \
( ( ( _val ) << GRCAN_CANTXRD_READ_SHIFT ) & \
GRCAN_CANTXRD_READ_MASK ) )