RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Macros
Capability register (CAP)

This group contains register bit definitions. More...

Macros

#define SPICTRL_CAP_SSSZ_SHIFT   24
 
#define SPICTRL_CAP_SSSZ_MASK   0xff000000U
 
#define SPICTRL_CAP_SSSZ_GET(_reg)
 
#define SPICTRL_CAP_SSSZ_SET(_reg, _val)
 
#define SPICTRL_CAP_SSSZ(_val)
 
#define SPICTRL_CAP_MAXWLEN_SHIFT   20
 
#define SPICTRL_CAP_MAXWLEN_MASK   0xf00000U
 
#define SPICTRL_CAP_MAXWLEN_GET(_reg)
 
#define SPICTRL_CAP_MAXWLEN_SET(_reg, _val)
 
#define SPICTRL_CAP_MAXWLEN(_val)
 
#define SPICTRL_CAP_TWEN   0x80000U
 
#define SPICTRL_CAP_AMODE   0x40000U
 
#define SPICTRL_CAP_ASELA   0x20000U
 
#define SPICTRL_CAP_SSEN   0x10000U
 
#define SPICTRL_CAP_FDEPTH_SHIFT   8
 
#define SPICTRL_CAP_FDEPTH_MASK   0xff00U
 
#define SPICTRL_CAP_FDEPTH_GET(_reg)
 
#define SPICTRL_CAP_FDEPTH_SET(_reg, _val)
 
#define SPICTRL_CAP_FDEPTH(_val)
 
#define SPICTRL_CAP_SR   0x80U
 
#define SPICTRL_CAP_FT_SHIFT   5
 
#define SPICTRL_CAP_FT_MASK   0x60U
 
#define SPICTRL_CAP_FT_GET(_reg)
 
#define SPICTRL_CAP_FT_SET(_reg, _val)
 
#define SPICTRL_CAP_FT(_val)
 
#define SPICTRL_CAP_REV_SHIFT   0
 
#define SPICTRL_CAP_REV_MASK   0x1fU
 
#define SPICTRL_CAP_REV_GET(_reg)
 
#define SPICTRL_CAP_REV_SET(_reg, _val)
 
#define SPICTRL_CAP_REV(_val)
 

Detailed Description

This group contains register bit definitions.

Macro Definition Documentation

◆ SPICTRL_CAP_FDEPTH

#define SPICTRL_CAP_FDEPTH (   _val)
Value:
( ( ( _val ) << SPICTRL_CAP_FDEPTH_SHIFT ) & \
SPICTRL_CAP_FDEPTH_MASK )

◆ SPICTRL_CAP_FDEPTH_GET

#define SPICTRL_CAP_FDEPTH_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_CAP_FDEPTH_MASK ) >> \
SPICTRL_CAP_FDEPTH_SHIFT )

◆ SPICTRL_CAP_FDEPTH_SET

#define SPICTRL_CAP_FDEPTH_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_CAP_FDEPTH_MASK ) | \
( ( ( _val ) << SPICTRL_CAP_FDEPTH_SHIFT ) & \
SPICTRL_CAP_FDEPTH_MASK ) )

◆ SPICTRL_CAP_FT

#define SPICTRL_CAP_FT (   _val)
Value:
( ( ( _val ) << SPICTRL_CAP_FT_SHIFT ) & \
SPICTRL_CAP_FT_MASK )

◆ SPICTRL_CAP_FT_GET

#define SPICTRL_CAP_FT_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_CAP_FT_MASK ) >> \
SPICTRL_CAP_FT_SHIFT )

◆ SPICTRL_CAP_FT_SET

#define SPICTRL_CAP_FT_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_CAP_FT_MASK ) | \
( ( ( _val ) << SPICTRL_CAP_FT_SHIFT ) & \
SPICTRL_CAP_FT_MASK ) )

◆ SPICTRL_CAP_MAXWLEN

#define SPICTRL_CAP_MAXWLEN (   _val)
Value:
( ( ( _val ) << SPICTRL_CAP_MAXWLEN_SHIFT ) & \
SPICTRL_CAP_MAXWLEN_MASK )

◆ SPICTRL_CAP_MAXWLEN_GET

#define SPICTRL_CAP_MAXWLEN_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_CAP_MAXWLEN_MASK ) >> \
SPICTRL_CAP_MAXWLEN_SHIFT )

◆ SPICTRL_CAP_MAXWLEN_SET

#define SPICTRL_CAP_MAXWLEN_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_CAP_MAXWLEN_MASK ) | \
( ( ( _val ) << SPICTRL_CAP_MAXWLEN_SHIFT ) & \
SPICTRL_CAP_MAXWLEN_MASK ) )

◆ SPICTRL_CAP_REV

#define SPICTRL_CAP_REV (   _val)
Value:
( ( ( _val ) << SPICTRL_CAP_REV_SHIFT ) & \
SPICTRL_CAP_REV_MASK )

◆ SPICTRL_CAP_REV_GET

#define SPICTRL_CAP_REV_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_CAP_REV_MASK ) >> \
SPICTRL_CAP_REV_SHIFT )

◆ SPICTRL_CAP_REV_SET

#define SPICTRL_CAP_REV_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_CAP_REV_MASK ) | \
( ( ( _val ) << SPICTRL_CAP_REV_SHIFT ) & \
SPICTRL_CAP_REV_MASK ) )

◆ SPICTRL_CAP_SSSZ

#define SPICTRL_CAP_SSSZ (   _val)
Value:
( ( ( _val ) << SPICTRL_CAP_SSSZ_SHIFT ) & \
SPICTRL_CAP_SSSZ_MASK )

◆ SPICTRL_CAP_SSSZ_GET

#define SPICTRL_CAP_SSSZ_GET (   _reg)
Value:
( ( ( _reg ) & SPICTRL_CAP_SSSZ_MASK ) >> \
SPICTRL_CAP_SSSZ_SHIFT )

◆ SPICTRL_CAP_SSSZ_SET

#define SPICTRL_CAP_SSSZ_SET (   _reg,
  _val 
)
Value:
( ( ( _reg ) & ~SPICTRL_CAP_SSSZ_MASK ) | \
( ( ( _val ) << SPICTRL_CAP_SSSZ_SHIFT ) & \
SPICTRL_CAP_SSSZ_MASK ) )