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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

488件の閲覧回数
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 返信

358件の閲覧回数
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 件の賞賛
返信