4
4501 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
PIN DESCRIPTION
Pin
V
DD
V
SS
CNV
SS
RESET
Name
Power supply
Ground
CNV
SS
Reset input/output
System clock input
I/O port D
I/O
I/O port P1
I/O port P2
I/O port C
I/O port K
Timer input/output
Interrupt input
Analog input
X
IN
D
0
–
D
3
P0
0
–
P0
3
P1
0
–
P1
3
P2
0
, P2
1
Port C
Port K
CNTR
INT
A
IN0
–
A
IN1
Input/Output
—
—
—
I/O
Input
I/O
I/O
I/O
I/O
I/O
I/O
I/O
Input
Input
Function
Connected to a plus power supply.
Connected to a 0 V power supply.
Connect CNV
SS
to V
SS
and apply
“
L
”
(0V) to CNV
SS
certainly.
An N-channel open-drain I/O pin for a system reset. When the watchdog timer or the
voltage drop detection circuit cause the system to be reset, the RESET pin outputs
“
L
”
level.
I/O pins of the system clock generating circuit. When using a ceramic resonator, connect
it between pins X
IN
and X
OUT
. A feedback resistor is built-in between them. When using
the RC oscillation, connect a resistor and a capacitor to X
IN
, and leave X
OUT
pin open.
Each pin of port D has an independent 1-bit wide I/O function. Each pin has an out-
put latch. For input use, set the latch of the specified bit to
“
1.
”
Input is examined by
skip decision. The output structure is N-channel open-drain. Ports D
2
and D
3
are
equipped with a pull-up function and a key-on wakeup function. Both functions can
be switched by software.
Ports D
2
and D
3
are also used as ports C and K, respectively.
Port P0 serves as a 4-bit I/O port, and it can be used as inputs when the output latch
is set to
“
1.
”
The output structure is N-channel open-drain. Port P0 has a key-on
wakeup function and a pull-up function. Both functions can be switched by software.
Port P1 serves as a 4-bit I/O port, and it can be used as inputs when the output latch
is set to
“
1.
”
The output structure is N-channel open-drain. Port P1 has a key-on
wakeup function and a pull-up function. Both functions can be switched by software.
Ports P1
2
and P1
3
are also used as CNTR and INT, respectively.
Port P2 serves as a 2-bit I/O port, and it can be used as inputs when the output latch
is set to
“
1.
”
The output structure is N-channel open-drain. Port P2 has a key-on
wakeup function and a pull-up function. Both functions can be switched by software.
Ports P2
0
and P2
1
are also used as A
IN0
and A
IN1
, respectively.
1-bit I/O port. Port C can be used as inputs when the output latch is set to
“
1.
”
The
output structure is N-channel open-drain. Port C has a key-on wakeup function and
a pull-up function. Both functions can be switched by software. Port C is also used
as port D
2
.
1-bit I/O port. Port K can be used as inputs when the output latch is set to
“
1.
”
The
output structure is N-channel open-drain. Port K has a key-on wakeup function and
a pull-up function. Both functions can be switched by software. Port K is also used
as port D
3
.
CNTR pin has the function to input the clock for the timer 2 event counter, and to out-
put the timer 1 or timer 2 underflow signal divided by 2. This pin is also used as port
P1
2
.
INT pin accepts external interrupts. It has the key-on wakeup function which can be
switched by software. This pin is also used as port P1
3
.
A-D converter analog input pins. A
IN0
and A
IN1
are also used as ports P2
0
and P2
1
,
respectively.
Notes 1: Pins except above have just single function.
2: The input/output of D
2
, D
3
, P1
2
and P1
3
can be used even when C, K, INT and CNTR (input) are selected.
3: The input of P1
2
can be used even when CNTR (output) is selected.
4: The input/output of P2
0
, P2
1
can be used even when A
IN0
, A
IN1
are selected.
Pin
D
2
D
3
P1
2
P1
3
Multifunction
C
K
CNTR
INT
MULTIFUNCTION
Pin
C
K
CNTR
INT
Multifunction
D
2
D
3
P1
2
P1
3
Pin
P2
0
P2
1
Multifunction
A
IN0
A
IN1
Pin
A
IN0
A
IN1
Multifunction
P2
0
P2
1
X
OUT
System clock output
Output