Struct stm32_metapac::pwr::regs::Wucr3
#[repr(transparent)]pub struct Wucr3(pub u32);
Expand description
wakeup control register 3
Tuple Fields§
§0: u32
Implementations§
§impl Wucr3
impl Wucr3
pub const fn wusel1(&self) -> Wusel
pub const fn wusel1(&self) -> Wusel
Wakeup pin WKUP1 selection This field must be configured when WUPEN1 = 0.
pub fn set_wusel1(&mut self, val: Wusel)
pub fn set_wusel1(&mut self, val: Wusel)
Wakeup pin WKUP1 selection This field must be configured when WUPEN1 = 0.
pub const fn wusel2(&self) -> Wusel
pub const fn wusel2(&self) -> Wusel
Wakeup pin WKUP2 selection This field must be configured when WUPEN2 = 0.
pub fn set_wusel2(&mut self, val: Wusel)
pub fn set_wusel2(&mut self, val: Wusel)
Wakeup pin WKUP2 selection This field must be configured when WUPEN2 = 0.
pub const fn wusel3(&self) -> Wusel
pub const fn wusel3(&self) -> Wusel
Wakeup pin WKUP3 selection This field must be configured when WUPEN3 = 0.
pub fn set_wusel3(&mut self, val: Wusel)
pub fn set_wusel3(&mut self, val: Wusel)
Wakeup pin WKUP3 selection This field must be configured when WUPEN3 = 0.
pub const fn wusel4(&self) -> Wusel
pub const fn wusel4(&self) -> Wusel
Wakeup pin WKUP4 selection This field must be configured when WUPEN4 = 0.
pub fn set_wusel4(&mut self, val: Wusel)
pub fn set_wusel4(&mut self, val: Wusel)
Wakeup pin WKUP4 selection This field must be configured when WUPEN4 = 0.
pub const fn wusel5(&self) -> Wusel
pub const fn wusel5(&self) -> Wusel
Wakeup pin WKUP5 selection This field must be configured when WUPEN5 = 0.
pub fn set_wusel5(&mut self, val: Wusel)
pub fn set_wusel5(&mut self, val: Wusel)
Wakeup pin WKUP5 selection This field must be configured when WUPEN5 = 0.
pub const fn wusel6(&self) -> Wusel
pub const fn wusel6(&self) -> Wusel
Wakeup pin WKUP6 selection This field must be configured when WUPEN6 = 0.
pub fn set_wusel6(&mut self, val: Wusel)
pub fn set_wusel6(&mut self, val: Wusel)
Wakeup pin WKUP6 selection This field must be configured when WUPEN6 = 0.
pub const fn wusel7(&self) -> Wusel
pub const fn wusel7(&self) -> Wusel
Wakeup pin WKUP7 selection This field must be configured when WUPEN7 = 0.
pub fn set_wusel7(&mut self, val: Wusel)
pub fn set_wusel7(&mut self, val: Wusel)
Wakeup pin WKUP7 selection This field must be configured when WUPEN7 = 0.
pub const fn wusel8(&self) -> Wusel
pub const fn wusel8(&self) -> Wusel
Wakeup pin WKUP8 selection This field must be configured when WUPEN8 = 0.
pub fn set_wusel8(&mut self, val: Wusel)
pub fn set_wusel8(&mut self, val: Wusel)
Wakeup pin WKUP8 selection This field must be configured when WUPEN8 = 0.