Enum atsamv71q20b::usbhs::sr::SPEEDSELECT_A
source · [−]#[repr(u8)]
pub enum SPEEDSELECT_A {
FULL_SPEED,
HIGH_SPEED,
LOW_SPEED,
}
Expand description
Speed Status (Device mode only)
Value on reset: 0
Variants
FULL_SPEED
0: Full-Speed mode
HIGH_SPEED
1: High-Speed mode
LOW_SPEED
2: Low-Speed mode
Trait Implementations
sourceimpl Clone for SPEEDSELECT_A
impl Clone for SPEEDSELECT_A
sourcefn clone(&self) -> SPEEDSELECT_A
fn clone(&self) -> SPEEDSELECT_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SPEEDSELECT_A
impl Debug for SPEEDSELECT_A
sourceimpl From<SPEEDSELECT_A> for u8
impl From<SPEEDSELECT_A> for u8
sourcefn from(variant: SPEEDSELECT_A) -> Self
fn from(variant: SPEEDSELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SPEEDSELECT_A> for SPEEDSELECT_A
impl PartialEq<SPEEDSELECT_A> for SPEEDSELECT_A
sourcefn eq(&self, other: &SPEEDSELECT_A) -> bool
fn eq(&self, other: &SPEEDSELECT_A) -> bool
impl Copy for SPEEDSELECT_A
impl StructuralPartialEq for SPEEDSELECT_A
Auto Trait Implementations
impl RefUnwindSafe for SPEEDSELECT_A
impl Send for SPEEDSELECT_A
impl Sync for SPEEDSELECT_A
impl Unpin for SPEEDSELECT_A
impl UnwindSafe for SPEEDSELECT_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more