English
Language : 

GMS81504 Datasheet, PDF (30/54 Pages) List of Unclassifed Manufacturers – CMOS SINGLE-CHIP 8-BIT MICROCONTROLLER
GMS81504
HYUNDAI MicroElectronics
16-bit Timer/Counter Mode
The Timer register is being run with all 16 bits. A 16-bit
timer/counter register T0, T1 are incremented from
0000H until it matches TDR0, TDR1 and then resets
to 0000H. The match output generates Timer 0 inter-
rupt.
The clock source of the Timer 0 is selected either
internal or external clock by bit T0SL1, T0SL0.
Bit T1ST is not effect in this 16-bit mode.
Bit T0SL1 and T0SL0 select the clock source among
three prescaler divide ratio and external EC0 clock.
MSB
TM0
CAP0
0
T1ST
X
T1SL1 T1SL0
0
0
T0ST
X
LSB
T0CN T0SL1
X
X
T0SARLDE0SDERTESVSA:LEU2EH: 00H
X
EC0 PIN
XIN PIN
T0SL[1:0]
EDGE DETECTOR
÷4
÷ 16
÷ 64
PRESCALER
MUX
DO NOT CARE
"0"
"1"
T0ST
0: Stop
1: Clear and Start
T1
T0
(16 BITS)
CLEAR
T0CN
TIMER 0 + TIMER 1
COMPARATOR
TDR1
TDR0
(16 BITS)
HIGHER LOWER
T0IF
TIMER 0
INTERRUPT
(NOT TIMER 1 INTERRUPT)
Figure 18. 16-bit Timer/Counter Mode
30