Struct esp32c2::system::perip_clk_en0::W
source · pub struct W(_);
Expand description
Register PERIP_CLK_EN0
writer
Implementations§
source§impl W
impl W
sourcepub fn spi01_clk_en(&mut self) -> SPI01_CLK_EN_W<'_, 1>
pub fn spi01_clk_en(&mut self) -> SPI01_CLK_EN_W<'_, 1>
Bit 1 - Set 1 to enable SPI01 clock
sourcepub fn uart_clk_en(&mut self) -> UART_CLK_EN_W<'_, 2>
pub fn uart_clk_en(&mut self) -> UART_CLK_EN_W<'_, 2>
Bit 2 - Set 1 to enable UART clock
sourcepub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W<'_, 5>
pub fn uart1_clk_en(&mut self) -> UART1_CLK_EN_W<'_, 5>
Bit 5 - Set 1 to enable UART1 clock
sourcepub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W<'_, 6>
pub fn spi2_clk_en(&mut self) -> SPI2_CLK_EN_W<'_, 6>
Bit 6 - Set 1 to enable SPI2 clock
sourcepub fn i2c_ext0_clk_en(&mut self) -> I2C_EXT0_CLK_EN_W<'_, 7>
pub fn i2c_ext0_clk_en(&mut self) -> I2C_EXT0_CLK_EN_W<'_, 7>
Bit 7 - Set 1 to enable I2C_EXT0 clock
sourcepub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W<'_, 11>
pub fn ledc_clk_en(&mut self) -> LEDC_CLK_EN_W<'_, 11>
Bit 11 - Set 1 to enable LEDC clock
sourcepub fn timergroup_clk_en(&mut self) -> TIMERGROUP_CLK_EN_W<'_, 13>
pub fn timergroup_clk_en(&mut self) -> TIMERGROUP_CLK_EN_W<'_, 13>
Bit 13 - Set 1 to enable TIMERGROUP clock
sourcepub fn uart_mem_clk_en(&mut self) -> UART_MEM_CLK_EN_W<'_, 24>
pub fn uart_mem_clk_en(&mut self) -> UART_MEM_CLK_EN_W<'_, 24>
Bit 24 - Set 1 to enable UART_MEM clock
sourcepub fn apb_saradc_clk_en(&mut self) -> APB_SARADC_CLK_EN_W<'_, 28>
pub fn apb_saradc_clk_en(&mut self) -> APB_SARADC_CLK_EN_W<'_, 28>
Bit 28 - Set 1 to enable APB_SARADC clock
sourcepub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W<'_, 29>
pub fn systimer_clk_en(&mut self) -> SYSTIMER_CLK_EN_W<'_, 29>
Bit 29 - Set 1 to enable SYSTEMTIMER clock
sourcepub fn adc2_arb_clk_en(&mut self) -> ADC2_ARB_CLK_EN_W<'_, 30>
pub fn adc2_arb_clk_en(&mut self) -> ADC2_ARB_CLK_EN_W<'_, 30>
Bit 30 - Set 1 to enable ADC2_ARB clock