Interrupt Soure

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

Interrupt Soure

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

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