RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Macros
Receive register (RX)

This group contains register bit definitions. More...

Macros

#define SPICTRL_RX_RDATA_SHIFT   0
 
#define SPICTRL_RX_RDATA_MASK   0xffffffffU
 
#define SPICTRL_RX_RDATA_GET(_reg)
 
#define SPICTRL_RX_RDATA_SET(_reg, _val)
 
#define SPICTRL_RX_RDATA(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPICTRL_RX_RDATA

#define SPICTRL_RX_RDATA (   _val)
Value:
( ( ( _val ) << SPICTRL_RX_RDATA_SHIFT ) & \
SPICTRL_RX_RDATA_MASK )

◆ SPICTRL_RX_RDATA_GET

#define SPICTRL_RX_RDATA_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_RX_RDATA_MASK ) >> \
SPICTRL_RX_RDATA_SHIFT )

◆ SPICTRL_RX_RDATA_SET

#define SPICTRL_RX_RDATA_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_RX_RDATA_MASK ) | \
( ( ( _val ) << SPICTRL_RX_RDATA_SHIFT ) & \
SPICTRL_RX_RDATA_MASK ) )