Struct esp32s3_hal::pac::spi0::core_clk_sel::W
pub struct W(_);
Expand description
Register CORE_CLK_SEL
writer
Implementations§
§impl W
impl W
pub fn core_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CORE_CLK_SEL_SPEC, u8, u8, Unsafe, 2, 0>
pub fn core_clk_sel(
&mut self
) -> FieldWriterRaw<'_, u32, CORE_CLK_SEL_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - When the digital system clock selects PLL clock and the frequency of PLL clock is 480MHz, the value of SPI_MEM_CORE_CLK_SEL: 0: SPI0/1 module clock (MSPI_CORE_CLK) is 80MHz. 1: MSPI_CORE_CLK is 120MHz. 2: MSPI_CORE_CLK is 160MHz. 3: MSPI_CORE_CLK is 240MHz. When the digital system clock selects PLL clock and the frequency of PLL clock is 320MHz, the value of SPI_MEM_CORE_CLK_SEL: 0: MSPI_CORE_CLK is 80MHz. 1: MSPI_CORE_CLK is 80MHz. 2: MSPI_CORE_CLK 160MHz. 3: Not used.
Methods from Deref<Target = W<CORE_CLK_SEL_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<CORE_CLK_SEL_SPEC>> for W
impl From<W<CORE_CLK_SEL_SPEC>> for W
§fn from(writer: W<CORE_CLK_SEL_SPEC>) -> W
fn from(writer: W<CORE_CLK_SEL_SPEC>) -> W
Converts to this type from the input type.