Enum stm32_metapac::rcc::vals::Mcosel
#[repr(u8)]pub enum Mcosel {
Show 16 variants
DISABLE = 0,
HSI14 = 1,
LSI = 2,
LSE = 3,
SYS = 4,
HSI = 5,
HSE = 6,
PLL = 7,
_RESERVED_8 = 8,
_RESERVED_9 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
DISABLE = 0
MCO output disabled, no clock on MCO
HSI14 = 1
Internal RC 14 MHz (HSI14) oscillator clock selected
LSI = 2
Internal low speed (LSI) oscillator clock selected
LSE = 3
External low speed (LSE) oscillator clock selected
SYS = 4
System clock selected
HSI = 5
Internal RC 8 MHz (HSI) oscillator clock selected
HSE = 6
External 4-32 MHz (HSE) oscillator clock selected
PLL = 7
PLL clock selected (divided by 1 or 2, depending en PLLMCODIV)
_RESERVED_8 = 8
_RESERVED_9 = 9
_RESERVED_a = 10
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Mcosel
impl Ord for Mcosel
§impl PartialOrd for Mcosel
impl PartialOrd for Mcosel
impl Copy for Mcosel
impl Eq for Mcosel
impl StructuralPartialEq for Mcosel
Auto Trait Implementations§
impl Freeze for Mcosel
impl RefUnwindSafe for Mcosel
impl Send for Mcosel
impl Sync for Mcosel
impl Unpin for Mcosel
impl UnwindSafe for Mcosel
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
)