How to get the ID of the current executing interrupt on LPC54101?

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

How to get the ID of the current executing interrupt on LPC54101?

487 次查看
dmfen
Contributor I

Hi There,

Is there a register on the LPC54101 which provides the ID of the current executing interrupt?

I can see that Interrupt Active Bit Registers A & B show what interrupts are active, but I want to know which one is currently being executed by the CPU.

Cheers,

Donal

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

357 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi D M,

Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.

The IABR0 and IABR1 registers are able to illustrate the current active state of peripheral interrupt, the BITs in the IABR0 register corresponds to the first 32 peripheral interrupts and the additional interrupts can have their active state read via the IABR1 register.

Hope it helps.
Have a great day,
Ping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复