User`s guide

LZ87010 Advance User’s Guide Enhanced Timers
1/15/03 8-13
8.2.8 Timer Interrupts
Timer 2 and Timer 3 share interrupt vector 0x003B and interrupt level 7. Interrupt sources
are: Overflow, Compare 0, Compare 1, Capture 0, and Capture 1.
When any enabled interrupt condition in either of the two timers occurs, the interrupt ser-
vice routine at 0x003B will be called. The interrupt software is responsible for identifying
the interrupt source (by reading the interrupt status registers T2STA and T3STA) and
clearing the interrupt status bits. Clearing the interrupt bits in the T(x)STA registers will
clear the interrupt condition. However, setting the bits will not cause an interrupt.
Timer 4 and Timer 5 share interrupt vector 0x0033, with interrupt level 6. Interrupt sources
are: Overflow, Compare 0, and Compare 1. Interrupt handling is the same as with Timer 2
and Timer 3.