Struct Eraseall
#[repr(transparent)]pub struct Eraseall(pub u32);
Expand description
Register for erasing all non-volatile user memory
Tuple Fields§
§0: u32
Implementations§
§impl Eraseall
impl Eraseall
pub const fn eraseall(&self) -> bool
pub const fn eraseall(&self) -> bool
Erase all non-volatile memory including UICR registers. Before the non-volatile memory can be erased, erasing must be enabled by setting CONFIG.WEN=Een.
pub fn set_eraseall(&mut self, val: bool)
pub fn set_eraseall(&mut self, val: bool)
Erase all non-volatile memory including UICR registers. Before the non-volatile memory can be erased, erasing must be enabled by setting CONFIG.WEN=Een.
Trait Implementations§
impl Copy for Eraseall
impl Eq for Eraseall
impl StructuralPartialEq for Eraseall
Auto Trait Implementations§
impl Freeze for Eraseall
impl RefUnwindSafe for Eraseall
impl Send for Eraseall
impl Sync for Eraseall
impl Unpin for Eraseall
impl UnwindSafe for Eraseall
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