Type Alias gd32f1::gd32f130::pmu::cs::R

source ·
pub type R = R<CsSpec>;
Expand description

Register CS reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn wuf(&self) -> WufR

Bit 0 - Wakeup flag

source

pub fn stbf(&self) -> StbfR

Bit 1 - Standby flag

source

pub fn lvdf(&self) -> LvdfR

Bit 2 - Low Voltage Detector Status Flag

source

pub fn wupen0(&self) -> Wupen0R

Bit 8 - Enable WKUP pin

source

pub fn wupen1(&self) -> Wupen1R

Bit 9 - WKUPN1 Pin Enable