English
Language : 

GMS87C4060 Datasheet, PDF (44/102 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C4040/87C4060
PRELIMINARY
  initialized to between 01H~FFH not to 00H
Start count
ECn (n=2~3) pin
Up-counter
0
1
2
TDRn (n=2~3)
N
TnIF (n=2~3) interrupt
N-1
N0
1
2
Figure 11-10 Event Counter Mode Timing Chart
The interval period of Timer is calculated as below equa-
tion.
= ------- ×    × 
TDR2
Timer 2 (T2IF)
Interrupt
TDR2=n
n
n-1
n-2
~~
up-count
~~
8
7
6
5
4
3
2
1
0
PCP
~~
Interrupt period
= PCP x n
Occur interrupt
Occur interrupt
Occur interrupt
TIME
Figure 11-11 Count Example of Timer / Event counter
40
PRELIMINARY
Nov. 1999 Ver 1.0