Enum CodeOp
#[repr(u8)]pub enum CodeOp {
NO_FLASH_INT = 0,
SINGLE_WR_INT = 1,
BURST_WR_INT = 2,
PG_ERASE_INT = 3,
BANK_ERASE_INT = 4,
MASS_ERASE_INT = 5,
OPT_CHANGE_INT = 6,
_RESERVED_7 = 7,
}Variants§
NO_FLASH_INT = 0
No flash operation interrupted by previous reset.
SINGLE_WR_INT = 1
Single write operation interrupted.
BURST_WR_INT = 2
Burst write operation interrupted.
PG_ERASE_INT = 3
Page erase operation interrupted.
BANK_ERASE_INT = 4
Bank erase operation interrupted.
MASS_ERASE_INT = 5
Mass erase operation interrupted.
OPT_CHANGE_INT = 6
Option change operation interrupted.
_RESERVED_7 = 7
Implementations§
Trait Implementations§
§impl Ord for CodeOp
impl Ord for CodeOp
§impl PartialOrd for CodeOp
impl PartialOrd for CodeOp
impl Copy for CodeOp
impl Eq for CodeOp
impl StructuralPartialEq for CodeOp
Auto Trait Implementations§
impl Freeze for CodeOp
impl RefUnwindSafe for CodeOp
impl Send for CodeOp
impl Sync for CodeOp
impl Unpin for CodeOp
impl UnwindSafe for CodeOp
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