fn pll_is_lock(pll: pll) -> bool {
    let ptr = pac::SYSCTL::ptr();
    let pll_lock = unsafe { (*ptr).pll_lock.read() };
    match pll {
        pll::PLL0 => pll_lock.pll_lock0().bits() == 3,
        pll::PLL1 => (pll_lock.pll_lock1().bits() & 1) == 1,
        pll::PLL2 => (pll_lock.pll_lock2().bits() & 1) == 1,
    }
}
/** Return whether the selected PLL has achieved lock */
Return whether the selected PLL has achieved lock
Return whether the selected PLL has achieved lock
fn pll_is_lock(pll: pll) -> bool {
    let ptr = pac::SYSCTL::ptr();
    let pll_lock = unsafe { (*ptr).pll_lock.read() };
    match pll {
        pll::PLL0 => pll_lock.pll_lock0().bits() == 3,
        pll::PLL1 => (pll_lock.pll_lock1().bits() & 1) == 1,
        pll::PLL2 => (pll_lock.pll_lock2().bits() & 1) == 1,
    }
}
fn pll_is_lock ( pll : pll ) -> bool { let ptr = pac :: SYSCTL :: ptr ( ) ; let pll_lock = unsafe { ( * ptr ) . pll_lock . read ( ) } ; match pll { pll :: PLL0 => pll_lock . pll_lock0 ( ) . bits ( ) == 3 , pll :: PLL1 => ( pll_lock . pll_lock1 ( ) . bits ( ) & 1 ) == 1 , pll :: PLL2 => ( pll_lock . pll_lock2 ( ) . bits ( ) & 1 ) == 1 , } }
Return whether the selected PLL has achieved lock
Return whether the selected PLL has achieved lock
pll
pll
pll
pll