Enum nrf52840_pac::qspi::ifconfig0::WRITEOC_A
source · #[repr(u8)]pub enum WRITEOC_A {
PP = 0,
PP2O = 1,
PP4O = 2,
PP4IO = 3,
}
Expand description
Configure number of data lines and opcode used for writing.
Value on reset: 0
Variants§
PP = 0
0: Single data line SPI. PP (opcode 0x02).
PP2O = 1
1: Dual data line SPI. PP2O (opcode 0xA2).
PP4O = 2
2: Quad data line SPI. PP4O (opcode 0x32).
PP4IO = 3
3: Quad data line SPI. PP4IO (opcode 0x38).
Trait Implementations§
impl Copy for WRITEOC_A
impl StructuralPartialEq for WRITEOC_A
Auto Trait Implementations§
impl Freeze for WRITEOC_A
impl RefUnwindSafe for WRITEOC_A
impl Send for WRITEOC_A
impl Sync for WRITEOC_A
impl Unpin for WRITEOC_A
impl UnwindSafe for WRITEOC_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
)