English
Language : 

SH7720 Datasheet, PDF (1270/1524 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 35 I/O Ports
35.14.2 Port R Data Register (PRDR)
PRDR is a register that stores data for pins PTR7 to PTR0. Bits PR7DT to PR0DT correspond to
pins PTR7 to PTR0. When the pin function is general output port, if the port is read, the value of
the corresponding PRDR bit is returned directly. When the function is general input port, if the
port is read, the corresponding pin level is read.
Initial
Bit Bit Name Value R/W Description
7
PR7DT 0
R/W Table 35.14 shows the function of PRDR.
6
PR6DT 0
R/W
5
PR5DT 0
R/W
4
PR4DT 0
R/W
3
PR3DT 0
R/W
2
PR2DT 0
R/W
1
PR1DT 0
R/W
0
PR0DT 0
R/W
Table 35.14 Port R Data Register (PRDR) Read/Write Operations
PRCR State
PRnMD1 PRnMD0 Pin State
Read
Write
0
0
Other function PRDR value Value is written to PRDR, but does not affect
pin state.
1
Output
PRDR value Write value is output from pin.
1
0
Input (Pull-up Pin state
Value is written to PRDR, but does not affect
MOS on)
pin state.
1
Input (Pull-up Pin state
Value is written to PRDR, but does not affect
MOS off)
pin state.
Note: n = 0 to 7
Rev. 3.00 Jan. 18, 2008 Page 1208 of 1458
REJ09B0033-0300