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

dma_wrap specifies the DMA channel settings which control the address-wrap function for FULL-SIZE DMA and HALF-SIZE DMA. More...

#include <os_hal_dma.h>

Data Fields

u8 wrap_en
 Flag of transfer address-wrapping fucntion. More...
 
u8 wrap_side
 The side for using address-wrapping: source or destination, and only one side can activate address-wrapping feature at a time.
 
u32 wrap_point
 Wrap point from start address. More...
 
u32 wrap_to_addr
 The address which DMA will wrap to. More...
 

Detailed Description

dma_wrap specifies the DMA channel settings which control the address-wrap function for FULL-SIZE DMA and HALF-SIZE DMA.

Users should fill the right values for dma_wrap.

Field Documentation

u8 wrap_en

Flag of transfer address-wrapping fucntion.

If it is enabled, wrap_point and wrap_to_addr need to be set.

u32 wrap_point

Wrap point from start address.

If wrap_en is enable, DMA channel read/write pointer will jump to wrap_to_addr at wrap_point during data transfer.

u32 wrap_to_addr

The address which DMA will wrap to.

If wrap_en in dma_ctrl is enable, DMA channel read/write pointer will jump to wrap_to_addr at wrap_point during data transfer.


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