Quantcast
Channel: Hercules™︎ 安全微控制器论坛 - 最近的话题
Viewing all articles
Browse latest Browse all 775

关于DMA Auto-Initiation的问题

$
0
0


8 Auto-Initiation
When Auto-initiation Mode (AIM) bit of Channel Control Register (Section 16.3.2.4) is enabled for a
channel and the channel is triggered by a software request for a block transfer, the channel will restart
again using the same channel information stored at the respective control packet after one block transfer
is completed. In the case of Hardware Request, the channel needs to be retriggered each time after a
block is complete even if auto-initiation is enabled.

我用ADC的 EV_BLK_XFER 触发 DMA。只能触发一次DMA。
要怎样 retriggered each time?

是每次 block transfer is completed 后,都 要重新调用dmaSetCtrlPacket 吗?
dmaSetCtrlPacket(DMA_CH0,adc1DmaDefaultConfig);??


Viewing all articles
Browse latest Browse all 775