NO:
W90P710 Programming Guide
VERSION:
2.0
PAGE:
159
The above information is the exclusive intellectual property of Winbond Electronics and shall not be disclosed, distributed or reproduced without permission
from Winbond.
Table No.: 2005-W90P710-11-A
12.4.3
Timer Interrupt Service Routine
A common timer interrupt service routine is very simple. It increases the software counter and
clears the timer interrupt status. Figure 12-3 shows the flow chart of such an interrupt service routine.
Figure 12-3 Timer Interrupt Service Routine
Start
Increase
Software
Counter
Clear Timer
Interrupt
Status
End
TISR Register
[0] TIF0 : If TIF0 bit is 1, write TIF0 bit
by 0 to clear Timer 0 Interrupt.
[1] TIF1: If TIF1 bit is 1, write TIF1 bit
by 0 to clear Timer 1 interrupt