English
Language : 

GMS81C2020 Datasheet, PDF (44/92 Pages) Hynix Semiconductor – CMOS Single-Chip 8-Bit Microcontroller with A/D Converter & VFD Driver
GMS81C2020/GMS81C2120
Hyundai Micro Electro nics
R00/
INT0
0
R00 (Normal I/O Port)
1
INT0 (External interrupt 0 Input
Port)
12.3 R1 and R1IO registers
R1 is an 8-bit high-voltage CMOS bidirectional I/O port
(address C2H). Each port can be set individually as input
and output through the R1IO register (address C3H). Each
port can directly drive a vacuum fluorescent display..
R1 Data Register
ADDRESS : C2H
RESET VALUE : Undefined
R1
R17 R16 R15 R14 R13 R12 R11 R10
R1 Direction Register
R1IO
INPUT / OUTPUT DATA
ADDRESS : C3H
RESET VALUE : 00000000
DIRECTION SELECT
0 : INPUT PORT
1 : OUTPUT PORT
Figure 12-3 Registers of Port R1
12.4 R2 and R2IO registers
R2 is an 8-bit high-voltage CMOS bidirectional I/O port
(address C4H). Each port can be set individually as input
and output through the R2IO register (address C5H). Each
port can directly drive a vacuum fluorescent display..
R2 Data Register
ADDRESS : C4H
RESET VALUE : Undefined
R2
R27 R26 R25 R24 R23 R22 R21 R20
INPUT / OUTPUT DATA
R2 Direction Register
R2IO
ADDRESS : C5H
RESET VALUE : 00000000
DIRECTION SELECT
0 : INPUT PORT
1 : OUTPUT PORT
Figure 12-4 Registers of Port R2
12.5 R3 and R3IO registers
R1 is an 6-bit high-voltage CMOS bidirectional I/O port
(address C6H). Each port can be set individually as input
and output through the R3IO register (address C7H).
Each port can directly drive a vacuum fluorescent display..
R3 Data Register
R3
--
ADDRESS : C6H
RESET VALUE : Undefined
R35 R34 R33 R32 R31 R30
R3 Direction Register
R3IO
INPUT / OUTPUT DATA
ADDRESS : C7H
RESET VALUE : --000000
DIRECTION SELECT
0 : INPUT PORT
1 : OUTPUT PORT
Figure 12-5 Registers of Port R3
12.6 R4 and R4IO registers
R4 is an 4-bit bidirectional I/O port (address C8H). Each
port can be set individually as input and output through the
R4IO register (address C9H).
R40 port is multiplexed with Timer 0 Output Port(T0O), r
R4 Data Register
ADDRESS : C8H
RESET VALUE : Undefined
R4
- - - - R43 R42 R41 R40
R4 Direction Register
R4IO
INPUT / OUTPUT DATA
ADDRESS : C9H
RESET VALUE : ----0000
R4 Function Selection Register
R4FUNC
-
-
-
-
DIRECTION SELECT
0 : INPUT PORT
1 : OUTPUT PORT
ADDRESS : F5H
RESET VALUE : -------0
-
-
-
T0O
0 : R40
1 : T0O
Figure 12-6 Registers of Port R4
The control register R4FUNC (address F5H) controls to se-
lect alternate function. After reset, this value is "0", port
may be used as general I/O ports. To select alternate func-
tion such as Timer 0 Output, write "1" to the corresponding
bit of R4FUNC. Regardless of the direction register R4IO,
R4FUNC is selected to use as alternate functions, port pin
44
preliminary
Nov. 1999 Ver 0.0