#[repr(transparent)]pub struct Eraseall(pub u32);
Expand description
Register for erasing all non-volatile user memory
Tuple Fields§
§0: u32
Implementations§
Source§impl Eraseall
impl Eraseall
Sourcepub const fn eraseall(&self) -> bool
pub const fn eraseall(&self) -> bool
Erase all non-volatile memory including UICR registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased.
Sourcepub fn set_eraseall(&mut self, val: bool)
pub fn set_eraseall(&mut self, val: bool)
Erase all non-volatile memory including UICR registers. Note that code erase has to be enabled by CONFIG.EEN before the UICR can be erased.
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
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
)