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

Discussion

A handler returns but the same interrupt is entered again immediately and repeatedly. The most likely cause is

  • A.the pending flag was not cleared in the handler
  • B.the interrupt priority was set too low
  • C.the vector table was placed at the wrong address
  • D.the stack was not large enough for the nesting depth

Answer: A

Most peripherals latch a flag that the handler must clear explicitly, and an uncleared flag re-asserts the request the moment the handler returns. A wrong vector address gives a crash rather than a loop, and an undersized stack gives corruption.

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

Post your comment

Please log in or register to post a comment.