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

no-image

HD6413003RVF

Manufacturer Part Number
HD6413003RVF
Description
microcontroller (MCU)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Port 6 Data Direction Register (P6DDR): P6DDR is an 8-bit write-only register that can select
input or output for each pin in port 6.
A pin in port 6 becomes an output pin if the corresponding P6DDR bit is set to 1, and an input pin
if this bit is cleared to 0. Bits 7 to 3 are reserved.
P6DDR is a write-only register. Its value cannot be read. All bits return 1 when read.
P6DDR is initialized to H'80 by a reset and in hardware standby mode. In software standby mode
it retains its previous setting, so if a P6DDR bit is set to 1, the corresponding pin maintains its
output state in software standby mode.
Port 6 Data Register (P6DR): P6DR is an 8-bit readable/writable register that stores data for pins
P6
When a bit in P6DDR is set to 1, if port 6 is read the value of the corresponding P6DR bit is
returned directly. When a bit in P6DDR is cleared to 0, if port 6 is read the corresponding pin level
is read. In this case bit 7 reads 1 and bits 6 to 3 have undetermined values. Bits 7 to 3 are reserved.
Bits 6 to 3 can be written and read, but they cannot be used for port input or output.
Bit 7 cannot be modified and always reads 1.
P6DR is initialized to H'80 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
2
to P6
0
.
7
1
7
1
P6 DDR
R/W
P6
6
W
6
0
6
0
6
Reserved bits
Reserved bits
P6 DDR
R/W
P6
5
W
5
0
5
0
5
P6 DDR
251
R/W
P6
4
W
4
0
4
0
4
P6 DDR
R/W
P6
3
W
3
0
3
0
3
P6 DDR
Port 6 data direction 2 to 0
These bits select input or
output for port 6 pins
R/W
P6
2
W
2
0
2
0
2
Port 6 data 2 to 0
These bits store data
for port 6 pins
P6 DDR
R/W
P6
1
W
1
0
1
0
1
P6 DDR
R/W
P6
0
W
0
0
0
0
0

Related parts for HD6413003RVF