R01UH0092EJ0110 Rev.1.10
Page 165 of 807
Jul 31, 2012
M16C/64C Group
13. Programmable I/O Ports
13. Programmable I/O Ports
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
Item
Specification
Number of
ports
Total
88
CMOS output
85
N-channel open drain output 3
Input/output
VCC2 level
P0 to P5
VCC1 level
P6 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.
Table 13.2
I/O Pins
Pin Name
I/O
Function
P0_0 to P0_7, P1_0 to P1_7,
P2_0 to P2_7, P3_0 to P3_7,
P4_0 to P4_7, P5_0 to P5_7,
P6_0 to P6_7
I/O
Input/output port
CMOS output, pull-up resistor selectable
P7_0 to P7_7
I/O
Input/output port
P7_0 to P7_1: N-channel open drain output, no pull-up resistor
P7_2 to P7_7: CMOS output, pull-up resistor selectable
P8_0 to P8_7
I/O
Input/output port
P8_0 to P8_4, P8_6, P8_7: CMOS output,
pull-up resistor selectable
P8_5: N-channel open drain output, no pull-up resistor
P9_0 to P9_7, P10_0 to P10_7
I/O
Input/output port
CMOS output, pull-up resistor selectable
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...