Struct esp32s3_hal::pac::spi0::spi_smem_ddr::R
pub struct R(_);
Expand description
Register SPI_SMEM_DDR
reader
Implementations§
§impl R
impl R
pub fn spi_smem_var_dummy(&self) -> BitReaderRaw<bool>
pub fn spi_smem_var_dummy(&self) -> BitReaderRaw<bool>
Bit 1 - Set the bit to enable variable dummy cycle in spi ddr mode.
pub fn rdat_swp(&self) -> BitReaderRaw<bool>
pub fn rdat_swp(&self) -> BitReaderRaw<bool>
Bit 2 - Set the bit to reorder rx data of the word in spi ddr mode.
pub fn wdat_swp(&self) -> BitReaderRaw<bool>
pub fn wdat_swp(&self) -> BitReaderRaw<bool>
Bit 3 - Set the bit to reorder tx data of the word in spi ddr mode.
pub fn cmd_dis(&self) -> BitReaderRaw<bool>
pub fn cmd_dis(&self) -> BitReaderRaw<bool>
Bit 4 - the bit is used to disable dual edge in CMD phase when ddr mode.
pub fn spi_smem_outminbytelen(&self) -> FieldReaderRaw<u8, u8>
pub fn spi_smem_outminbytelen(&self) -> FieldReaderRaw<u8, u8>
Bits 5:11 - It is the minimum output data length in the ddr psram.
pub fn spi_smem_tx_ddr_msk_en(&self) -> BitReaderRaw<bool>
pub fn spi_smem_tx_ddr_msk_en(&self) -> BitReaderRaw<bool>
Bit 12 - Set this bit to mask the first or the last byte in MSPI ECC DDR write mode, when accesses to external RAM.
pub fn spi_smem_rx_ddr_msk_en(&self) -> BitReaderRaw<bool>
pub fn spi_smem_rx_ddr_msk_en(&self) -> BitReaderRaw<bool>
Bit 13 - Set this bit to mask the first or the last byte in MSPI ECC DDR read mode, when accesses to external RAM.
pub fn spi_smem_usr_ddr_dqs_thd(&self) -> FieldReaderRaw<u8, u8>
pub fn spi_smem_usr_ddr_dqs_thd(&self) -> FieldReaderRaw<u8, u8>
Bits 14:20 - The delay number of data strobe which from memory based on SPI_CLK.
pub fn dqs_loop(&self) -> BitReaderRaw<bool>
pub fn dqs_loop(&self) -> BitReaderRaw<bool>
Bit 21 - 1: Use internal signal as data strobe, the strobe can not be delayed by input timing module. 0: Use input SPI_DQS signal from PAD as data strobe, the strobe can be delayed by input timing module
pub fn dqs_loop_mode(&self) -> BitReaderRaw<bool>
pub fn dqs_loop_mode(&self) -> BitReaderRaw<bool>
Bit 22 - When SPI_SMEM_DDR_DQS_LOOP and SPI_SMEM_DDR_EN are set, 1: Use internal SPI_CLK as data strobe. 0: Use internal ~SPI_CLK as data strobe. Otherwise this bit is not active.
pub fn spi_smem_clk_diff_en(&self) -> BitReaderRaw<bool>
pub fn spi_smem_clk_diff_en(&self) -> BitReaderRaw<bool>
Bit 24 - Set this bit to enable the differential SPI_CLK#.
pub fn spi_smem_hyperbus_mode(&self) -> BitReaderRaw<bool>
pub fn spi_smem_hyperbus_mode(&self) -> BitReaderRaw<bool>
Bit 25 - Set this bit to enable the SPI HyperBus mode.
pub fn spi_smem_dqs_ca_in(&self) -> BitReaderRaw<bool>
pub fn spi_smem_dqs_ca_in(&self) -> BitReaderRaw<bool>
Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR.
pub fn spi_smem_hyperbus_dummy_2x(&self) -> BitReaderRaw<bool>
pub fn spi_smem_hyperbus_dummy_2x(&self) -> BitReaderRaw<bool>
Bit 27 - Set this bit to enable the vary dummy function in SPI HyperBus mode, when SPI0 accesses to flash or SPI1 accesses flash or sram.
pub fn spi_smem_clk_diff_inv(&self) -> BitReaderRaw<bool>
pub fn spi_smem_clk_diff_inv(&self) -> BitReaderRaw<bool>
Bit 28 - Set this bit to invert SPI_DIFF when accesses to external RAM. .
pub fn spi_smem_octa_ram_addr(&self) -> BitReaderRaw<bool>
pub fn spi_smem_octa_ram_addr(&self) -> BitReaderRaw<bool>
Bit 29 - Set this bit to enable octa_ram address out when accesses to external RAM, which means ADDR_OUT[31:0] = {spi_usr_addr_value[25:4], 6’d0, spi_usr_addr_value[3:1], 1’b0}.
pub fn spi_smem_hyperbus_ca(&self) -> BitReaderRaw<bool>
pub fn spi_smem_hyperbus_ca(&self) -> BitReaderRaw<bool>
Bit 30 - Set this bit to enable HyperRAM address out when accesses to external RAM, which means ADDR_OUT[31:0] = {spi_usr_addr_value[19:4], 13’d0, spi_usr_addr_value[3:1]}.
Methods from Deref<Target = R<SPI_SMEM_DDR_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.