Enum stm32_metapac::rcc::vals::Mcopre
#[repr(u8)]pub enum Mcopre {
Show 16 variants
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
DIV16 = 4,
DIV32 = 5,
DIV64 = 6,
DIV128 = 7,
DIV256 = 8,
DIV512 = 9,
DIV1024 = 10,
_RESERVED_b = 11,
_RESERVED_c = 12,
_RESERVED_d = 13,
_RESERVED_e = 14,
_RESERVED_f = 15,
}
Variants§
DIV1 = 0
MCO1 not divided
DIV2 = 1
MCO clock is divided by 2
DIV4 = 2
MCO clock is divided by 4
DIV8 = 3
MCO clock is divided by 8
DIV16 = 4
MCO clock is divided divided by 16
DIV32 = 5
MCO clock is divided divided by 32
DIV64 = 6
MCO clock is divided divided by 64
DIV128 = 7
MCO clock is divided divided by 128
DIV256 = 8
MCO clock is divided divided by 256
DIV512 = 9
MCO clock is divided divided by 512
DIV1024 = 10
MCO clock is divided divided by 1024
_RESERVED_b = 11
_RESERVED_c = 12
_RESERVED_d = 13
_RESERVED_e = 14
_RESERVED_f = 15
Implementations§
Trait Implementations§
§impl Ord for Mcopre
impl Ord for Mcopre
§impl PartialOrd for Mcopre
impl PartialOrd for Mcopre
§fn partial_cmp(&self, other: &Mcopre) -> Option<Ordering>
fn partial_cmp(&self, other: &Mcopre) -> 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 Mcopre
impl Eq for Mcopre
impl StructuralEq for Mcopre
impl StructuralPartialEq for Mcopre
Auto Trait Implementations§
impl RefUnwindSafe for Mcopre
impl Send for Mcopre
impl Sync for Mcopre
impl Unpin for Mcopre
impl UnwindSafe for Mcopre
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