中断 interrupt IVOR10_handler

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

中断 interrupt IVOR10_handler

跳至解决方案
208 次查看
smallyang
Contributor III
 

 

 

smallyang_3-1715240446514.png

 

 

smallyang_4-1715240474658.png

 

 

这个IVOR10改成IVOR11是这样改吗 ? 因为我需要四组中断​。

Is this IVOR10 changed to IVOR11? Because I need four sets of interrupts.

0 项奖励
回复
1 解答
187 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Not sure what you want to achieve.

But IVOR_x is exception to core.

If you need just interrupt, you will simply use IVOR4 which is external interrupt to core (from timer for example) and you will set ISR for it in your SW.

Best regards,

Peter

在原帖中查看解决方案

0 项奖励
回复
2 回复数
188 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Not sure what you want to achieve.

But IVOR_x is exception to core.

If you need just interrupt, you will simply use IVOR4 which is external interrupt to core (from timer for example) and you will set ISR for it in your SW.

Best regards,

Peter

0 项奖励
回复
175 次查看
smallyang
Contributor III

smallyang_0-1715324683946.png

 

smallyang_1-1715324779779.png

 

非常谢谢您!  我找到方法了,  我想用4个中断判断四组每组两个引脚电压变高的时间差,我还是用的IVOR10 1us中断  , 然后写了几个SwIrq0ISR SwIrq1ISR SwIrq2ISR SwIrq3ISR每间隔1us 进入SwIrqxISR同时去判断时间差.

 

Thank you very much! I found a way. I want to use four interrupts to determine the time difference between four sets of two pin voltages each, I still use IVOR10 1us interrupt, and then write several SwIrq0ISR SwIrq1ISR SwIrq2ISR SwIrq3ISR into SwIrqxISR every 1us to determine the time difference.

0 项奖励
回复