Struct esp32_hal::pac::spi0::cache_sctrl::W

pub struct W(_);
Expand description

Register CACHE_SCTRL writer

Implementations§

Bit 1 - For SPI0 In the spi sram mode spi dual I/O mode enable 1: enable 0:disable

Bit 2 - For SPI0 In the spi sram mode spi quad I/O mode enable 1: enable 0:disable

Bit 3 - For SPI0 In the spi sram mode it is the enable bit of dummy phase for write operations.

Bit 4 - For SPI0 In the spi sram mode it is the enable bit of dummy phase for read operations.

Bit 5 - For SPI0 In the spi sram mode cache read sram for user define command.

Bits 6:13 - For SPI0 In the sram mode it is the byte length of spi read sram data.

Bits 14:21 - For SPI0 In the sram mode it is the length in bits of address phase. The register value shall be (bit_num-1).

Bits 22:27 - For SPI0 In the sram mode it is the length in bits of address phase. The register value shall be (bit_num-1).

Bit 28 - For SPI0 In the spi sram mode cache write sram for user define command

Writes raw bits to the register.

Methods from Deref<Target = W<CACHE_SCTRL_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.