English
Language : 

M16C62_M Datasheet, PDF (499/615 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Programmable I/O Ports
Mitsubishi microcomputers
M16C / 62A Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
(6) I/O functions of built-in peripheral devices
Table 2.16.1 shows relation between ports and I/O functions of built-in peripheral devices.
Table 2.16.1. Relation between ports and I/O functions of built-in peripheral devices
Port
P15 to P17
P6
P70
P71
P72 to P73
P74 to P75
Internal peripheral device I/O pins
Input pins for external interrupt
I/O pins for serial I/O communication
I/O pins for serial I/O communication/Timer A I/O pin
I/O pins for serial I/O communication/Timer A I/O pins/Timer B input pin
I/O pins for serial I/O communication/Timer A I/O pins/Three-phase motor
control output pins
Timer A I/O pins/Three-phase motor control output pins
P76 to P77
P80, P81
P82 to P84
P86, P87
P90 to P92
P93, P94
P95, P96
P97
Timer A I/O pins
Timer A I/O pins
Input pins for external interrupt
Sub-clock oscillation circuit I/O pins
Timer B input pins
D-A converter output pins
A-D converter extended input pins
A-D trigger input pin
P100 to P103
P104 to P107
A-D converter input pins
A-D converter input pins / key-input interrupt function input pins
(7) Examples of working on non-used pins
Table 2.16.2 contains examples of working on non-used pins. There are shown here for mere ex-
amples. In practical use, make suitable changes and perform sufficient evaluation in compliance with
you application.
(a) Single-chip mode
Table 2.16.2. Examples of working on unused pins in single-chip mode
Pin name
Connection
Ports P0 to P10 (excluding P85) After setting for input mode, connect every pin to VSS or VCC via a
resistor; or after setting for output mode, leave these pins open.
(Note 1, Note 3)
XOUT (Note 2)
Open
NMI
Connect to VCC via a resistor
AVCC
Connect to VCC
AVSS, VREF, BYTE
Connect to VSS
Note 1: If setting these pins in output mode and opening them, ports are in input mode until switched into
output mode by use of software after reset. Thus the voltage levels of the pins become unstable,
and there can be instances in which the power source current increases while the ports are in
input mode.
In view of an instance in which the contents of the direction registers change due to a runaway
generated by noise or other causes, setting the contents of the direction registers periodically by
use of software increases program reliability.
Note 2: When an external clock is input to the XIN pin.
Note 3: Output "L" if port P70 and P71 are set to output mode.
Port P70 and P71 are N channel open drain output.
2-182