Struct esp32c2::spi0::core_clk_sel::W
source · pub struct W(_);Expand description
Register CORE_CLK_SEL writer
Implementations§
source§impl W
impl W
sourcepub fn spi01_clk_sel(&mut self) -> SPI01_CLK_SEL_W<'_, 0>
pub fn spi01_clk_sel(&mut self) -> SPI01_CLK_SEL_W<'_, 0>
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.