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