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

source

pub fn variant(&self) -> USBDETECTED_A

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED