English
Language : 

M16C65 Datasheet, PDF (227/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
13. Programmable I/O Ports
13. Programmable I/O Ports
Note
P1, P4_4 to P4_7, P7_2 to P7_5, and P9_1 of the 80-pin package have no external connections.
Program the direction bits of these ports to 1 (output mode) and the output data to 0 (low level).
For the 80-pin and 100-pin packages, do not access the addresses of registers P11 to P14, PD11
to PD14 and PUR3.
13.1 Introduction
Table 13.1 lists Programmable I/O Ports Specifications (hereafter referred to as I/O ports).
Each pin functions as an I/O port, a peripheral function input/output, or a bus control pin.
To set peripheral functions, refer to the description for the individual function. To use ports as peripheral
function input/output pins, refer to 13.4 “Peripheral Function I/O”.
To use ports as bus control pins, refer to 11.3.5 “External Bus Control”.
Table 13.1 Programmable I/O Ports Specifications
Specification
Item
128-pin package
100-pin package
80-pin package
The number Total
114
88
71
of ports
CMOS output
111
85
68
N-channel open-drain 3
3
3
output
Input/output VCC2 level
P0 to P5, P12, P13 (1) P0 to P5
-
VCC1 level
P6 to P11, P14 (1) P6 to P10
P0, P2 to P10
Input/output level
Select input or output for each individual port by a program.
Select function
Select a pull-up resistor in 4-bit units.
Note:
1. P11 to P14 can be used when the PU37 bit in the PUR3 register is 1 (P11 to P14 enabled).
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 192 of 791