求问两种中断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条回答
阿凡达时尚大方
2019-07-25 05:19
angerbird 发表于 2014-4-21 19:26
这个我也不是很清楚的,,学习下的啦

我刚刚搞明白了。原始中断就是指外部中断源的状态,无论TIVA芯片是否屏蔽该中断源,这个中断源的中断状态都会被寄存器存储,从而可以通过相应的函数读取;隐蔽中断指的是是否屏蔽的状态。

一周热门 更多>