Enum stm32_metapac::rcc::vals::Sw
#[repr(u8)]pub enum Sw {
HSISYS = 0,
HSE = 1,
_RESERVED_2 = 2,
LSI = 3,
LSE = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
HSISYS = 0
HSISYS (HSI divided by HSIDIV) selected as system clock
HSE = 1
HSE selected as system clock
_RESERVED_2 = 2
LSI = 3
LSI selected as system clock
LSE = 4
LSE selected as system clock
_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
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
)