求问两种中断raw interrupt和masked interrupt的区别

2019-07-24 16:13发布

在Tiva的GPIO库中看到函数GPIOIntStatus,描述说参数bMasked是:If bMasked is set as true, then the masked interrupt status is returned; otherwise, the raw
interrupt status is returned。不清楚这两个中断时什么意思?求问!
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
5条回答
dirtwillfly
1楼-- · 2019-07-24 17:19
字面意思:
raw interrupt原始中断
masked interrupt隐蔽中断
阿凡达时尚大方
2楼-- · 2019-07-24 22:21
dirtwillfly 发表于 2014-4-21 13:44
字面意思:
raw interrupt原始中断
masked interrupt隐蔽中断

额,能否说详细点,原来只用过8259这样的中断器,没见过这样的说法呀~
angerbird
3楼-- · 2019-07-25 00:51
 精彩回答 2  元偷偷看……
阿凡达时尚大方
4楼-- · 2019-07-25 05:19
angerbird 发表于 2014-4-21 19:26
这个我也不是很清楚的,,学习下的啦

我刚刚搞明白了。原始中断就是指外部中断源的状态,无论TIVA芯片是否屏蔽该中断源,这个中断源的中断状态都会被寄存器存储,从而可以通过相应的函数读取;隐蔽中断指的是是否屏蔽的状态。
163hxing
5楼-- · 2019-07-25 08:44
请问这两种中断有什么作用呢

一周热门 更多>