Struct esp32c2_hal::pac::spi0::ctrl::R
pub struct R(_);
Expand description
Register CTRL
reader
Implementations
impl R
impl R
pub fn fdummy_out(&self) -> BitReaderRaw<bool>
pub fn fdummy_out(&self) -> BitReaderRaw<bool>
Bit 3 - In the dummy phase the signal level of spi is output by the spi controller.
pub fn fcmd_dual(&self) -> BitReaderRaw<bool>
pub fn fcmd_dual(&self) -> BitReaderRaw<bool>
Bit 7 - Apply 2 signals during command phase 1:enable 0: disable
pub fn fcmd_quad(&self) -> BitReaderRaw<bool>
pub fn fcmd_quad(&self) -> BitReaderRaw<bool>
Bit 8 - Apply 4 signals during command phase 1:enable 0: disable
pub fn fastrd_mode(&self) -> BitReaderRaw<bool>
pub fn fastrd_mode(&self) -> BitReaderRaw<bool>
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.
pub fn fread_dual(&self) -> BitReaderRaw<bool>
pub fn fread_dual(&self) -> BitReaderRaw<bool>
Bit 14 - In the read operations, read-data phase apply 2 signals. 1: enable 0: disable.
pub fn q_pol(&self) -> BitReaderRaw<bool>
pub fn q_pol(&self) -> BitReaderRaw<bool>
Bit 18 - The bit is used to set MISO line polarity, 1: high 0, low
pub fn d_pol(&self) -> BitReaderRaw<bool>
pub fn d_pol(&self) -> BitReaderRaw<bool>
Bit 19 - The bit is used to set MOSI line polarity, 1: high 0, low
pub fn fread_quad(&self) -> BitReaderRaw<bool>
pub fn fread_quad(&self) -> BitReaderRaw<bool>
Bit 20 - In the read operations read-data phase apply 4 signals. 1: enable 0: disable.
pub fn wp(&self) -> BitReaderRaw<bool>
pub fn wp(&self) -> BitReaderRaw<bool>
Bit 21 - Write protect signal output when SPI is idle. 1: output high, 0: output low.
Methods from Deref<Target = R<CTRL_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.