Enum stm32_metapac::rcc::vals::Sw
#[repr(u8)]pub enum Sw {
HSI = 0,
CSI = 1,
HSE = 2,
PLL1_P = 3,
_RESERVED_4 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
HSI = 0
HSI selected as system clock
CSI = 1
CSI selected as system clock
HSE = 2
HSE selected as system clock
PLL1_P = 3
PLL1 selected as system clock
_RESERVED_4 = 4
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
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