pub type W = W<CTRL_SPEC>;
Expand description
Register CTRL
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn fdummy_out(&mut self) -> FDUMMY_OUT_W<'_, CTRL_SPEC>
pub fn fdummy_out(&mut self) -> FDUMMY_OUT_W<'_, CTRL_SPEC>
Bit 3 - In the dummy phase the signal level of spi is output by the spi controller.
sourcepub fn fcmd_dual(&mut self) -> FCMD_DUAL_W<'_, CTRL_SPEC>
pub fn fcmd_dual(&mut self) -> FCMD_DUAL_W<'_, CTRL_SPEC>
Bit 7 - Apply 2 signals during command phase 1:enable 0: disable
sourcepub fn fcmd_quad(&mut self) -> FCMD_QUAD_W<'_, CTRL_SPEC>
pub fn fcmd_quad(&mut self) -> FCMD_QUAD_W<'_, CTRL_SPEC>
Bit 8 - Apply 4 signals during command phase 1:enable 0: disable
sourcepub fn fastrd_mode(&mut self) -> FASTRD_MODE_W<'_, CTRL_SPEC>
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.
sourcepub fn fread_dual(&mut self) -> FREAD_DUAL_W<'_, CTRL_SPEC>
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.
sourcepub fn q_pol(&mut self) -> Q_POL_W<'_, CTRL_SPEC>
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
sourcepub fn d_pol(&mut self) -> D_POL_W<'_, CTRL_SPEC>
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
sourcepub fn fread_quad(&mut self) -> FREAD_QUAD_W<'_, CTRL_SPEC>
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.
sourcepub fn wp(&mut self) -> WP_W<'_, CTRL_SPEC>
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.
sourcepub fn fread_dio(&mut self) -> FREAD_DIO_W<'_, CTRL_SPEC>
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.
sourcepub fn fread_qio(&mut self) -> FREAD_QIO_W<'_, CTRL_SPEC>
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.