Type Alias gd32f1::gd32f130::pmu::cs::Wupen0R

source ·
pub type Wupen0R = BitReader<Wupen0>;
Expand description

Field WUPEN0 reader - Enable WKUP pin

Aliased Type§

struct Wupen0R { /* private fields */ }

Implementations§

source§

impl Wupen0R

source

pub const fn variant(&self) -> Wupen0

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

WKUP pin 0 is used for general purpose I/Os. An event on the WKUP pin 0 does not wakeup the device from Standby mode

source

pub fn is_enabled(&self) -> bool

WKUP pin 0 is used for wakeup from Standby mode and forced in input pull down configuration (rising edge on WKUP pin 0 wakes-up the system from Standby mode)