Type Definition nrf52820_pac::usbd::intenset::USBEVENT_R
source · [−]pub type USBEVENT_R = BitReader<USBEVENT_A>;
Expand description
Field USBEVENT
reader - Write ‘1’ to enable interrupt for event USBEVENT
Implementations
sourceimpl 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