
HMS81C43xx / GMS87C4060
41
November 2001 ver 1.2
initialized to between 01
H
~FF
H
not to 00
H
Figure 11-10 Event Counter Mode Timing Chart
The interval period of Timer is calculated as below equa-
tion.
Figure 11-11 Count Example of Timer / Event counter
0
1
2
1
0
N
2
~
~
N-1
N
~
~
~
ECn (n=2~3) pin
Up-counter
TDRn (n=2~3)
TnIF (n=2~3) interrupt
Start count
-------
×
×
=
~
Timer 2 (T2IF)
Interrupt
TDR2
TIME
Occur interrupt
Occur interrupt
Occur interrupt
Interrupt period
= P
CP
x n
upcoun
~
~
0
1
2
3
4
5
6
7
8
n
n-1
P
CP
n-2
TDR2=n