UC GEE
UC GEE
DIIDevHeads IoT Integration Server
Created by Marvee Amasi on 6/19/2024 in #middleware-and-os
how are local variables declared within the ISR handled?
@Marvee Amasi the behavior is not usually configurable. The stack of the task that triggered the interrupt is always used to store the local variables of the ISR(Interrupt Service Routine). These ISRs might be running multiple tasks at the same time. And secondly,try to allocate your local variables which you declared within an ISR on the task which triggers the interrupt in your program.
5 replies