#[doc = "Register `TASK_ST0_CLR` writer"]
pub type W = crate::W<TASK_ST0_CLR_SPEC>;
#[doc = "Field `GPIO_TASK_CH0_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch0_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH0_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH1_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch1_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH1_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH2_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch2_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH2_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH3_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch3_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH3_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH4_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch4_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH4_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH5_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch5_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH5_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH6_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch6_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH6_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH7_SET_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch7_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH7_SET_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH0_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch0_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH0_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH1_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch1_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH1_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH2_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch2_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH2_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH3_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch3_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH3_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH4_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch4_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH4_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH5_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch5_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH5_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH6_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch6_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH6_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH7_CLEAR_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch7_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH7_CLEAR_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH0_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch0_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH0_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH1_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch1_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH1_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH2_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch2_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH2_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH3_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch3_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH3_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH4_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch4_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH4_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH5_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch5_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH5_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH6_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch6_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH6_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `GPIO_TASK_CH7_TOGGLE_ST_CLR` writer - Configures whether or not to clear GPIO_task_ch7_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type GPIO_TASK_CH7_TOGGLE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_TIMER0_RES_UPDATE_ST_CLR` writer - Configures whether or not to clear LEDC_task_timer0_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_TIMER0_RES_UPDATE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_TIMER1_RES_UPDATE_ST_CLR` writer - Configures whether or not to clear LEDC_task_timer1_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_TIMER1_RES_UPDATE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_TIMER2_RES_UPDATE_ST_CLR` writer - Configures whether or not to clear LEDC_task_timer2_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_TIMER2_RES_UPDATE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_TIMER3_RES_UPDATE_ST_CLR` writer - Configures whether or not to clear LEDC_task_timer3_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_TIMER3_RES_UPDATE_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_DUTY_SCALE_UPDATE_CH0_ST_CLR` writer - Configures whether or not to clear LEDC_task_duty_scale_update_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_DUTY_SCALE_UPDATE_CH0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_DUTY_SCALE_UPDATE_CH1_ST_CLR` writer - Configures whether or not to clear LEDC_task_duty_scale_update_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_DUTY_SCALE_UPDATE_CH1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_DUTY_SCALE_UPDATE_CH2_ST_CLR` writer - Configures whether or not to clear LEDC_task_duty_scale_update_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_DUTY_SCALE_UPDATE_CH2_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_DUTY_SCALE_UPDATE_CH3_ST_CLR` writer - Configures whether or not to clear LEDC_task_duty_scale_update_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_DUTY_SCALE_UPDATE_CH3_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<TASK_ST0_CLR_SPEC> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[doc = "Bit 0 - Configures whether or not to clear GPIO_task_ch0_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch0_set_st_clr(
&mut self,
) -> GPIO_TASK_CH0_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH0_SET_ST_CLR_W::new(self, 0)
}
#[doc = "Bit 1 - Configures whether or not to clear GPIO_task_ch1_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch1_set_st_clr(
&mut self,
) -> GPIO_TASK_CH1_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH1_SET_ST_CLR_W::new(self, 1)
}
#[doc = "Bit 2 - Configures whether or not to clear GPIO_task_ch2_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch2_set_st_clr(
&mut self,
) -> GPIO_TASK_CH2_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH2_SET_ST_CLR_W::new(self, 2)
}
#[doc = "Bit 3 - Configures whether or not to clear GPIO_task_ch3_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch3_set_st_clr(
&mut self,
) -> GPIO_TASK_CH3_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH3_SET_ST_CLR_W::new(self, 3)
}
#[doc = "Bit 4 - Configures whether or not to clear GPIO_task_ch4_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch4_set_st_clr(
&mut self,
) -> GPIO_TASK_CH4_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH4_SET_ST_CLR_W::new(self, 4)
}
#[doc = "Bit 5 - Configures whether or not to clear GPIO_task_ch5_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch5_set_st_clr(
&mut self,
) -> GPIO_TASK_CH5_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH5_SET_ST_CLR_W::new(self, 5)
}
#[doc = "Bit 6 - Configures whether or not to clear GPIO_task_ch6_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch6_set_st_clr(
&mut self,
) -> GPIO_TASK_CH6_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH6_SET_ST_CLR_W::new(self, 6)
}
#[doc = "Bit 7 - Configures whether or not to clear GPIO_task_ch7_set trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch7_set_st_clr(
&mut self,
) -> GPIO_TASK_CH7_SET_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH7_SET_ST_CLR_W::new(self, 7)
}
#[doc = "Bit 8 - Configures whether or not to clear GPIO_task_ch0_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch0_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH0_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH0_CLEAR_ST_CLR_W::new(self, 8)
}
#[doc = "Bit 9 - Configures whether or not to clear GPIO_task_ch1_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch1_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH1_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH1_CLEAR_ST_CLR_W::new(self, 9)
}
#[doc = "Bit 10 - Configures whether or not to clear GPIO_task_ch2_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch2_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH2_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH2_CLEAR_ST_CLR_W::new(self, 10)
}
#[doc = "Bit 11 - Configures whether or not to clear GPIO_task_ch3_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch3_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH3_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH3_CLEAR_ST_CLR_W::new(self, 11)
}
#[doc = "Bit 12 - Configures whether or not to clear GPIO_task_ch4_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch4_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH4_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH4_CLEAR_ST_CLR_W::new(self, 12)
}
#[doc = "Bit 13 - Configures whether or not to clear GPIO_task_ch5_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch5_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH5_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH5_CLEAR_ST_CLR_W::new(self, 13)
}
#[doc = "Bit 14 - Configures whether or not to clear GPIO_task_ch6_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch6_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH6_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH6_CLEAR_ST_CLR_W::new(self, 14)
}
#[doc = "Bit 15 - Configures whether or not to clear GPIO_task_ch7_clear trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch7_clear_st_clr(
&mut self,
) -> GPIO_TASK_CH7_CLEAR_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH7_CLEAR_ST_CLR_W::new(self, 15)
}
#[doc = "Bit 16 - Configures whether or not to clear GPIO_task_ch0_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch0_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH0_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH0_TOGGLE_ST_CLR_W::new(self, 16)
}
#[doc = "Bit 17 - Configures whether or not to clear GPIO_task_ch1_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch1_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH1_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH1_TOGGLE_ST_CLR_W::new(self, 17)
}
#[doc = "Bit 18 - Configures whether or not to clear GPIO_task_ch2_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch2_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH2_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH2_TOGGLE_ST_CLR_W::new(self, 18)
}
#[doc = "Bit 19 - Configures whether or not to clear GPIO_task_ch3_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch3_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH3_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH3_TOGGLE_ST_CLR_W::new(self, 19)
}
#[doc = "Bit 20 - Configures whether or not to clear GPIO_task_ch4_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch4_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH4_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH4_TOGGLE_ST_CLR_W::new(self, 20)
}
#[doc = "Bit 21 - Configures whether or not to clear GPIO_task_ch5_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch5_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH5_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH5_TOGGLE_ST_CLR_W::new(self, 21)
}
#[doc = "Bit 22 - Configures whether or not to clear GPIO_task_ch6_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch6_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH6_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH6_TOGGLE_ST_CLR_W::new(self, 22)
}
#[doc = "Bit 23 - Configures whether or not to clear GPIO_task_ch7_toggle trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn gpio_task_ch7_toggle_st_clr(
&mut self,
) -> GPIO_TASK_CH7_TOGGLE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
GPIO_TASK_CH7_TOGGLE_ST_CLR_W::new(self, 23)
}
#[doc = "Bit 24 - Configures whether or not to clear LEDC_task_timer0_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_timer0_res_update_st_clr(
&mut self,
) -> LEDC_TASK_TIMER0_RES_UPDATE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_TIMER0_RES_UPDATE_ST_CLR_W::new(self, 24)
}
#[doc = "Bit 25 - Configures whether or not to clear LEDC_task_timer1_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_timer1_res_update_st_clr(
&mut self,
) -> LEDC_TASK_TIMER1_RES_UPDATE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_TIMER1_RES_UPDATE_ST_CLR_W::new(self, 25)
}
#[doc = "Bit 26 - Configures whether or not to clear LEDC_task_timer2_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_timer2_res_update_st_clr(
&mut self,
) -> LEDC_TASK_TIMER2_RES_UPDATE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_TIMER2_RES_UPDATE_ST_CLR_W::new(self, 26)
}
#[doc = "Bit 27 - Configures whether or not to clear LEDC_task_timer3_res_update trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_timer3_res_update_st_clr(
&mut self,
) -> LEDC_TASK_TIMER3_RES_UPDATE_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_TIMER3_RES_UPDATE_ST_CLR_W::new(self, 27)
}
#[doc = "Bit 28 - Configures whether or not to clear LEDC_task_duty_scale_update_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_duty_scale_update_ch0_st_clr(
&mut self,
) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH0_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_DUTY_SCALE_UPDATE_CH0_ST_CLR_W::new(self, 28)
}
#[doc = "Bit 29 - Configures whether or not to clear LEDC_task_duty_scale_update_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_duty_scale_update_ch1_st_clr(
&mut self,
) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH1_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_DUTY_SCALE_UPDATE_CH1_ST_CLR_W::new(self, 29)
}
#[doc = "Bit 30 - Configures whether or not to clear LEDC_task_duty_scale_update_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_duty_scale_update_ch2_st_clr(
&mut self,
) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH2_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_DUTY_SCALE_UPDATE_CH2_ST_CLR_W::new(self, 30)
}
#[doc = "Bit 31 - Configures whether or not to clear LEDC_task_duty_scale_update_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
#[inline(always)]
pub fn ledc_task_duty_scale_update_ch3_st_clr(
&mut self,
) -> LEDC_TASK_DUTY_SCALE_UPDATE_CH3_ST_CLR_W<'_, TASK_ST0_CLR_SPEC> {
LEDC_TASK_DUTY_SCALE_UPDATE_CH3_ST_CLR_W::new(self, 31)
}
}
#[doc = "Tasks trigger status clear register\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`task_st0_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct TASK_ST0_CLR_SPEC;
impl crate::RegisterSpec for TASK_ST0_CLR_SPEC {
type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`task_st0_clr::W`](W) writer structure"]
impl crate::Writable for TASK_ST0_CLR_SPEC {
type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets TASK_ST0_CLR to value 0"]
impl crate::Resettable for TASK_ST0_CLR_SPEC {}