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