Azure Sphere MT3620 M4 API Reference Manual
|
This section introduces the typedef used by DMA M-HAL. More...
This section introduces the typedef used by DMA M-HAL.
Typedefs | |
typedef void(* | dma_isr_callback )(void *user_data) |
This defines the function prototype of DMA interrupt service routines callback. More... | |
typedef void(* dma_isr_callback)(void *user_data) |
This defines the function prototype of DMA interrupt service routines callback.
Different DMA channels have different interrupts. FULL-SIZE DMA has data transfer completion interrupt;
HALF-SIZE DMA has data transfer completion interrupt and half-completion interrupt;
VFF DMA has FIFO data overflow/ underflow interrupt and FIFO timeout interrupt.
dma_isr_callback will be called in the DMA interrupt service routine and it can notify users that corresponding HW event occurs.
This typedef is to describe the callback indicating what users want to do.
[in] | user_data | is a OS-HAL defined parameter provided by mtk_mhal_dma_config(). |