English
Language : 

HD6413008VF25 Datasheet, PDF (192/688 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
7. I/O Ports
Port 4 Data Register (P4DR): P4DR is an 8-bit readable/writable register that stores output data
for port 4. When port 4 functions as an output port, the value of this register is output. When a bit
in P4DDR is set to 1, if port 4 is read the value of the corresponding P4DR bit is returned. When a
bit in P4DDR is cleared to 0, if port 4 is read the corresponding pin logic level is read.
Bit
Initial value
Read/Write
7
P4 7
0
R/W
6
P4 6
0
R/W
5
P4 5
0
R/W
4
P4 4
0
R/W
3
P4 3
0
R/W
2
P4 2
0
R/W
1
P4 1
0
R/W
0
P4 0
0
R/W
Port 4 data 7 to 0
These bits store data for port 4 pins
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 MOS Control Register (P4PCR): P4PCR is an 8-bit readable/writable
register that controls the MOS input pull-up transistors in port 4.
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
P47PCR P46PCR P45PCR P44PCR P43PCR P42PCR P41PCR P40PCR
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Port 4 input pull-up MOS control 7 to 0
These bits control input pull-up MOS transistors built into port 4
In 8-bit bus mode in modes 1 to 4 (expanded modes), when a P4DDR bit is cleared to 0 (selecting
generic input), if the corresponding P4PCR bit is set to 1, the input pull-up MOS 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.
Rev.4.00 Aug. 20, 2007 Page 146 of 638
REJ09B0395-0400