Type Alias nrf52840_pac::power::mainregstatus::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