Enum stm32_metapac::rng::vals::Clkdiv
#[repr(u8)]pub enum Clkdiv {
Show 16 variants
NODIV = 0,
DIV_2_1 = 1,
DIV_2_2 = 2,
DIV_2_3 = 3,
DIV_2_4 = 4,
DIV_2_5 = 5,
DIV_2_6 = 6,
DIV_2_7 = 7,
DIV_2_8 = 8,
DIV_2_9 = 9,
DIV_2_10 = 10,
DIV_2_11 = 11,
DIV_2_12 = 12,
DIV_2_13 = 13,
DIV_2_14 = 14,
DIV_2_15 = 15,
}
Variants§
NODIV = 0
Internal RNG clock after divider is similar to incoming RNG clock
DIV_2_1 = 1
Divide RNG clock by 2^1
DIV_2_2 = 2
Divide RNG clock by 2^2
DIV_2_3 = 3
Divide RNG clock by 2^3
DIV_2_4 = 4
Divide RNG clock by 2^4
DIV_2_5 = 5
Divide RNG clock by 2^5
DIV_2_6 = 6
Divide RNG clock by 2^6
DIV_2_7 = 7
Divide RNG clock by 2^7
DIV_2_8 = 8
Divide RNG clock by 2^8
DIV_2_9 = 9
Divide RNG clock by 2^9
DIV_2_10 = 10
Divide RNG clock by 2^10
DIV_2_11 = 11
Divide RNG clock by 2^11
DIV_2_12 = 12
Divide RNG clock by 2^12
DIV_2_13 = 13
Divide RNG clock by 2^13
DIV_2_14 = 14
Divide RNG clock by 2^14
DIV_2_15 = 15
Divide RNG clock by 2^15
Implementations§
Trait Implementations§
§impl Ord for Clkdiv
impl Ord for Clkdiv
§impl PartialOrd for Clkdiv
impl PartialOrd for Clkdiv
§fn partial_cmp(&self, other: &Clkdiv) -> Option<Ordering>
fn partial_cmp(&self, other: &Clkdiv) -> 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 Clkdiv
impl Eq for Clkdiv
impl StructuralEq for Clkdiv
impl StructuralPartialEq for Clkdiv
Auto Trait Implementations§
impl RefUnwindSafe for Clkdiv
impl Send for Clkdiv
impl Sync for Clkdiv
impl Unpin for Clkdiv
impl UnwindSafe for Clkdiv
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