English
Language : 

M16C6K7 Datasheet, PDF (10/285 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Rev.1.0
Pin Description
Mitsubishi microcomputers
M16C / 6K7 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pin Description
Pin name
Vcc, Vss
____________
RESET
XIN
XOUT
M0,M1
AVCC
AVSS
VREF
P00 to P07
P10 to P17
P20 to P27
P30 to P37
P40 to P47
P50 to P57
Signal name I/O type
Function
Power supply
input
Apply 3.0 to 3.6 V to VCC . Apply 0V to VSS
Reset input Input
A “L” on this input resets the microcomputer.
Clock input Input
Clock output Output
Chip mode
setting
Input
These pins are provided for the main clock generating circuit.
Connect a ceramic resonator or crystal between the XIN and
the XOUT pins. To use an externally derived clock, input it to
the XIN pin and leave the XOUT pin open.
Connect to VSS
Analog power
supply input
This pin is a power supply input for the A-D converter.
Connect this pin to VCC.
Analog power
supply input
This pin is a power supply input for the A-D converter.
Connect this pin to VSS.
Reference Input
voltage input
This pin is a reference voltage input for the A-D converter.
I/O port P0
Input/output
This is an 8-bit CMOS I/O port. It has an input/output port
direction register that allows the user to set each pin for
input or output individually. When set for input, the user can
specify in units of four bits via software whether or not they
are tied to a pull-up resistor.
This port supports CMOS input level. And output type supports
CMOS 3 state or N channel open drain selectable.
I/O port P1
Input/output This is an 8-bit I/O port equivalent to P0. Pins in this port also
function as external interrupt pins as selected by software.
I/O port P2
I/O port P3
I/O port P4
Input/output This is an 8-bit I/O port equivalent to P0. (Except that output
type just supports CMOS 3 state only). The 4 bits P24-P27
are available for directly driving LED's.
Input/output This is an 8-bit I/O port equivalent to P0. (Except that output
type just supports CMOS 3 state only). The port can be
used for LPC bus interface I/O pins by software selection.
Input/output
This is an 8-bit I/O port equivalent to P0. (Except that output
type just supports CMOS 3 state only). By software selecting,
the port can also be used for LPC bus interface I/O pins,
Timer A0 to A2 output pins PWM output pins or serial interrupt
output I/O pins. P40 to P46 pins' level can be read regardless
the setting of input port or output port. If P40 or P43 are used
for output ports, the function that clears P40 or P43 to "0" after
the read of output data buffer from host CPU is available.
I/O port P5
Input/output
This is an 8-bit I/O port equivalent to P0. (Except that output type
is CMOS 3 state only). Key on wake interrupt 0 and comparator
input function support. P57 in this port outputs a divide-by-8 or
divide-by-32 clock of XIN or a clock of the same frequency as
XCIN as selected by software.
9