Machine-translated by Google. Questions are authored in English.
Top

Discussion

Interrupt nesting means that

  • A.several sources share one vector in the table
  • B.an interrupt is serviced twice before its flag is cleared
  • C.interrupts are queued and then serviced in the order in which they arrived
  • D.a higher priority interrupt may interrupt a handler already running

Answer: D

Correct answer: a higher priority interrupt may interrupt a handler already running

Nesting allows a handler to be pre-empted by a source of higher priority, so an urgent event is not held up behind a slower one. It is what keeps worst-case latency bounded for the highest-priority source, and its cost is stack depth - each nested level saves another context, so the stack must be sized for the deepest possible nesting.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.