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