29.6. Functional Description
Figure 29-2. Overview of the PORT
PULLENx
OUTx
DIRx
INENx
PORT
PAD
VDD
INEN
OE
OUT
PULLEN
PAD
Pull
Resistor
PG
NG
Input to Other Modules Analog Input/Output
IN
INx
APB Bus
Synchronizer
Q
D
R
R
D
Q
DRIVEx
DRIVE
29.6.1. Principle of Operation
Each PORT group of up to 32 pins is controlled by the registers in PORT, as described in the figure.
These registers in PORT are duplicated for each PORT group, with increasing base addresses. The
number of PORT groups may depend on the package/number of pins.
Figure 29-3. Overview of the peripheral functions multiplexing
Port y PINCFG
Port y
Periph Signal 0
PORT bit y
PMUXEN
Data+Config
Periph Signal 1
Periph Signal 15
Port y
PMUX[3:0]
Port y PMUX Select
Port y Line Bundle
PAD y
Pad y
Peripheral Signals to
be muxed to Pad y
Port y Peripheral
Mux Enable
15
1
0
0
1
Line Bundle
PORTMUX
Atmel SAM L22G / L22J / L22N [DATASHEET]
Atmel-42402E-SAM L22G / L22J / L22N_Datasheet_Complete-07/2016
542