Q:

What is a nested interrupt?

0

What is a nested interrupt?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

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

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Embedded C interview questions and answers (2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is NVIC in ARM Cortex?... >>
<< Can we use any function inside ISR?...