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

no-image

HD6413003RVF

Manufacturer Part Number
HD6413003RVF
Description
microcontroller (MCU)
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Port 4 Data Register (P4DR): P4DR is an 8-bit readable/writable register that stores data for pins
P4
When a bit in P4DDR is set to 1, if port 4 is read the value of the corresponding P4DR bit is
returned directly, regardless of the actual state of the pin. When a bit in P4DDR is cleared to 0, if
port 4 is read the corresponding pin level is read. This applies in both 8-bit and 16-bit bus modes.
P4DR is initialized to H'00 by a reset and in hardware standby mode. In software standby mode it
retains its previous setting.
Port 4 Input Pull-Up Control Register (P4PCR): P4PCR is an 8-bit readable/writable register
that controls the MOS input pull-up transistors in port 4.
In 8-bit bus mode, when a P4DDR bit is cleared to 0 (selecting generic input), if the
corresponding P4PCR bit is set to 1, the input pull-up transistor is turned on.
P4PCR is initialized to H'00 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
7
to P4
0
.
P4 PCR
P4 DR
R/W
R/W
7
7
7
0
7
0
P4 PCR
P4 DR
R/W
R/W
6
6
6
0
6
0
P4 PCR
P4 DR
Port 4 input pull-up control 7 to 0
These bits control input pull-up transistors built into port 4
R/W
R/W
5
5
5
0
5
0
Port 4 data 7 to 0
These bits store data for port 4 pins
P4 PCR
242
P4 DR
R/W
R/W
4
4
4
0
4
0
P4 PCR
P4 DR
R/W
R/W
3
3
3
0
3
0
P4 PCR
P4 DR
R/W
R/W
2
2
2
0
2
0
P4 PCR
P4 DR
R/W
R/W
1
1
1
0
1
0
P4 PCR
P4 DR
R/W
R/W
0
0
0
0
0
0

Related parts for HD6413003RVF