Enum stm32_metapac::rcc::vals::Sw
#[repr(u8)]pub enum Sw {
HSI = 0,
_RESERVED_1 = 1,
HSE = 2,
PLL1_R = 3,
}
Variants§
HSI = 0
HSI selected as system clock
_RESERVED_1 = 1
HSE = 2
HSE or HSE/2, as defined by HSEPRE, selected as system clock
PLL1_R = 3
pll1rclk selected 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
)