Enum Sws
#[repr(u8)]pub enum Sws {
HSI = 0,
HSE = 1,
PLL = 2,
HSI48 = 3,
}
Variants§
HSI = 0
HSI oscillator used as system clock
HSE = 1
HSE oscillator used as system clock
PLL = 2
PLL used as system clock
HSI48 = 3
HSI48 used as system clock (when avaiable)
Implementations§
Trait Implementations§
§impl Ord for Sws
impl Ord for Sws
§impl PartialOrd for Sws
impl PartialOrd for Sws
impl Copy for Sws
impl Eq for Sws
impl StructuralPartialEq for Sws
Auto Trait Implementations§
impl Freeze for Sws
impl RefUnwindSafe for Sws
impl Send for Sws
impl Sync for Sws
impl Unpin for Sws
impl UnwindSafe for Sws
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