Type Alias nrf52840_pac::power::intenset::USBDETECTED_R
source · pub type USBDETECTED_R = BitReader<USBDETECTED_A>;
Expand description
Field USBDETECTED
reader - Write ‘1’ to enable interrupt for USBDETECTED event
Aliased Type§
struct USBDETECTED_R { /* private fields */ }
Implementations§
source§impl USBDETECTED_R
impl USBDETECTED_R
sourcepub fn variant(&self) -> USBDETECTED_A
pub fn variant(&self) -> USBDETECTED_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