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 to one of the peripheral functions A, B, C, D, E, F, G, H or I. 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 H is done by writing to the Peripheral Multiplexing Odd and Even bits in the Peripheral Multiplexing register (PMUXn.PMUXE/O) in the PORT.

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

Table 7-1. PORT Function Multiplexing
PinI/O pinSupplyAB(1)(2)CDEFGHI
SAML21ESAML21GSAML21JEIC/RSTCREFADCACPTCDACOPAMPSERCOM (1)(2)SERCOM-ALTTC/TCC (3)TCCCOMAC/GCLK/SUPCCCL
111PA00VSWOUTEXTINT[0]/ EXTWAKE[0]SERCOM1/ PAD[0]TCC2/WO[0]
222PA01VSWOUTEXTINT[1]/ EXTWAKE[1]SERCOM1/ PAD[1]TCC2/WO[1]
333PA02(5)VDDANAEXTINT[2]/ EXTWAKE[2]AIN[0]Y[0]VOUT[0]OA_NEG[0]
444PA03VDDANAEXTINT[3]/ EXTWAKE[3]VREFAAIN[1]Y[1]
5PB04VDDANAEXTINT[4]AIN[12]Y[10]
6PB05VDDANAEXTINT[5]AIN[13]Y[11]OA_NEG[1]
9PB06VDDANAEXTINT[6]AIN[14]Y[12]OA_NEG[2]CCL2 IN[0]
10PB07VDDANAEXTINT[7]AIN[15]Y[13]CCL2 IN[1]
711PB08(5)VDDANAEXTINT[8]AIN[2]OA_OUT[1]SERCOM4/ PAD[0]TC0/WO[0]CCL2 IN[2]
812PB09VDDANAEXTINT[9]AIN[3]Y[15]OA_POS[1]SERCOM4/ PAD[1]TC0/WO[1]CCL2 OUT
5913PA04(5)VDDANAEXTINT[4]/ EXTWAKE[4]VREFBAIN[4]AIN[0]OA_OUT[2]SERCOM0/ PAD[0]TCC0/WO[0]CCL0 IN[0]
61014PA05(5)VDDANAEXTINT[5]/ EXTW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C3/WO[1]TCC0/ WO[7]GCLK_IO[5]
213143PA22VDDIO(6)EXTINT[6]X[10]SERCOM3/ PAD[0]SERCOM5/ PAD[0]TC0/WO[0]TCC0/ WO[4]GCLK_IO[6]CCL2 IN[0]
223244PA23VDDIO(6)EXTINT[7]X[11]SERCOM3/ PAD[1]SERCOM5/ PAD[1]TC0/WO[1]TCC0/ WO[5]USB/SOF 1kHzGCLK_IO[7]CCL2 IN[1]
233345PA24VDDIO(6)EXTINT[12]SERCOM3/ PAD[2]SERCOM5/ PAD[2]TC1/WO[0]TCC1/ WO[2]USB/DMCCL2 IN[2]
243446PA25VDDIO(6)EXTINT[13]SERCOM3/ PAD[3]SERCOM5/ PAD[3]TC1/WO[1]TCC1/ WO[3]USB/DPCCL2 OUT
3749PB22VDDINEXTINT[6]SERCOM5/ PAD[2]TC3/WO[0]GCLK_IO[0]CCL0 IN[0]
3850PB23VDDINEXTINT[7]SERCOM5/ PAD[3]TC3/WO[1]GCLK_IO[1]CCL0 OUT
253951PA27VDDINEXTINT[15]GCLK_IO[0]
314557PA30VDDINEXTINT[10]SERCOM1/ PAD[2]TCC1/WO[0]CORTEX_ M0P/ SWCLKGCLK_IO[0]CCL1 IN[0]
324658PA31VDDINEXTINT[11]SERCOM1/ PAD[3]TCC1/WO[1]SWDIO (4)CCL1 OUT
59PB30VDDINEXTINT[14]SERCOM5/ PAD[0]TCC0/WO[0]TCC1/ WO[2]
60PB31VDDINEXTINT[15]SERCOM5/ PAD[1]TCC0/WO[1]TCC1/ WO[3]
61PB00VSWOUTEXTINT[0]AIN[8]SERCOM5/ PAD[2]TC3/WO[0]CCL0 IN[1]
62PB01VSWOUTEXTINT[1]AIN[9]SERCOM5/ PAD[3]TC3/WO[1]CCL0 IN[2]
4763PB02VSWOUTEXTINT[2]AIN[10]SERCOM5/ PAD[0]TC2/WO[0]CCL0 OUT
4864PB03VSWOUTEXTINT[3]AIN[11]SERCOM5/ PAD[1]TC2/WO[1]
Note:
  1. All analog pin functions are on peripheral function B. Peripheral function B must be selected to disable the digital control of the pin.
  2. Only some pins can be used in SERCOM I2C mode. See also SERCOM I2C Pins.
  3. TC2 and TC3 are not supported on SAM L21G. Refer to Configuration Summary for details.
  4. This function is only activated in the presence of a debugger.
  5. When an analog peripheral is enabled, the analog output of the peripheral will interfere with the alternative functions of this pin. This is also true even when the peripheral is used for internal purposes.
  6. On SAM L21E, VDDIO is electrically connected to the VDDANA domain and supplied through VDDANA.
  7. Clusters of multiple GPIO pins are sharing the same supply pin. See GPIO Clusters.

References:

Electrical Characteristics