pub fn new(rtc_cntl: crate::peripherals::LPWR<'d>) -> Self {
        rtc::init();
        rtc::configure_clock();

        let this = Self {
            _inner: rtc_cntl,
            rwdt: Rwdt::new(),
            #[cfg(any(esp32c2, esp32c3, esp32c6, esp32h2, esp32s3))]
            swd: Swd::new(),
        };

        #[cfg(any(esp32, esp32s2, esp32s3, esp32c3, esp32c6, esp32c2))]
        RtcSleepConfig::base_settings(&this);

        this
    }
Create a new instance in [crate::Blocking] mode.

Optionally an interrupt handler can be bound.
esp-hal/src/rtc_cntl/mod.rs