Datasheet
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
32-pin TQFP/ QFN/ MLF Pin # 40-pin PDIP Pin # PAD EXTINT PCINT ADC/AC OSC T/C # 0 T/C # 1 USART I2C SPI JTAG
1 6 PB[5] PCINT13 MOSI
2 7 PB[6] PCINT14 MISO
3 8 PB[7] PCINT15 SCK
4 9 RESET
5 10 VCC
6 11 GND
7 12 XTAL2
8 13 XTAL1
9 14 PD[0] PCINT24 RxD0
10 15 PD[1] PCINT25 TxD0
11 16 PD[2] INT0 PCINT26 RxD1
12 17 PD[3] INT1 PCINT27 TXD1
13 18 PD[4] PCINT28 OC1B XCK1
14 19 PD[5] PCINT29 OC1A
15 20 PD[6] PCINT30 OC2B ICP1
16 21 PD[7] PCINT31 OC2A
17 - VCC RxD2 MISO1
18 - GND TxD2 MOSI1
19 22 PC[0] PCINT16 SCL
20 23 PC[1] PCINT17 SDA
21 24 PC[2] PCINT18 TCK
22 25 PC[3] PCINT19 TMS
23 26 PC[4] PCINT20 TDO
24 27 PC[5] PCINT21 TDI
25 28 PC[6] PCINT22 TOSC1
26 29 PC[7] PCINT23 TOSC2
27 30 AVCC
28 31 GND
29 32 AREF AREF
30 33 PA[7] PCINT7 ADC7
31 34 PA[6] PCINT6 ADC6
32 35 PA[5] PCINT5 ADC5
33 36 PA[4] PCINT4 ADC4
34 37 PA[3] PCINT3 ADC3
Atmel ATmega1284P [DATASHEET]
Atmel-42719C-ATmega1284P_Datasheet_Summary-10/2016
11