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

M-HAL private structure. More...

#include <mhal_i2c.h>

Data Fields

u8 * tx_buff
 used for tx temp buf
 
u8 * rx_buff
 used for rx temp buf
 
dma_addr_t tx_dma_addr
 temp tx DMA physical addr
 
dma_addr_t rx_dma_addr
 temp rx DMA physical addr
 
u32 tx_len
 Temp transfer length to DMA.
 
u32 rx_len
 Temp transfer length to DMA.
 
void * user_data
 User_data is an OS-HAL defined parameter provided by mtk_mhal_i2c_dma_done_callback_register().
 
i2c_dma_done_callback dma_done_callback
 This function is used to register user's DMA done callback to OS-HAL layer.
 

Detailed Description

M-HAL private structure.

It's only used by DMA mode to program M-HAL. OS-HAL does not need to care this structure.


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