Datasheet
Section 10 I/O Ports
Rev.7.00 Mar. 18, 2009 page 519 of 1136
REJ09B0109-0700
10.11.4 Port C Pull-Up MOS Control Register (PCPCR)
PCPCR controls the on/off state of input pull-up MOS of port C. PCPCR is valid in modes 4 and
7.
Bit Bit Name Initial Value R/W Description
7 PC7PCR 0 R/W
6 PC6PCR 0 R/W
5 PC5PCR 0 R/W
4 PC4PCR 0 R/W
3 PC3PCR 0 R/W
2 PC2PCR 0 R/W
1 PC1PCR 0 R/W
When PCDDR = 0 (input port), setting the
corresponding bit to 1 turns on the input pull-up
MOS for that pin.
0 PC0PCR 0 R/W
10.11.5 Pin Functions
Port C pins also function as the pins for address outputs. The correspondence between the register
specification and the pin functions is shown below.
• PC7/A7, PC6/A6, PC5/A5, PC4/A4, PC3/A3, PC2/A2, PC1/A1, PC0/A0
The pin function is switched as shown below according to the operating mode, bit EXPE, and
bit PCDDR.
Operating
mode
1, 2 4 7
EXPE ⎯ ⎯ 0 1
PCnDDR ⎯ 0 1 0 1 0 1
Pin function Address
output
PCn
input
Address
output
PCn
input
PCn
output
PCn
input
Address
output










