pub fn into_count32_mode(mut self) -> Rtc<Count32Mode> {
        self.enable(false);
        self.sync();
        self.mode0_ctrla().modify(|_, w| {
            w.mode().count32() // enable mode2 (clock)
            .matchclr().clear_bit()
            .prescaler().div1() // No prescaler
        });
        self.sync();

        // enable clock sync on SAMx5x
        #[cfg(feature = "min-samd51g")]
        {
            self.mode2_ctrla().modify(|_, w| {
                w.clocksync().set_bit() // synchronize the CLOCK register
            });

            self.sync();
        }

        self.enable(true);
        self.into_mode()
    }
/// Reonfigures the peripheral for 32bit counter mode.
Reonfigures the peripheral for 32bit counter mode.
Reonfigures the peripheral for 32bit counter mode .
pub fn into_count32_mode(mut self) -> Rtc<Count32Mode> {
        self.enable(false);
        self.sync();
        self.mode0_ctrla().modify(|_, w| {
            w.mode().count32() // enable mode2 (clock)
            .matchclr().clear_bit()
            .prescaler().div1() // No prescaler
        });
        self.sync();
        // enable clock sync on SAMx5x
        #[cfg(feature = "min-samd51g")]
        {
            self.mode2_ctrla().modify(|_, w| {
                w.clocksync().set_bit() // synchronize the CLOCK register
            });
            self.sync();
        }
        self.enable(true);
        self.into_mode()
    }
pub fn into_count32_mode ( mut self ) -> Rtc < Count32Mode > { self . enable ( false ) ; self . sync ( ) ; self . mode0_ctrla ( ) . modify ( | _ , w | { w . mode ( ) . count32 ( ) // enable mode2 (clock) . matchclr ( ) . clear_bit ( ) . prescaler ( ) . div1 ( ) // No prescaler } ) ; self . sync ( ) ; // enable clock sync on SAMx5x # [ cfg ( feature " " ) ] { self . mode2_ctrla ( ) . modify ( | _ , w | { w . clocksync ( ) . set_bit ( ) // synchronize the CLOCK register } ) ; self . sync ( ) ; } self . enable ( true ) ; self . into_mode ( ) }
Reonfigures the peripheral for 32bit counter mode.
Reonfigures the peripheral for 32bit counter mode .
mut self
mut self