pub fn new<P>(pin: P) -> Self
    where
        P: InputPin + OutputPin + RtcPin + 'd,
    {
        pin.rtc_set_config(true, true, RtcFunction::Rtc);

        let this = Self {
            phantom: PhantomData,
        };

        this.set_open_drain_output(true);
        this.input_enable(true);
        this.pullup_enable(true);
        this.pulldown_enable(false);
        this.output_enable(true);

        this
    }
Create a new output pin for use by the low-power core
esp-hal/src/gpio/rtc_io.rs