Search FAQs on the left to see if your question has been answered. Click on the dropdown to view all of the documents associated with the product. If you can't find your question, click on Ask a Question.

ADuC845 interrupt priority handling

A few questions question regarding ADUC845 interrupt system:

Q1. A high priority interrupt can interrupt the service routine of a low
priority interrupt, Does the system comeback to service this low priority
interrupt
later?

Q2. If two interrupts of the same priority level occur simultaneously, the
polling sequence, Q Could you explain how this work please. Do we have queue?

 

Answers to questions regarding interrupt priority on ADuC845:

Answer 1. A high priority interrupt can interrupt the service routine of a
lower
priority interrupt and yes the 8052 core will come back to service the lower
priority
interrupt.

Answer 2. If two interrupts of the same priority level occur simultaneously,
the interrupt
source with the lower vector address will be serviced first. For example, Timer
0 interrupt
will be serviced before the ADC interrupt. Asserted IRQ sources are serviced in
sequence.


Comments
Anonymous
Related