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

dma_setting specifies the DMA channel settings which control the DMA channel transfer. More...

#include <os_hal_dma.h>

Data Fields

u8 interrupt_flag
 The flag of DMA hardware interrupt, please refer to dma_interrupt_type.
 
u8 dir
 Transfer direction, only for HALF-SIZE DMA and VFF DMA. More...
 
u32 src_addr
 The source address of data transfer. More...
 
u32 dst_addr
 The destination address of data transfer. More...
 
u32 count
 The total byte count of data transfer. More...
 
u8 reload_en
 Reload transfer count flag, only for HALF-SIZE DMA. More...
 
struct dma_vfifo vfifo
 The VFF DMA specified setting. More...
 
struct dma_control_mode ctrl_mode
 The setting to control DMA hardware transfer mode. More...
 

Detailed Description

dma_setting specifies the DMA channel settings which control the DMA channel transfer.

Users should fill the right value according to application scenarios.

Field Documentation

u8 dir

Transfer direction, only for HALF-SIZE DMA and VFF DMA.

Refer to dma_dir in M-HAL.

u32 src_addr

The source address of data transfer.

u32 dst_addr

The destination address of data transfer.

u32 count

The total byte count of data transfer.

u8 reload_en

Reload transfer count flag, only for HALF-SIZE DMA.

struct dma_vfifo vfifo

The VFF DMA specified setting.

struct dma_control_mode ctrl_mode

The setting to control DMA hardware transfer mode.


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