#[repr(u8)]
pub enum READOC_A {
    FASTREAD,
    READ2O,
    READ2IO,
    READ4O,
    READ4IO,
}
Expand description

Configure number of data lines and opcode used for reading.

Value on reset: 0

Variants

FASTREAD

0: Single data line SPI. FAST_READ (opcode 0x0B).

READ2O

1: Dual data line SPI. READ2O (opcode 0x3B).

READ2IO

2: Dual data line SPI. READ2IO (opcode 0xBB).

READ4O

3: Quad data line SPI. READ4O (opcode 0x6B).

READ4IO

4: Quad data line SPI. READ4IO (opcode 0xEB).

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.