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 StructuralEq for Pmsr
impl StructuralPartialEq for Pmsr
Auto Trait Implementations§
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