Rev.1.0
Pin Description
Mitsubishi microcomputers
M16C / 6K7 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pin Description
Pin name
P6
0
to P6
7
Signal name
I/O port P6
I/O type
Function
Input/output This is an 8-bit I/O port equivalent to P0. (Except that P6
0
to
P6
3
's output type is N channel open drain only; P6
4
to P6
7
's
output type is CMOS 3 state only; P6
0
to P6
3
no internal
pull-up registor support.) By software selecting, this port
can be used for I
2
C-BUS interface, UART0/UART1 input/
output pin, timerA3,A4 output pin or same frequency with
X
IN
clock output pin. When P6
0
to P6
3
used as I
2
C-BUS
interface S
DA
,S
CL
, the input level of these pins are CMOS/
SMBUS selectable.
Input/output This is an 8-bit I/O port equivalent to P0. (Except that P7
0
to
P7
7
output type is N channel open drain only; no internal
pull-up registor support.) By software selecting, this port
can be used for external interrupt input pin, timerA0 to A3
and timerB5 input pin, PS2 interface input/output pin, or
UART2 input/output pin. P7
0
to P7
5
pins' level can be read
regardless of the setting of input port or output port.
Input/output
Input/output
Input/output
Input
P8
0
to P8
4
, P8
6
, and P8
7
are I/O ports with the same functions
as P0. (Except that P8
6
to P8
7
's output type is CMOS 3 state
only; P8
0
to P8
4
's output type is N channel open drain only;
P8
5
is input port only; the P8
0
to P8
4
and P8
5
are no internal
pull-up registor support.)
By software selecting, this port can be used for timer A4, B0 to
B2, I
2
C-BUS interface I/O pins. P8
6
and P8
7
can be set using
software to function as the I/O pins for a sub clock generation
circuit. In this case, connect a quartz oscillator between P8
6
(X
COUT
pin) and P8
7
(X
CIN
pin). P8
5
is an input-only port that
______
______
also functions for NMI. The NMI interrupt is generated when
______
the input at this pin changes from “H” to “L”. The NMI function
cannot be cancelled using software.
P7
0
to P7
7
I/O port P7
P8
0
to P8
4
,
P8
6
,
P8
7
,
P8
5
I/O port P8
I/O port P8
5
P9
0
to P9
7
I/O port P9
P10
0
to P10
7
I/O port P10
Input/output This is an 8-bit I/O port equivalent to P0. (Except that output
type is CMOS 3 state only.) By software selecting, the port can
be used for external interrupt, timer B3 to B4, A-D converter
extended input pins, A-D trigger, SI/O3, SI/O4 I/O pins, PWM,
D-A converter output pins.
Input/output This is an 8-bit I/O port equivalent to P0. (Except that output
type is CMOS 3 state only.) By software selecting, the port
can be used for A-D converter, external interrupt input pins.
10