MAX32690 Peripheral Driver API
Peripheral Driver API for the MAX32690
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
SPI_DMA

Macros

#define MXC_F_SPI_DMA_TX_THD_VAL_POS   0
 
#define MXC_F_SPI_DMA_TX_THD_VAL   ((uint32_t)(0x1FUL << MXC_F_SPI_DMA_TX_THD_VAL_POS))
 
#define MXC_F_SPI_DMA_TX_FIFO_EN_POS   6
 
#define MXC_F_SPI_DMA_TX_FIFO_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_TX_FIFO_EN_POS))
 
#define MXC_F_SPI_DMA_TX_FLUSH_POS   7
 
#define MXC_F_SPI_DMA_TX_FLUSH   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_TX_FLUSH_POS))
 
#define MXC_F_SPI_DMA_TX_LVL_POS   8
 
#define MXC_F_SPI_DMA_TX_LVL   ((uint32_t)(0x3FUL << MXC_F_SPI_DMA_TX_LVL_POS))
 
#define MXC_F_SPI_DMA_DMA_TX_EN_POS   15
 
#define MXC_F_SPI_DMA_DMA_TX_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_DMA_TX_EN_POS))
 
#define MXC_F_SPI_DMA_RX_THD_VAL_POS   16
 
#define MXC_F_SPI_DMA_RX_THD_VAL   ((uint32_t)(0x1FUL << MXC_F_SPI_DMA_RX_THD_VAL_POS))
 
#define MXC_F_SPI_DMA_RX_FIFO_EN_POS   22
 
#define MXC_F_SPI_DMA_RX_FIFO_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_RX_FIFO_EN_POS))
 
#define MXC_F_SPI_DMA_RX_FLUSH_POS   23
 
#define MXC_F_SPI_DMA_RX_FLUSH   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_RX_FLUSH_POS))
 
#define MXC_F_SPI_DMA_RX_LVL_POS   24
 
#define MXC_F_SPI_DMA_RX_LVL   ((uint32_t)(0x3FUL << MXC_F_SPI_DMA_RX_LVL_POS))
 
#define MXC_F_SPI_DMA_DMA_RX_EN_POS   31
 
#define MXC_F_SPI_DMA_DMA_RX_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_DMA_RX_EN_POS))
 

Detailed Description

Register for controlling DMA.

Macro Definition Documentation

◆ MXC_F_SPI_DMA_DMA_RX_EN

#define MXC_F_SPI_DMA_DMA_RX_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_DMA_RX_EN_POS))

DMA_DMA_RX_EN Mask

◆ MXC_F_SPI_DMA_DMA_RX_EN_POS

#define MXC_F_SPI_DMA_DMA_RX_EN_POS   31

DMA_DMA_RX_EN Position

◆ MXC_F_SPI_DMA_DMA_TX_EN

#define MXC_F_SPI_DMA_DMA_TX_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_DMA_TX_EN_POS))

DMA_DMA_TX_EN Mask

◆ MXC_F_SPI_DMA_DMA_TX_EN_POS

#define MXC_F_SPI_DMA_DMA_TX_EN_POS   15

DMA_DMA_TX_EN Position

◆ MXC_F_SPI_DMA_RX_FIFO_EN

#define MXC_F_SPI_DMA_RX_FIFO_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_RX_FIFO_EN_POS))

DMA_RX_FIFO_EN Mask

◆ MXC_F_SPI_DMA_RX_FIFO_EN_POS

#define MXC_F_SPI_DMA_RX_FIFO_EN_POS   22

DMA_RX_FIFO_EN Position

◆ MXC_F_SPI_DMA_RX_FLUSH

#define MXC_F_SPI_DMA_RX_FLUSH   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_RX_FLUSH_POS))

DMA_RX_FLUSH Mask

◆ MXC_F_SPI_DMA_RX_FLUSH_POS

#define MXC_F_SPI_DMA_RX_FLUSH_POS   23

DMA_RX_FLUSH Position

◆ MXC_F_SPI_DMA_RX_LVL

#define MXC_F_SPI_DMA_RX_LVL   ((uint32_t)(0x3FUL << MXC_F_SPI_DMA_RX_LVL_POS))

DMA_RX_LVL Mask

◆ MXC_F_SPI_DMA_RX_LVL_POS

#define MXC_F_SPI_DMA_RX_LVL_POS   24

DMA_RX_LVL Position

◆ MXC_F_SPI_DMA_RX_THD_VAL

#define MXC_F_SPI_DMA_RX_THD_VAL   ((uint32_t)(0x1FUL << MXC_F_SPI_DMA_RX_THD_VAL_POS))

DMA_RX_THD_VAL Mask

◆ MXC_F_SPI_DMA_RX_THD_VAL_POS

#define MXC_F_SPI_DMA_RX_THD_VAL_POS   16

DMA_RX_THD_VAL Position

◆ MXC_F_SPI_DMA_TX_FIFO_EN

#define MXC_F_SPI_DMA_TX_FIFO_EN   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_TX_FIFO_EN_POS))

DMA_TX_FIFO_EN Mask

◆ MXC_F_SPI_DMA_TX_FIFO_EN_POS

#define MXC_F_SPI_DMA_TX_FIFO_EN_POS   6

DMA_TX_FIFO_EN Position

◆ MXC_F_SPI_DMA_TX_FLUSH

#define MXC_F_SPI_DMA_TX_FLUSH   ((uint32_t)(0x1UL << MXC_F_SPI_DMA_TX_FLUSH_POS))

DMA_TX_FLUSH Mask

◆ MXC_F_SPI_DMA_TX_FLUSH_POS

#define MXC_F_SPI_DMA_TX_FLUSH_POS   7

DMA_TX_FLUSH Position

◆ MXC_F_SPI_DMA_TX_LVL

#define MXC_F_SPI_DMA_TX_LVL   ((uint32_t)(0x3FUL << MXC_F_SPI_DMA_TX_LVL_POS))

DMA_TX_LVL Mask

◆ MXC_F_SPI_DMA_TX_LVL_POS

#define MXC_F_SPI_DMA_TX_LVL_POS   8

DMA_TX_LVL Position

◆ MXC_F_SPI_DMA_TX_THD_VAL

#define MXC_F_SPI_DMA_TX_THD_VAL   ((uint32_t)(0x1FUL << MXC_F_SPI_DMA_TX_THD_VAL_POS))

DMA_TX_THD_VAL Mask

◆ MXC_F_SPI_DMA_TX_THD_VAL_POS

#define MXC_F_SPI_DMA_TX_THD_VAL_POS   0

DMA_TX_THD_VAL Position