pub struct R(_);
Expand description
Register SPI_MEM_CTRL
reader
Implementations
sourceimpl R
impl R
sourcepub fn spi_mem_fdummy_out(&self) -> SPI_MEM_FDUMMY_OUT_R
pub fn spi_mem_fdummy_out(&self) -> SPI_MEM_FDUMMY_OUT_R
Bit 3 - In the dummy phase the signal level of spi is output by the spi controller.
sourcepub fn spi_mem_fcmd_dual(&self) -> SPI_MEM_FCMD_DUAL_R
pub fn spi_mem_fcmd_dual(&self) -> SPI_MEM_FCMD_DUAL_R
Bit 7 - Apply 2 signals during command phase 1:enable 0: disable
sourcepub fn spi_mem_fcmd_quad(&self) -> SPI_MEM_FCMD_QUAD_R
pub fn spi_mem_fcmd_quad(&self) -> SPI_MEM_FCMD_QUAD_R
Bit 8 - Apply 4 signals during command phase 1:enable 0: disable
sourcepub fn spi_mem_fastrd_mode(&self) -> SPI_MEM_FASTRD_MODE_R
pub fn spi_mem_fastrd_mode(&self) -> SPI_MEM_FASTRD_MODE_R
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(&self) -> SPI_MEM_FREAD_DUAL_R
pub fn spi_mem_fread_dual(&self) -> SPI_MEM_FREAD_DUAL_R
Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.
sourcepub fn spi_mem_q_pol(&self) -> SPI_MEM_Q_POL_R
pub fn spi_mem_q_pol(&self) -> SPI_MEM_Q_POL_R
Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low
sourcepub fn spi_mem_d_pol(&self) -> SPI_MEM_D_POL_R
pub fn spi_mem_d_pol(&self) -> SPI_MEM_D_POL_R
Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low
sourcepub fn spi_mem_fread_quad(&self) -> SPI_MEM_FREAD_QUAD_R
pub fn spi_mem_fread_quad(&self) -> SPI_MEM_FREAD_QUAD_R
Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable.
sourcepub fn spi_mem_wp(&self) -> SPI_MEM_WP_R
pub fn spi_mem_wp(&self) -> SPI_MEM_WP_R
Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low.
sourcepub fn spi_mem_fread_dio(&self) -> SPI_MEM_FREAD_DIO_R
pub fn spi_mem_fread_dio(&self) -> SPI_MEM_FREAD_DIO_R
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(&self) -> SPI_MEM_FREAD_QIO_R
pub fn spi_mem_fread_qio(&self) -> SPI_MEM_FREAD_QIO_R
Bit 24 - In the read operations address phase and read-data phase apply 4 signals. 1: enable 0: disable.
Methods from Deref<Target = R<SPI_MEM_CTRL_SPEC>>
Trait Implementations
sourceimpl From<R<SPI_MEM_CTRL_SPEC>> for R
impl From<R<SPI_MEM_CTRL_SPEC>> for R
sourcefn from(reader: R<SPI_MEM_CTRL_SPEC>) -> Self
fn from(reader: R<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