在线时间21 小时
UID158676
注册时间2009-11-12
NXP金币0
该用户从未签到
注册会员

- 积分
- 102
- 最后登录
- 2020-1-7
|
KL25的Reference 手册Section23.3.3关于DMA_DSR_BCRn寄存器的DONE标志位有如下描述
Set when all DMA controller transactions complete as determined by transfer count, or based on error
conditions. When BCR reaches zero, DONE is set when the final transfer completes successfully. DONE
can also be used to abort a transfer by resetting the status bits. When a transfer completes, software must
clear DONE before reprogramming the DMA.
按照字面意思DONE可以通过重置状态位来结束一次传输,这个状态位应该不是指ERROR的状态位(ERROR),我想知道手册上说的状态位到底是什么,主要是我想人为的中断一次DMA的传输(在传输的BCR的值没有到0之前),然后通过DONE标志位触发一次DMA中断,请问这个是否可行?
|
|