Struct stm32_metapac::pwr::regs::Wucr3
#[repr(transparent)]pub struct Wucr3(pub u32);
Expand description
wake-up control register 3.
Tuple Fields§
§0: u32
Implementations§
§impl Wucr3
impl Wucr3
pub const fn wusel(&self, n: usize) -> Wusel
pub const fn wusel(&self, n: usize) -> Wusel
Wakeup and interrupt pin WKUPX selection This field must be configured when WUPENX = 0. Access can be secured by WUPXSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV.
pub fn set_wusel(&mut self, n: usize, val: Wusel)
pub fn set_wusel(&mut self, n: usize, val: Wusel)
Wakeup and interrupt pin WKUPX selection This field must be configured when WUPENX = 0. Access can be secured by WUPXSEC. When secure, a non-secure read/write access is RAZ/WI. It does not generate an illegal access interrupt. This bit can be protected against unprivileged access when secure with SPRIV or when non-secure with NSPRIV.
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)