7.
I/O Multiplexing and Considerations
7.1.
Multiplexed Signals
Each pin is by default controlled by the PORT as a general purpose I/O and alternatively it can be
assigned a different peripheral functions. To enable a peripheral function on a pin, the Peripheral
Multiplexer Enable bit in the Pin Configuration register corresponding to that pin (PINCFGn.PMUXEN, n =
0-31) in the PORT must be written to '1'. The selection of peripheral function A to I is done by writing to
the Peripheral Multiplexing Odd and Even bits in the Peripheral Multiplexing register (PMUXn.PMUXE/O)
of the PORT.
This table describes the peripheral signals multiplexed to the PORT I/O pins.
Table 7-1. PORT Function Multiplexing
Function
-
A
B
C
D
E
F
H
I
Type
L22G(5) L22J L22N Pad Name EIC
ANAREF ADC
AC
PTC
SLCD
SERCOM(6)
SERCOM(6)
TC/TCC
TCC/RTC COM/RTC
AC/
GCLK/
SUPC
CCL
Battery backup
1
1
1
PA00
EIC/EXTINT[0]
SERCOM1/
PAD[0]
2
2
2
PA01
EIC/EXTINT[1]
SERCOM1/
PAD[1]
3
PC00
EIC/EXTINT[8]
ADC/
AIN[16]
RTC/IN[3]
4
PC01
EIC/EXTINT[9]
ADC/
AIN[17]
RTC/IN[4]
5
PC02
EIC/EXTINT[10]
ADC/
AIN[18]
PTC/
XY[6]
6
PC03
EIC/EXTINT[11]
ADC/
AIN[19]
PTC/
XY[7]
3
3
7
PA02
EIC/EXTINT[2] ADC/
VREFB
ADC/
AIN[0]
AC/
AIN[0]
PTC/
XY[8]
RTC/IN[2]
4
4
8
PA03
EIC/EXTINT[3] ADC/
VREFA
ADC/
AIN[1]
AC/
AIN[1]
PTC/
XY[9]
5
9
PB04
EIC/EXTINT[4]
ADC/
AIN[12]
AC/
AIN[2]
PTC/
XY[10]
6
10
PB05
EIC/EXTINT[5]
ADC/
AIN[13]
AC/
AIN[3]
PTC/
XY[11]
9
13
PB06
EIC/EXTINT[6]
ADC/
AIN[14]
PTC/
XY[12]
SLCD/
LP[0]
CCL/IN[6]
10
14
PB07
EIC/EXTINT[7]
ADC/
AIN[15]
PTC/
XY[13]
SLCD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OM0/
PAD[3]
SERCOM4/
PAD[3]
TCC/
WO[3]
CCL/
OUT[1]
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
27