pub enum READOCR {
FASTREAD,
READ2O,
READ2IO,
READ4O,
READ4IO,
_Reserved(u8),
}
Expand description
Possible values of the field READOC
Variants
FASTREAD
Single data line SPI. FAST_READ (opcode 0x0B).
READ2O
Dual data line SPI. READ2O (opcode 0x3B).
READ2IO
Dual data line SPI. READ2IO (opcode 0xBB).
READ4O
Quad data line SPI. READ4O (opcode 0x6B).
READ4IO
Quad data line SPI. READ4IO (opcode 0xEB).
_Reserved(u8)
Reserved
Implementations
sourceimpl READOCR
impl READOCR
sourcepub fn is_fastread(&self) -> bool
pub fn is_fastread(&self) -> bool
Checks if the value of the field is FASTREAD
sourcepub fn is_read2io(&self) -> bool
pub fn is_read2io(&self) -> bool
Checks if the value of the field is READ2IO
sourcepub fn is_read4io(&self) -> bool
pub fn is_read4io(&self) -> bool
Checks if the value of the field is READ4IO
Trait Implementations
impl Copy for READOCR
impl StructuralPartialEq for READOCR
Auto Trait Implementations
impl RefUnwindSafe for READOCR
impl Send for READOCR
impl Sync for READOCR
impl Unpin for READOCR
impl UnwindSafe for READOCR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more