Type Alias esp32c3::spi0::core_clk_sel::W

source ·
pub type W = W<CORE_CLK_SEL_SPEC>;
Expand description

Register CORE_CLK_SEL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn spi01_clk_sel(&mut self) -> SPI01_CLK_SEL_W<'_, CORE_CLK_SEL_SPEC>

Bits 0:1 - When the digital system clock selects PLL clock and the frequency of PLL clock is 480MHz, the value of reg_spi01_clk_sel: 0: SPI0/1 module clock (clk) is 80MHz. 1: SPI0/1 module clock (clk) is 120MHz. 2: SPI0/1 module clock (clk) 160MHz. 3: Not used. When the digital system clock selects PLL clock and the frequency of PLL clock is 320MHz, the value of reg_spi01_clk_sel: 0: SPI0/1 module clock (clk) is 80MHz. 1: SPI0/1 module clock (clk) is 80MHz. 2: SPI0/1 module clock (clk) 160MHz. 3: Not used.