Type Alias W

Source
pub type W = W<CTRL_SPEC>;
Expand description

Register CTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn wdummy_always_out(&mut self) -> WDUMMY_ALWAYS_OUT_W<'_, CTRL_SPEC>

Bit 1 - In the dummy phase of an MSPI write data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller.

Source

pub fn fdummy_rin(&mut self) -> FDUMMY_RIN_W<'_, CTRL_SPEC>

Bit 2 - In an MSPI read data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller in the first half part of dummy phase. It is used to mask invalid SPI_DQS in the half part of dummy phase.

Source

pub fn fdummy_wout(&mut self) -> FDUMMY_WOUT_W<'_, CTRL_SPEC>

Bit 3 - In an MSPI write data transfer when accesses to flash, the level of SPI_IO[7:0] is output by the MSPI controller in the second half part of dummy phase. It is used to pre-drive flash.

Source

pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W<'_, CTRL_SPEC>

Bit 8 - Apply 4 signals during command phase 1:enable 0: disable

Source

pub fn fastrd_mode(&mut self) -> FASTRD_MODE_W<'_, CTRL_SPEC>

Bit 13 - This bit enable the bits: SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QOUT and SPI_MEM_FREAD_DOUT. 1: enable 0: disable.

Source

pub fn fread_dual(&mut self) -> FREAD_DUAL_W<'_, CTRL_SPEC>

Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.

Source

pub fn q_pol(&mut self) -> Q_POL_W<'_, CTRL_SPEC>

Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low

Source

pub fn d_pol(&mut self) -> D_POL_W<'_, CTRL_SPEC>

Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low

Source

pub fn fread_quad(&mut self) -> FREAD_QUAD_W<'_, CTRL_SPEC>

Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable.

Source

pub fn wp(&mut self) -> WP_W<'_, CTRL_SPEC>

Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low.

Source

pub fn fread_dio(&mut self) -> FREAD_DIO_W<'_, CTRL_SPEC>

Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable.

Source

pub fn fread_qio(&mut self) -> FREAD_QIO_W<'_, CTRL_SPEC>

Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable.

Source

pub fn data_ie_always_on(&mut self) -> DATA_IE_ALWAYS_ON_W<'_, CTRL_SPEC>

Bit 31 - When accesses to flash, 1: the IE signals of pads connected to SPI_IO[7:0] are always 1. 0: Others.