Enum Devspd
#[repr(u8)]pub enum Devspd {
Usbhs20 = 0,
Usbfs20 = 1,
Usbls116 = 2,
Usbfs1148 = 3,
}Variants§
Usbhs20 = 0
High speed USB 2.0 PHY clock is 30 MHz or 60 MHz.
Usbfs20 = 1
Full speed USB 2.0 PHY clock is 30 MHz or 60 MHz.
Usbls116 = 2
Low speed USB 1.1 transceiver clock is 6 MHz.
Usbfs1148 = 3
Full speed USB 1.1 transceiver clock is 48 MHz.
Implementations§
Trait Implementations§
impl Copy for Devspd
impl Eq for Devspd
§impl Ord for Devspd
impl Ord for Devspd
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 Devspd
impl PartialOrd for Devspd
impl StructuralPartialEq for Devspd
Auto Trait Implementations§
impl Freeze for Devspd
impl RefUnwindSafe for Devspd
impl Send for Devspd
impl Sync for Devspd
impl Unpin for Devspd
impl UnsafeUnpin for Devspd
impl UnwindSafe for Devspd
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