esp32c5 0.2.0

Peripheral access crate for the ESP32-C5
Documentation
#[doc = "Register `TASK_ST2_CLR` writer"]
pub type W = crate::W<TASK_ST2_CLR_SPEC>;
#[doc = "Field `LEDC_TASK_GAMMA_RESTART_CH2_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_restart_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESTART_CH2_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESTART_CH3_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_restart_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESTART_CH3_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESTART_CH4_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_restart_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESTART_CH4_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESTART_CH5_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_restart_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESTART_CH5_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_PAUSE_CH0_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_pause_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_PAUSE_CH0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_PAUSE_CH1_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_pause_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_PAUSE_CH1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_PAUSE_CH2_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_pause_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_PAUSE_CH2_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_PAUSE_CH3_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_pause_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_PAUSE_CH3_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_PAUSE_CH4_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_pause_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_PAUSE_CH4_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_PAUSE_CH5_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_pause_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_PAUSE_CH5_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESUME_CH0_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_resume_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESUME_CH0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESUME_CH1_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_resume_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESUME_CH1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESUME_CH2_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_resume_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESUME_CH2_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESUME_CH3_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_resume_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESUME_CH3_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESUME_CH4_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_resume_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESUME_CH4_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `LEDC_TASK_GAMMA_RESUME_CH5_ST_CLR` writer - Configures whether or not to clear LEDC_task_gamma_resume_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type LEDC_TASK_GAMMA_RESUME_CH5_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_START_TIMER0_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_START_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_ALARM_START_TIMER0_ST_CLR` writer - Configures whether or not to clear TG0_task_alarm_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_ALARM_START_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_STOP_TIMER0_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_stop_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_STOP_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_RELOAD_TIMER0_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_reload_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_RELOAD_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_CAP_TIMER0_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_CAP_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_START_TIMER1_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_START_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_ALARM_START_TIMER1_ST_CLR` writer - Configures whether or not to clear TG0_task_alarm_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_ALARM_START_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_STOP_TIMER1_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_stop_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_STOP_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_reload_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG0_TASK_CNT_CAP_TIMER1_ST_CLR` writer - Configures whether or not to clear TG0_task_cnt_cap_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG0_TASK_CNT_CAP_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_START_TIMER0_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG1_TASK_CNT_START_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_ALARM_START_TIMER0_ST_CLR` writer - Configures whether or not to clear TG1_task_alarm_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG1_TASK_ALARM_START_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_STOP_TIMER0_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_stop_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG1_TASK_CNT_STOP_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_reload_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_CAP_TIMER0_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG1_TASK_CNT_CAP_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `TG1_TASK_CNT_START_TIMER1_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
pub type TG1_TASK_CNT_START_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for crate::generic::Reg<TASK_ST2_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 LEDC_task_gamma_restart_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_restart_ch2_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESTART_CH2_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESTART_CH2_ST_CLR_W::new(self, 0)
    }
    #[doc = "Bit 1 - Configures whether or not to clear LEDC_task_gamma_restart_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_restart_ch3_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESTART_CH3_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESTART_CH3_ST_CLR_W::new(self, 1)
    }
    #[doc = "Bit 2 - Configures whether or not to clear LEDC_task_gamma_restart_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_restart_ch4_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESTART_CH4_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESTART_CH4_ST_CLR_W::new(self, 2)
    }
    #[doc = "Bit 3 - Configures whether or not to clear LEDC_task_gamma_restart_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_restart_ch5_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESTART_CH5_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESTART_CH5_ST_CLR_W::new(self, 3)
    }
    #[doc = "Bit 4 - Configures whether or not to clear LEDC_task_gamma_pause_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_pause_ch0_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_PAUSE_CH0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_PAUSE_CH0_ST_CLR_W::new(self, 4)
    }
    #[doc = "Bit 5 - Configures whether or not to clear LEDC_task_gamma_pause_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_pause_ch1_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_PAUSE_CH1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_PAUSE_CH1_ST_CLR_W::new(self, 5)
    }
    #[doc = "Bit 6 - Configures whether or not to clear LEDC_task_gamma_pause_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_pause_ch2_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_PAUSE_CH2_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_PAUSE_CH2_ST_CLR_W::new(self, 6)
    }
    #[doc = "Bit 7 - Configures whether or not to clear LEDC_task_gamma_pause_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_pause_ch3_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_PAUSE_CH3_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_PAUSE_CH3_ST_CLR_W::new(self, 7)
    }
    #[doc = "Bit 8 - Configures whether or not to clear LEDC_task_gamma_pause_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_pause_ch4_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_PAUSE_CH4_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_PAUSE_CH4_ST_CLR_W::new(self, 8)
    }
    #[doc = "Bit 9 - Configures whether or not to clear LEDC_task_gamma_pause_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_pause_ch5_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_PAUSE_CH5_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_PAUSE_CH5_ST_CLR_W::new(self, 9)
    }
    #[doc = "Bit 10 - Configures whether or not to clear LEDC_task_gamma_resume_ch0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_resume_ch0_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESUME_CH0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESUME_CH0_ST_CLR_W::new(self, 10)
    }
    #[doc = "Bit 11 - Configures whether or not to clear LEDC_task_gamma_resume_ch1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_resume_ch1_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESUME_CH1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESUME_CH1_ST_CLR_W::new(self, 11)
    }
    #[doc = "Bit 12 - Configures whether or not to clear LEDC_task_gamma_resume_ch2 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_resume_ch2_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESUME_CH2_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESUME_CH2_ST_CLR_W::new(self, 12)
    }
    #[doc = "Bit 13 - Configures whether or not to clear LEDC_task_gamma_resume_ch3 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_resume_ch3_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESUME_CH3_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESUME_CH3_ST_CLR_W::new(self, 13)
    }
    #[doc = "Bit 14 - Configures whether or not to clear LEDC_task_gamma_resume_ch4 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_resume_ch4_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESUME_CH4_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESUME_CH4_ST_CLR_W::new(self, 14)
    }
    #[doc = "Bit 15 - Configures whether or not to clear LEDC_task_gamma_resume_ch5 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn ledc_task_gamma_resume_ch5_st_clr(
        &mut self,
    ) -> LEDC_TASK_GAMMA_RESUME_CH5_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        LEDC_TASK_GAMMA_RESUME_CH5_ST_CLR_W::new(self, 15)
    }
    #[doc = "Bit 16 - Configures whether or not to clear TG0_task_cnt_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_start_timer0_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_START_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_START_TIMER0_ST_CLR_W::new(self, 16)
    }
    #[doc = "Bit 17 - Configures whether or not to clear TG0_task_alarm_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_alarm_start_timer0_st_clr(
        &mut self,
    ) -> TG0_TASK_ALARM_START_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_ALARM_START_TIMER0_ST_CLR_W::new(self, 17)
    }
    #[doc = "Bit 18 - Configures whether or not to clear TG0_task_cnt_stop_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_stop_timer0_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_STOP_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_STOP_TIMER0_ST_CLR_W::new(self, 18)
    }
    #[doc = "Bit 19 - Configures whether or not to clear TG0_task_cnt_reload_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_reload_timer0_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_RELOAD_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_RELOAD_TIMER0_ST_CLR_W::new(self, 19)
    }
    #[doc = "Bit 20 - Configures whether or not to clear TG0_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_cap_timer0_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_CAP_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_CAP_TIMER0_ST_CLR_W::new(self, 20)
    }
    #[doc = "Bit 21 - Configures whether or not to clear TG0_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_start_timer1_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_START_TIMER1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_START_TIMER1_ST_CLR_W::new(self, 21)
    }
    #[doc = "Bit 22 - Configures whether or not to clear TG0_task_alarm_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_alarm_start_timer1_st_clr(
        &mut self,
    ) -> TG0_TASK_ALARM_START_TIMER1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_ALARM_START_TIMER1_ST_CLR_W::new(self, 22)
    }
    #[doc = "Bit 23 - Configures whether or not to clear TG0_task_cnt_stop_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_stop_timer1_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_STOP_TIMER1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_STOP_TIMER1_ST_CLR_W::new(self, 23)
    }
    #[doc = "Bit 24 - Configures whether or not to clear TG0_task_cnt_reload_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_reload_timer1_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR_W::new(self, 24)
    }
    #[doc = "Bit 25 - Configures whether or not to clear TG0_task_cnt_cap_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg0_task_cnt_cap_timer1_st_clr(
        &mut self,
    ) -> TG0_TASK_CNT_CAP_TIMER1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG0_TASK_CNT_CAP_TIMER1_ST_CLR_W::new(self, 25)
    }
    #[doc = "Bit 26 - Configures whether or not to clear TG1_task_cnt_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg1_task_cnt_start_timer0_st_clr(
        &mut self,
    ) -> TG1_TASK_CNT_START_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG1_TASK_CNT_START_TIMER0_ST_CLR_W::new(self, 26)
    }
    #[doc = "Bit 27 - Configures whether or not to clear TG1_task_alarm_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg1_task_alarm_start_timer0_st_clr(
        &mut self,
    ) -> TG1_TASK_ALARM_START_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG1_TASK_ALARM_START_TIMER0_ST_CLR_W::new(self, 27)
    }
    #[doc = "Bit 28 - Configures whether or not to clear TG1_task_cnt_stop_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg1_task_cnt_stop_timer0_st_clr(
        &mut self,
    ) -> TG1_TASK_CNT_STOP_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG1_TASK_CNT_STOP_TIMER0_ST_CLR_W::new(self, 28)
    }
    #[doc = "Bit 29 - Configures whether or not to clear TG1_task_cnt_reload_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg1_task_cnt_reload_timer0_st_clr(
        &mut self,
    ) -> TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR_W::new(self, 29)
    }
    #[doc = "Bit 30 - Configures whether or not to clear TG1_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg1_task_cnt_cap_timer0_st_clr(
        &mut self,
    ) -> TG1_TASK_CNT_CAP_TIMER0_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG1_TASK_CNT_CAP_TIMER0_ST_CLR_W::new(self, 30)
    }
    #[doc = "Bit 31 - Configures whether or not to clear TG1_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
    #[inline(always)]
    pub fn tg1_task_cnt_start_timer1_st_clr(
        &mut self,
    ) -> TG1_TASK_CNT_START_TIMER1_ST_CLR_W<'_, TASK_ST2_CLR_SPEC> {
        TG1_TASK_CNT_START_TIMER1_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_st2_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct TASK_ST2_CLR_SPEC;
impl crate::RegisterSpec for TASK_ST2_CLR_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`task_st2_clr::W`](W) writer structure"]
impl crate::Writable for TASK_ST2_CLR_SPEC {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets TASK_ST2_CLR to value 0"]
impl crate::Resettable for TASK_ST2_CLR_SPEC {}