Struct esp32s2::system::perip_clk_en0::W
source · pub struct W(_);
Expand description
Register PERIP_CLK_EN0
writer
Implementations§
source§impl W
impl W
sourcepub fn timers_clk_en(&mut self) -> TIMERS_CLK_EN_W<'_, 0>
pub fn timers_clk_en(&mut self) -> TIMERS_CLK_EN_W<'_, 0>
Bit 0 - Set this bit to enable clock of timers.
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 this bit to enable clock of SPI0 and SPI1.
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 this bit to enable clock of UART0.
sourcepub fn wdg_clk_en(&mut self) -> WDG_CLK_EN_W<'_, 3>
pub fn wdg_clk_en(&mut self) -> WDG_CLK_EN_W<'_, 3>
Bit 3 - Set this bit to enable clock of WDG.
sourcepub fn i2s0_clk_en(&mut self) -> I2S0_CLK_EN_W<'_, 4>
pub fn i2s0_clk_en(&mut self) -> I2S0_CLK_EN_W<'_, 4>
Bit 4 - Set this bit to enable clock of I2S0.
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 this bit to enable clock of UART1.
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 this bit to enable clock of SPI2.
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 this bit to enable clock of I2C EXT0.
sourcepub fn uhci0_clk_en(&mut self) -> UHCI0_CLK_EN_W<'_, 8>
pub fn uhci0_clk_en(&mut self) -> UHCI0_CLK_EN_W<'_, 8>
Bit 8 - Set this bit to enable clock of UHCI0.
sourcepub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W<'_, 9>
pub fn rmt_clk_en(&mut self) -> RMT_CLK_EN_W<'_, 9>
Bit 9 - Set this bit to enable clock of remote controller.
sourcepub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W<'_, 10>
pub fn pcnt_clk_en(&mut self) -> PCNT_CLK_EN_W<'_, 10>
Bit 10 - Set this bit to enable clock of pulse count.
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 this bit to enable clock of LED PWM.
sourcepub fn uhci1_clk_en(&mut self) -> UHCI1_CLK_EN_W<'_, 12>
pub fn uhci1_clk_en(&mut self) -> UHCI1_CLK_EN_W<'_, 12>
Bit 12 - Set this bit to enable clock of UHCI1.
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 this bit to enable clock of timer group0.
sourcepub fn efuse_clk_en(&mut self) -> EFUSE_CLK_EN_W<'_, 14>
pub fn efuse_clk_en(&mut self) -> EFUSE_CLK_EN_W<'_, 14>
Bit 14 - Set this bit to enable clock of eFuse.
sourcepub fn timergroup1_clk_en(&mut self) -> TIMERGROUP1_CLK_EN_W<'_, 15>
pub fn timergroup1_clk_en(&mut self) -> TIMERGROUP1_CLK_EN_W<'_, 15>
Bit 15 - Set this bit to enable clock of timer group1.
sourcepub fn spi3_clk_en(&mut self) -> SPI3_CLK_EN_W<'_, 16>
pub fn spi3_clk_en(&mut self) -> SPI3_CLK_EN_W<'_, 16>
Bit 16 - Set this bit to enable clock of SPI3.
sourcepub fn pwm0_clk_en(&mut self) -> PWM0_CLK_EN_W<'_, 17>
pub fn pwm0_clk_en(&mut self) -> PWM0_CLK_EN_W<'_, 17>
Bit 17 - Set this bit to enable clock of PWM0.
sourcepub fn i2c_ext1_clk_en(&mut self) -> I2C_EXT1_CLK_EN_W<'_, 18>
pub fn i2c_ext1_clk_en(&mut self) -> I2C_EXT1_CLK_EN_W<'_, 18>
Bit 18 - Set this bit to enable clock of I2C EXT1.
sourcepub fn twai_clk_en(&mut self) -> TWAI_CLK_EN_W<'_, 19>
pub fn twai_clk_en(&mut self) -> TWAI_CLK_EN_W<'_, 19>
Bit 19 - Set this bit to enable clock of CAN.
sourcepub fn pwm1_clk_en(&mut self) -> PWM1_CLK_EN_W<'_, 20>
pub fn pwm1_clk_en(&mut self) -> PWM1_CLK_EN_W<'_, 20>
Bit 20 - Set this bit to enable clock of PWM1.
sourcepub fn i2s1_clk_en(&mut self) -> I2S1_CLK_EN_W<'_, 21>
pub fn i2s1_clk_en(&mut self) -> I2S1_CLK_EN_W<'_, 21>
Bit 21 - Set this bit to enable clock of I2S1.
sourcepub fn spi2_dma_clk_en(&mut self) -> SPI2_DMA_CLK_EN_W<'_, 22>
pub fn spi2_dma_clk_en(&mut self) -> SPI2_DMA_CLK_EN_W<'_, 22>
Bit 22 - Set this bit to enable clock of SPI2 DMA.
sourcepub fn usb_clk_en(&mut self) -> USB_CLK_EN_W<'_, 23>
pub fn usb_clk_en(&mut self) -> USB_CLK_EN_W<'_, 23>
Bit 23 - Set this bit to enable clock of USB.
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 this bit to enable clock of UART memory.
sourcepub fn pwm2_clk_en(&mut self) -> PWM2_CLK_EN_W<'_, 25>
pub fn pwm2_clk_en(&mut self) -> PWM2_CLK_EN_W<'_, 25>
Bit 25 - Set this bit to enable clock of PWM2.
sourcepub fn pwm3_clk_en(&mut self) -> PWM3_CLK_EN_W<'_, 26>
pub fn pwm3_clk_en(&mut self) -> PWM3_CLK_EN_W<'_, 26>
Bit 26 - Set this bit to enable clock of PWM3.
sourcepub fn spi3_dma_clk_en(&mut self) -> SPI3_DMA_CLK_EN_W<'_, 27>
pub fn spi3_dma_clk_en(&mut self) -> SPI3_DMA_CLK_EN_W<'_, 27>
Bit 27 - Set this bit to enable clock of SPI3 DMA.
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 this bit to enable clock of SAR ADC.
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 this bit to enable clock of system timer.
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 this bit to enable clock of aribiter of ADC2.
sourcepub fn spi4_clk_en(&mut self) -> SPI4_CLK_EN_W<'_, 31>
pub fn spi4_clk_en(&mut self) -> SPI4_CLK_EN_W<'_, 31>
Bit 31 - Set this bit to enable clock of SPI4.