pub fn output_state(&self) -> bool {
        cfg_if::cfg_if! {
            if #[cfg(feature = "esp32c6")] {
                (unsafe { &*LpIo::PTR }.out().read().bits() >> PIN) & 0x1 != 0
            } else if #[cfg(feature = "esp32s2")] {
                (unsafe { &*LpIo::PTR }.out().read().gpio_out_data().bits() >> PIN) & 0x1 != 0
            } else if #[cfg(feature = "esp32s3")] {
                (unsafe { &*LpIo::PTR }.out().read().data().bits() >> PIN) & 0x1 != 0
            }
        }
    }
Read the output state/level of the pin.
esp-lp-hal/src/gpio.rs