Why is the output driver enabled for INPUT modes for GPIO pins? (Drive Strength Enable (DSE) bits.) I'm seeking understanding. (Even for pull-up and pull-down input modes, maybe the pin sources current through the pull resistors, but this doesn't explain to me the need for the enabled output driver.)
Input pins are configured here:
They're set here:
Input pins are configured here:
cores/teensy4/digital.c at 68c0ce3ae5fa17a3192684f3e195079fbd1f27fc · PaulStoffregen/cores
Teensy Core Libraries for Arduino. Contribute to PaulStoffregen/cores development by creating an account on GitHub.
github.com
They're set here:
cores/teensy4/digital.c at 68c0ce3ae5fa17a3192684f3e195079fbd1f27fc · PaulStoffregen/cores
Teensy Core Libraries for Arduino. Contribute to PaulStoffregen/cores development by creating an account on GitHub.
github.com