Interrupt Soure

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

Interrupt Soure

837 Views
shawnlammers
Contributor I

With the 9S12XE512 we configure all unused vectors to point to a dummy handler that then throws an exception to halt the code.

I have the situation where this trap function is being called periodically but I can not figure out which interrupt/vector is being called.

If I place a break point in my interrupt handler is there any way to determine that vector address that caused the call?

0 Kudos
Reply
1 Reply

766 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

You can use an interrupt catcher like the one attached.

The variable 'number_of_ISR' will then identify the vector.

Regards,

Daniel

0 Kudos
Reply