Type Alias nrf52840_pac::qspi::ifconfig0::WRITEOC_W

source ·
pub type WRITEOC_W<'a, const O: u8> = FieldWriter<'a, u32, IFCONFIG0_SPEC, u8, WRITEOC_A, 3, O>;
Expand description

Field WRITEOC writer - Configure number of data lines and opcode used for writing.

Aliased Type§

struct WRITEOC_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> WRITEOC_W<'a, O>

source

pub fn pp(self) -> &'a mut W

Single data line SPI. PP (opcode 0x02).

source

pub fn pp2o(self) -> &'a mut W

Dual data line SPI. PP2O (opcode 0xA2).

source

pub fn pp4o(self) -> &'a mut W

Quad data line SPI. PP4O (opcode 0x32).

source

pub fn pp4io(self) -> &'a mut W

Quad data line SPI. PP4IO (opcode 0x38).