Skip to main content

Microcontrollers

Exercises 8.4 Practice Problems

7.

The following interrupts are triggered while PCINT2 is being serviced: TIMER1 OVF, ADC, INT0, and ADC. Which interrupts will be serviced, in what order, once the ISR concludes?
Answer.
INT0 will be serviced first, followed by TIMER1 OVF, followed by ADC. The ADC interrupt will only be serviced once even though it was triggered twice.