English
Language : 

SH7785 Datasheet, PDF (1463/1692 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
28. General Purpose I/O Ports (GPIO)
28.2.32 Port R Data Register (PRDR)
PRDR is an 8-bit readable/writable register that stores port R data.
Bit:
Initial value:
R/W:
7
—
0
R/W
6
—
0
R/W
5
—
0
R/W
4
3
2
1
0
— PR3DT PR2DT PR1DT PR0DT
0
0
0
0
0
R/W R/W R/W R/W R/W
Initial
Bit
Bit Name value R/W Description
7 to 4 ⎯
All 0 R/W Reserved
These bits are always read as 0, and the write value
should always be 0.
3
PR3DT
0*
R/W These bits store output data of a pin which is used as a
2
PR2DT
0*
R/W general-purpose output port. When the pin functions as
a general-purpose output port, reading the port will read
1
PR1DT
0*
R/W out the value of the corresponding bit of this register.
0
PR0DT
0*
R/W When the pin functions as a general-purpose input port,
reading the port will read out the status of the
corresponding pin.
Note: * When the bus mode is set to DU by the bus mode pins (MODE11 and MODE12), the
pin is initially used as a general-purpose input, and the pin status is read from this
register.
Rev.1.00 Jan. 10, 2008 Page 1433 of 1658
REJ09B0261-0100