GMS81C5108
5. PIN FUNCTION
VDD
:
Supply voltage.
used as outputs or inputs or schmitt trigger inputs. Also, pull-
up resistors and open-drain outputs can be assigned by software.
VSS
:
Circuit ground.
In addition, R1 serves the functions of the various follow-
ing special features.
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.
Port pin
Alternate function
KS0 (Key scan input 0)
R10
R11
R12
R13
R14
R15
R16
R17
AVSS
:
ADC circuit ground
KS1 (Key scan input 1)
KS2 (Key scan input 2)
KS3 (Key scan input 3)
KS4 (Key scan input 4)
KS5 (Key scan input 5)
KS6 (Key scan input 6)
KS7 (Key scan input 7)
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
R20~R23:
R2 is a 4-bit CMOS bidirectional I/O port. Each
the internal main clock operating circuit.
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.
XOUT
:
Output from the inverting oscillator amplifier.
SXIN
cuit.
:
Input to the internal sub system clock operating cir-
In addition, R2 serves the functions of the various follow-
ing special features.
SXOUT
:
Output from the inverting subsystem oscillator
amplifier.
Port pin
Alternate function
AN0 (Analog Input Port0)
AN1 (Analog Input Port1)
AN2 (Analog Input Port2)
AN3 (Analog Input Port3)
SEG0~SEG36:
display. See "19. LCD DRIVER" on page 71 for details.
Segment signal output pins for the LCD
R20
R21
R22
R23
COM0~COM3:
display. See "19. LCD DRIVER" on page 71 for details.
Common signal output pins for the LCD
SEG34~SEG36 and COM1~COM3 are selected by LCDD
of the LCR register.
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.
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, R3 serves the functions of the various follow-
ing special features.
In addition, R0 serves the functions of the various follow-
ing special features.
Port pin
Alternate function
PWM (PWM Output)
R31
Port pin
Alternate function
R00
R01
R02
R03
R04
R05
R06
R07
INT0 (External interrupt 0)
INT1 (External interrupt 1)
INT2 (External interrupt 2)
Event counter input
VCL0~VCL2:
voltage on each pin is VCL2> VCL1> VCL0. See "19.
LCD DRIVER" on page 71 for details.
Power supply pins for the LCD driver. The
Buzzer Output
VLCDC:
LCD drive voltage booster reference.
SCK (SPI CLK Input/Output)
SO (SPI Serial Data Output)
SI (SPI Serial Data Input)
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.
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
6
JUNE 2001 Ver 1.0