Enum stm32_metapac::eth::vals::Cr
#[repr(u8)]pub enum Cr {
CR_60_100 = 0,
CR_100_150 = 1,
CR_20_35 = 2,
CR_35_60 = 3,
CR_150_168 = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
}
Variants§
CR_60_100 = 0
60-100MHz HCLK/42
CR_100_150 = 1
100-150 MHz HCLK/62
CR_20_35 = 2
20-35MHz HCLK/16
CR_35_60 = 3
35-60MHz HCLK/16
CR_150_168 = 4
150-168MHz HCLK/102
_RESERVED_5 = 5
_RESERVED_6 = 6
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for Cr
impl Ord for Cr
§impl PartialOrd for Cr
impl PartialOrd for Cr
§fn partial_cmp(&self, other: &Cr) -> Option<Ordering>
fn partial_cmp(&self, other: &Cr) -> 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 Cr
impl Eq for Cr
impl StructuralEq for Cr
impl StructuralPartialEq for Cr
Auto Trait Implementations§
impl RefUnwindSafe for Cr
impl Send for Cr
impl Sync for Cr
impl Unpin 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