Type Alias nrf52840_pac::usbd::eventcause::USBWUALLOWED_R
source · pub type USBWUALLOWED_R = BitReader<USBWUALLOWED_A>;
Expand description
Field USBWUALLOWED
reader - USB MAC has been woken up and operational. Write ‘1’ to clear.
Aliased Type§
struct USBWUALLOWED_R { /* private fields */ }
Implementations§
source§impl USBWUALLOWED_R
impl USBWUALLOWED_R
sourcepub fn variant(&self) -> USBWUALLOWED_A
pub fn variant(&self) -> USBWUALLOWED_A
Get enumerated values variant
sourcepub fn is_not_allowed(&self) -> bool
pub fn is_not_allowed(&self) -> bool
Checks if the value of the field is NOT_ALLOWED
sourcepub fn is_allowed(&self) -> bool
pub fn is_allowed(&self) -> bool
Checks if the value of the field is ALLOWED