Struct stm32_metapac::pwr::regs::Pmsr
#[repr(transparent)]pub struct Pmsr(pub u32);
Expand description
PWR status register.
Tuple Fields§
§0: u32
Implementations§
§impl Pmsr
impl Pmsr
pub const fn stopf(&self) -> bool
pub const fn stopf(&self) -> bool
Stop flag This bit is set by hardware and cleared only by any reset or by setting the CSSF bit.
pub fn set_stopf(&mut self, val: bool)
pub fn set_stopf(&mut self, val: bool)
Stop flag This bit is set by hardware and cleared only by any reset or by setting the CSSF bit.
Trait Implementations§
impl Copy for Pmsr
impl Eq for Pmsr
impl StructuralPartialEq for Pmsr
Auto Trait Implementations§
impl Freeze for Pmsr
impl RefUnwindSafe for Pmsr
impl Send for Pmsr
impl Sync for Pmsr
impl Unpin for Pmsr
impl UnwindSafe for Pmsr
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
)