AnsweredAssumed Answered

Self-Nesting with ISRs implemented in C-language

Question asked by JHVM on Jun 12, 2013
Latest reply on Jun 14, 2013 by JHVM



I'm using an SHARC ADSP21469, and want to use self-nesting interrupts for SPORT-IRQs. It is clear that I have to use the JUMP (CI) in conjunction with RTS(LR) when implementing the ISR in assembly-language. For several reasons, I would prefer to use C-language for the ISR implementation. It is also clear that I have to use the "#pragma interrupt" for the ISR definition and the buildin functions "interruptss() or signalss()" to register the ISR C-function. Further, within my IVT i can call the ISR via JUMP (CI) command. But what about the RTS(LR) instruction. How is that handled by the compiler in this case? Is it possible at all to use self-nesting with c-written ISRs?


Thanks in advance.