Struct stm32_metapac::pwr::regs::Cr4
#[repr(transparent)]pub struct Cr4(pub u32);
Expand description
Power control register 4
Tuple Fields§
§0: u32
Implementations§
§impl Cr4
impl Cr4
pub const fn wp1(&self) -> bool
pub const fn wp1(&self) -> bool
Wake-up pin WKUP1 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP1
pub fn set_wp1(&mut self, val: bool)
pub fn set_wp1(&mut self, val: bool)
Wake-up pin WKUP1 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP1
pub const fn wp2(&self) -> bool
pub const fn wp2(&self) -> bool
Wake-up pin WKUP2 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP2
pub fn set_wp2(&mut self, val: bool)
pub fn set_wp2(&mut self, val: bool)
Wake-up pin WKUP2 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP2
pub const fn wp3(&self) -> bool
pub const fn wp3(&self) -> bool
Wake-up pin WKUP3 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP3
pub fn set_wp3(&mut self, val: bool)
pub fn set_wp3(&mut self, val: bool)
Wake-up pin WKUP3 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP3
pub const fn wp4(&self) -> bool
pub const fn wp4(&self) -> bool
Wake-up pin WKUP4 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP4
pub fn set_wp4(&mut self, val: bool)
pub fn set_wp4(&mut self, val: bool)
Wake-up pin WKUP4 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP4
pub const fn wp5(&self) -> bool
pub const fn wp5(&self) -> bool
Wake-up pin WKUP5 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP5
pub fn set_wp5(&mut self, val: bool)
pub fn set_wp5(&mut self, val: bool)
Wake-up pin WKUP5 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP5
pub const fn wp7(&self) -> bool
pub const fn wp7(&self) -> bool
Wake-up pin WKUP7 polarity This bit defines the polarity used for an event detection on external wake-up pin, WKUP7