mirror of
https://github.com/Klipper3d/klipper.git
synced 2026-01-07 15:27:44 -07:00
If switching a pin from output low to input with pullup, there is an intermediate state of either driven high or high impedance without a pullup. Similarly, when switching from output high to input without a pullup, there is an intermediate state of either driven low or high impedence with a pullup. In both cases it is preferable for the latter transition. Also, calculate the final setting prior to making any changes to reduce the time in that intermediate state. Signed-off-by: Kevin O'Connor <kevin@koconnor.net> |
||
|---|---|---|
| .. | ||
| adc.c | ||
| gpio.c | ||
| gpio.h | ||
| hard_pwm.c | ||
| i2c.c | ||
| internal.h | ||
| irq.h | ||
| Kconfig | ||
| main.c | ||
| Makefile | ||
| pgm.h | ||
| serial.c | ||
| spi.c | ||
| timer.c | ||
| usbserial.c | ||
| watchdog.c | ||