Datasheet
Section 9 I/O Ports
Rev.6.00 Mar. 18, 2009 Page 379 of 980
REJ09B0050-0600
9.10.4 Port C MOS Pull-Up Control Register (PCPCR)
PCPCR controls the on/off state of MOS input pull-up 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
When PCDDR = 0 (input port), setting the
corresponding bit to 1 turns on the MOS input pull-
up for that pin.
3 PC3PCR 0 R/W
2 PC2PCR 0 R/W
1 PC1PCR 0 R/W
0 PC0PCR 0 R/W
9.10.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
Legend: n = 7 to 0