English
Language : 

SH7730 Datasheet, PDF (952/1188 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7780 Series
Section 28 I/O Port
28.11.1 Port K Data Register (PKDR)
PKDR is a register that stores data for pins PTK7 to PTK0. Bits PK7DT to PK0DT correspond to
pins PTK7 to PTK0. For pins that function as general-purpose output pins, a read operation
directly reads out the value from this register. For pins that function as general-purpose input pins,
a read operation reads out the level on the corresponding pin.
Bit: 7
6
5
4
3
2
1
0
PK7DT PK6DT PK5DT PK4DT PK3DT PK2DT PK1DT PK0DT
Initial value: 0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R/W R/W R/W R/W
Initial
Bit
Bit Name Value R/W Description
7
PK7DT
0
R/W Table 28.12 shows the function of PKDR.
6
PK6DT
0
R/W
5
PK5DT
0
R/W
4
PK4DT
0
R/W
3
PK3DT
0
R/W
2
PK2DT
0
R/W
1
PK1DT
0
R/W
0
PK0DT
0
R/W
Table 28.12 Port K Data Register (PKDR) Read/Write Operations
PKCR State
PKnMD1 PKnMD0
0
0
Pin State
Other function
1
1
0
1
Note: n = 7 to 0
Output
Input (Pull-up
MOS on)
Input (Pull-up
MOS off)
Read
PKDR value
PKDR value
Pin state
Pin state
Write
The value is written to PKDR, but does
not affect the pin state.
The write value is output from the pin.
The value is written to PKDR, but does
not affect the pin state.
The value is written to PKDR, but does
not affect the pin state.
Rev. 1.00 Sep. 19, 2007 Page 904 of 1136
REJ09B0359-0100