English
Language : 

SH7059 Datasheet, PDF (702/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
22. Pin Function Controller (PFC)
22.3.20 Port K IO Register (PKIOR)
Bit: 15
14
13
12
11
10
9
8
PK15 PK14 PK13 PK12 PK11 PK10 PK9 PK8
IOR
IOR
IOR
IOR
IOR
IOR
IOR
IOR
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
Bit: 7
6
5
4
3
2
1
0
PK7 PK6 PK5 PK4 PK3 PK2 PK1 PK0
IOR
IOR
IOR
IOR
IOR
IOR
IOR
IOR
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
The port K IO register (PKIOR) is a 16-bit readable/writable register that selects the input/output direction of the 16 pins
in port K. Bits PK15IOR to PK0IOR correspond to pins PK15/TO8P to PK0/TO8A. PKIOR is enabled when port K pins
function as general input/output pins (PK15 to PK0), and disabled otherwise.
When port K pins function as PK15 to PK0, a pin becomes an output when the corresponding bit in PKIOR is set to 1, and
an input when the bit is cleared to 0.
PKIOR is initialized to H'0000 by a power-on reset (excluding a WDT power-on reset), in hardware standby mode, and in
software standby mode. It is not initialized in sleep mode.
22.3.21 Port K Control Registers H and L (PKCRH, PKCRL)
Port K control registers H and L (PKCRH, PKCRL) are 16-bit readable/writable registers that select the functions of the
16 multiplex pins in port K. PKCRH selects the functions of the pins for the upper 8 bits of port K, and PKCRL selects the
functions of the pins for the lower 8 bits.
PKCRH and PKCRL are initialized to H'0000 by a power-on reset (excluding a WDT power-on reset), in hardware
standby mode, and in software standby mode. They are not initialized in sleep mode.
Port K Control Register H (PKCRH)
Bit: 15
14
13
12
11
10
9
8
—
PK15
—
PK14
—
PK13
—
PK12
MD
MD
MD
MD
Initial value: 0
0
0
0
0
0
0
0
R/W: R
R/W
R
R/W
R
R/W
R
R/W
Bit:
Initial value:
R/W:
7
6
5
4
3
2
1
0
—
PK11
—
PK10
—
PK9
—
PK8
MD
MD
MD
MD
0
0
0
0
0
0
0
0
R
R/W
R
R/W
R
R/W
R
R/W
• Bit 15—Reserved: This bit is always read as 0. The write value should always be 0.
• Bit 14—PK15 Mode Bit (PK15MD): Selects the function of pin PK15/TO8P.
Rev.3.00 Mar. 12, 2008 Page 612 of 948
REJ09B0177-0300