Atmel Xplained Pro Evaluation Kit for the ATSAMD21J18A Microcontroller ATSAMD21-XPRO ATSAMD21-XPRO Fiche De Données

Codes de produits
ATSAMD21-XPRO
Page de 1018
373
Atmel | SMART SAM D21 [DATASHEET]
Atmel-42181C–SAM-D21_Datasheet–07/2014
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
OUT
IN
INEN
PULLEN
INEN
DIR
1
1
0
PULLEN
DIR
OUT
IN
INEN
PULLEN
INEN
DIR
0
0
1
PULLEN
DIR
OUT
IN
INEN
PULLEN
INEN
DIR
0
1
1