Type Alias gd32f1::gd32f130::pmu::ctl::StbmodR

source ·
pub type StbmodR = BitReader<Stbmod>;
Expand description

Field STBMOD reader - Standby Mode

Aliased Type§

struct StbmodR { /* private fields */ }

Implementations§

source§

impl StbmodR

source

pub const fn variant(&self) -> Stbmod

Get enumerated values variant

source

pub fn is_deep_sleep(&self) -> bool

Enter Deep-sleep mode when the CPU enters deepsleep

source

pub fn is_standby(&self) -> bool

Enter Standby mode when the CPU enters deepsleep