Enum Cr
#[repr(u8)]pub enum Cr {
Div42 = 0,
Div62 = 1,
Div16 = 2,
Div26 = 3,
Div102 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}Variants§
Div42 = 0
60-100 MHz HCLK/42
Div62 = 1
100-150 MHz HCLK/62 (100-120 MHz on STM32F2)
Div16 = 2
20-35 MHz HCLK/16
Div26 = 3
35-60 MHz HCLK/26
Div102 = 4
150-180 MHz HCLK/102 (reserved on STM32F2)
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
impl Copy for Cr
impl Eq for Cr
§impl Ord for Cr
impl Ord for Cr
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Cr
impl PartialOrd for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl Freeze for Cr
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin for Cr
impl UnsafeUnpin for Cr
impl UnwindSafe for Cr
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