English
Language : 

GMS81C1102 Datasheet, PDF (9/89 Pages) Hynix Semiconductor – 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C1102 / GMS81C1202
8. PIN FUNCTION
VDD: Supply voltage.
VSS: Circuit ground.
RESET: Reset the MCU.
XIN: Input to the inverting oscillator amplifier and input to
the internal clock operating circuit.
XOUT: Output from the inverting oscillator amplifier. If
RC Option is used, the oscillator frequency divided by 4
(Xin/4) comes out from Xout pin.
RA0~RA7: RA is an 8-bit, CMOS, bidirectional I/O port.
RA pins can be used as outputs or inputs according to “1”
or “0” written in the Port Direction Register(RAIO).
Port pin
RA0
RA1
RA2
RA3
RA4
RA5
RA6
RA7
Alternate function
EC0 ( Event Counter Input Source )
AN1 ( Analog Input Port 1 )
AN2 ( Analog Input Port 2 )
AN3 ( Analog Input Port 3 )
AN4 ( Analog Input Port 4 )
AN5 ( Analog Input Port 5 )
AN6 ( Analog Input Port 6 )
AN7 ( Analog Input Port 7 )
Table 8-1 RA Port
In addition, RA serves the functions of the various special
features in Table 8-1.
RB0~RB4: RB is a 5-bit, CMOS, bidirectional I/O port.
RB pins can be used as outputs or inputs according to “1”
or “0” written in the Port Direction Register(RBIO).
RB serves the functions of the various following special
features.
Port pin
RB0
RB1
RB2
RB3
RB4
Alternate function
AN0 ( Analog Input Port 0 )
AVref ( External Analog Reference Pin )
BUZ ( Buzzer Driving Output Port )
INT0 ( External Interrupt Input Port 0 )
INT1 ( External Interrupt Input Port 1 )
PWM ( PWM Output )
COMP0 ( Timer0 Compare Output )
Table 8-2 RB Port
RC0~RC1: RC is a 2-bit, CMOS, bidirectional I/O port.
RC pins can be used as outputs or inputs according to “1”
or “0” written in the Port Direction Register(RCIO)
.
PIN NAME
VDD
VSS
RESET
XIN
XOUT
RA0 (EC0)
RA1 (AN1)
RA2 (AN2)
RA3 (AN3)
RA4 (AN4)
RA5 (AN1)
RA6 (AN1)
RA7 (AN7)
RB0 (AVref/AN0)
RB1 (BUZ)
RB2 (INT0)
RB3 (INT1)
RB4 (PWM/COMP0)
RC0
RC1
Pin No.
5
14
13
11
12
17
18
19
20
1
2
3
4
6
7
8
9
10
15
16
In/Out
-
-
I
I
O
I/O (Input)
I/O (Input)
I/O (Input)
I/O (Input)
I/O (Input)
I/O (Input)
I/O (Input)
I/O (Input)
I/O (Input)
I/O (Output)
I/O (Input)
I/O (Input)
I/O (Output/Output)
I/O
I/O
Supply voltage
Circuit ground
Reset signal input
8-bit general I/O ports
5-bit general I/O ports
2-bit general I/O ports
Table 8-3 Pin Description
Function
External Event Counter input
Analog Input Port 1
Analog Input Port 2
Analog Input Port 3
Analog Input Port 4
Analog Input Port 5
Analog Input Port 6
Analog Input Port 7
Analog Input Port 0 / Analog Reference
Buzzer Driving Output
External Interrupt Input 0
External Interrupt Input 1
PWM Output or Timer Compare Output
6
Jan. 2002 ver 2.0