13
3886 Group
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
Notes1
: For details of the functions of ports P0 to P3 in modes other than single-chip mode, and how to use double-function ports as function I/O ports, refer
to the applicable sections.
2
: Make sure that the input level at each pin is either 0 V or V
CC
during execution of the STP instruction.
When an input level is at an intermediate potential, a current will flow from V
CC
to V
SS
through the input-stage gate.
Pin
Name
Input/Output
I/O Format
Non-Port Function
Bus interface function
input
Ref.No.
Table 5 I/O port function (2)
Related SFRs
Data bus buffer control
register
P5
0
/A
0
P5
1
/INT
20
/S
0
P5
2
/INT
30
/R
P5
3
/INT
40
/W
P5
4
/CNTR
0
P5
5
/CNTR
1
P5
6
/DA
1
/
PWM
01
P5
7
/DA
2
/
PWM
11
P6
0
/AN
0
–
P6
7
/AN
7
P7
0
/S
IN2
P7
1
/S
OUT2
P7
2
/S
CLK2
P7
3
/S
RDY2
/
INT
21
P7
4
/INT
31
P7
5
/INT
41
P7
6
/S
DA
P7
7
/S
CL
P8
0
/DQ
0
–
P8
7
/DQ
7
Port P5
Port P6
Port P7
Port P8
Input/output,
individual bits
CMOS compatible
input level
CMOS 3-state output
(when selecting bus
interface function)
CMOS compatible
input level or TTL
input level
CMOS compatible
input level
CMOS 3-state output
CMOS compatible
input level or TTL
input level
N-channel open-drain
output
CMOS compatible
input level
N-channel open-drain
output
(when selecting I
2
C-
BUS interface
function)
CMOS compatible
input level or SMBUS
input level
CMOS compatible
input level
CMOS 3-state output
(when selecting bus
interface function)
CMOS compatible
input level or TTL
input level
External interrupt input
Bus interface function
input
Timer X, timer Y func-
tion I/O
D-A converter output
PWM output
A-D converter input
Serial I/O2 function I/O
Serial I/O2 function out-
put
Bus interface function
input
External interrupt input
I
2
C-BUS interface func-
tion I/O
Bus interface function
I/O
Interrupt edge selection
register
Data bus buffer control
register
Timer XY mode register
AD/DA control register
UART control register
AD/DA control register
Serial I/O2 control
register
Port control register 2
Serial I/O2 control
register
Port control register 2
Interrupt edge selection
register
Port control register 2
I
2
C control register
Data bus buffer control
register
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)