Datasheet

Section 10A I/O Ports
(H8S/2633, H8S/2632, H8S/2631, H8S/2633R)
Page 392 of 1434 R01UH0166EJ0600 Rev. 6.00
Mar 02, 2011
H8S/2633 Group, H8S/2633 F-ZTAT
TM
,
H8S/2633R F-ZTAT
TM
, H8S/2695
10A.3 Port 3
10A.3.1 Overview
Port 3 is an 8-bit I/O port. Port 3 is a multi-purpose port for SCI I/O pins (TxD0, RxD0, SCK0,
IrTxD, IrRxD, TxD1, RxD1, SCK1, TxD4, RxD4, and SCK4), external interrupt input pins (IRQ4
and IRQ5) and IIC I/O pins (SCL0, SDA0, SCL1, and SDA1). All of the port 3 pin functions have
the same operating mode. The configuration for each of the port 3 pins is shown in figure 10A.2.
P37
P36
P35
SCK4 (I/O) / SCL0 (I/O) / IRQ5 (input)
P34
P33
P32
P31
P30
(I/O) /
(I/O) /
(I/O) /
(I/O) /
(I/O) /
(I/O) /
(I/O) /
(I/O) /
TxD4 (output)
RxD4 (input)
SCK1 (I/O) /
RxD1 (input) / SDA0 (I/O)
TxD1 (input) / SCL1 (I/O)
SCK0 (I/O) / SDA1 (I/O) / IRQ4 (input)
RxD0 (input) / IrRxD (input)
TxD0 (output) / IrTxD (output)
Port 3 pins
Port 3
Figure 10A.2 Port 3 Pin Functions
10A.3.2 Register Configuration
Table 10A.4 shows the configuration of port 3 registers.
Table 10A.4 Port 3 Register Configuration
Name Abbreviation R/W Initial Value Address
*
Port 3 data direction register P3DDR W H'00 H'FE32
Port 3 data register P3DR R/W H'00 H'FF02
Port 3 register PORT3 R Undefined H'FFB2
Port 3 open drain control register P3ODR R/W H'00 H'FE46
Note: * Lower 16 bits of the address.