This group contains register bit definitions.
More...
|
#define | SPICTRL_MODE_LOOP 0x40000000U |
|
#define | SPICTRL_MODE_CPOL 0x20000000U |
|
#define | SPICTRL_MODE_CPHA 0x10000000U |
|
#define | SPICTRL_MODE_DIV_16 0x8000000U |
|
#define | SPICTRL_MODE_REV 0x4000000U |
|
#define | SPICTRL_MODE_MX 0x2000000U |
|
#define | SPICTRL_MODE_EN 0x1000000U |
|
#define | SPICTRL_MODE_LEN_SHIFT 20 |
|
#define | SPICTRL_MODE_LEN_MASK 0xf00000U |
|
#define | SPICTRL_MODE_LEN_GET(_reg) |
|
#define | SPICTRL_MODE_LEN_SET(_reg, _val) |
|
#define | SPICTRL_MODE_LEN(_val) |
|
#define | SPICTRL_MODE_PM_SHIFT 16 |
|
#define | SPICTRL_MODE_PM_MASK 0xf0000U |
|
#define | SPICTRL_MODE_PM_GET(_reg) |
|
#define | SPICTRL_MODE_PM_SET(_reg, _val) |
|
#define | SPICTRL_MODE_PM(_val) |
|
#define | SPICTRL_MODE_TWEN 0x8000U |
|
#define | SPICTRL_MODE_ASEL 0x4000U |
|
#define | SPICTRL_MODE_FACT 0x2000U |
|
#define | SPICTRL_MODE_OD 0x1000U |
|
#define | SPICTRL_MODE_CG_SHIFT 7 |
|
#define | SPICTRL_MODE_CG_MASK 0xf80U |
|
#define | SPICTRL_MODE_CG_GET(_reg) |
|
#define | SPICTRL_MODE_CG_SET(_reg, _val) |
|
#define | SPICTRL_MODE_CG(_val) |
|
#define | SPICTRL_MODE_ASELDEL_SHIFT 5 |
|
#define | SPICTRL_MODE_ASELDEL_MASK 0x60U |
|
#define | SPICTRL_MODE_ASELDEL_GET(_reg) |
|
#define | SPICTRL_MODE_ASELDEL_SET(_reg, _val) |
|
#define | SPICTRL_MODE_ASELDEL(_val) |
|
#define | SPICTRL_MODE_TAC 0x10U |
|
#define | SPICTRL_MODE_TTO 0x8U |
|
#define | SPICTRL_MODE_IGSEL 0x4U |
|
#define | SPICTRL_MODE_CITE 0x2U |
|
This group contains register bit definitions.
◆ SPICTRL_MODE_ASELDEL
#define SPICTRL_MODE_ASELDEL |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << SPICTRL_MODE_ASELDEL_SHIFT ) & \
SPICTRL_MODE_ASELDEL_MASK )
◆ SPICTRL_MODE_ASELDEL_GET
#define SPICTRL_MODE_ASELDEL_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & SPICTRL_MODE_ASELDEL_MASK ) >> \
SPICTRL_MODE_ASELDEL_SHIFT )
◆ SPICTRL_MODE_ASELDEL_SET
#define SPICTRL_MODE_ASELDEL_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~SPICTRL_MODE_ASELDEL_MASK ) | \
( ( ( _val ) << SPICTRL_MODE_ASELDEL_SHIFT ) & \
SPICTRL_MODE_ASELDEL_MASK ) )
◆ SPICTRL_MODE_CG
#define SPICTRL_MODE_CG |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << SPICTRL_MODE_CG_SHIFT ) & \
SPICTRL_MODE_CG_MASK )
◆ SPICTRL_MODE_CG_GET
#define SPICTRL_MODE_CG_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & SPICTRL_MODE_CG_MASK ) >> \
SPICTRL_MODE_CG_SHIFT )
◆ SPICTRL_MODE_CG_SET
#define SPICTRL_MODE_CG_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~SPICTRL_MODE_CG_MASK ) | \
( ( ( _val ) << SPICTRL_MODE_CG_SHIFT ) & \
SPICTRL_MODE_CG_MASK ) )
◆ SPICTRL_MODE_LEN
#define SPICTRL_MODE_LEN |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << SPICTRL_MODE_LEN_SHIFT ) & \
SPICTRL_MODE_LEN_MASK )
◆ SPICTRL_MODE_LEN_GET
#define SPICTRL_MODE_LEN_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & SPICTRL_MODE_LEN_MASK ) >> \
SPICTRL_MODE_LEN_SHIFT )
◆ SPICTRL_MODE_LEN_SET
#define SPICTRL_MODE_LEN_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~SPICTRL_MODE_LEN_MASK ) | \
( ( ( _val ) << SPICTRL_MODE_LEN_SHIFT ) & \
SPICTRL_MODE_LEN_MASK ) )
◆ SPICTRL_MODE_PM
#define SPICTRL_MODE_PM |
( |
|
_val | ) |
|
Value: ( ( ( _val ) << SPICTRL_MODE_PM_SHIFT ) & \
SPICTRL_MODE_PM_MASK )
◆ SPICTRL_MODE_PM_GET
#define SPICTRL_MODE_PM_GET |
( |
|
_reg | ) |
|
Value: ( ( ( _reg ) & SPICTRL_MODE_PM_MASK ) >> \
SPICTRL_MODE_PM_SHIFT )
◆ SPICTRL_MODE_PM_SET
#define SPICTRL_MODE_PM_SET |
( |
|
_reg, |
|
|
|
_val |
|
) |
| |
Value: ( ( ( _reg ) & ~SPICTRL_MODE_PM_MASK ) | \
( ( ( _val ) << SPICTRL_MODE_PM_SHIFT ) & \
SPICTRL_MODE_PM_MASK ) )