Google News
logo
Embedded C - Interview Questions
What is a nested interrupt?
In a nested interrupt system, an interrupt is allowed to any time and anywhere even an ISR is being executed. But, only the highest priority ISR will be executed immediately. The second highest priority ISR will be executed after the highest one is completed.
 
The rules of a nested interrupt system are :
 
* All interrupts must be prioritized.
* After initialization, any interrupts are allowed to occur anytime and anywhere.
* If a low-priority ISR is interrupted by a high-priority interrupt, the high-priority ISR is executed.
* If a high-priority ISR is interrupted by a low-priority interrupt, the high-priority ISR continues executing.
* The same priority ISRs must be executed by time order
Nested interrupt
If you , you should follow this course ““. The course contains video lectures of 18.5-hours length covering all topics like, Microcontroller & Peripheral Driver Development for STM32 GPIO, I2C, SPI, USART using Embedded C.
Advertisement