Datasheet
Section 10 I/O Ports
Rev. 6.00 Mar. 18, 2010 Page 342 of 982
REJ09B0054-0600
10.8.5 Pin Functions
Port C pins also function as address output pin. The values of register and pin functions are shown
below.
• PC7/A7, PC6/A6, PC5/A5, PC4/A4, PC3/A3, PC2/A2, PC1/A1, PC0/A0
The pin functions are switched as shown below according to the combination of operating
mode and the PCnDDR bit.
Operating
mode
Modes 4 and 5 Mode 6 Mode 7
PCnDDR ⎯ 0 1 0 1
Pin functions Address output
pin
PCn input
pin
Address
output pin
PCn input pin PCn output
pin
Note: n = 7 to 0
10.8.6 Input Pull-Up MOS States in Port C
Port C has a built-in input pull-up MOS function that can be controlled by software. Input pull-up
MOS can be used in modes 6 and 7 and specified as on or off on an individual bit basis.
Table 10.4 summarizes the input pull-up MOS states in port C.
Table 10.4 Input Pull-Up MOS States in Port C
Pin States
Power-on
Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
Address output (modes 4
and 5) and port output
(modes 6 and 7)
OFF OFF OFF OFF
Port input (modes 6 and 7) ON/OFF ON/OFF
Legend:
OFF: Input pull-up MOS is always off.
ON/OFF: On when PCDDR = 0 and PCPCR = 1; otherwise off.