Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
mtk_spi_controller Struct Reference

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_transfercurrent_xfer
 the temp variable of current mtk_spi_transfer
 
struct mtk_spi_privatemdata
 M-HAL privite structure, used by M-HAL only.
 

Detailed Description

Interface to SPI master, it's used to pass arguments between OS-HAL/M-HAL/HDL.


The documentation for this struct was generated from the following file: