Type Alias esp32c3::spi0::ctrl::R

source ·
pub type R = R<CTRL_SPEC>;
Expand description

Register CTRL reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn fdummy_out(&self) -> FDUMMY_OUT_R

Bit 3 - In the dummy phase the signal level of spi is output by the spi controller.

source

pub fn fcmd_dual(&self) -> FCMD_DUAL_R

Bit 7 - Apply 2 signals during command phase 1:enable 0: disable

source

pub fn fcmd_quad(&self) -> FCMD_QUAD_R

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

source

pub fn fastrd_mode(&self) -> 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.

source

pub fn fread_dual(&self) -> FREAD_DUAL_R

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

source

pub fn q_pol(&self) -> Q_POL_R

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

source

pub fn d_pol(&self) -> D_POL_R

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

source

pub fn fread_quad(&self) -> FREAD_QUAD_R

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

source

pub fn wp(&self) -> WP_R

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

source

pub fn fread_dio(&self) -> FREAD_DIO_R

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

source

pub fn fread_qio(&self) -> FREAD_QIO_R

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