![]() |
MAX78002 Peripheral Driver API
Peripheral Driver API for the MAX78002
|
Register for controlling DMA.
#define MXC_F_SPI_DMA_DMA_RX_EN ((uint32_t)(0x1UL << MXC_F_SPI_DMA_DMA_RX_EN_POS)) |
DMA_DMA_RX_EN Mask
#define MXC_F_SPI_DMA_DMA_RX_EN_POS 31 |
DMA_DMA_RX_EN Position
#define MXC_F_SPI_DMA_DMA_TX_EN ((uint32_t)(0x1UL << MXC_F_SPI_DMA_DMA_TX_EN_POS)) |
DMA_DMA_TX_EN Mask
#define MXC_F_SPI_DMA_DMA_TX_EN_POS 15 |
DMA_DMA_TX_EN Position
#define MXC_F_SPI_DMA_RX_FIFO_EN ((uint32_t)(0x1UL << MXC_F_SPI_DMA_RX_FIFO_EN_POS)) |
DMA_RX_FIFO_EN Mask
#define MXC_F_SPI_DMA_RX_FIFO_EN_POS 22 |
DMA_RX_FIFO_EN Position
#define MXC_F_SPI_DMA_RX_FLUSH ((uint32_t)(0x1UL << MXC_F_SPI_DMA_RX_FLUSH_POS)) |
DMA_RX_FLUSH Mask
#define MXC_F_SPI_DMA_RX_FLUSH_POS 23 |
DMA_RX_FLUSH Position
#define MXC_F_SPI_DMA_RX_LVL ((uint32_t)(0x3FUL << MXC_F_SPI_DMA_RX_LVL_POS)) |
DMA_RX_LVL Mask
#define MXC_F_SPI_DMA_RX_LVL_POS 24 |
DMA_RX_LVL Position
#define MXC_F_SPI_DMA_RX_THD_VAL ((uint32_t)(0x1FUL << MXC_F_SPI_DMA_RX_THD_VAL_POS)) |
DMA_RX_THD_VAL Mask
#define MXC_F_SPI_DMA_RX_THD_VAL_POS 16 |
DMA_RX_THD_VAL Position
#define MXC_F_SPI_DMA_TX_FIFO_EN ((uint32_t)(0x1UL << MXC_F_SPI_DMA_TX_FIFO_EN_POS)) |
DMA_TX_FIFO_EN Mask
#define MXC_F_SPI_DMA_TX_FIFO_EN_POS 6 |
DMA_TX_FIFO_EN Position
#define MXC_F_SPI_DMA_TX_FLUSH ((uint32_t)(0x1UL << MXC_F_SPI_DMA_TX_FLUSH_POS)) |
DMA_TX_FLUSH Mask
#define MXC_F_SPI_DMA_TX_FLUSH_POS 7 |
DMA_TX_FLUSH Position
#define MXC_F_SPI_DMA_TX_LVL ((uint32_t)(0x3FUL << MXC_F_SPI_DMA_TX_LVL_POS)) |
DMA_TX_LVL Mask
#define MXC_F_SPI_DMA_TX_LVL_POS 8 |
DMA_TX_LVL Position
#define MXC_F_SPI_DMA_TX_THD_VAL ((uint32_t)(0x1FUL << MXC_F_SPI_DMA_TX_THD_VAL_POS)) |
DMA_TX_THD_VAL Mask
#define MXC_F_SPI_DMA_TX_THD_VAL_POS 0 |
DMA_TX_THD_VAL Position