Atmel Xplained Pro Evaluation Kit ATSAMD20-XPRO ATSAMD20-XPRO Hoja De Datos
Los códigos de productos
ATSAMD20-XPRO
286
Atmel | SMART SAM D20 [DATASHEET]
Atmel-42129K–SAM-D20_datasheet–06/2014
21.6.4.2 Input Configuration
Figure 21-4. I/O Configuration - Standard Input
Figure 21-5. I/O Configuration - Input with Pull
Note that when pull is enabled, the pull value is defined by the OUTx value.
21.6.4.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.
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 21-6. I/O Configuration - Totem-Pole Output with Disabled Input
PULLEN
DIR
OUT
IN
INEN
PULLEN
INEN
DIR
0
1
0
PULLEN
DIR
OUT
IN
INEN
PULLEN
INEN
DIR
1
1
0
PULLEN
DIR
OUT
IN
INEN
PULLEN
INEN
DIR
0
0
1