Datasheet

Section 8 I/O Ports
Rev. 4.00 Sep 27, 2006 page 218 of 1130
REJ09B0327-0400
Table 8.3 H8S/2144 Group Port Functions
Expanded Modes Single-Chip Mode
Port Description Pins
Mode 1
Mode 2, Mode 3
(EXPE = 1)
Mode 2, Mode 3
(EXPE = 0)
Port 1 8-bit I/O port
Built-in MOS
input pull-
ups
•LED drive
capability
P17 to P10/
A7 to A0
Lower address
output (A7 to
A0)
When DDR = 0
(after reset): input
port
When DDR = 1:
lower address
output (A7 to A0)
I/O port
Port 2 8-bit I/O port
Built-in MOS
input pull-
ups
•LED drive
capability
P27 to P20/
A15 to A8
Upper address
output (A15 to
A8)
When DDR = 0
(after reset): input
port
When DDR = 1:
upper address
output (A15 to A8)
or output port (P27
to P24)
I/O port
Port 3 8-bit I/O port
Built-in MOS
input pull-
ups
•LED drive
capability
P37 to P30/
D15 to D8
Data bus input/output (D15 to D8) I/O port
Port 4 8-bit I/O port P47/PWX1
P46/PWX0
P45/TMRI1
P44/TMO1
P43/TMCI1
P42/TMRI0/SCK2
P41/TMO0/RxD2/
IrRxD
P40/TMCI0/
TxD2/IrTxD
I/O port also functioning as 14-bit PWM timer output (PWX1,
PWX0), 8-bit timer 0 and 1 input/output (TMCI0, TMRI0, TMO0,
TMCI1, TMRI1, TMO1), SCI2 input/output (TxD2, RxD2, SCK2),
and IrDA interface input/output (IrTxD, IrRxD)
Port 5 3-bit I/O port P52/SCK0
P51/RxD0
P50/TxD0
I/O port also functioning as SCI0 input/output (TxD0, RxD0,
SCK0)