Type Alias gd32f1::gd32f190::pmu::cs::Wupen1W

source ·
pub type Wupen1W<'a, REG> = BitWriter<'a, REG, Wupen1>;
Expand description

Field WUPEN1 writer - WKUPN1 Pin Enable

Aliased Type§

struct Wupen1W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> Wupen1W<'a, REG>
where REG: Writable + RegisterSpec,

source

pub fn disabled(self) -> &'a mut W<REG>

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

source

pub fn enabled(self) -> &'a mut W<REG>

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