#[repr(u8)]pub enum EraseCode {
Nop = 0,
ErasePage = 85,
EraseAll = 170,
}Expand description
Erase Code. The ERASE_CODE must be set up property before erase operation can be initiated. These bits are automatically cleared after the operation is complete.
Value on reset: 0
Variants§
Nop = 0
0: No operation.
ErasePage = 85
85: Enable Page Erase.
EraseAll = 170
170: Enable Mass Erase. The debug port must be enabled.
Trait Implementations§
impl Copy for EraseCode
impl Eq for EraseCode
impl IsEnum for EraseCode
impl StructuralPartialEq for EraseCode
Auto Trait Implementations§
impl Freeze for EraseCode
impl RefUnwindSafe for EraseCode
impl Send for EraseCode
impl Sync for EraseCode
impl Unpin for EraseCode
impl UnwindSafe for EraseCode
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