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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

436 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Reply

306 Views
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 Kudos