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

[复制链接]
 楼主| 阿凡达时尚大方 发表于 2014-4-21 11:21 | 显示全部楼层 |阅读模式
在Tiva的GPIO库中看到函数GPIOIntStatus,描述说参数bMasked是:If bMasked is set as true, then the masked interrupt status is returned; otherwise, the raw
interrupt status is returned。不清楚这两个中断时什么意思?求问!
dirtwillfly 发表于 2014-4-21 13:44 | 显示全部楼层
字面意思:
raw interrupt原始中断
masked interrupt隐蔽中断
 楼主| 阿凡达时尚大方 发表于 2014-4-21 18:19 | 显示全部楼层
dirtwillfly 发表于 2014-4-21 13:44
字面意思:
raw interrupt原始中断
masked interrupt隐蔽中断

额,能否说详细点,原来只用过8259这样的中断器,没见过这样的说法呀~
angerbird 发表于 2014-4-21 19:26 | 显示全部楼层
这个我也不是很清楚的,,学习下的啦
 楼主| 阿凡达时尚大方 发表于 2014-5-1 09:59 | 显示全部楼层
angerbird 发表于 2014-4-21 19:26
这个我也不是很清楚的,,学习下的啦

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

评分

参与人数 1威望 +2 收起 理由
dirtwillfly + 2 赞一个!

查看全部评分

163hxing 发表于 2015-11-24 09:49 | 显示全部楼层
请问这两种中断有什么作用呢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

5

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部

2

主题

5

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部