pub struct W(_);
Expand description
Register SPI_MEM_CTRL
writer
Implementations
sourceimpl W
impl W
sourcepub fn spi_mem_fdummy_out(&mut self) -> SPI_MEM_FDUMMY_OUT_W<'_, 3>
pub fn spi_mem_fdummy_out(&mut self) -> SPI_MEM_FDUMMY_OUT_W<'_, 3>
Bit 3 - In the dummy phase the signal level of spi is output by the spi controller.
sourcepub fn spi_mem_fcmd_dual(&mut self) -> SPI_MEM_FCMD_DUAL_W<'_, 7>
pub fn spi_mem_fcmd_dual(&mut self) -> SPI_MEM_FCMD_DUAL_W<'_, 7>
Bit 7 - Apply 2 signals during command phase 1:enable 0: disable
sourcepub fn spi_mem_fcmd_quad(&mut self) -> SPI_MEM_FCMD_QUAD_W<'_, 8>
pub fn spi_mem_fcmd_quad(&mut self) -> SPI_MEM_FCMD_QUAD_W<'_, 8>
Bit 8 - Apply 4 signals during command phase 1:enable 0: disable
sourcepub fn spi_mem_fastrd_mode(&mut self) -> SPI_MEM_FASTRD_MODE_W<'_, 13>
pub fn spi_mem_fastrd_mode(&mut self) -> SPI_MEM_FASTRD_MODE_W<'_, 13>
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 spi_mem_fread_dual(&mut self) -> SPI_MEM_FREAD_DUAL_W<'_, 14>
pub fn spi_mem_fread_dual(&mut self) -> SPI_MEM_FREAD_DUAL_W<'_, 14>
Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.
sourcepub fn spi_mem_q_pol(&mut self) -> SPI_MEM_Q_POL_W<'_, 18>
pub fn spi_mem_q_pol(&mut self) -> SPI_MEM_Q_POL_W<'_, 18>
Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low
sourcepub fn spi_mem_d_pol(&mut self) -> SPI_MEM_D_POL_W<'_, 19>
pub fn spi_mem_d_pol(&mut self) -> SPI_MEM_D_POL_W<'_, 19>
Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low
sourcepub fn spi_mem_fread_quad(&mut self) -> SPI_MEM_FREAD_QUAD_W<'_, 20>
pub fn spi_mem_fread_quad(&mut self) -> SPI_MEM_FREAD_QUAD_W<'_, 20>
Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable.
sourcepub fn spi_mem_wp(&mut self) -> SPI_MEM_WP_W<'_, 21>
pub fn spi_mem_wp(&mut self) -> SPI_MEM_WP_W<'_, 21>
Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low.
sourcepub fn spi_mem_fread_dio(&mut self) -> SPI_MEM_FREAD_DIO_W<'_, 23>
pub fn spi_mem_fread_dio(&mut self) -> SPI_MEM_FREAD_DIO_W<'_, 23>
Bit 23 - In the read operations address phase and read-data phase apply 2 signals. 1: enable 0: disable.
sourcepub fn spi_mem_fread_qio(&mut self) -> SPI_MEM_FREAD_QIO_W<'_, 24>
pub fn spi_mem_fread_qio(&mut self) -> SPI_MEM_FREAD_QIO_W<'_, 24>
Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable.
Methods from Deref<Target = W<SPI_MEM_CTRL_SPEC>>
Trait Implementations
sourceimpl From<W<SPI_MEM_CTRL_SPEC>> for W
impl From<W<SPI_MEM_CTRL_SPEC>> for W
sourcefn from(writer: W<SPI_MEM_CTRL_SPEC>) -> Self
fn from(writer: W<SPI_MEM_CTRL_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more