[][src]Struct nrf52840_hal::target::qspi::cinstrconf::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut W[src]

Writes raw bits to the register

pub fn opcode(&mut self) -> _OPCODEW[src]

Bits 0:7 - Opcode of Custom instruction.

pub fn length(&mut self) -> _LENGTHW[src]

Bits 8:11 - Length of custom instruction in number of bytes.

pub fn lio2(&mut self) -> _LIO2W[src]

Bit 12 - Level of the IO2 pin (if connected) during transmission of custom instruction.

pub fn lio3(&mut self) -> _LIO3W[src]

Bit 13 - Level of the IO3 pin (if connected) during transmission of custom instruction.

pub fn wipwait(&mut self) -> _WIPWAITW[src]

Bit 14 - Wait for write complete before sending command.

pub fn wren(&mut self) -> _WRENW[src]

Bit 15 - Send WREN (write enable opcode 0x06) before instruction.

pub fn lfen(&mut self) -> _LFENW[src]

Bit 16 - Enable long frame mode. When enabled, a custom instruction transaction has to be ended by writing the LFSTOP field.

pub fn lfstop(&mut self) -> _LFSTOPW[src]

Bit 17 - Stop (finalize) long frame transaction

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same for T

type Output = T

Should always be Self