Type Alias esp32c6::ledc::int_raw::W

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

Register INT_RAW writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn timer0_ovf_int_raw( &mut self ) -> TIMER0_OVF_INT_RAW_W<'_, INT_RAW_SPEC, 0>

Bit 0 - Triggered when the timer0 has reached its maximum counter value.

source

pub fn timer1_ovf_int_raw( &mut self ) -> TIMER1_OVF_INT_RAW_W<'_, INT_RAW_SPEC, 1>

Bit 1 - Triggered when the timer1 has reached its maximum counter value.

source

pub fn timer2_ovf_int_raw( &mut self ) -> TIMER2_OVF_INT_RAW_W<'_, INT_RAW_SPEC, 2>

Bit 2 - Triggered when the timer2 has reached its maximum counter value.

source

pub fn timer3_ovf_int_raw( &mut self ) -> TIMER3_OVF_INT_RAW_W<'_, INT_RAW_SPEC, 3>

Bit 3 - Triggered when the timer3 has reached its maximum counter value.

source

pub fn duty_chng_end_ch0_int_raw( &mut self ) -> DUTY_CHNG_END_CH0_INT_RAW_W<'_, INT_RAW_SPEC, 4>

Bit 4 - Interrupt raw bit for channel 0. Triggered when the gradual change of duty has finished.

source

pub fn duty_chng_end_ch1_int_raw( &mut self ) -> DUTY_CHNG_END_CH1_INT_RAW_W<'_, INT_RAW_SPEC, 5>

Bit 5 - Interrupt raw bit for channel 1. Triggered when the gradual change of duty has finished.

source

pub fn duty_chng_end_ch2_int_raw( &mut self ) -> DUTY_CHNG_END_CH2_INT_RAW_W<'_, INT_RAW_SPEC, 6>

Bit 6 - Interrupt raw bit for channel 2. Triggered when the gradual change of duty has finished.

source

pub fn duty_chng_end_ch3_int_raw( &mut self ) -> DUTY_CHNG_END_CH3_INT_RAW_W<'_, INT_RAW_SPEC, 7>

Bit 7 - Interrupt raw bit for channel 3. Triggered when the gradual change of duty has finished.

source

pub fn duty_chng_end_ch4_int_raw( &mut self ) -> DUTY_CHNG_END_CH4_INT_RAW_W<'_, INT_RAW_SPEC, 8>

Bit 8 - Interrupt raw bit for channel 4. Triggered when the gradual change of duty has finished.

source

pub fn duty_chng_end_ch5_int_raw( &mut self ) -> DUTY_CHNG_END_CH5_INT_RAW_W<'_, INT_RAW_SPEC, 9>

Bit 9 - Interrupt raw bit for channel 5. Triggered when the gradual change of duty has finished.

source

pub fn ovf_cnt_ch0_int_raw( &mut self ) -> OVF_CNT_CH0_INT_RAW_W<'_, INT_RAW_SPEC, 12>

Bit 12 - Interrupt raw bit for channel 0. Triggered when the ovf_cnt has reached the value specified by LEDC_OVF_NUM_CH0.

source

pub fn ovf_cnt_ch1_int_raw( &mut self ) -> OVF_CNT_CH1_INT_RAW_W<'_, INT_RAW_SPEC, 13>

Bit 13 - Interrupt raw bit for channel 1. Triggered when the ovf_cnt has reached the value specified by LEDC_OVF_NUM_CH1.

source

pub fn ovf_cnt_ch2_int_raw( &mut self ) -> OVF_CNT_CH2_INT_RAW_W<'_, INT_RAW_SPEC, 14>

Bit 14 - Interrupt raw bit for channel 2. Triggered when the ovf_cnt has reached the value specified by LEDC_OVF_NUM_CH2.

source

pub fn ovf_cnt_ch3_int_raw( &mut self ) -> OVF_CNT_CH3_INT_RAW_W<'_, INT_RAW_SPEC, 15>

Bit 15 - Interrupt raw bit for channel 3. Triggered when the ovf_cnt has reached the value specified by LEDC_OVF_NUM_CH3.

source

pub fn ovf_cnt_ch4_int_raw( &mut self ) -> OVF_CNT_CH4_INT_RAW_W<'_, INT_RAW_SPEC, 16>

Bit 16 - Interrupt raw bit for channel 4. Triggered when the ovf_cnt has reached the value specified by LEDC_OVF_NUM_CH4.

source

pub fn ovf_cnt_ch5_int_raw( &mut self ) -> OVF_CNT_CH5_INT_RAW_W<'_, INT_RAW_SPEC, 17>

Bit 17 - Interrupt raw bit for channel 5. Triggered when the ovf_cnt has reached the value specified by LEDC_OVF_NUM_CH5.

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