English
Language : 

GMS81C5108 Datasheet, PDF (9/102 Pages) Hynix Semiconductor – HYNIX SEMICONDUCTOR INC. 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C5108
5. PIN FUNCTION
VDD: Supply voltage.
VSS: Circuit ground.
AVDD: Supply voltage to the ladder resistor of ADC cir-
cuit. To enhance the resolution of analog to digital convert-
er, use independent power source as well as possible, other
than digital power source.
AVSS: ADC circuit ground
RESET: Reset the MCU.
WDTOUT: Output for detection of a program malfunc-
tion. If the user wants to use this pin, connect it to the RE-
SET pin.
REMOUT: Signal output of an infrared remote controller.
XIN: Input to the inverting oscillator amplifier and input to
the internal main clock operating circuit.
XOUT: Output from the inverting oscillator amplifier.
SXIN: Input to the internal sub system clock operating cir-
cuit.
SXOUT: Output from the inverting subsystem oscillator
amplifier.
SEG0~SEG36: Segment signal output pins for the LCD
display. See "19. LCD DRIVER" on page 71 for details.
COM0~COM3: Common signal output pins for the LCD
display. See "19. LCD DRIVER" on page 71 for details.
SEG34~SEG36 and COM1~COM3 are selected by LCDD
of the LCR register.
R00~R07: R0 is an 8-bit CMOS bidirectional I/O port. R0
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs. Also, pull-up resistors and open-
drain outputs can be assigned by software.
In addition, R0 serves the functions of the various follow-
ing special features.
Port pin
R00
R01
R02
R03
R04
R05
R06
R07
Alternate function
INT0 (External interrupt 0)
INT1 (External interrupt 1)
INT2 (External interrupt 2)
Event counter input
Buzzer Output
SCK (SPI CLK Input/Output)
SO (SPI Serial Data Output)
SI (SPI Serial Data Input)
R10~R17: R1 is an 8-bit CMOS bidirectional I/O port. R1
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs or schmitt trigger inputs. Also, pull-
up resistors and open-drain outputs can be assigned by software.
In addition, R1 serves the functions of the various follow-
ing special features.
Port pin
Alternate function
R10 KS0 (Key scan input 0)
R11 KS1 (Key scan input 1)
R12 KS2 (Key scan input 2)
R13 KS3 (Key scan input 3)
R14 KS4 (Key scan input 4)
R15 KS5 (Key scan input 5)
R16 KS6 (Key scan input 6)
R17 KS7 (Key scan input 7)
R20~R23: R2 is a 4-bit CMOS bidirectional I/O port. Each
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs. Also, pull-up resistors and open-
drain outputs can be assigned by software.
In addition, R2 serves the functions of the various follow-
ing special features.
Port pin
R20
R21
R22
R23
Alternate function
AN0 (Analog Input Port0)
AN1 (Analog Input Port1)
AN2 (Analog Input Port2)
AN3 (Analog Input Port3)
R30~R33: R3 is a 4-bit CMOS bidirectional I/O port. Each
pins 1 or 0 written to the Port Direction Register can be
used as outputs or inputs. Also, pull-up resistors and open-
drain outputs can be assigned by software.
In addition, R3 serves the functions of the various follow-
ing special features.
Port pin
R31
Alternate function
PWM (PWM Output)
VCL0~VCL2: Power supply pins for the LCD driver. The
voltage on each pin is VCL2> VCL1> VCL0. See "19.
LCD DRIVER" on page 71 for details.
VLCDC: LCD drive voltage booster reference.
CAPH, CAPL: LCD drive voltage booster capacitor.
VREG: Output of the voltage regular for the sub clock os-
cillation circuit. Connect external 0.1uF capacitor to this
pin when using the sub system clock.
6
JUNE 2001 Ver 1.0