GMS81C7008/7016
5. PIN FUNCTION
V
DD: Supply voltage.
SS: Circuit ground.
ware assignable. These pins are not served on 81C71XX.
V
In addition, R0 serves the functions of the various following spe-
cial features.
RESET
: Reset the MCU.
AV
DD: Supply voltage to the ladder resistor of ADC circuit. To
Port pin
Alternate function
KS0 (Key scan 0)
enhance the resolution of analog to digital converter, use inde-
pendent power source as well as possible, other than digital pow-
er source.
R00
R01
KS1 (Key scan 1)
AV
SS: ADC circuit ground.
R20~R27
: R2 is an 8-bit CMOS bidirectional I/O port. R2 pins 1
X
IN: Input to the inverting oscillator amplifier and input to the in-
or 0 written to the Port Direction Register can be used as outputs
or inputs. Also, pull-up resistors and open-drain outputs are soft-
ware assignable.R24~R27 are not served on 81C71XX.
ternal main clock operating circuit.
X
OUT: Output from the inverting oscillator amplifier.
In addition, R2 is shared with the ADC input.
BIAS
: LCD bias voltage input pin.
VCL0~VCL2
: LCD driver power supply pins. The voltage on
Port pin
Alternate function
AN0 (Analog Input 0)
each pin is VCL2> VCL1> VCL0. For details, Refer to “18. LCD
DRIVER” on page 70.
R20
R21
R22
R23
R24
R25
R26
R27
COM0~COM3
: LCD common signal output pins. Also, the pins
AN1 (Analog Input 1)
AN2 (Analog Input 2)
AN3 (Analog Input 3)
AN4 (Analog Input 4)
AN5 (Analog Input 5)
AN6 (Analog Input 6)
AN7 (Analog Input 7)
of COM1,COM2 and COM3 are shared with LCD segment sig-
nal outputs of SEG26, SEG25, SEG24 as application require-
ment.
SX
IN: Input to the internal subsystem clock operating circuit. In
addition, SXIN is shared with the R36 which is selected by the
software option.
SX
OUT: Output from the inverting subsystem oscillator amplifi-
er. In addition, SXOUT is shared with the R35 which is selected
by the software option.
R30~R36
: R3 is a 7-bit CMOS bidirectional I/O port. R3 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 are soft-
ware assignable. R33, R34 are not served on 81C71XX.
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 schmitt trigger inputs. Also, pull-up resistors and open-drain
outputs are software assignable.
In addition, R3 serves the functions of the various follow-
ing special features.
In addition, R0 serves the functions of the various following spe-
cial features.
Port pin
Alternate function
R30
R31
BUZ (Buzzer driving output)
PWM0 / T1O (PWM 0 output
/ Timer 1 output)
Port pin
Alternate function
R32
PWM1 /T3O (PWM 1 output
/ Timer 3 output)
-
WDTO (Watchdog timer output)
SXOUT (Sub clock output)
SXIN (Sub clock input)
R00
R01
R02
R03
R04
R05
R06
R07
INT0 (External interrupt 0)
INT1 (External interrupt 1)
INT2 (External interrupt 2)
EC0 (Event counter input 0)
EC2 (Event counter input 2)
SCK (Serial clock)
R33
R34
R35
R36
SO (Serial data output)
SEG0~SEG7
SI
(Serial data input)
: These pins generate LCD segment signal output.
Every LCD segment pins are shared with normal R4 input/output
port. R4 is an 8-bit CMOS bidirectional I/O port. R4 pins 1 or 0
written to the Port Direction Register can be used as outputs or in-
R10~R11
: R1 is a 2-bit CMOS bidirectional I/O port. R1 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 are soft-
6
APR., 2001 Ver 2.01