AnsweredAssumed Answered

ISR Self Identification

Question asked by Manish Sangram on May 31, 2016
Latest reply on May 31, 2016 by Manish Sangram

Hello,

 

We are using S12ZVMC128 MCU on our custom board.

 

There are about 25 or so interrupts which we are not handling which means the code is generated in CPU.c by PE. The code is set in PE configuration and is common for all ISR that it generates.

 

There is some common error handling we are doing for all these unhandled interrupts. Now we don't want to over ride and write unique code for each of these ISR.

 

So we want some way that the ISR code (which is same for all ISRs) can determine which interrupt it is servicing without writing a different code for each ISR. Basically we want to identify the interrupt within the ISR.

Outcomes