Type Definition atsaml21e16b::usb::device::fsmstatus::FSMSTATE_R
source · pub type FSMSTATE_R = FieldReader<u8, FSMSTATESELECT_A>;
Expand description
Field FSMSTATE
reader - Fine State Machine Status
Implementations§
source§impl FSMSTATE_R
impl FSMSTATE_R
sourcepub fn variant(&self) -> Option<FSMSTATESELECT_A>
pub fn variant(&self) -> Option<FSMSTATESELECT_A>
Get enumerated values variant
sourcepub fn is_suspend(&self) -> bool
pub fn is_suspend(&self) -> bool
Checks if the value of the field is SUSPEND
sourcepub fn is_dnresume(&self) -> bool
pub fn is_dnresume(&self) -> bool
Checks if the value of the field is DNRESUME
sourcepub fn is_upresume(&self) -> bool
pub fn is_upresume(&self) -> bool
Checks if the value of the field is UPRESUME