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

no-image

HD6413003RVF

Manufacturer Part Number
HD6413003RVF
Description
microcontroller (MCU)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
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.
When bits in P8DDR bit are set to 1, P8
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
P8
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.
Bit
Initial value
Read/Write
Bit
Initial value
Read/Write
4
to P8
0
.
7
1
7
1
Reserved bits
Reserved bits
6
1
6
1
4
5
1
5
1
to P8
1
P8 DDR
255
become CS
R/W
P8
4
W
4
1
4
0
4
P8 DDR
Port 8 data direction 4 to 0
These bits select input or
output for port 8 pins
R/W
P8
0
3
W
3
0
3
0
to CS
Port 8 data 4 to 0
These bits store data
for port 8 pins
3
P8 DDR
3
output pins and P8
R/W
P8
2
W
2
0
2
0
2
P8 DDR
R/W
P8
1
W
1
0
1
0
1
P8 DDR
0
becomes
R/W
P8
0
W
0
0
0
0
0

Related parts for HD6413003RVF