Enum atsaml21e16b::usb::device::fsmstatus::FSMSTATESELECT_A
source · #[repr(u8)]
pub enum FSMSTATESELECT_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§
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.