Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Are interrupts auto-vectored, or does software search for the interrupting source?

0
Posted

Are interrupts auto-vectored, or does software search for the interrupting source?

0

Interrupts are auto-vectored. However, if you have several different peripherals mapped to the same vector, the interrupt service routine software will have to interrogate all the mapped peripherals to determine which one caused the interrupt. For applications where timing is critical, you could map high-priority, unique vectors to the peripherals of greater importance. This way, every time an interrupt occurs on one of these peripherals, it corresponds unambiguously to that peripheral.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123