Enum stm32_metapac::otg::vals::Dspd
#[repr(u8)]pub enum Dspd {
HIGH_SPEED = 0,
FULL_SPEED_EXTERNAL = 1,
_RESERVED_2 = 2,
FULL_SPEED_INTERNAL = 3,
}
Variants§
HIGH_SPEED = 0
High speed
FULL_SPEED_EXTERNAL = 1
Full speed using external ULPI PHY
_RESERVED_2 = 2
FULL_SPEED_INTERNAL = 3
Full speed using internal embedded PHY
Implementations§
Trait Implementations§
§impl Ord for Dspd
impl Ord for Dspd
§impl PartialOrd for Dspd
impl PartialOrd for Dspd
§fn partial_cmp(&self, other: &Dspd) -> Option<Ordering>
fn partial_cmp(&self, other: &Dspd) -> 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 Dspd
impl Eq for Dspd
impl StructuralEq for Dspd
impl StructuralPartialEq for Dspd
Auto Trait Implementations§
impl RefUnwindSafe for Dspd
impl Send for Dspd
impl Sync for Dspd
impl Unpin for Dspd
impl UnwindSafe for Dspd
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