Configure the channel attributes as follows, or use the following driver library
function:
uDMAChannelAttributeDisable(uint32_t ui32Base, uint32_t ui32ChannelNum, uint32_t ui32Attr)
- Program bit 0 of the DMA Set
Channel Priority register, DMA.SETCHNLPRIORITY, or the DMA Clear Channel
Priority register, DMA.CLEARCHNLPRIORITY, to set the channel to high priority or
default priority.
- Set bit 6 of the DMA Clear
Channel Primary Alternate register, DMA.CLEARCHNLPRIALT, to select the primary
channel control structure for this transfer.
- Set bit 6 of the DMA Channel
Clear Useburst register, DMA.CLEARBURST, to allow the μDMA controller to respond
to single requests and burst requests.
- Set bit 6 of the DMA Clear
Channel Request Mask register, DMA.CLEARREQMASK, to allow the μDMA controller to
recognize requests for this channel.