Enum atsamv71q20b::usbhs::devctrl::SPDCONFSELECT_A
source · [−]#[repr(u8)]
pub enum SPDCONFSELECT_A {
NORMAL,
LOW_POWER,
HIGH_SPEED,
FORCED_FS,
}
Expand description
Mode Configuration
Value on reset: 0
Variants
NORMAL
0: The peripheral starts in Full-speed mode and performs a high-speed reset to switch to High-speed mode if the host is high-speed-capable.
LOW_POWER
1: For a better consumption, if high speed is not needed.
HIGH_SPEED
2: Forced high speed.
FORCED_FS
3: The peripheral remains in Full-speed mode whatever the host speed capability.
Trait Implementations
sourceimpl Clone for SPDCONFSELECT_A
impl Clone for SPDCONFSELECT_A
sourcefn clone(&self) -> SPDCONFSELECT_A
fn clone(&self) -> SPDCONFSELECT_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 SPDCONFSELECT_A
impl Debug for SPDCONFSELECT_A
sourceimpl From<SPDCONFSELECT_A> for u8
impl From<SPDCONFSELECT_A> for u8
sourcefn from(variant: SPDCONFSELECT_A) -> Self
fn from(variant: SPDCONFSELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SPDCONFSELECT_A> for SPDCONFSELECT_A
impl PartialEq<SPDCONFSELECT_A> for SPDCONFSELECT_A
sourcefn eq(&self, other: &SPDCONFSELECT_A) -> bool
fn eq(&self, other: &SPDCONFSELECT_A) -> bool
impl Copy for SPDCONFSELECT_A
impl StructuralPartialEq for SPDCONFSELECT_A
Auto Trait Implementations
impl RefUnwindSafe for SPDCONFSELECT_A
impl Send for SPDCONFSELECT_A
impl Sync for SPDCONFSELECT_A
impl Unpin for SPDCONFSELECT_A
impl UnwindSafe for SPDCONFSELECT_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