Enum stm32_metapac::rcc::vals::Hsidiv
#[repr(u8)]pub enum Hsidiv {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
DIV16 = 4,
DIV32 = 5,
DIV64 = 6,
DIV128 = 7,
}
Variants§
DIV1 = 0
HSI clock is not divided
DIV2 = 1
HSI clock is divided by 2
DIV4 = 2
HSI clock is divided by 4
DIV8 = 3
HSI clock is divided by 8
DIV16 = 4
HSI clock is divided by 16
DIV32 = 5
HSI clock is divided by 32
DIV64 = 6
HSI clock is divided by 64
DIV128 = 7
HSI clock is divided by 128
Implementations§
Trait Implementations§
§impl Ord for Hsidiv
impl Ord for Hsidiv
§impl PartialOrd for Hsidiv
impl PartialOrd for Hsidiv
§fn partial_cmp(&self, other: &Hsidiv) -> Option<Ordering>
fn partial_cmp(&self, other: &Hsidiv) -> 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 Hsidiv
impl Eq for Hsidiv
impl StructuralEq for Hsidiv
impl StructuralPartialEq for Hsidiv
Auto Trait Implementations§
impl RefUnwindSafe for Hsidiv
impl Send for Hsidiv
impl Sync for Hsidiv
impl Unpin for Hsidiv
impl UnwindSafe for Hsidiv
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