Interrupt Priorities
Two levels of priority
- Set an interrupt priority using the interrupt priority register
- A high-priority interrupt can interrupt an low-priority interrupt routine
- In no other case is an interrupt allowed
- An interrupt routine can always disable interrupts explicitly
- But you don’t want to do this
Priority chain within priority levels
- Choose a winner if two interrupts happen simultaneously
- Order shown on previous page