Concept Flow - Nested interrupt handling
Interrupt 1 occurs
Interrupt 1 handler starts
Interrupt 2 occurs (higher priority)
Interrupt 1 paused
Interrupt 2 handler runs
Interrupt 2 handler ends
Interrupt 1 resumes
Interrupt 1 handler ends
Return to main program
When a higher priority interrupt occurs during a lower priority interrupt, the lower one pauses, the higher runs, then the lower resumes.