Type Alias atsame54n::usb::host::fsmstatus::FSMSTATE_R

source ·
pub type FSMSTATE_R = FieldReader<FSMSTATESELECT_A>;
Expand description

Field FSMSTATE reader - Fine State Machine Status

Aliased Type§

struct FSMSTATE_R { /* private fields */ }

Implementations§

source§

impl FSMSTATE_R

source

pub const fn variant(&self) -> Option<FSMSTATESELECT_A>

Get enumerated values variant

source

pub fn is_off(&self) -> bool

OFF (L3). It corresponds to the powered-off, disconnected, and disabled state

source

pub fn is_on(&self) -> bool

ON (L0). It corresponds to the Idle and Active states

source

pub fn is_suspend(&self) -> bool

SUSPEND (L2)

source

pub fn is_sleep(&self) -> bool

SLEEP (L1)

source

pub fn is_dnresume(&self) -> bool

DNRESUME. Down Stream Resume.

source

pub fn is_upresume(&self) -> bool

UPRESUME. Up Stream Resume.

source

pub fn is_reset(&self) -> bool

RESET. USB lines Reset.