nrf52840_pac::power::mainregstatus

Type Alias MAINREGSTATUS_R

Source
pub type MAINREGSTATUS_R = BitReader<MAINREGSTATUS_A>;
Expand description

Field MAINREGSTATUS reader - Main supply status

Aliased Type§

struct MAINREGSTATUS_R { /* private fields */ }

Implementations§

Source§

impl MAINREGSTATUS_R

Source

pub fn variant(&self) -> MAINREGSTATUS_A

Get enumerated values variant

Source

pub fn is_normal(&self) -> bool

Checks if the value of the field is NORMAL

Source

pub fn is_high(&self) -> bool

Checks if the value of the field is HIGH