pub fn init_with_ulp32k(mclk: &mut pac::MCLK, _clock: EicClock, eic: pac::EIC) -> ConfigurableEIC {
    mclk.apbamask.modify(|_, w| w.eic_().set_bit());

    eic.ctrla.modify(|_, w| w.swrst().set_bit());
    while eic.syncbusy.read().swrst().bit_is_set() {
        cortex_m::asm::nop();
    }

    // Use the low-power 32k clock.
    eic.ctrla.modify(|_, w| w.cksel().set_bit());

    ConfigurableEIC::new(eic)
}
/// init_with_ulp32k initializes the EIC and wires it up to the
/// ultra-low-power 32kHz clock source. finalize() must be called
/// before the EIC is ready for use.
init_with_ulp32k initializes the EIC and wires it up to the
ultra-low-power 32kHz clock source. finalize() must be called
before the EIC is ready for use.
init_with_ulp32k initializes the EIC and wires it up to the ultra - low - power 32kHz clock source . finalize () must be called before the EIC is ready for use .
pub fn init_with_ulp32k(mclk: &mut pac::MCLK, _clock: EicClock, eic: pac::EIC) -> ConfigurableEIC {
    mclk.apbamask.modify(|_, w| w.eic_().set_bit());
    eic.ctrla.modify(|_, w| w.swrst().set_bit());
    while eic.syncbusy.read().swrst().bit_is_set() {
        cortex_m::asm::nop();
    }
    // Use the low-power 32k clock.
    eic.ctrla.modify(|_, w| w.cksel().set_bit());
    ConfigurableEIC::new(eic)
}
pub fn init_with_ulp32k ( mclk : & mut pac :: MCLK , _clock : EicClock , eic : pac :: EIC ) -> ConfigurableEIC { mclk . apbamask . modify ( | _ , w | w . eic_ ( ) . set_bit ( ) ) ; eic . ctrla . modify ( | _ , w | w . swrst ( ) . set_bit ( ) ) ; while eic . syncbusy . read ( ) . swrst ( ) . bit_is_set ( ) { cortex_m :: asm :: nop ( ) ; } // Use the low-power 32k clock. eic . ctrla . modify ( | _ , w | w . cksel ( ) . set_bit ( ) ) ; ConfigurableEIC :: new ( eic ) }
init_with_ulp32k initializes the EIC and wires it up to the
ultra-low-power 32kHz clock source.
init_with_ulp32k initializes the EIC and wires it up to the ultra - low - power 32kHz clock source .
mclk
&mut pac::MCLK
_clock
EicClock
eic
pac::EIC
mclk
&mut pac::MCLK
_clock
EicClock
eic
pac::EIC