[S32K118] Use the same ISR for multiple interrupt sources

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

[S32K118] Use the same ISR for multiple interrupt sources

1,583件の閲覧回数
riglesias2021
Contributor III

Hi, I want to ask if its possible to use the same ISR for various interrupts sources, as I want to implement a "OS like" function that handles all the interrupts and jumps into the corresponding user ISR performing different privilege/stack adjustments.

 

I dont know if this is possible and if there is a way to know the specific interrupt source that caused the interrupt inside the same function.

 

Thanks!! All comments would be appreciated

0 件の賞賛
返信
1 返信

1,563件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

this sounds like deferred interrupt processing which is common practice. Interrupts are handled as usual but the handlers only record cause of interrupt and clear interrupt. Main function/task then can handle the events as required. Would this fit your needs?

Regards,

Lukas

0 件の賞賛
返信