English
Language : 

HD64F3028F25 Datasheet, PDF (295/925 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
8.6 Port 5
8.6.1 Overview
Port 5 is a 4-bit input/output port with the pin configuration shown in figure 8.5. The pin functions
differ depending on the operating mode.
In modes 1 to 4 (expanded modes with on-chip ROM disabled), port 5 consists of address output
pins (A19 to A16). In mode 5 (expanded modes with on-chip ROM enabled), settings in the port 5
data direction register (P5DDR) designate pins for address bus output (A19 to A16) or generic
input. In modes 6, 7 (single-chip mode), port 5 is a generic input/output port.
Port 5 has software-programmable built-in pull-up transistors.
Pins in port 5 can drive one TTL load and a 90-pF capacitive load. They can also drive an LED or
a darlington transistor pair.
Port 5
Port 5
pins
P53 /A19
P52 /A18
P51 /A17
P50 /A16
Modes 1 to 4
A19 (output)
A18 (output)
A17 (output)
A16 (output)
Mode 5
Modes 6 and 7
P53 (input)/A19 (output)
P52 (input)/A18 (output)
P51 (input)/A17 (output)
P50 (input)/A16 (output)
P53 (input/output)
P52 (input/output)
P51 (input/output)
P50 (input/output)
Figure 8.5 Port 5 Pin Configuration
8.6.2 Register Descriptions
Table 8.8 summarizes the registers of port 5.
Table 8.8 Port 5 Registers
Address* Name
Abbreviation
H'EE004 Port 5 data direction register
P5DDR
H'FFFD4 Port 5 data register
P5DR
H'EE03F Port 5 input pull-up control register P5PCR
Note: * Lower 20 bits of the address in advanced mode.
R/W
W
R/W
R/W
Initial Value
Modes 1 to 4 Modes 5 to 7
H'FF
H'F0
H'F0
H'F0
H'F0
H'F0
Rev. 2.00, 09/03, page 263 of 890