34.11.3 I/O Pin Configurations

The Pin Configuration register (PINCFGn) is used for additional I/O pin configuration. A pin can be set in a totem-pole, open-drain, or pull configuration.

As pull configuration is done through the Pin Configuration register, all intermediate PORT states during switching of pin direction and pin values are avoided.

The I/O pin configurations are described further in this chapter and summarized in the following table:

Table 34-2. Pin Configurations Summary
DIRINENPULLENOUTConfiguration
000XReset or analog I/O: all digital disabled
0010Pull-down; input disabled
0011Pull-up; input disabled
010XInput
0110Input with pull-down
0111Input with pull-up
10XXOutput; input disabled
11XXOutput; input enabled
Note: X=Don't care.