#[repr(usize)]pub enum Command {
Read = 0,
ReadStatus = 1,
WriteEnable = 3,
EraseSector = 5,
PageProgram = 9,
ChipErase = 11,
Dummy = 15,
}
Expand description
The default sequence definition lookup indices
Command
s are looked up by the processor when it needs to
interact with the flash chip. The enumeration lets us index back into
the Lookup
struct, and associate a sequence command for that action.
Variants§
Trait Implementations§
impl Copy for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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