[−][src]Enum trinket_m0::usb::host::fsmstatus::FSMSTATER
Possible values of the field FSMSTATE
Variants
OFF
OFF (L3). It corresponds to the powered-off, disconnected, and disabled state
ON
ON (L0). It corresponds to the Idle and Active states
SUSPEND
SUSPEND (L2)
SLEEP
SLEEP (L1)
DNRESUME
DNRESUME. Down Stream Resume.
UPRESUME
UPRESUME. Up Stream Resume.
RESET
RESET. USB lines Reset.
_Reserved(u8)
Reserved
Methods
impl FSMSTATER
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_off(&self) -> bool
[src]
Checks if the value of the field is OFF
pub fn is_on(&self) -> bool
[src]
Checks if the value of the field is ON
pub fn is_suspend(&self) -> bool
[src]
Checks if the value of the field is SUSPEND
pub fn is_sleep(&self) -> bool
[src]
Checks if the value of the field is SLEEP
pub fn is_dnresume(&self) -> bool
[src]
Checks if the value of the field is DNRESUME
pub fn is_upresume(&self) -> bool
[src]
Checks if the value of the field is UPRESUME
pub fn is_reset(&self) -> bool
[src]
Checks if the value of the field is RESET
Trait Implementations
impl PartialEq<FSMSTATER> for FSMSTATER
[src]
impl Debug for FSMSTATER
[src]
impl Copy for FSMSTATER
[src]
impl Clone for FSMSTATER
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,