33.14.9 Data Input Value

There are up to 32 Pin Configuration registers in each PORT group, one for each I/O line.

Table 33-14. Peripheral Port Mux Control Mapping
Port

PINCFGn.MUXEN

Value

Port

WRCONFIG.PMUX

Value

Peripheral FunctionDescription
0N/APort Normal Port in /out functions (Pxy)
100EIC / EIC_EXTINT(n)External Interrupts
101ADC / CMPADC and Analog Comparator
103SERCOM(n)SERCOMn (UART, I2C, SPI)
104EBIExternal Bus Interface
105TCC WO(n)Timer/Counter Controller
106MLBMedia Local Bus
107CAN(n) / SQI(n)CAN, Serial Quad Interface
108SDMMCSD/MMC Host Controller (Memory Card Interface)
109I2S / SWCLK, SWDIO, SWO, TRACE_CLK, TRACE_DATA[3:0]I2S audio and, Debug and debug Trace
10AETHEthernet
10BOnly 2 alternate ETH signalsRX_CLK on PD12 and

GTX_CLK on PD05

10CGCLKControls GCLK_IO[7:2]
10FPTCPeripheral Touch Controller
Note: All undefined values of WRCONFIG.PMUX are reserved.
Table 33-15. Port Pin Configuration Register Mapping
Port GroupPackages
100 pin TQFP EP144 pin TQFP EP144 pin TFBGA176 pin TFBGA208 pin TFBGA
PORT A (GROUP 0)PA[0:20]PA[0:29]PA[0:29}PA[0-31]PA[0-31]
PINCFGn Registersn=[0-20]n=[0-29]n=[0-29]n=[0-31]n=[0-31]
PINCFGn.SLEWLIM (Only Exists On:)n=(0-4)n=(0-4, 21)n=(0-4, 21)n=(0-4, 21, 30, 31)n=(0-4, 21, 30, 31)
PORT B (GROUP 1)PB[0:17]PB[0:26]PB[0:26]PB[0:31]PB[0:31]
PINCFGn Registersn=[0-17]n=[0-26]n=[0-26]n=[0-31]n=[0-31]
PINCFGn.SLEWLIM (Only Exists On:)n=(0-4)n=(0-4, 21)n=(0-4, 21)n=(0-4, 21, 30, 31)n=(0-4, 21, 30, 31)
PORT C (GROUP 2) PC[0:15] PC[0:29] PC[0:29] PC[0:31] PC[0:31]
PINCFGn Registersn=[0-15]n=[0-29]n=[0-29]n=[0-31]n=[0-31]
PINCFGn.SLEWLIM (Only Exists On:)n=(0-4)n=(0-4, 21)n=(0-4, 21)n=(0-4, 21, 30, 31)n=(0-4, 21, 30, 31)
PORT D (GROUP 3) PD[0:12] PD[0:21] PD[0:21] PD[0:23] PD[0:29]
PINCFGn Registersn=[0-15]n=[0-29]n=[0-29]n=[0-31]n=[0-31]
PINCFGn.SLEWLIM (Only Exists On:)n=(0-4)n=(0-4, 21)n=(0-4, 21)n=(0-4, 21, 30, 31)n=(0-4, 21, 30, 31)
PORT E (GROUP 4) ---- ---- ---- PE[0:3] PE[0:11]
PINCFGn Registers ---- ---- ----n=[0-3]n=[0-11]
PINCFGn.SLEWLIM (Only Exists On:) ---- ---- ----n=(0-3)n=(0-4)
PORT F (GROUP 5) ---- ---- ---- PF[5] PF[0:8]
PINCFGn Registers ---- ---- ----n=[5]n=[0-8]
PINCFGn.SLEWLIM (Only Exists On:) ---- ---- --------n=(0-4)
PORT G (GROUP 6) ---- ---- ----PG[0-3]PG[0-11]
PINCFGn Registers ---- ---- ----n=[0-3]n=[0-11]
PINCFGn.SLEWLIM (Only Exists On:) ---- ---- ----n=(0-3)n=(0-4)

EXAMPLE:

PORT_REGS->GROUP[2].PORT_PINCFG4 = 0x12; /* I/O pin PC4, Slew rate control enabled (4x slower), input buffer enabled */

Table 33-16. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: IN
Offset: 0x20
Reset: 0x00000000
Property: R

Bit 3130292827262524 
 IN[31:24] 
Access RRRRRRRR 
Reset 00000000 
Bit 2322212019181716 
 IN[23:16] 
Access RRRRRRRR 
Reset 00000000 
Bit 15141312111098 
 IN[15:8] 
Access RRRRRRRR 
Reset 00000000 
Bit 76543210 
 IN[7:0] 
Access RRRRRRRR 
Reset 00000000 

Bits 31:0 – IN[31:0] PORT Data Input Value