Interrupt Soure

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

Interrupt Soure

825 次查看
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 回复

754 次查看
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 项奖励
回复