Type Alias nrf52840_pac::usbd::inten::USBEVENT_R
source · pub type USBEVENT_R = BitReader<USBEVENT_A>;
Expand description
Field USBEVENT
reader - Enable or disable 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