#[repr(u8)]pub enum SW_A {
Hsi = 0,
Csi = 1,
Hse = 2,
Pll1 = 3,
}
Expand description
System clock switch
Value on reset: 0
Variants§
Hsi = 0
0: HSI selected as system clock
Csi = 1
1: CSI selected as system clock
Hse = 2
2: HSE selected as system clock
Pll1 = 3
3: PLL1 selected as system clock
Trait Implementations§
source§impl PartialEq for SW_A
impl PartialEq for SW_A
impl Copy for SW_A
impl StructuralPartialEq for SW_A
Auto Trait Implementations§
impl RefUnwindSafe for SW_A
impl Send for SW_A
impl Sync for SW_A
impl Unpin for SW_A
impl UnwindSafe for SW_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more