Type Alias nrf52840_pac::power::resetreas::VBUS_R

source ·
pub type VBUS_R = BitReader<VBUS_A>;
Expand description

Field VBUS reader - Reset due to wake up from System OFF mode by VBUS rising into valid range

Aliased Type§

struct VBUS_R { /* private fields */ }

Implementations§

source§

impl VBUS_R

source

pub fn variant(&self) -> VBUS_A

Get enumerated values variant

source

pub fn is_not_detected(&self) -> bool

Checks if the value of the field is NOT_DETECTED

source

pub fn is_detected(&self) -> bool

Checks if the value of the field is DETECTED