King Billion Electronics Co., Ltd.
HE89C21
駿 億 電 子 股 份 有 限 公 司
HE80000 SERIES
addressing mode are provided. Most of instructions take only 3 oscillator clocks to execute.
2.Features
9
9
9
9
Operation Voltage:
Internal ROM:
2.4V ~ 5.5V
16 KB Program ROM
512 Bytes.
Internal RAM:
Dual Clock System:
Fast clock:
32768 ~ 8M Hz
Slow clock: 32768 Hz
Fast, Slow, Idle, Sleep Mode.
9
9
Operation Mode:
16 bit Bi-directional general purpose I/O port with output type (push-pull or open drain)
selectable for each I/O pin by mask option.
9
9
9
9
9
9
9
9
4 COM x 32 SEG LCD driver (A, B type waveform selectable).
Built-in Regulator for providing LCD with a stable operation voltage over the battery life.
Built-in DTMF Generator.
Built-in Low Voltage Reset function
Two external interrupts and three internal timer interrupts.
Two 16-bit timers and one Time Base timer.
Watch Dog Timer to prevent deadlock condition.
Instruction set: 32 instructions with 4 addressing modes.
3.Pin Description
1
52
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
PRTC5
TSTP
FXI
2
3
PRTC4
PRTC3
PRTC2
PRTC1
PRTC0
SEG31
SEG30
SEG29
SEG28
SEG27
SEG26
SEG25
SEG24
SEG23
SEG22
SEG21
FXO
4
RSTP
GND
LV3
5
6
7
LV2
8
LV1
9
LC2
HE89C21
10
11
12
13
14
15
16
17
LC1
COM0
COM1
COM2
COM3
SEG0
SEG1
SEG2
Pin Name
PRTC[7..0] 66,67,1~6 B
SEG[31..0] 7 ~ 38
Pin # I/O
Description
8-bit bi-directional general purpose I/O port C. The output type of I/O pad can also be
selected by mask option MO_CPP[7..0] (‘1’ for push-pull and ‘0’ for open-drain).
As the output structure of I/O pad does not contain tri-state buffer. When using the
I/O as input, ‘1’ must be outputted before reading the pin.
O LCD SEGMENT SEG[31..0] outputs.
COM[3..0] 39 ~ 42 O LCD COMMON COM[3..0[ outputs.
LC1
LC2
43
44
B
B
Charge Pump Capacitor Pin
Charge Pump Capacitor Pin
January 20, 2003
2
V1.0E