RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Transmit Channel Size Register (CanTxSIZE)

This group contains register bit definitions. More...

Macros

#define GRCAN_CANTXSIZE_SIZE_SHIFT   6
 
#define GRCAN_CANTXSIZE_SIZE_MASK   0x1fffc0U
 
#define GRCAN_CANTXSIZE_SIZE_GET(_reg)
 
#define GRCAN_CANTXSIZE_SIZE_SET(_reg, _val)
 
#define GRCAN_CANTXSIZE_SIZE(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ GRCAN_CANTXSIZE_SIZE

#define GRCAN_CANTXSIZE_SIZE (   _val)
Value:
( ( ( _val ) << GRCAN_CANTXSIZE_SIZE_SHIFT ) & \
GRCAN_CANTXSIZE_SIZE_MASK )

◆ GRCAN_CANTXSIZE_SIZE_GET

#define GRCAN_CANTXSIZE_SIZE_GET (   _reg)
Value:
( ( ( _reg ) & GRCAN_CANTXSIZE_SIZE_MASK ) >> \
GRCAN_CANTXSIZE_SIZE_SHIFT )

◆ GRCAN_CANTXSIZE_SIZE_SET

#define GRCAN_CANTXSIZE_SIZE_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~GRCAN_CANTXSIZE_SIZE_MASK ) | \
( ( ( _val ) << GRCAN_CANTXSIZE_SIZE_SHIFT ) & \
GRCAN_CANTXSIZE_SIZE_MASK ) )