打印

psoc的中断嵌套原理

[复制链接]
3171|5
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
huigoushang|  楼主 | 2012-10-21 21:51 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
谁给解释一下psoc的中断嵌套原理
沙发
huigoushang|  楼主 | 2012-10-21 21:51 | 只看该作者
是否跟单片机一样?

使用特权

评论回复
板凳
G21372| | 2012-10-21 22:05 | 只看该作者
Question:
Why do I have to re-enable global interrupts?

Response:
Global nterrupts are disabled in Interrupt Service Routines (ISRs) by default. Re-enabling the global interrupts inside an ISR allows the next pending interrupt to be serviced while inside the ISR that enabled global interrupts. If the pending interrupt is lower priority than the one that enabled global interrupts, it will still be serviced.

Note: If you enable global interrupts inside an ISR that posts interrupts faster than they can be serviced, you may overflow your stack by constantly entering an ISR without exiting it.
看来是相同的

使用特权

评论回复
地板
yangguangaisha| | 2012-10-21 22:39 | 只看该作者
谁知道怎样在里面相应更高优先级

使用特权

评论回复
5
PSoC小子| | 2012-10-22 10:04 | 只看该作者
楼主看一下我附上的 PDF 吧

Interrupt Controller of PSoC1. pdf.pdf

183.78 KB

使用特权

评论回复
6
Go_PSoC| | 2012-10-22 21:55 | 只看该作者
楼上好资料

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

168

主题

1677

帖子

1

粉丝