|
SH7709S Datasheet, PDF (616/807 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series | |||
|
◁ |
18.3.3 Port C Control Register (PCCR)
Bit: 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
PC7 PC7 PC6 PC6 PC5 PC5 PC4 PC4 PC3 PC3 PC2 PC2 PC1 PC1 PC0 PC0
MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0 MD1 MD0
Initial value: 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 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 C control register (PCCR) is a 16-bit readable/writable register that selects the pin
functions. PCCR is initialized to H'AAAA by a power-on reset, but is not initialized by a manual
reset, in standby mode, or in sleep mode.
Bits 15 and 14âPC7 Mode 1 and 0 (PC7MD1, PC7MD0)
Bits 13 and 12âPB6 Mode 1 and 0 (PC6MD1, PC6MD0)
Bits 11 and 10âPC5 Mode 1 and 0 (PC5MD1, PC5MD0)
Bits 9 and 8âPC4 Mode 1 and 0 (PC4MD1, PC4MD0)
Bits 7 and 6âPC3 Mode 1 and 0 (PC3MD1, PC3MD0)
Bits 5 and 4âPC2 Mode 1 and 0 (PC2MD1, PC2MD0)
Bits 3 and 2âPC1 Mode 1 and 0 (PC1MD1, PC1MD0)
Bits 1 and 0âPC0 Mode 1 and 0 (PC0MD1, PC0MD0)
These bits select the pin functions and perform input pull-up MOS control.
Bit (2n + 1)
PCnMD1
0
0
1
1
Bit 2n
PCnMD0
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 572 of 760
|
▷ |