pub fn count32_mode(rtc: RTC, rtc_clock_freq: Hertz, pm: &mut PM) -> Self {
        pm.apbamask.modify(|_, w| w.rtc_().set_bit());

        let mut new_rtc = Self {
            rtc,
            rtc_clock_freq,
            _mode: PhantomData,
        };

        new_rtc.reset();
        new_rtc.enable(true);
        new_rtc
    }
/// Configures the RTC in 32-bit counter mode with no prescaler (default
/// state after reset) and the counter initialized to zero.
Configures the RTC in 32-bit counter mode with no prescaler (default
state after reset) and the counter initialized to zero.
Configures the RTC in 32 - bit counter mode with no prescaler ( default state after reset ) and the counter initialized to zero .
pub fn count32_mode(rtc: RTC, rtc_clock_freq: Hertz, pm: &mut PM) -> Self {
        pm.apbamask.modify(|_, w| w.rtc_().set_bit());
        let mut new_rtc = Self {
            rtc,
            rtc_clock_freq,
            _mode: PhantomData,
        };
        new_rtc.reset();
        new_rtc.enable(true);
        new_rtc
    }
pub fn count32_mode ( rtc : RTC , rtc_clock_freq : Hertz , pm : & mut PM ) -> Self { pm . apbamask . modify ( | _ , w | w . rtc_ ( ) . set_bit ( ) ) ; let mut new_rtc = Self { rtc , rtc_clock_freq , _mode : PhantomData , } ; new_rtc . reset ( ) ; new_rtc . enable ( true ) ; new_rtc }
Configures the RTC in 32-bit counter mode with no prescaler (default
state after reset) and the counter initialized to zero.
Configures the RTC in 32 - bit counter mode with no prescaler ( default state after reset ) and the counter initialized to zero .
rtc
RTC
rtc_clock_freq
Hertz
pm
&mut PM
rtc
RTC
rtc_clock_freq
Hertz
pm
&mut PM