English
Language : 

GMS81C2012 Datasheet, PDF (42/107 Pages) Hynix Semiconductor – HYUNDAI MICRO ELECTRONICS 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C2012/GMS81C2020
HYUNDAI MicroElectronics
R7 and R7IO register: R7 is a 4-bit bidirectional I/O port
(address 0CEH). Each port can be set individually as input
and output through the R7IO register (address 0CFH).
R73~R70 ports are multiplexed with Analog Input Port
AN8~AN11). R74, R75 ports are alternate function of
SXI, SXO ports. R74, R75 ports can be set individually as
input and output through the R7IO register.
Port Pin
R70
R71
R72
R73
SXI
SXO
Alternate Function
AN8 (ADC input 8)
AN9 (ADC input 9)
AN10 (ADC input 10)
AN11 (ADC input 11)
R74(included Internal Pull-up Resister)
R75(included Internal Pull-up Resister)
The control register R7FUNC (address 0F8H) controls to
select alternate function. After reset, this value is "0", port
may be used as general I/O ports. To select alternate func-
tion such as Analog Input, write "1" to the corresponding
bit of R7FUNC. Regardless of the direction register R7IO,
R7FUNC is selected to use as alternate functions, port pin
can be used as a corresponding alternate features.
R6 Data Register
ADDRESS: 0CEH
RESET VALUE: Undefined
R7
- - R75 R74 R73 R72 R71 R70
Input / Output data
R7 Direction Register
R7IO - -
ADDRESS : 0CFH
RESET VALUE : --000000B
Port Direction
0: Input
1: Output
R7
Function
Selection
Register
ADDRESS : 0F8H
RESET VALUE : ----0000B
R7FUNC - - - - 3 2 1 0
0: R70
1: AN8
0: R71
1: AN9
0: R72
1: AN10
0: R73
1: AN11
42
MAR. 2000 Ver 1.00