pub fn handle_lse_css(&mut self) {
        if !self.is_pending(Event::LseCss) {
            return;
        }

        // unsafe: Only we can use these bits
        let rcc = unsafe { &*RCC::ptr() };
        rcc.bdcr
            .modify(|_, w| w.lsecsson().security_off().lseon().off());

        // We're allowed to change this once after the LSE fails
        self.prec.kernel_clk_mux(backup::RtcClkSel::LSI);
    }
/// Handle a Clock Security Subsystem failure for the LSE clock
///
/// Disables the LSE, disables the LSE CSS, and changes the RTC to use the LSI clock.
/// You may want to call `clear_date_time()`. You still need to unpend the LSECSS interrupt.
Handle a Clock Security Subsystem failure for the LSE clock
Disables the LSE, disables the LSE CSS, and changes the RTC to use the LSI clock.
You may want to call `clear_date_time()`. You still need to unpend the LSECSS interrupt.
Handle a Clock Security Subsystem failure for the LSE clock Disables the LSE disables the LSE CSS and changes the RTC to use the LSI clock . You may want to call ` clear_date_time () ` . You still need to unpend the LSECSS interrupt .
pub fn handle_lse_css(&mut self) {
        if !self.is_pending(Event::LseCss) {
            return;
        }
        // unsafe: Only we can use these bits
        let rcc = unsafe { &*RCC::ptr() };
        rcc.bdcr
            .modify(|_, w| w.lsecsson().security_off().lseon().off());
        // We're allowed to change this once after the LSE fails
        self.prec.kernel_clk_mux(backup::RtcClkSel::LSI);
    }
pub fn handle_lse_css ( & mut self ) { if ! self . is_pending ( Event :: LseCss ) { return ; } // unsafe: Only we can use these bits let rcc = unsafe { & * RCC :: ptr ( ) } ; rcc . bdcr . modify ( | _ , w | w . lsecsson ( ) . security_off ( ) . lseon ( ) . off ( ) ) ; // We're allowed to change this once after the LSE fails self . prec . kernel_clk_mux ( backup :: RtcClkSel :: LSI ) ; }
Handle a Clock Security Subsystem failure for the LSE clock
Disables the LSE, disables the LSE CSS, and changes the RTC to use the LSI clock.
Handle a Clock Security Subsystem failure for the LSE clock Disables the LSE disables the LSE CSS and changes the RTC to use the LSI clock .
&mut self
&mut self