Hacker News new | ask | show | jobs
by InitialLastName 3043 days ago
As mentioned above, in some uC's the output register defines the pull direction when the pin is an input.

In other cases, you want to avoid glitching when the pin switches to an output on startup.