Struct esp32s3_hal::pac::spi0::sram_clk::R
pub struct R(_);
Expand description
Register SRAM_CLK
reader
Implementations§
§impl R
impl R
pub fn sclkcnt_l(&self) -> FieldReaderRaw<u8, u8>
pub fn sclkcnt_l(&self) -> FieldReaderRaw<u8, u8>
Bits 0:7 - It must equal to the value of SPI_MEM_SCLKCNT_N.
pub fn sclkcnt_h(&self) -> FieldReaderRaw<u8, u8>
pub fn sclkcnt_h(&self) -> FieldReaderRaw<u8, u8>
Bits 8:15 - It must be a floor value of ((SPI_MEM_SCLKCNT_N+1)/2-1).
pub fn sclkcnt_n(&self) -> FieldReaderRaw<u8, u8>
pub fn sclkcnt_n(&self) -> FieldReaderRaw<u8, u8>
Bits 16:23 - When SPI0 accesses to Ext_RAM, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_SCLKCNT_N+1)
pub fn sclk_equ_sysclk(&self) -> BitReaderRaw<bool>
pub fn sclk_equ_sysclk(&self) -> BitReaderRaw<bool>
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>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations§
§impl From<R<SRAM_CLK_SPEC>> for R
impl From<R<SRAM_CLK_SPEC>> for R
§fn from(reader: R<SRAM_CLK_SPEC>) -> R
fn from(reader: R<SRAM_CLK_SPEC>) -> R
Converts to this type from the input type.