Struct stm32_metapac::syscfg::regs::Mesr
#[repr(transparent)]pub struct Mesr(pub u32);
Expand description
SBS memory erase status register
Tuple Fields§
§0: u32
Implementations§
§impl Mesr
impl Mesr
pub const fn mclr(&self) -> bool
pub const fn mclr(&self) -> bool
erase after reset status This bit shows the status of the protection for SRAM2, BKPRAM, ICACHE, DCACHE, ICACHE and PKA. It is set by hardware and reset by software
pub fn set_mclr(&mut self, val: bool)
pub fn set_mclr(&mut self, val: bool)
erase after reset status This bit shows the status of the protection for SRAM2, BKPRAM, ICACHE, DCACHE, ICACHE and PKA. It is set by hardware and reset by software
Trait Implementations§
impl Copy for Mesr
impl Eq for Mesr
impl StructuralPartialEq for Mesr
Auto Trait Implementations§
impl Freeze for Mesr
impl RefUnwindSafe for Mesr
impl Send for Mesr
impl Sync for Mesr
impl Unpin for Mesr
impl UnwindSafe for Mesr
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
)