Struct esp32c3::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.
Methods from Deref<Target = W<CORE_CLK_SEL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more