Datasheet

Table Of Contents
Section 9 I/O Ports
REJ09B0140-0900 Rev. 9.00 Page 229 of 846
Sep 16, 2010
H8S/2215 Group
Section 9 I/O Ports
Table 9.1 summarizes the port functions. The pins of each port also have other functions such as
input/output or external interrupt input pins of on-chip peripheral modules. Each I/O port includes
a data direction register (DDR) that controls input/output, a data register (DR) that stores output
data, and a port register (PORT) used to read the pin states. The input-only ports do not have a DR
and a DDR.
Ports A to E have a built-in pull-up MOS function and a input pull-up MOS control register (PCR)
to control the on/off state of input pull-up MOS.
Ports 3 and A include an open-drain control register (ODR) that controls the on/off state of the
output buffer PMOS.
All the I/O ports can drive a single TTL load and 30 pF capacitive load.
Table 9.1 Port Functions (1)
Port Description Modes 4 and 5 Mode 6 Mode 7
*
Input/Output
Type
P17/TIOCB2/TCLKD/OE P17/TIOCB2/TCLKD
P16/TIOCA2/IRQ1
P15/TIOCB1/TCLKC/FSE0 P15/TIOCB1/TCLKC
P14/TIOCA1/IRQ0
P13/TIOCD0/TCLKB/A23/VPO P13/TIOCD0/TCLKB
P12/TIOCC0/TCLKA/A22/RCV P12/TIOCC0/TCLKA
P11/TIOCB0/A21/VP P11/TIOCB0
Port 1 General I/O port
also functioning
as TPU I/O pins,
interrupt input
pins, and external
USB transceiver
I/O
P10/TIOCA0/A20/VM P10/TIOCA0
Schmitt
triggered input
(IRQ1, IRQ0)
Port 3 General I/O port
also functioning
as SCI_0, SCI_1
pins and interrupt
input pins
P36
P35/SCK1/IRQ5
P34/RxD1
P33/TxD1
P32/SCK0/IRQ4
P31/RxD0
P30/TxD0
Open-drain
output
Schmitt
triggered input
(IRQ5, IRQ4)
Port 4 General I/O port
also functioning
as A/D converter
analog inputs
P43/AN3
P42/AN2
P41/AN1
P40/AN0
Note: * The USB may be unusable in mode 7 in some cases. See section 3, MCU Operating
Modes, for details.