Struct esp32s3_hal::pac::spi1::clock::R
pub struct R(_);
Expand description
Register CLOCK
reader
Implementations§
§impl R
impl R
pub fn clkcnt_l(&self) -> FieldReaderRaw<u8, u8>
pub fn clkcnt_l(&self) -> FieldReaderRaw<u8, u8>
Bits 0:7 - It must equal to the value of SPI_MEM_CLKCNT_N.
pub fn clkcnt_h(&self) -> FieldReaderRaw<u8, u8>
pub fn clkcnt_h(&self) -> FieldReaderRaw<u8, u8>
Bits 8:15 - It must be a floor value of ((SPI_MEM_CLKCNT_N+1)/2-1).
pub fn clkcnt_n(&self) -> FieldReaderRaw<u8, u8>
pub fn clkcnt_n(&self) -> FieldReaderRaw<u8, u8>
Bits 16:23 - When SPI1 accesses to flash or Ext_RAM, f_SPI_CLK = f_MSPI_CORE_CLK/(SPI_MEM_CLKCNT_N+1)
pub fn clk_equ_sysclk(&self) -> BitReaderRaw<bool>
pub fn clk_equ_sysclk(&self) -> BitReaderRaw<bool>
Bit 31 - When SPI1 access to flash or Ext_RAM, set this bit in 1-division mode, f_SPI_CLK = f_MSPI_CORE_CLK.
Methods from Deref<Target = R<CLOCK_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<CLOCK_SPEC>> for R
impl From<R<CLOCK_SPEC>> for R
§fn from(reader: R<CLOCK_SPEC>) -> R
fn from(reader: R<CLOCK_SPEC>) -> R
Converts to this type from the input type.