#[repr(u8)]
pub enum SWS_A {
Msi,
Hsi16,
Hse,
Pll,
}
Expand description
System clock switch status
Value on reset: 0
Variants
Msi
0: MSI oscillator used as system clock
Hsi16
1: HSI oscillator used as system clock
Hse
2: HSE oscillator used as system clock
Pll
3: PLL used as system clock
Trait Implementations
impl Copy for SWS_A
impl StructuralPartialEq for SWS_A
Auto Trait Implementations
impl RefUnwindSafe for SWS_A
impl Send for SWS_A
impl Sync for SWS_A
impl Unpin for SWS_A
impl UnwindSafe for SWS_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more