Skip to main content
Knowledgebase
Home
Renesas Electronics Europe - Knowledgebase

Can I return in a middle of a particular function from an interrupt?

Latest Updated:09/10/2007

Question:

Is it possible to return in a middle of a particular function when returning from an interrupt?

Answer:

Yes, it is. Use a setjmp function and longjmp function of the standard library.
Suitable Products
C/C++ Compiler Package for SuperH Family
C/C++ Compiler Package for H8SX, H8S, H8 Family