25.3.6 Interrupts

Table 25-7. Available Interrupt Vectors and Sources
Name Vector Description Conditions
OVF Overflow interrupt Timer/Counter has reached TOP or MAX
CMP0 Compare Channel 0 interrupt Match between the counter value and the Compare or Compare 0 register
CMP1 Compare Channel 1 interrupt Match between the counter value and the Compare 1 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 Interrupt Control (peripheral.INTCTRL) register.

An interrupt request generates when the corresponding interrupt source is enabled - and the interrupt flag is set. The interrupt request remains active until clearing the interrupt flag. See the peripheral’s INTFLAGS register for details on how to clear interrupt flags.