查看: 1781|回复: 0

[求助] 【KL25 DMA问题】关于DMA_DSR_BCRn寄存器的DONE标志位

[复制链接]

该用户从未签到

3

主题

24

帖子

0

注册会员

Rank: 2

积分
102
最后登录
2020-1-7
发表于 2015-2-16 12:57:09 | 显示全部楼层 |阅读模式
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中断,请问这个是否可行?
我知道答案 目前已有0人回答
回复

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-7-22 15:25 , Processed in 0.083469 second(s), 21 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表