Enum stm32_metapac::rcc::vals::Sw
#[repr(u8)]pub enum Sw {
HSI = 0,
HSE = 1,
PLL1_P = 2,
HSI48 = 3,
}
Variants§
HSI = 0
HSI oscillator used as system clock
HSE = 1
HSE oscillator used as system clock
PLL1_P = 2
PLL used as system clock
HSI48 = 3
HSI48 used as system clock
Implementations§
Trait Implementations§
§impl Ord for Sw
impl Ord for Sw
§impl PartialOrd for Sw
impl PartialOrd for Sw
§fn partial_cmp(&self, other: &Sw) -> Option<Ordering>
fn partial_cmp(&self, other: &Sw) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Sw
impl Eq for Sw
impl StructuralEq for Sw
impl StructuralPartialEq for Sw
Auto Trait Implementations§
impl RefUnwindSafe for Sw
impl Send for Sw
impl Sync for Sw
impl Unpin for Sw
impl UnwindSafe for Sw
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