Datasheet

Section 9 I/O Ports
Rev.6.00 Sep. 27, 2007 Page 413 of 1268
REJ09B0220-0600
Port C MOS Pull-Up Control Register (PCPCR)
Bit : 7 6 5 4 3 2 1 0
PC7PCR PC6PCR PC5PCR PC4PCR PC3PCR PC2PCR PC1PCR PC0PCR
Initial value : 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
PCPCR is an 8-bit readable/writable register that controls the MOS input pull-up function
incorporated into port C on an individual bit basis.
When a PCDDR bit is cleared to 0 (input port setting) in mode 6 or 7, setting the corresponding
PCPCR bit to 1 turns on the MOS input pull-up for the corresponding pin.
PCPCR is initialized to H'00 by a reset, and in hardware standby mode. It retains its prior state in
software standby mode.
9.10.3 Pin Functions
Modes 4 and 5: In modes 4 and 5, port C pins are automatically designated as address outputs.
Port C pin functions in modes 4 and 5 are shown in figure 9.13.
A
7
(output)
A
6
(output)
A
5
(output)
A
4
(output)
A
3
(output)
A
2
(output)
A
1
(output)
A
0
(output)
Port C
Figure 9.13 Port C Pin Functions (Modes 4 and 5)