Enum atsamv71q20b::usbhs::ctrl::UIMODSELECT_A
source · [−]pub enum UIMODSELECT_A {
HOST,
DEVICE,
}
Expand description
USBHS Mode
Value on reset: 0
Variants
HOST
0: The module is in USB Host mode.
DEVICE
1: The module is in USB Device mode.
Trait Implementations
sourceimpl Clone for UIMODSELECT_A
impl Clone for UIMODSELECT_A
sourcefn clone(&self) -> UIMODSELECT_A
fn clone(&self) -> UIMODSELECT_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 UIMODSELECT_A
impl Debug for UIMODSELECT_A
sourceimpl From<UIMODSELECT_A> for bool
impl From<UIMODSELECT_A> for bool
sourcefn from(variant: UIMODSELECT_A) -> Self
fn from(variant: UIMODSELECT_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<UIMODSELECT_A> for UIMODSELECT_A
impl PartialEq<UIMODSELECT_A> for UIMODSELECT_A
sourcefn eq(&self, other: &UIMODSELECT_A) -> bool
fn eq(&self, other: &UIMODSELECT_A) -> bool
impl Copy for UIMODSELECT_A
impl StructuralPartialEq for UIMODSELECT_A
Auto Trait Implementations
impl RefUnwindSafe for UIMODSELECT_A
impl Send for UIMODSELECT_A
impl Sync for UIMODSELECT_A
impl Unpin for UIMODSELECT_A
impl UnwindSafe for UIMODSELECT_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