Interesting interactions
What if other devices also need to use timer(e.g., PWM device)?
- timer interrupts now need to be handled differently depending on which device’s alarm is going off
Benefits of special-purpose output compare peripheral
- output compare pins used exclusively for one device
- each output compare has a separate interrupt handling routine
What if we don’t have output compare capability?