Datasheet
Section 8 I/O Ports
Rev.7.00 Dec. 24, 2008 Page 247 of 698
REJ09B0074-0700
8.8.4 Port C Pull-Up MOS Control Register (PCPCR)
PCPCR controls the on/off state of the port C input pull-up MOS.
Bit Bit Name Initial Value R/W Description
7
6
5
4
3
2
1
0
PC7PCR
PC6PCR
PC5PCR
PC4PCR
PC3PCR
PC2PCR
PC1PCR
PC0PCR
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
When a pin functions as an input port, setting the
corresponding bit to 1 turns on the input pull-up MOS for
that pin.
8.8.5 Pin Functions
Port C pins also function as address bus (A7 to A0) output pins. The correspondence between the
register specification and the pin functions is shown below.
Note: When using the RTC and USB with the emulator (E6000), set A7 to A0 as address bus
output pins.
Table 8.46 PC7 Pin Function
Operating Mode Modes 4 and 5 Mode 6 Mode 7
PC7DDR ⎯ 0 1 0 1
Pin Function A7
output pin
PC7
input pin
A7
output pin
PC7
input pin
PC7
output pin
Table 8.47 PC6 Pin Function
Operating Mode Modes 4 and 5 Mode 6 Mode 7
PC6DDR ⎯ 0 1 0 1
Pin Function A6
output pin
PC6
input pin
A6
output pin
PC6
input pin
PC6
output pin