Data Sheet

385
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181G–SAM-D21_Datasheet–09/2015
Figure 22-5. I/O Configuration - Input with Pull
Note that when pull is enabled, the pull value is defined by the OUTx value.
22.6.3.3 Totem-Pole Output
When configured for totem-pole (push-pull) output, the pin is driven low or high according to the corresponding bit setting
in the OUT register. In this configuration, there is no current limitation for sink or source other than what the pin is capable
of. If the pin is configured for input, the pin will float if no external pull is connected. Note, that enabling the output driver
automatically disables pull.
Figure 22-6. I/O Configuration - Totem-Pole Output with Disabled Input
Figure 22-7. I/O Configuration - Totem-Pole Output with Enabled Input
PULLEN
DIR
OU
T
IN
INEN
PULLEN
I
NEN
DIR
11
0
PULLEN
DIR
OU
T
IN
INEN
PULLEN
I
NEN
DIR
0
0
1
PULLEN
DIR
OU
T
IN
INEN
PULLEN
I
NEN
DIR
0
1
1