Type Alias nrf52840_pac::usbd::intenset::USBEVENT_R
source · pub type USBEVENT_R = BitReader<USBEVENT_A>;
Expand description
Field USBEVENT
reader - Write ‘1’ to enable interrupt for USBEVENT event
Aliased Type§
struct USBEVENT_R { /* private fields */ }
Implementations§
source§impl USBEVENT_R
impl USBEVENT_R
sourcepub fn variant(&self) -> USBEVENT_A
pub fn variant(&self) -> USBEVENT_A
Get enumerated values variant
sourcepub fn is_disabled(&self) -> bool
pub fn is_disabled(&self) -> bool
Checks if the value of the field is DISABLED
sourcepub fn is_enabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Checks if the value of the field is ENABLED