21.3.5 Interrupts

Table 21-5. Available Interrupt Vectors and Sources in Normal Mode
NameVector DescriptionConditions
OVFOverflow or underflow interruptThe counter has reached TOP or BOTTOM
CMP0Compare Channel 0 interruptMatch between the counter value and the Compare 0 register
CMP1Compare Channel 1 interruptMatch between the counter value and the Compare 1 register
CMP2Compare Channel 2 interruptMatch between the counter value and the Compare 2 register
Table 21-6. Available Interrupt Vectors and Sources in Split Mode
NameVector DescriptionConditions
LUNFLow-byte Underflow interruptLow byte timer reaches BOTTOM
HUNFHigh-byte Underflow interruptHigh byte timer reaches BOTTOM
LCMP0Compare Channel 0 interruptMatch between the counter value and the low byte of the Compare 0 register
LCMP1Compare Channel 1 interruptMatch between the counter value and the low byte of the Compare 1 register
LCMP2Compare Channel 2 interruptMatch between the counter value and the low byte of the Compare 2 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 is generated when the corresponding interrupt source is enabled, and the interrupt flag is set. The interrupt request remains active until the interrupt flag is cleared. See the peripheral’s INTFLAGS register for details on how to clear interrupt flags.