RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
Slave select register (SLVSEL)

This group contains register bit definitions. More...

Macros

#define SPICTRL_SLVSEL_SLVSEL_SHIFT   0
 
#define SPICTRL_SLVSEL_SLVSEL_MASK   0x3U
 
#define SPICTRL_SLVSEL_SLVSEL_GET(_reg)
 
#define SPICTRL_SLVSEL_SLVSEL_SET(_reg, _val)
 
#define SPICTRL_SLVSEL_SLVSEL(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPICTRL_SLVSEL_SLVSEL

#define SPICTRL_SLVSEL_SLVSEL (   _val)
Value:
( ( ( _val ) << SPICTRL_SLVSEL_SLVSEL_SHIFT ) & \
SPICTRL_SLVSEL_SLVSEL_MASK )

◆ SPICTRL_SLVSEL_SLVSEL_GET

#define SPICTRL_SLVSEL_SLVSEL_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_SLVSEL_SLVSEL_MASK ) >> \
SPICTRL_SLVSEL_SLVSEL_SHIFT )

◆ SPICTRL_SLVSEL_SLVSEL_SET

#define SPICTRL_SLVSEL_SLVSEL_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_SLVSEL_SLVSEL_MASK ) | \
( ( ( _val ) << SPICTRL_SLVSEL_SLVSEL_SHIFT ) & \
SPICTRL_SLVSEL_SLVSEL_MASK ) )