Enum nrf52840_pac::qspi::ifconfig0::READOC_A
source · #[repr(u8)]pub enum READOC_A {
FASTREAD = 0,
READ2O = 1,
READ2IO = 2,
READ4O = 3,
READ4IO = 4,
}
Expand description
Configure number of data lines and opcode used for reading.
Value on reset: 0
Variants§
FASTREAD = 0
0: Single data line SPI. FAST_READ (opcode 0x0B).
READ2O = 1
1: Dual data line SPI. READ2O (opcode 0x3B).
READ2IO = 2
2: Dual data line SPI. READ2IO (opcode 0xBB).
READ4O = 3
3: Quad data line SPI. READ4O (opcode 0x6B).
READ4IO = 4
4: Quad data line SPI. READ4IO (opcode 0xEB).
Trait Implementations§
impl Copy for READOC_A
impl StructuralPartialEq for READOC_A
Auto Trait Implementations§
impl Freeze for READOC_A
impl RefUnwindSafe for READOC_A
impl Send for READOC_A
impl Sync for READOC_A
impl Unpin for READOC_A
impl UnwindSafe for READOC_A
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)