#[repr(u8)]pub enum SPDCONFSELECT_A {
NORMAL = 0,
FS = 3,
}
Expand description
Speed Configuration for Host
Value on reset: 0
Variants§
NORMAL = 0
0: Normal mode: the host starts in full-speed mode and performs a high-speed reset to switch to the high speed mode if the downstream peripheral is high-speed capable.
FS = 3
3: Full-speed: the host remains in full-speed mode whatever is the peripheral speed capability. Relevant in UTMI mode only.
Trait Implementations§
source§impl Clone for SPDCONFSELECT_A
impl Clone for SPDCONFSELECT_A
source§fn clone(&self) -> SPDCONFSELECT_A
fn clone(&self) -> SPDCONFSELECT_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SPDCONFSELECT_A
impl Debug for SPDCONFSELECT_A
source§impl From<SPDCONFSELECT_A> for u8
impl From<SPDCONFSELECT_A> for u8
source§fn from(variant: SPDCONFSELECT_A) -> Self
fn from(variant: SPDCONFSELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for SPDCONFSELECT_A
impl PartialEq for SPDCONFSELECT_A
source§fn eq(&self, other: &SPDCONFSELECT_A) -> bool
fn eq(&self, other: &SPDCONFSELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SPDCONFSELECT_A
impl Eq for SPDCONFSELECT_A
impl StructuralPartialEq for SPDCONFSELECT_A
Auto Trait Implementations§
impl Freeze for SPDCONFSELECT_A
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§
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