English
Language : 

3069RF-ZTAT Datasheet, PDF (291/1003 Pages) Renesas Technology Corp – RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER
8.6 Port 5
8.6.1 Overview
Port 5 is a 4-bit input/output port also used for address output, 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 mode 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 mode 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
Mode 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
Initial Value
Address* Name
Abbreviation R/W Modes 1 to 4 Modes 5 and 7
H'EE004 Port 5 data direction register
P5DDR
W H'FF
H'F0
H'FFFD4 Port 5 data register
P5DR
R/W H'F0
H'F0
H'EE03F Port 5 input pull-up control register P5PCR
R/W H'F0
H'F0
Note: * Lower 20 bits of the address in advanced mode.
Rev. 5.0, 09/04, page 269 of 978