#[repr(u8)]pub enum FSMSTATESELECT_A {
OFF = 1,
ON = 2,
SUSPEND = 4,
SLEEP = 8,
DNRESUME = 16,
UPRESUME = 32,
RESET = 64,
}
Expand description
Fine State Machine Status
Value on reset: 1
Variants§
OFF = 1
1: OFF (L3). It corresponds to the powered-off, disconnected, and disabled state
ON = 2
2: ON (L0). It corresponds to the Idle and Active states
SUSPEND = 4
4: SUSPEND (L2)
SLEEP = 8
8: SLEEP (L1)
DNRESUME = 16
16: DNRESUME. Down Stream Resume.
UPRESUME = 32
32: UPRESUME. Up Stream Resume.
RESET = 64
64: RESET. USB lines Reset.
Trait Implementations§
source§impl Clone for FSMSTATESELECT_A
impl Clone for FSMSTATESELECT_A
source§fn clone(&self) -> FSMSTATESELECT_A
fn clone(&self) -> FSMSTATESELECT_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 FSMSTATESELECT_A
impl Debug for FSMSTATESELECT_A
source§impl From<FSMSTATESELECT_A> for u8
impl From<FSMSTATESELECT_A> for u8
source§fn from(variant: FSMSTATESELECT_A) -> Self
fn from(variant: FSMSTATESELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for FSMSTATESELECT_A
impl PartialEq for FSMSTATESELECT_A
source§fn eq(&self, other: &FSMSTATESELECT_A) -> bool
fn eq(&self, other: &FSMSTATESELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FSMSTATESELECT_A
impl Eq for FSMSTATESELECT_A
impl StructuralPartialEq for FSMSTATESELECT_A
Auto Trait Implementations§
impl Freeze for FSMSTATESELECT_A
impl RefUnwindSafe for FSMSTATESELECT_A
impl Send for FSMSTATESELECT_A
impl Sync for FSMSTATESELECT_A
impl Unpin for FSMSTATESELECT_A
impl UnwindSafe for FSMSTATESELECT_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