Enum stm32_metapac::rcc::vals::Sw
#[repr(u8)]pub enum Sw {
HSI = 0,
HSE = 1,
PLL1_P = 2,
_RESERVED_3 = 3,
}
Variants§
HSI = 0
HSI selected as system clock
HSE = 1
HSE selected as system clock
PLL1_P = 2
PLL selected as system clock
_RESERVED_3 = 3
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 StructuralPartialEq for Sw
Auto Trait Implementations§
impl Freeze for Sw
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