Struct esp32s3::spi0::sram_clk::R

source ·
pub struct R(_);
Expand description

Register SRAM_CLK reader

Implementations

Bits 0:7 - It must equal to the value of SPI_MEM_SCLKCNT_N.

Bits 8:15 - It must be a floor value of ((SPI_MEM_SCLKCNT_N+1)/2-1).

Bits 16:23 - When SPI0 accesses to Ext_RAM, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_SCLKCNT_N+1)

Bit 31 - When SPI0 accesses to Ext_RAM, set this bit in 1-division mode, f_SPI_CLK = f_MSPI_CORE_CLK.

Methods from Deref<Target = R<SRAM_CLK_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.