English
Language : 

HD6413003RF Datasheet, PDF (273/715 Pages) Renesas Technology Corp – Microcontroller (MCU)
Port 8 Data Direction Register (P8DDR): P8DDR is an 8-bit write-only register that can select
input or output for each pin in port 8.
Bit
7
6
5
4
3
2
1
0
—
—
— P84DDR P83DDR P82DDR P81DDR P80DDR
Initial value
1
1
1
1
0
0
0
0
Read/Write
—
—
—
W
W
W
W
W
Reserved bits
Port 8 data direction 4 to 0
These bits select input or
output for port 8 pins
When bits in P8DDR bit are set to 1, P84 to P81 become CS0 to CS3 output pins and P80 becomes
a generic output pin. When bits in P8DDR are cleared to 0, the corresponding pins become input
pins.
P8DDR is a write-only register. Its value cannot be read. All bits return 1 when read.
P8DDR is initialized to H'F0 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting, so if a P8DDR bit is set to 1, the corresponding pin maintains its
output state in software standby mode.
Port 8 Data Register (P8DR): P8DR is an 8-bit readable/writable register that stores data for pins
P84 to P80.
Bit
7
6
5
4
3
2
1
0
—
Initial value
1
—
—
P8 4
P8 3
P8 2
P8 1
P8 0
1
1
0
0
0
0
0
Read/Write
—
—
—
R/W
R/W
R/W
R/W
R/W
Reserved bits
Port 8 data 4 to 0
These bits store data
for port 8 pins
When a bit in P8DDR is set to 1, if port 8 is read the value of the corresponding P8DR bit is
returned directly. When a bit in P8DDR is cleared to 0, if port 8 is read the corresponding pin level
is read.
Bits 7 to 5 are reserved. They cannot be modified and always read 1.
P8DR is initialized to H'E0 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
255