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.
Trait Implementations§
impl Copy for Wucr3
impl Eq for Wucr3
impl StructuralPartialEq for Wucr3
Auto Trait Implementations§
impl Freeze for Wucr3
impl RefUnwindSafe for Wucr3
impl Send for Wucr3
impl Sync for Wucr3
impl Unpin for Wucr3
impl UnwindSafe for Wucr3
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)