Hi,
I have a technical question in mind regarding the behavior of an Interrupt Service Routine (ISR) when its execution time exceeds than timer interval,
For example, When the timer ISR takes 1.5 milliseconds to execute while the timer interrupt is set for 1 millisecond intervals, I would like to understand the consequences of this scenario.
1. Does the ISR continue uninterrupted while the subsequent interrupt gets delayed?
2. Or, does the ISR not complete, and does the subsequent interrupt occur before it's finished?
My initial assumption is that the ISR won't finish and will be interrupted by the next interrupt, but I am looking confirmation and additional clarity on this matter.
If you think behavior is dependent on the specific microcontroller, I kindly request that you use your choice of microcontroller for explanation.
I appreciate any feedback
I have a technical question in mind regarding the behavior of an Interrupt Service Routine (ISR) when its execution time exceeds than timer interval,
For example, When the timer ISR takes 1.5 milliseconds to execute while the timer interrupt is set for 1 millisecond intervals, I would like to understand the consequences of this scenario.
1. Does the ISR continue uninterrupted while the subsequent interrupt gets delayed?
2. Or, does the ISR not complete, and does the subsequent interrupt occur before it's finished?
My initial assumption is that the ISR won't finish and will be interrupted by the next interrupt, but I am looking confirmation and additional clarity on this matter.
If you think behavior is dependent on the specific microcontroller, I kindly request that you use your choice of microcontroller for explanation.
I appreciate any feedback