Enum stm32_metapac::rcc::vals::Sw
#[repr(u8)]pub enum Sw {
MSI = 0,
HSI = 1,
HSE = 2,
PLL1_R = 3,
}
Variants§
MSI = 0
MSI oscillator used as system clock
HSI = 1
HSI oscillator used as system clock
HSE = 2
HSE oscillator used as system clock
PLL1_R = 3
PLL used as system clock
Implementations§
Trait Implementations§
§impl Ord for Sw
impl Ord for Sw
§impl PartialOrd for Sw
impl PartialOrd for Sw
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)