Does pending interrupts are executed during function call. Since, I faced this during debugging on function calls.
Debugger(msp430 Spi-Bi-Wire) goes into ISR and after clearing the flags, then it goes for function stack.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Does pending interrupts are executed during function call. Since, I faced this during debugging on function calls.
Debugger(msp430 Spi-Bi-Wire) goes into ISR and after clearing the flags, then it goes for function stack.
I'm not sure I understand the question. Interrupts can occur any time GIE is set, which is generally all the time outside any ISR, including while executing sub-functions..
Using the debugger can create illusions. E.g. on some devices interrupts are (effectively) disabled while stepping; if I see that happening I set a breakpoint on the next code line and Resume.
**Attention** This is a public forum