Struct stm32_metapac::pwr::regs::Wuscr
#[repr(transparent)]pub struct Wuscr(pub u32);
Expand description
wakeup status clear register
Tuple Fields§
§0: u32
Implementations§
§impl Wuscr
impl Wuscr
pub const fn cwuf(&self, n: usize) -> bool
pub const fn cwuf(&self, n: usize) -> bool
Clear wakeup flag 1 Access can be secured by WUP1SEC. 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. Writing 1 to this bit clears the WUF1 flag in WUSR.
pub fn set_cwuf(&mut self, n: usize, val: bool)
pub fn set_cwuf(&mut self, n: usize, val: bool)
Clear wakeup flag 1 Access can be secured by WUP1SEC. 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. Writing 1 to this bit clears the WUF1 flag in WUSR.
Trait Implementations§
impl Copy for Wuscr
impl Eq for Wuscr
impl StructuralPartialEq for Wuscr
Auto Trait Implementations§
impl Freeze for Wuscr
impl RefUnwindSafe for Wuscr
impl Send for Wuscr
impl Sync for Wuscr
impl Unpin for Wuscr
impl UnwindSafe for Wuscr
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
)