|
SH7709S Datasheet, PDF (624/807 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series | |||
|
◁ |
18.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
The port K control register (PKCR) is a 16-bit readable/writable register that selects the pin
functions. PKCR is initialized to H'0000 by a power-on reset, but is not initialized by a manual
reset, in standby mode, or in sleep mode.
Bits 15 and 14âPK7 Mode 1 and 0 (PK7MD1, PK7MD0)
Bits 13 and 12âPK6 Mode 1 and 0 (PK6MD1, PK6MD0)
Bits 11 and 10âPK5 Mode 1 and 0 (PK5MD1, PK5MD0)
Bits 9 and 8âPK4 Mode 1 and 0 (PK4MD1, PK4MD0)
Bits 7 and 6âPK3 Mode 1 and 0 (PK3MD1, PK3MD0)
Bits 5 and 4âPK2 Mode 1 and 0 (PK2MD1, PK2MD0)
Bits 3 and 2âPK1 Mode 1 and 0 (PK1MD1, PK1MD0)
Bits 1 and 0âPK0 Mode 1 and 0 (PK0MD1, PK0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1)
PKnMD1
0
0
1
1
Bit 2n
PKnMD0
0
1
0
1
Pin Function
Other function (see table 18.1)
Port output
Port input (Pull-up MOS: on)
Port input (Pull-up MOS: off)
(Initial value)
(n = 0 to 7)
Rev. 5.00, 09/03, page 580 of 760
|
▷ |