4
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PIN DESCRIPTION
Table 1 Pin description (1)
V
CC
, V
SS
V
REF
Function
Pin
Name
Function except a port function
LCD segment output pins
Power source
Analog refer-
ence voltage
Apply voltage of 2.2 V to 5.5 V to V
CC
, and 0 V to V
SS
.
Reference voltage input pin for A-D converter and D-A converter.
AV
SS
RESET
X
IN
X
OUT
V
L1
–V
L3
C
1
, C
2
COM
0
–COM
3
SEG
0
–SEG
17
P0
0
/SEG
26
–
P0
7
/SEG
33
P1
0
/SEG
34
–
P1
5
/SEG
39
P1
6
, P1
7
P2
0
– P2
7
P3
0
/SEG
18
–
P3
7
/SEG
25
Analog power
source
Reset input
Clock input
Clock output
LCD power
source
Charge-pump
capacitor pin
Common output
Segment output
I/O port P0
I/O port P1
I/O port P2
Output port P3
GND input pin for A-D converter and D-A converter.
Connect to V
SS
.
Reset input pin for active “L”.
Input and output pins for the main clock generating circuit.
Connect a ceramic resonator or a quartz-crystal oscillator between the X
IN
and X
OUT
pins to set
the oscillation frequency.
If an external clock is used, connect the clock source to the X
IN
pin and leave the X
OUT
pin open.
Input 0
≤
V
L1
≤
V
L2
≤
V
L3
≤
V
CC
voltage.
Input 0 – V
L3
voltage to LCD.
External capacitor pins for a voltage multiplier (3 times) of LCD contorl.
LCD common output pins.
COM
2
and COM
3
are not used at 1/2 duty ratio.
COM
3
is not used at 1/3 duty ratio.
LCD segment output pins.
8-bit output port.
CMOS compatible input level.
CMOS 3-state output structure.
Pull-up control is enabled.
I/O direction register allows each port to be individually
programmed as either input or output.
6-bit output port with same function as port P0.
CMOS compatible input level.
CMOS 3-state output structure.
Pull-up control is enabled.
I/O direction register allows each 6-bit pin to be pro-
grammed as either input or output.
2-bit I/O port.
CMOS compatible input level.
CMOS 3-state output structure.
I/O direction register allows each pin to be individually programmed as either input or output.
Pull-up control is enabled.
8-bit I/O port with same function as port P0.
CMOS compatible input level.
CMOS 3-state output structure.
Pull-up control is enabled.
8-bit output port with same function as port P0.
CMOS 3-state output structure.
Port output control is enabled.
Key input (key-on wake-up) interrupt
input pins
LCD segment output pins