21.3.5 Interrupts

Table 21-3. Available Interrupt Vectors and Sources in Normal Mode For Devices With More Than 8 KB Flash
OffsetNameVector DescriptionConditions
0x00OVFOverflow and compare match interruptThe counter has reached its top value and wrapped to zero.
0x08CMP0Compare channel 0 interruptMatch between the counter value and the Compare 0 register.
0x0ACMP1Compare channel 1 interruptMatch between the counter value and the Compare 1 register.
0x0ECMP2Compare 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.
0x04HUNFHigh byte underflow interruptHigh byte timer reaches BOTTOM.
0x08LCMP0Compare channel 0 interruptMatch between the counter value and the low byte of Compare 0 register.
0x0ALCMP1Compare channel 1 interruptMatch between the counter value and the low byte of Compare 1 register.
0x0ELCMP2Compare 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.