|
Azure Sphere MT3620 M4 API Reference Manual
|
dma_ctrl specifies the DMA channel settings which control the DMA channel transfer mode. More...
#include <mhal_dma.h>
Data Fields | |
| enum dma_dir | dir |
| Transfer direction, only for HALF-SIZE DMA and VFF DMA. More... | |
| u8 | wrap_en |
| Flag of transfer address-wrapping feature. 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. More... | |
| u8 | int_en |
| Enable transfer completion interrupt for FULL-SIZE DMA and HALF-SIZE DMA, or enable FIFO data interrupt for VFF DMA. | |
| u8 | timeout_int_en |
| Enable FIFO data timeout interrupt for VFF DMA. | |
| u8 | half_int_en |
| Enable half transfer completion interrupt for HALF-SIZE DMA. | |
| enum dma_burst_type | burst_type |
| Burst-type, only for FULL-SIZE DMA and HALF-SIZE DMA. More... | |
| u8 | bw_transfer_en |
| Word to byte or byte to word transfer flag, only for HALF-SIZE DMA. | |
| u8 | dreq |
| Throttle and handshake control for DMA Transfer between DMA and Peripheral. | |
| u8 | dst_inc_en |
| Destination addresses automatically increase after every transfer, only for FULL-SIZE DMA and HALF-SIZE DMA. | |
| u8 | src_inc_en |
| Source addresses automatically increase after every transfer, only for FULL-SIZE DMA and HALF-SIZE DMA. | |
| enum dma_transize | transize |
| Data size within the confine of a bus cycle per transfer. More... | |
dma_ctrl specifies the DMA channel settings which control the DMA channel transfer mode.
Users fill the field of dma_ctrl according to the DMA channel type and transfer mode.
| u8 wrap_en |
Flag of transfer address-wrapping feature.
If it is enabled, wrap_point and wrap_to_addr need to be set. Refer to struct dma_config.
Only for FULL-SIZE DMA and HALF-SIZE DMA.
| u8 wrap_side |
The side for using address-wrapping: source or destination, and only one side can activate address-wrapping feature at a time.
Only for FULL-SIZE DMA and HALF-SIZE DMA.
| enum dma_burst_type burst_type |
Burst-type, only for FULL-SIZE DMA and HALF-SIZE DMA.
Refer to dma_burst_type.
| enum dma_transize transize |
Data size within the confine of a bus cycle per transfer.
Refer to dma_transize.