34.12.13 Peripheral Multiplexing m
There are up to 16 Peripheral Multiplexing registers in each group, one for every set of two subsequent I/O lines. The m denotes the number of the set of I/O lines.
Port PINCFGn.MUXEN Value | Port WRCONFIG.PMUX Value | Peripheral Function | Description |
---|---|---|---|
0 | N/A | Port | Normal Port in /out functions (Pxy) |
1 | 00 | EIC / EIC_EXTINT(n) | External Interrupts |
1 | 01 | ADC / CMP | ADC and Analog Comparator |
1 | 03 | SERCOM(n) | SERCOMn (UART, I2C, SPI) |
1 | 04 | EBI | External Bus Interface |
1 | 05 | TCC WO(n) | Timer/Counter Controller |
1 | 06 | MLB | Media Local Bus |
1 | 07 | CAN(n) / SQI(n) | CAN, Serial Quad Interface |
1 | 08 | SDMMC | SD/MMC Host Controller (Memory Card Interface) |
1 | 09 | I2S / SWCLK, SWDIO, SWO, TRACE_CLK, TRACE_DATA[3:0] | I2S audio and, Debug and debug Trace |
1 | 0A | ETH | Ethernet |
1 | 0B | Only 2 alternate ETH signals | RX_CLK on PD12 and GTX_CLK on PD05 |
1 | 0C | GCLK | Controls GCLK_IO[7:2] |
1 | 0F | PTC | Peripheral Touch Controller |
Note: All undefined values of WRCONFIG.PMUX are reserved.
|
Symbol | Description | Symbol | Description | Symbol | Description |
---|---|---|---|---|---|
R | Readable bit | HC | Cleared by Hardware | (Grey cell) | Unimplemented |
W | Writable bit | HS | Set by Hardware | X | Bit is unknown at Reset |
K | Write to clear | S | Software settable bit | — | — |
Name: | PMUXm |
Offset: | 0x30 + m*0x01 [m=0..15] |
Reset: | 0x00 |
Property: | PAC Write-Protection |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
PMUXO[3:0] | PMUXE[3:0] | ||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 7:4 – PMUXO[3:0] Peripheral Multiplexing for Odd-Numbered Pin
These bits select the peripheral function for odd-numbered pins (2*n + 1) of a PORT group, if the corresponding PINCFGn.PMUXEN bit is '1'.
Not all possible values for this selection may be valid. For more details, refer to the Pinout.
Port PINCFGn.MUXEN value | Port WRCONFIG.PMUX value | Peripheral Function | Description |
---|---|---|---|
0 | N/A | Port | Normal Port I/O functions |
1 | 0x0 | EIC | External Interrupts |
1 | 0x1 | ADCN/ADC/AC | ADC and Analog Comparator |
1 | 0x2 | SERCOM | SERCOMn (UART, I2C, SPI) |
1 | 0x3 | SERCOM Alt | SERCOMn (UART, I2C, SPI) |
1 | 0x4 | EBI | External Bus Interface |
1 | 0x5 | TCC | Timer/Counter controller |
1 | 0x6 | TCC Alt/PDEC | Timer/Counter controller and Positional Decoder |
1 | 0x7 | COM | SQI/CAN/USB |
1 | 0x8 | SDMMC | SD/MMC Host Controller (Memory Card Interface) |
1 | 0x9 | SPI_IXS | SPI_IXS Audio |
1 | 0xa | PCC | Parallel Capture Controller |
1 | 0xb | ETH | Ethernet |
1 | 0xc | MISC | GCLK/CCL/AC Alt |
1 | 0xd | PTC | Peripheral Touch Controller |
Bits 3:0 – PMUXE[3:0] Peripheral Multiplexing for Even-Numbered Pin
These bits select the peripheral function for even-numbered pins (2*n) of a PORT group, if the corresponding PINCFGn.PMUXEN bit is '1'.
Not all possible values for this selection may be valid. For more details, refer to the Pinout.
Port PINCFGn.MUXEN value | Port WRCONFIG.PMUX value | Peripheral Function | Description |
---|---|---|---|
0 | N/A | Port | Normal Port I/O functions |
1 | 0x0 | EIC | External Interrupts |
1 | 0x1 | ADCN/ADC/AC | ADC and Analog Comparator |
1 | 0x2 | SERCOM | SERCOMn (UART, I2C, SPI) |
1 | 0x3 | SERCOM Alt | SERCOMn (UART, I2C, SPI) |
1 | 0x4 | EBI | External Bus Interface |
1 | 0x5 | TCC | Timer/Counter controller |
1 | 0x6 | TCC Alt/PDEC | Timer/Counter controller and Positional Decoder |
1 | 0x7 | COM | SQI/CAN/USB |
1 | 0x8 | SDMMC | SD/MMC Host Controller (Memory Card Interface) |
1 | 0x9 | SPI_IXS | SPI_IXS Audio |
1 | 0xa | PCC | Parallel Capture Controller |
1 | 0xb | ETH | Ethernet |
1 | 0xc | MISC | GCLK/CCL/AC Alt |
1 | 0xd | PTC | Peripheral Touch Controller |