Azure Sphere MT3620 M4 API Reference Manual
|
Interface to SPI master, it's used to pass arguments between OS-HAL/M-HAL/HDL. More...
#include <mhal_spim.h>
Data Fields | |
void __iomem * | base |
spi controller base address | |
void __iomem * | cg_base |
CG base address of this spi controller. | |
u8 * | dma_tmp_tx_buf |
used for DMA tx temp buf, the size of tx buffer should be MTK_SPIM_DMA_BUFFER_BYTES | |
int | dma_tx_chan |
TX DMA channel. | |
int | dma_rx_chan |
RX DMA channel. | |
struct mtk_spi_transfer * | current_xfer |
the temp variable of current mtk_spi_transfer | |
struct mtk_spi_private * | mdata |
M-HAL privite structure, used by M-HAL only. | |
Interface to SPI master, it's used to pass arguments between OS-HAL/M-HAL/HDL.