3.1 I/O Multiplexing

VQFN32
TQFP32

VQFN28

SPDIP28
SOIC28
SSOP28

SSOP20

SOIC14
SSOP14

Pin name (1,2)SpecialADC0ACnUSART0SPI0TWI0(4)TCE0+WEX0TCBnTCF0EVSYSCCL-LUTn
30262244PA0

XTAL32K1
EXTCLK

TxDMOSI(3)SDA(H)(3)

WO0
WO0(3)

WO0

0,IN0
0,IN0(3)

31272355PA1

XTAL32K2

RxDMISO(3)SCL(H)(3)

WO1
WO1(3)

WO1

0,IN1
0,IN1(3)

3228246-PA2

TWI
Fm+

AIN22

XCK
TxD(3)

SDA(H)

WO2
WO0(3)

0,WOEVOUTA

0,IN2
0,IN2(3)

11257-PA3

TWI
Fm+

AIN23

XDIR
RxD(3)

SCL(H)

WO3
WO1(3)

1,WO0,OUT
22268-PA4AIN24TxD(3)MOSI

WO4
WO2(3)

33279-PA5AIN25RxD(3)MISO

WO5
WO3(3)

442810-PA6AIN261,AINP5XCK(3)SCK

WO6
WO4(3)

WO0(3)0,OUT(3)
55111-PA7CLKOUTAIN27

0,OUT
1,AINP6
1,OUT

XDIR(3)SS

WO7
WO5(3)

WO1(3)EVOUTA(3)
662126PC0AIN28

SCK(3)
MOSI(3)

WO0(3)
WO2(3)

1,IN0
773137PC1AIN29TxD(3)

SS(3)
MISO(3)
MOSI(3)

WO1(3)
WO3(3)

1,IN1
884148PC2

TWI
Fm+

AIN30

0,AINN3
1,AINN3

RxD(3)

SCK(3)
MISO(3)

SDA(C)
SDA(H)(3)
SDA(C)(3)

WO2(3)
WO4(3)

EVOUTC1,IN2
995159PC3

TWI
Fm+

AIN31

0,AINP4
1,AINP4

XCK(3)

SS(3)
SCK(3)

SCL(C)
SCL(H)(3)
SCL(C)(3)

WO3(3)
WO5(3)

1,OUT
10106--PD0AIN0

0,AINN1
1,AINN1

WO0(3)

2,IN0
2,IN0(3)

11117--PD1AIN1WO1(3)

2,IN1
2,IN1(3)

12128--PD2AIN2

0,AINP0
1,AINP0

WO2(3)EVOUTD

2,IN2
2,IN2(3)

13139--PD3AIN3

0,AINN0
1,AINP1

WO3(3)2,OUT
1414101610PD4AIN4

0,AINP5
1,AINP2

TxD(3)MOSI(3)WO4(3)
1515111711PD5AIN5

0,AINP6
1,AINN0

RxD(3)MISO(3)WO5(3)
1616121812PD6AIN6

0,AINP3
1,AINP3

XCK(3) SCK(3)WO6(3)2,OUT(3)
1717131913PD7VREFAAIN7

0,AINN2
1,AINN2

XDIR(3)SS(3)WO7(3)EVOUTD(3)
1818142014VDD
19191511GND
202016--PF0AIN16WO0(3)3,IN0
212117--PF1AIN17WO1(3)3,IN1
22----PF2 AIN18WO2(3)EVOUTF3,IN2
23----PF3AIN19WO3(3)3,OUT
24----PF4AIN20WO4(3)0,WO(3)WO0(3)
25----PF5AIN21WO5(3)1,WO(3)WO1(3)
26221822PF6(5)RESETRxD(3)
27231933PF7UPDITxD(3)SS(3)EVOUTF(3)
282420--VDD
292521--GND
Note:
  1. The pin names are Pxn type, with x being the PORT instance (A, B, C, ...) and n, the PIN. The notation for signals is PORTx_PINn. All pins can be used as event inputs.
  2. All the pins can be used for external interrupt.
  3. Alternate pin positions. To select alternate positions, refer to the PORTMUX - Port Multiplexer section.
  4. The TWI pins that can be used as hosts or clients are marked H. The pins with client-only are marked C.
  5. Input-only.