![]() |
MAX32690 Peripheral Driver API
Peripheral Driver API for the MAX32690
|
Register for controlling SPI peripheral.
#define MXC_F_SPI_CTRL0_EN ((uint32_t)(0x1UL << MXC_F_SPI_CTRL0_EN_POS)) |
CTRL0_EN Mask
#define MXC_F_SPI_CTRL0_EN_POS 0 |
CTRL0_EN Position
#define MXC_F_SPI_CTRL0_MST_MODE ((uint32_t)(0x1UL << MXC_F_SPI_CTRL0_MST_MODE_POS)) |
CTRL0_MST_MODE Mask
#define MXC_F_SPI_CTRL0_MST_MODE_POS 1 |
CTRL0_MST_MODE Position
#define MXC_F_SPI_CTRL0_SS_ACTIVE ((uint32_t)(0xFUL << MXC_F_SPI_CTRL0_SS_ACTIVE_POS)) |
CTRL0_SS_ACTIVE Mask
#define MXC_F_SPI_CTRL0_SS_ACTIVE_POS 16 |
CTRL0_SS_ACTIVE Position
#define MXC_F_SPI_CTRL0_SS_CTRL ((uint32_t)(0x1UL << MXC_F_SPI_CTRL0_SS_CTRL_POS)) |
CTRL0_SS_CTRL Mask
#define MXC_F_SPI_CTRL0_SS_CTRL_POS 8 |
CTRL0_SS_CTRL Position
#define MXC_F_SPI_CTRL0_SS_IO ((uint32_t)(0x1UL << MXC_F_SPI_CTRL0_SS_IO_POS)) |
CTRL0_SS_IO Mask
#define MXC_F_SPI_CTRL0_SS_IO_POS 4 |
CTRL0_SS_IO Position
#define MXC_F_SPI_CTRL0_START ((uint32_t)(0x1UL << MXC_F_SPI_CTRL0_START_POS)) |
CTRL0_START Mask
#define MXC_F_SPI_CTRL0_START_POS 5 |
CTRL0_START Position
#define MXC_S_SPI_CTRL0_SS_ACTIVE_SS0 (MXC_V_SPI_CTRL0_SS_ACTIVE_SS0 << MXC_F_SPI_CTRL0_SS_ACTIVE_POS) |
CTRL0_SS_ACTIVE_SS0 Setting
#define MXC_S_SPI_CTRL0_SS_ACTIVE_SS1 (MXC_V_SPI_CTRL0_SS_ACTIVE_SS1 << MXC_F_SPI_CTRL0_SS_ACTIVE_POS) |
CTRL0_SS_ACTIVE_SS1 Setting
#define MXC_S_SPI_CTRL0_SS_ACTIVE_SS2 (MXC_V_SPI_CTRL0_SS_ACTIVE_SS2 << MXC_F_SPI_CTRL0_SS_ACTIVE_POS) |
CTRL0_SS_ACTIVE_SS2 Setting
#define MXC_S_SPI_CTRL0_SS_ACTIVE_SS3 (MXC_V_SPI_CTRL0_SS_ACTIVE_SS3 << MXC_F_SPI_CTRL0_SS_ACTIVE_POS) |
CTRL0_SS_ACTIVE_SS3 Setting
#define MXC_V_SPI_CTRL0_SS_ACTIVE_SS0 ((uint32_t)0x1UL) |
CTRL0_SS_ACTIVE_SS0 Value
#define MXC_V_SPI_CTRL0_SS_ACTIVE_SS1 ((uint32_t)0x2UL) |
CTRL0_SS_ACTIVE_SS1 Value
#define MXC_V_SPI_CTRL0_SS_ACTIVE_SS2 ((uint32_t)0x4UL) |
CTRL0_SS_ACTIVE_SS2 Value
#define MXC_V_SPI_CTRL0_SS_ACTIVE_SS3 ((uint32_t)0x8UL) |
CTRL0_SS_ACTIVE_SS3 Value