Struct esp32s3_hal::pac::spi0::sram_cmd::R
pub struct R(_);
Expand description
Register SRAM_CMD
reader
Implementations§
§impl R
impl R
pub fn sclk_mode(&self) -> FieldReaderRaw<u8, u8>
pub fn sclk_mode(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - SPI_CLK mode bits when SPI0 accesses to Ext_RAM. 0: SPI_CLK is off when CS inactive 1: SPI_CLK is delayed one cycle after CS inactive 2: SPI_CLK is delayed two cycles after CS inactive 3: SPI_CLK is always on.
pub fn sdin_dual(&self) -> BitReaderRaw<bool>
pub fn sdin_dual(&self) -> BitReaderRaw<bool>
Bit 10 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in DIN phase.
pub fn sdout_dual(&self) -> BitReaderRaw<bool>
pub fn sdout_dual(&self) -> BitReaderRaw<bool>
Bit 11 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in DOUT phase.
pub fn saddr_dual(&self) -> BitReaderRaw<bool>
pub fn saddr_dual(&self) -> BitReaderRaw<bool>
Bit 12 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in ADDR phase.
pub fn scmd_dual(&self) -> BitReaderRaw<bool>
pub fn scmd_dual(&self) -> BitReaderRaw<bool>
Bit 13 - When SPI0 accesses to Ext_RAM, set this bit to enable 2-bm in CMD phase.
pub fn sdin_quad(&self) -> BitReaderRaw<bool>
pub fn sdin_quad(&self) -> BitReaderRaw<bool>
Bit 14 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in DIN phase.
pub fn sdout_quad(&self) -> BitReaderRaw<bool>
pub fn sdout_quad(&self) -> BitReaderRaw<bool>
Bit 15 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in DOUT phase.
pub fn saddr_quad(&self) -> BitReaderRaw<bool>
pub fn saddr_quad(&self) -> BitReaderRaw<bool>
Bit 16 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in ADDR phase.
pub fn scmd_quad(&self) -> BitReaderRaw<bool>
pub fn scmd_quad(&self) -> BitReaderRaw<bool>
Bit 17 - When SPI0 accesses to Ext_RAM, set this bit to enable 4-bm in CMD phase.
pub fn sdin_oct(&self) -> BitReaderRaw<bool>
pub fn sdin_oct(&self) -> BitReaderRaw<bool>
Bit 18 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in DIN phase.
pub fn sdout_oct(&self) -> BitReaderRaw<bool>
pub fn sdout_oct(&self) -> BitReaderRaw<bool>
Bit 19 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in DOUT phase.
pub fn saddr_oct(&self) -> BitReaderRaw<bool>
pub fn saddr_oct(&self) -> BitReaderRaw<bool>
Bit 20 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in ADDR phase.
pub fn scmd_oct(&self) -> BitReaderRaw<bool>
pub fn scmd_oct(&self) -> BitReaderRaw<bool>
Bit 21 - When SPI0 accesses to Ext_RAM, set this bit to enable 8-bm in CMD phase.
pub fn sdummy_out(&self) -> BitReaderRaw<bool>
pub fn sdummy_out(&self) -> BitReaderRaw<bool>
Bit 22 - When SPI0 accesses to Ext_RAM, in the DUMMY phase the signal level of SPI bus is output by the SPI0 controller.
Methods from Deref<Target = R<SRAM_CMD_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.