
ATmega48PA/88PA/168PA [DATASHEET]
9223F–AVR–04/14
74
14.3.2 Alternate Functions of Port C
The Port C pins with alternate functions are shown in
Table 14-6.
The alternate pin configuration is as follows:
RESET/PCINT14 – Port C, Bit 6
RESET, reset pin: When the RSTDISBL fuse is programmed, this pin functions as a normal I/O pin, and the part will have to
rely on power-on reset and brown-out reset as its reset sources. When the RSTDISBL fuse is unprogrammed, the reset
circuitry is connected to the pin, and the pin can not be used as an I/O pin.
If PC6 is used as a reset pin, DDC6, PORTC6 and PINC6 will all read 0.
PCINT14: Pin change interrupt source 14. The PC6 pin can serve as an external interrupt source.
SCL/ADC5/PCINT13 – Port C, Bit 5
SCL, 2-wire Serial Interface Clock: When the TWEN bit in TWCR is set (one) to enable the 2-wire Serial Interface, pin PC5 is
disconnected from the port and becomes the Serial Clock I/O pin for the 2-wire Serial Interface. In this mode, there is a spike
filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with
slew-rate limitation.
PC5 can also be used as ADC input Channel 5. Note that ADC input channel 5 uses digital power.
PCINT13: Pin change interrupt source 13. The PC5 pin can serve as an external interrupt source.
SDA/ADC4/PCINT12 – Port C, Bit 4
SDA, 2-wire serial interface data: When the TWEN bit in TWCR is set (one) to enable the 2-wire serial interface, pin PC4 is
disconnected from the port and becomes the serial data I/O pin for the 2-wire serial interface. In this mode, there is a spike
filter on the pin to suppress spikes shorter than 50 ns on the input signal, and the pin is driven by an open drain driver with
slew-rate limitation.
PC4 can also be used as ADC input channel 4. Note that ADC input channel 4 uses digital power.
PCINT12: Pin change interrupt source 12. The PC4 pin can serve as an external interrupt source.
Table 14-6. Port C Pins Alternate Functions
Port Pin
Alternate Function
PC6
RESET (reset pin)
PCINT14 (pin change interrupt 14)
PC5
ADC5 (ADC input channel 5)
SCL (2-wire serial bus clock line)
PCINT13 (pin change interrupt 13)
PC4
ADC4 (ADC input channel 4)
SDA (2-wire Serial bus data input/output line)
PCINT12 (pin change interrupt 12)
PC3
ADC3 (ADC input channel 3)
PCINT11 (pin change interrupt 11)
PC2
ADC2 (ADC input channel 2)
PCINT10 (pin change interrupt 10)
PC1
ADC1 (ADC input channel 1)
PCINT9 (pin change interrupt 9)
PC0
ADC0 (ADC input channel 0)
PCINT8 (pin change interrupt 8)