/** Clear PLL slip, this is done repeatedly until lock is achieved */
Clear PLL slip, this is done repeatedly until lock is achieved
Clear PLL slip this is done repeatedly until lock is achieved
fn pll_clear_slip(pll: pll) -> bool {
    let ptr = pac::SYSCTL::ptr();
    unsafe {
        (*ptr).pll_lock.modify(|_,w|
            match pll {
                pll::PLL0 => w.pll_slip_clear0().set_bit(),
                pll::PLL1 => w.pll_slip_clear1().set_bit(),
                pll::PLL2 => w.pll_slip_clear2().set_bit(),
            }
        );
    }
    pll_is_lock(pll)
}
fn pll_clear_slip ( pll : pll ) -> bool { let ptr = pac :: SYSCTL :: ptr ( ) ; unsafe { ( * ptr ) . pll_lock . modify ( | _ , w | match pll { pll :: PLL0 => w . pll_slip_clear0 ( ) . set_bit ( ) , pll :: PLL1 => w . pll_slip_clear1 ( ) . set_bit ( ) , pll :: PLL2 => w . pll_slip_clear2 ( ) . set_bit ( ) , } ) ; } pll_is_lock ( pll ) }
Clear PLL slip, this is done repeatedly until lock is achieved
Clear PLL slip this is done repeatedly until lock is achieved
pll
pll