Datasheet
Section 8 I/O Ports
Rev. 4.00 Jun 06, 2006 page 230 of 1004
REJ09B0301-0400
8.9 Port 8
8.9.1 Overview
Port 8 is an 8-bit I/O port. Port 8 pins also function as SCI1 I/O pins (TxD1, RxD1, SCK1), the
IIC1 I/O pin (SCL1) (option in H8S/2138 Group only), HIF I/O pins (CS2, GA20, HA0, HIFSD)
(H8S/2138 Group only), and external interrupt input pins (IRQ5 to IRQ3). Port 8 pin functions are
the same in all operating modes. Figure 8.16 shows the port 8 pin configuration.
P86 (I/O)/IRQ5 (Input)/SCK1 (I/O)/SCL1 (I/O)
P85 (I/O)/IRQ4 (Input)/RxD1 (Input)
P84 (I/O)/IRQ3 (Input)/TxD1 (Output)
P83 (I/O)
P82 (I/O)/HIFSD (Input)
P81 (I/O)/CS2 (Input)/GA20 (Output)
P80 (I/O)/HA0 (Input)
Port 8
Port 8 pins
Figure 8.16 Port 8 Pin Functions
8.9.2 Register Configuration
Table 8.17 summarizes the port 8 registers.
Table 8.17 Port 8 Registers
Name Abbreviation R/W Initial Value Address
*
Port 8 data direction register P8DDR W H'80 H'FFBD
Port 8 data register P8DR R/W H'80 H'FFBF
Note: * Lower 16 bits of the address.