Interrupts
Allow parallel tasking
- Interrupt routine runs in “background”
Allow fast, low-overhead interaction with environment
- Don’t have to poll
- Immediate reaction
An automatic function call
8051 Interrupts
- Serial port - wake up when data arrives/data has left
- Timer 0 overflow
- Timer 1 overflow
- External interrupt 0
- External interrupt 1