It is decided by interrupt priority.Another question. I seldom use interrupts and therefore I'm no expert on them.
If I have two interrupt sources, say timer0 overflow, and external interrupt 0; and I use two separate routines to deal with each of them, will one routine be interrupted by the other? Or does that have to do with how interrupt priority is set up?
You can change interrupt priority for interrupts.
The interrupt priority is set in IP register.
Higher priority interrupt can interrupt lower priority interrupt. It is called Interrupt Inside Interrupt.
Last edited: