Struct Wkupepr
#[repr(transparent)]pub struct Wkupepr(pub u32);Expand description
Reset only by system reset, not reset by wakeup from Standby mode
Tuple Fields§
§0: u32Implementations§
§impl Wkupepr
impl Wkupepr
pub const fn wkupen(&self, n: usize) -> bool
pub const fn wkupen(&self, n: usize) -> bool
Enable Wakeup Pin WKUPn Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn pin is enabled (by setting the WKUPENn bit) when WKUPn pin level is already high when WKUPPn selects rising edge, or low when WKUPPn selects falling edge.
pub const fn set_wkupen(&mut self, n: usize, val: bool)
pub const fn set_wkupen(&mut self, n: usize, val: bool)
Enable Wakeup Pin WKUPn Each bit is set and cleared by software. Note: An additional wakeup event is detected if WKUPn pin is enabled (by setting the WKUPENn bit) when WKUPn pin level is already high when WKUPPn selects rising edge, or low when WKUPPn selects falling edge.
pub const fn wkupp(&self, n: usize) -> Wkupp
pub const fn wkupp(&self, n: usize) -> Wkupp
Wakeup pin polarity bit for WKUPn These bits define the polarity used for event detection on WKUPn external wakeup pin.
pub const fn set_wkupp(&mut self, n: usize, val: Wkupp)
pub const fn set_wkupp(&mut self, n: usize, val: Wkupp)
Wakeup pin polarity bit for WKUPn These bits define the polarity used for event detection on WKUPn external wakeup pin.
pub const fn set_wkuppupd(&mut self, n: usize, val: Wkuppupd)
pub const fn set_wkuppupd(&mut self, n: usize, val: Wkuppupd)
Wakeup pin pull configuration