![](http://datasheet.mmic.net.cn/280000/M38254M4-183FP_datasheet_16086852/M38254M4-183FP_4.png)
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
3825 Group
4
PIN DESCRIPTION
Table 1. Pin description (1)
Function
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.
GND input pin for A-D converter.
Connect to V
SS
.
Reset input pin for active “L”
Input and output pins for the main clock generating circuit.
Feedback resistor is built in between X
IN
pin and X
OUT
pin.
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.
This clock is used as the oscillating source of system clock.
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 3-state output structure
Pull-down control is enabled.
Port output control is enabled.
6-bit output port
CMOS 3-state output structure
Pull-down control is enabled.
Port output control is enabled.
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 Input 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 output port
CMOS 3-state output structure
Pull-down control is enabled.
Port output control is enabled.
LCD segment pins
Key input (key-on wake up) interrupt
input pins
LCD segment pins
Pin
V
CC
, V
SS
V
REF
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
Name
Power source
Analog reference
voltage
Analog power
source
Reset input
Clock input
Clock output
LCD power source
Charge-pump
capacitor pin
Common output
Segment output
Output port P0
Output port P1
I/O port P1
I/O port P2
Output port P3
Function except a port function