Type Alias gd32f1::gd32f130::pmu::cs::LvdfR

source ·
pub type LvdfR = BitReader<Lvdfr>;
Expand description

Field LVDF reader - Low Voltage Detector Status Flag

Aliased Type§

struct LvdfR { /* private fields */ }

Implementations§

source§

impl LvdfR

source

pub const fn variant(&self) -> Lvdfr

Get enumerated values variant

source

pub fn is_above_threshold(&self) -> bool

VDD is higher than the LVD threshold

source

pub fn is_below_threshold(&self) -> bool

VDD is lower than or equal to the LVD threshold