21.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: Enabling the output driver will automatically disable pull.
Figure 21-6. I/O Configuration - Totem-Pole Output with Disabled Input
Figure 21-7. I/O Configuration - Totem-Pole Output with Enabled Input
Figure 21-8. I/O Configuration - Output with Pull