English
Language : 

GMS97C2051 Datasheet, PDF (6/39 Pages) Hynix Semiconductor – 8-Bit CMOS Microcontorller
GMS97C2051/L2051
8-Bit CMOS Microcontroller
Table 3. SFR lists and their addresses
Symbol
* ACC
*B
DPH
DPL
* PSW
SP
* IE
* IP
* P1
* P3
* SCON
SBUF
* TCON
TH0
TH1
TL0
TL1
* TMOD
Name
Address
Accumulator
E0H
B Register
F0H
Data Pointer High Byte
83H
Data Pointer Low Byte
82H
Program Status Word
D0H
Stack Pointer
81H
Interrupt Enable Control
A8H
Interrupt Priority Control
B8H
Port 1
90H
Port 3
B0H
Serial Control
98H
Serial Data Buffer
99H
Timer/Counter Control
88H
Timer/Counter 0 High Bytes
8CH
Timer/Counter 1 High Bytes
8DH
Timer/Counter 0 Low Bytes
8AH
Timer/Counter 1 Low Bytes
8BH
Timer/Counter Mode Control
89H
* = Bit addressable SFR
Timer/Counter 0 and 1
The GMS97C2051/L2051 has two 16-bit Timer/
Counter register : Timer0 and Timer1 . As a Timer,
the register is incremented every machine cycle.
Thus, the register counts machine cycle. Since a
machine cycle consists of 12 oscillator periods, the
count rate is 1/12 of the oscillator frequency. As a
counter, the register is incremented in response to a
1-to-0 transition at its corresponding external input
pin P3.4/T0 and P3.5/T1. Since 2 machine cycles
Table 4. Timer / Counter 0 and 1 Operating Modes
are required to recognize a 1-to-0 transition, the
maximum count rate is 1/24 of the oscillator fre-
quency. External inputs P3.2/INT0 and 3.3/INT1
can be programmed to function as a gate to facili-
tate pulse width measurements. Timer/Counter 0
and 1 can be used in four operating modes as listed
in Table 4. Figure 3 illustrates the input clock
logic.
Mode
Description
TMOD
Gate C / T M1
M0
0 8-bit Timer/Counter with 5-bit prescaler
×
×
0
0
1 16-bit timer/counter
×
×
0
1
2 8-bit Auto-Reload Timer/Counter
×
×
1
0
(Timer 0) : TL0 is an 8-bit Timer/Counter controlled by
3
the standard Timer 0 control bits, TH0 is an 8-bit Timer
and is controlled by Timer 1
×
×
1
1
(Timer 1) : stop
HYUNDAI MicroElectronics
6