23.3.6 Interrupts
Name | Vector Description | Conditions |
---|---|---|
OVF | Overflow or underflow interrupt | The counter has reached the TOP or BOTTOM |
CMP0 | Compare Channel 0 interrupt | Match between the counter value and the Compare 0 register |
CMP1 | Compare Channel 1 interrupt | Match between the counter value and the Compare 1 register |
CMP2 | Compare Channel 2 interrupt | Match between the counter value and the Compare 2 register |
CMP3 | Compare Channel 3 interrupt | Match between the counter value and the Compare 3 register |
When an interrupt condition occurs, the corresponding interrupt flag is set in the peripheral’s Interrupt Flags (peripheral.INTFLAGS) register.
An interrupt source is enabled or disabled by writing to the corresponding enable bit in the peripheral’s InterruptControl (peripheral.INTCTRL) register.