Type Alias esp32c6::ledc::int_ena::W

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

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer0_ovf_int_ena(&mut self) -> TIMER0_OVF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 0 - The interrupt enable bit for the LEDC_TIMER0_OVF_INT interrupt.

source

pub fn timer1_ovf_int_ena(&mut self) -> TIMER1_OVF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 1 - The interrupt enable bit for the LEDC_TIMER1_OVF_INT interrupt.

source

pub fn timer2_ovf_int_ena(&mut self) -> TIMER2_OVF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 2 - The interrupt enable bit for the LEDC_TIMER2_OVF_INT interrupt.

source

pub fn timer3_ovf_int_ena(&mut self) -> TIMER3_OVF_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 3 - The interrupt enable bit for the LEDC_TIMER3_OVF_INT interrupt.

source

pub fn duty_chng_end_ch0_int_ena( &mut self ) -> DUTY_CHNG_END_CH0_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 4 - The interrupt enable bit for the LEDC_DUTY_CHNG_END_CH0_INT interrupt.

source

pub fn duty_chng_end_ch1_int_ena( &mut self ) -> DUTY_CHNG_END_CH1_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 5 - The interrupt enable bit for the LEDC_DUTY_CHNG_END_CH1_INT interrupt.

source

pub fn duty_chng_end_ch2_int_ena( &mut self ) -> DUTY_CHNG_END_CH2_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 6 - The interrupt enable bit for the LEDC_DUTY_CHNG_END_CH2_INT interrupt.

source

pub fn duty_chng_end_ch3_int_ena( &mut self ) -> DUTY_CHNG_END_CH3_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 7 - The interrupt enable bit for the LEDC_DUTY_CHNG_END_CH3_INT interrupt.

source

pub fn duty_chng_end_ch4_int_ena( &mut self ) -> DUTY_CHNG_END_CH4_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 8 - The interrupt enable bit for the LEDC_DUTY_CHNG_END_CH4_INT interrupt.

source

pub fn duty_chng_end_ch5_int_ena( &mut self ) -> DUTY_CHNG_END_CH5_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 9 - The interrupt enable bit for the LEDC_DUTY_CHNG_END_CH5_INT interrupt.

source

pub fn ovf_cnt_ch0_int_ena(&mut self) -> OVF_CNT_CH0_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 12 - The interrupt enable bit for the LEDC_OVF_CNT_CH0_INT interrupt.

source

pub fn ovf_cnt_ch1_int_ena(&mut self) -> OVF_CNT_CH1_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 13 - The interrupt enable bit for the LEDC_OVF_CNT_CH1_INT interrupt.

source

pub fn ovf_cnt_ch2_int_ena(&mut self) -> OVF_CNT_CH2_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 14 - The interrupt enable bit for the LEDC_OVF_CNT_CH2_INT interrupt.

source

pub fn ovf_cnt_ch3_int_ena(&mut self) -> OVF_CNT_CH3_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 15 - The interrupt enable bit for the LEDC_OVF_CNT_CH3_INT interrupt.

source

pub fn ovf_cnt_ch4_int_ena(&mut self) -> OVF_CNT_CH4_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 16 - The interrupt enable bit for the LEDC_OVF_CNT_CH4_INT interrupt.

source

pub fn ovf_cnt_ch5_int_ena(&mut self) -> OVF_CNT_CH5_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 17 - The interrupt enable bit for the LEDC_OVF_CNT_CH5_INT interrupt.

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Safety

Passing incorrect value can cause undefined behaviour. See reference manual