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 fn set_cwuf1(&mut self, val: bool)
pub fn set_cwuf1(&mut self, val: bool)
Wakeup flag 1 Writing 1 to this bit clears the WUF1 flag in WUSR.
pub fn set_cwuf2(&mut self, val: bool)
pub fn set_cwuf2(&mut self, val: bool)
Wakeup flag 2 Writing 1 to this bit clears the WUF2 flag in WUSR.
pub fn set_cwuf3(&mut self, val: bool)
pub fn set_cwuf3(&mut self, val: bool)
Wakeup flag 3 Writing 1 to this bit clears the WUF3 flag in WUSR.
pub fn set_cwuf4(&mut self, val: bool)
pub fn set_cwuf4(&mut self, val: bool)
Wakeup flag 4 Writing 1 to this bit clears the WUF4 flag in WUSR.
pub fn set_cwuf5(&mut self, val: bool)
pub fn set_cwuf5(&mut self, val: bool)
Wakeup flag 5 Writing 1 to this bit clears the WUF5 flag in WUSR.
pub fn set_cwuf6(&mut self, val: bool)
pub fn set_cwuf6(&mut self, val: bool)
Wakeup flag 6 Writing 1 to this bit clears the WUF6 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
)