Type Definition nrf5340_app_pac::usbd_ns::events_usbevent::EVENTS_USBEVENT_R
source · [−]pub type EVENTS_USBEVENT_R = BitReader<EVENTS_USBEVENT_A>;
Expand description
Field EVENTS_USBEVENT
reader - An event or an error not covered by specific events has occurred. Check EVENTCAUSE register to find the cause.
Implementations
sourceimpl EVENTS_USBEVENT_R
impl EVENTS_USBEVENT_R
sourcepub fn variant(&self) -> EVENTS_USBEVENT_A
pub fn variant(&self) -> EVENTS_USBEVENT_A
Get enumerated values variant
sourcepub fn is_not_generated(&self) -> bool
pub fn is_not_generated(&self) -> bool
Checks if the value of the field is NOT_GENERATED
sourcepub fn is_generated(&self) -> bool
pub fn is_generated(&self) -> bool
Checks if the value of the field is GENERATED