HD6413003RVF RENESAS [Renesas Technology Corp], HD6413003RVF Datasheet - Page 264

no-image

HD6413003RVF

Manufacturer Part Number
HD6413003RVF
Description
microcontroller (MCU)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Port 5 Data Direction Register (P5DDR): P5DDR is an 8-bit write-only register that can select
input or output for each pin in port 5.
Modes 1 and 2 (1-Mbyte Modes): Port 5 functions as a generic input/output port. A pin in port 5
becomes an output pin if the corresponding P5DDR bit is set to 1, and an input pin if this bit is
cleared to 0.
Modes 3 and 4 (16-Mbyte Modes): All P5DDR bits are fixed at 1 and port 5 functions as part of
the address bus. Bits P5
be modified.
In modes 1 and 2, P5DDR is a write-only register. Its value cannot be read. All bits return 1 when
read.
P5DDR is initialized to H'0F by a reset and in hardware standby mode. In software standby mode
it retains its previous setting, so if a P5DDR bit is set to 1, the corresponding pin maintains its
output state in software standby mode.
Bit
Mode
1/2
Mode
3/4
Initial value
Read/Write
Initial value
Read/Write
P5 DDR
7
W
3
7
0
1
DDR to P5
Port 5 data direction 7 to 4
These bits select input or
output for port 5 pins
P5 DDR
6
W
6
0
1
0
DDR are reserved and are also fixed at 1. No bit values can
P5 DDR
5
W
5
0
1
246
P5 DDR
4
W
4
0
1
P5 DDR
3
3
1
1
P5 DDR
Reserved bits
2
2
1
1
P5 DDR
1
1
1
1
P5 DDR
0
0
1
1

Related parts for HD6413003RVF