21.3.5 Interrupts

Table 21-3. Available Interrupt Vectors and Sources in Normal Mode
OffsetNameVector DescriptionConditions
0x00OVFOverflow and compare match interruptThe counter has reached its top value and wrapped to zero.
0x04CMP0Compare channel 0 interruptMatch between the counter value and the Compare 0 register.
0x06CMP1Compare channel 1 interruptMatch between the counter value and the Compare 1 register.
0x08CMP2Compare channel 2 interruptMatch between the counter value and the Compare 2 register.
Table 21-4. Available Interrupt Vectors and Sources in Split Mode
OffsetNameVector DescriptionConditions
0x00LUNFLow byte underflow interruptLow byte timer reaches BOTTOM.
0x02HUNFHigh byte underflow interruptHigh byte timer reaches BOTTOM.
0x04LCMP0Compare channel 0 interruptMatch between the counter value and the low byte of Compare 0 register.
0x06LCMP1Compare channel 1 interruptMatch between the counter value and the low byte of Compare 1 register.
0x08LCMP2Compare 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 Interrupt Flags register of the peripheral (peripheral.INTFLAGS).

An interrupt source is enabled or disabled by writing to the corresponding enable bit in the peripheral's Interrupt Control register (peripheral.INTCTRL).

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.