25.3.6 Interrupts

Table 25-7. Available Interrupt Vectors and Sources
NameVector DescriptionConditions
OVFOverflow interruptTimer/Counter has reached TOP or MAX
CMP0Compare Channel 0 interruptMatch between the counter value and the Compare or Compare 0 register
CMP1Compare Channel 1 interruptMatch 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.