Enum Cr
#[repr(u8)]pub enum Cr {
Show 16 variants
Div42 = 0,
Div62 = 1,
Div16 = 2,
Div26 = 3,
Div102 = 4,
Div124 = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
FastDiv4 = 8,
FastDiv6 = 9,
FastDiv8 = 10,
FastDiv10 = 11,
FastDiv12 = 12,
FastDiv14 = 13,
FastDiv16 = 14,
FastDiv18 = 15,
}Variants§
Div42 = 0
MDC clock = CSR clock/42
Div62 = 1
MDC clock = CSR clock/62
Div16 = 2
MDC clock = CSR clock/16
Div26 = 3
MDC clock = CSR clock/26
Div102 = 4
MDC clock = CSR clock/102
Div124 = 5
MDC clock = CSR clock/124
_RESERVED_6 = 6
_RESERVED_7 = 7
FastDiv4 = 8
MDC clock = CSR clock/4, faster than the IEEE 802.3 2.5 MHz limit
FastDiv6 = 9
MDC clock = CSR clock/6, faster than the IEEE 802.3 2.5 MHz limit
FastDiv8 = 10
MDC clock = CSR clock/8, faster than the IEEE 802.3 2.5 MHz limit
FastDiv10 = 11
MDC clock = CSR clock/10, faster than the IEEE 802.3 2.5 MHz limit
FastDiv12 = 12
MDC clock = CSR clock/12, faster than the IEEE 802.3 2.5 MHz limit
FastDiv14 = 13
MDC clock = CSR clock/14, faster than the IEEE 802.3 2.5 MHz limit
FastDiv16 = 14
MDC clock = CSR clock/16, faster than the IEEE 802.3 2.5 MHz limit
FastDiv18 = 15
MDC clock = CSR clock/18, faster than the IEEE 802.3 2.5 MHz limit
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