Struct esp32s3::spi0::cache_fctrl::R

source ·
pub struct R(_);
Expand description

Register CACHE_FCTRL reader

Implementations§

Bit 0 - Set this bit to enable Cache’s access and SPI0’s transfer.

Bit 1 - Set this bit to enable SPI0 read flash with 32 bits address. The value of SPI_MEM_USR_ADDR_BITLEN should be 31.

Bit 2 - 1: The command value of SPI0 reads flash is SPI_MEM_USR_COMMAND_VALUE. 0: Hardware read command value, controlled by SPI_MEM_FREAD_QIO, SPI_MEM_FREAD_DIO, SPI_MEM_FREAD_QUAD, SPI_MEM_FREAD_DUAL and SPI_MEM_FASTRD_MODE bits.

Bit 3 - When SPI0 accesses to flash, set this bit to enable 2-bm in DIN phase.

Bit 4 - When SPI0 accesses to flash, set this bit to enable 2-bm in DOUT phase.

Bit 5 - When SPI0 accesses to flash, set this bit to enable 2-bm in ADDR phase.

Bit 6 - When SPI0 accesses to flash, set this bit to enable 4-bm in DIN phase.

Bit 7 - When SPI0 accesses to flash, set this bit to enable 4-bm in DOUT phase.

Bit 8 - When SPI0 accesses to flash, set this bit to enable 4-bm in ADDR phase.

Methods from Deref<Target = R<CACHE_FCTRL_SPEC>>§

Reads raw bits from register.

Trait Implementations§

The resulting type after dereferencing.
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.