pub fn pullup_enable(&self, enable: bool) {
        LP_IO::regs()
            .gpio(PIN as usize)
            .modify(|_, w| w.fun_wpu().bit(enable));
    }
Sets pull-up enable for the pin
esp-hal/src/gpio/lp_io.rs