Struct esp32s3::spi0::ddr::W

source ·
pub struct W(_);
Expand description

Register DDR writer

Implementations

Bit 0 - 1: in ddr mode, 0 in sdr mode

Bit 1 - Set the bit to enable variable dummy cycle in DDR mode.

Bit 2 - Set the bit to reorder RX data of the word in DDR mode.

Bit 3 - Set the bit to swap TX data of a word in DDR mode.

Bit 4 - the bit is used to disable dual edge in CMD phase when ddr mode.

Bits 5:11 - It is the minimum output data length in the panda device.

Bit 12 - Set this bit to mask the first or the last byte in MSPI ECC DDR write mode, when accesses to flash.

Bit 13 - Set this bit to mask the first or the last byte in MSPI ECC DDR read mode, when accesses to flash.

Bits 14:20 - The delay number of data strobe which from memory based on SPI_CLK.

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

Bit 22 - When SPI_FMEM_DDR_DQS_LOOP and SPI_FMEM_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.

Bit 24 - Set this bit to enable the differential SPI_CLK#.

Bit 25 - Set this bit to enable the SPI HyperBus mode.

Bit 26 - Set this bit to enable the input of SPI_DQS signal in SPI phases of CMD and ADDR.

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.

Bit 28 - Set this bit to invert SPI_DIFF when accesses to flash. .

Bit 29 - Set this bit to enable octa_ram address out when accesses to flash, which means ADDR_OUT[31:0] = {spi_usr_addr_value[25:4], 6’d0, spi_usr_addr_value[3:1], 1’b0}.

Bit 30 - Set this bit to enable HyperRAM address out when accesses to flash, which means ADDR_OUT[31:0] = {spi_usr_addr_value[19:4], 13’d0, spi_usr_addr_value[3:1]}.

Writes raw bits to the register.

Methods from Deref<Target = W<DDR_SPEC>>

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.