RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros
Transmit register (TX)

This group contains register bit definitions. More...

Macros

#define SPICTRL_TX_TDATA_SHIFT   0
 
#define SPICTRL_TX_TDATA_MASK   0xffffffffU
 
#define SPICTRL_TX_TDATA_GET(_reg)
 
#define SPICTRL_TX_TDATA_SET(_reg, _val)
 
#define SPICTRL_TX_TDATA(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPICTRL_TX_TDATA

#define SPICTRL_TX_TDATA (   _val)
Value:
( ( ( _val ) << SPICTRL_TX_TDATA_SHIFT ) & \
SPICTRL_TX_TDATA_MASK )

◆ SPICTRL_TX_TDATA_GET

#define SPICTRL_TX_TDATA_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_TX_TDATA_MASK ) >> \
SPICTRL_TX_TDATA_SHIFT )

◆ SPICTRL_TX_TDATA_SET

#define SPICTRL_TX_TDATA_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_TX_TDATA_MASK ) | \
( ( ( _val ) << SPICTRL_TX_TDATA_SHIFT ) & \
SPICTRL_TX_TDATA_MASK ) )