pub fn new(pins: &'a mut [(&'b mut dyn RtcIoWakeupPinType, WakeupLevel)]) -> Self {
        Self {
            pins: RefCell::new(pins),
        }
    }
Creates a new external wake-up source (Ext1) with the specified pins and
wake-up level.
esp-hal/src/rtc_cntl/sleep/mod.rs