English
Language : 

HD6417727BP160CV Datasheet, PDF (895/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 26 Pin Function Controller (PFC)
26.3.10 Port K Control Register (PKCR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PK7 PK7 PK6 PK6 PK5 PK5 PK4 PK4 PK3 PK3 PK2 PK2 PK1 PK1 PK0 PK0
MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0
Initial value: 0 0 0 0 0 0 0 0 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 R/W R/W R/W R/W R/W R/W R/W R/W
Port K Control Register (PKCR) is a 16-bit read/write register that selects the pin functions.
PKCR is initialized to H'0000 by power-on resets; however, it is not initialized by manual resets,
in standby mode, or in sleep mode.
Bits 15, 14: PK7 Mode 1, 0 (PK7MD1, PK7MD0)
Bits 13, 12: PK6 Mode 1, 0 (PK6MD1, PK6MD0)
Bits 11, 10: PK5 Mode 1, 0 (PK5MD1, PK5MD0)
Bits 9, 8: PK4 Mode 1, 0 (PK4MD1, PK4MD0)
Bits 7, 6: PK3 Mode 1, 0 (PK3MD1, PK3MD0)
Bits 5, 4: PK2 Mode 1, 0 (PK2MD1, PK2MD0)
Bits 3, 2: PK1 Mode 1, 0 (PK1MD1, PK1MD0)
Bits 1, 0: PK0 Mode 1, 0 (PK0MD1, PK0MD0)
These bits select the pin functions and the input pullup MOS control.
Bit (2n + 1)
PKnMD1
0
0
1
1
Bit 2n
PKnMD0
0
1
0
1
Pin Function
Other function (see table 26.1)
Port output
Port input (Pullup MOS: on)
Port input (Pullup MOS: off)
(Initial value)
(n = 0 to 7)
Rev.6.00 Mar. 27, 2009 Page 837 of 1036
REJ09B0254-0600