6 I/O Multiplexing

Each pin is by default controlled by the PORT as a general purpose I/O and alternatively it can be assigned to one of the peripheral functions.

The following table describes the peripheral signals multiplexed to the PORT I/O pins.

Table 6-1. PORT Function Multiplexing
NoPADEXTINTPCINTADC/ACOSCT/C # 0T/C # 1USARTI2CSPI
1PD[3]INT1PCINT19 OC2B
2PD[4] PCINT20 T0 XCK
3PE[0] ACO
4VCC
5GND
6PE[1]
7PB[6] PCINT6 XTAL1/TOSC1
8PB[7] PCINT7 XTAL2/TOSC2
9PD[5] PCINT21 OC0BT1
10PD[6] PCINT22AIN0 OC0A
11PD[7] PCINT23AIN1
12PB[0] PCINT0 CLKOICP1
13PB[1] PCINT1 OC1A
14PB[2] PCINT2 OC1B SS
15PB[3] PCINT3 OC2A MOSI
16PB[4] PCINT4 MISO
17PB[5] PCINT5 SCK
18AVCC
19PE[2] ADC6
20AREF
21GND
22PE[3] ADC7
23PC[0] PCINT8ADC0
24PC[1] PCINT9ADC1
25PC[2] PCINT10ADC2
26PC[3] PCINT11ADC3
27PC[4] PCINT12ADC4 SDA
28PC[5] PCINT13ADC5 SCL
29PC[6]/RESET PCINT14
30PD[0] PCINT16 RXD
31PD[1] PCINT17 TXD
32PD[2]INT0PCINT18