pub fn kernel_clk_mux(&mut self, sel: RtcClkSel) {
            // unsafe: Owned exclusive access to this bitfield
            interrupt::free(|_| {
                let bdcr = unsafe { &(*RCC::ptr()).bdcr };
                bdcr.modify(|_, w| w.rtcsel().variant(sel));
            });
        }
/// Modify a kernel clock for this
/// peripheral. See RM0433 Section 8.5.8.
///
/// # NOTE
///
/// This may only be written one time per peripheral reset.
/// Check `get_kernel_clk_mux()` to see if the write succeeded.
Modify a kernel clock for this
peripheral.
Modify a kernel clock for this peripheral .
pub fn kernel_clk_mux(&mut self, sel: RtcClkSel) {
            // unsafe: Owned exclusive access to this bitfield
            interrupt::free(|_| {
                let bdcr = unsafe { &(*RCC::ptr()).bdcr };
                bdcr.modify(|_, w| w.rtcsel().variant(sel));
            });
        }
pub fn kernel_clk_mux ( & mut self , sel : RtcClkSel ) { // unsafe: Owned exclusive access to this bitfield interrupt :: free ( | _ | { let bdcr = unsafe { & ( * RCC :: ptr ( ) ) . bdcr } ; bdcr . modify ( | _ , w | w . rtcsel ( ) . variant ( sel ) ) ; } ) ; }
Modify a kernel clock for this
peripheral.
Modify a kernel clock for this peripheral .
&mut self
sel
RtcClkSel
&mut self
sel
RtcClkSel
note
This may only be written one time per peripheral reset.
Check `get_kernel_clk_mux()` to see if the write succeeded.
This may only be written one time per peripheral reset . Check ` get_kernel_clk_mux () ` to see if the write succeeded .