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