CoX Peripheral Interface V2.1
API Reference
DMA

Peripheral direct memory access (PDMA) controller that transfers data to and from memory or transfer data to and from APB devices. The PDMA has nine channels of DMA (Peripheral-to-Memory , Memory-to-Peripheral or Memory-to-Memory). For each PDMA channel (PDMA CH0~CH8), there is one word buffer as transfer buffer between the Peripherals APB devices and Memory. More...

Collaboration diagram for DMA:

Modules

 xDMA
 

CoX DMA Peripheral Interface.



Detailed Description

Peripheral direct memory access (PDMA) controller that transfers data to and from memory or transfer data to and from APB devices. The PDMA has nine channels of DMA (Peripheral-to-Memory , Memory-to-Peripheral or Memory-to-Memory). For each PDMA channel (PDMA CH0~CH8), there is one word buffer as transfer buffer between the Peripherals APB devices and Memory.


Contents


1. PDMA Function Desc


1.1 Device DMA controller configuration

Set the control parameters for a DMA channel such as width of data, address mode and transfer direction .

Assign the channel through the Source request or Destination request.


1.2 PDMA interrupt control

Each DMA channel can generates an individual interrupt when data transfer is finished target abort interrupt generation during PDMA transfer,you can use it if you need. The interrupt event flag will generates an interrupt to CPU if the interrupt enable bit IE is set.


trigger DMA transfer which is in your mode

After set all the configuration, you may start the DMA by trigger a transfer.


2. DMA Applications

add in the future


Note:
Here describe the common function of the DMA. The CoX DMA Interface base on the functions above