esp32p4/soc_etm/
task_st3_clr.rs

1#[doc = "Register `TASK_ST3_CLR` writer"]
2pub type W = crate::W<TASK_ST3_CLR_SPEC>;
3#[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"]
4pub type TG0_TASK_CNT_CAP_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
5#[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"]
6pub type TG0_TASK_CNT_START_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
7#[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"]
8pub type TG0_TASK_ALARM_START_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
9#[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"]
10pub type TG0_TASK_CNT_STOP_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
11#[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"]
12pub type TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
13#[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"]
14pub type TG0_TASK_CNT_CAP_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
15#[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"]
16pub type TG1_TASK_CNT_START_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
17#[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"]
18pub type TG1_TASK_ALARM_START_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
19#[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"]
20pub type TG1_TASK_CNT_STOP_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
21#[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"]
22pub type TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
23#[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"]
24pub type TG1_TASK_CNT_CAP_TIMER0_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
25#[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"]
26pub type TG1_TASK_CNT_START_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
27#[doc = "Field `TG1_TASK_ALARM_START_TIMER1_ST_CLR` writer - Configures whether or not to clear TG1_task_alarm_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
28pub type TG1_TASK_ALARM_START_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `TG1_TASK_CNT_STOP_TIMER1_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_stop_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
30pub type TG1_TASK_CNT_STOP_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
31#[doc = "Field `TG1_TASK_CNT_RELOAD_TIMER1_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_reload_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
32pub type TG1_TASK_CNT_RELOAD_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
33#[doc = "Field `TG1_TASK_CNT_CAP_TIMER1_ST_CLR` writer - Configures whether or not to clear TG1_task_cnt_cap_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
34pub type TG1_TASK_CNT_CAP_TIMER1_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
35#[doc = "Field `MCPWM0_TASK_CMPR0_A_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_cmpr0_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
36pub type MCPWM0_TASK_CMPR0_A_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
37#[doc = "Field `MCPWM0_TASK_CMPR1_A_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_cmpr1_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
38pub type MCPWM0_TASK_CMPR1_A_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
39#[doc = "Field `MCPWM0_TASK_CMPR2_A_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_cmpr2_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
40pub type MCPWM0_TASK_CMPR2_A_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `MCPWM0_TASK_CMPR0_B_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_cmpr0_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
42pub type MCPWM0_TASK_CMPR0_B_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
43#[doc = "Field `MCPWM0_TASK_CMPR1_B_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_cmpr1_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
44pub type MCPWM0_TASK_CMPR1_B_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
45#[doc = "Field `MCPWM0_TASK_CMPR2_B_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_cmpr2_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
46pub type MCPWM0_TASK_CMPR2_B_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
47#[doc = "Field `MCPWM0_TASK_GEN_STOP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_gen_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
48pub type MCPWM0_TASK_GEN_STOP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
49#[doc = "Field `MCPWM0_TASK_TIMER0_SYN_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_timer0_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
50pub type MCPWM0_TASK_TIMER0_SYN_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
51#[doc = "Field `MCPWM0_TASK_TIMER1_SYN_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_timer1_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
52pub type MCPWM0_TASK_TIMER1_SYN_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `MCPWM0_TASK_TIMER2_SYN_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_timer2_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
54pub type MCPWM0_TASK_TIMER2_SYN_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
55#[doc = "Field `MCPWM0_TASK_TIMER0_PERIOD_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_timer0_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
56pub type MCPWM0_TASK_TIMER0_PERIOD_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
57#[doc = "Field `MCPWM0_TASK_TIMER1_PERIOD_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_timer1_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
58pub type MCPWM0_TASK_TIMER1_PERIOD_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
59#[doc = "Field `MCPWM0_TASK_TIMER2_PERIOD_UP_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_timer2_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
60pub type MCPWM0_TASK_TIMER2_PERIOD_UP_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
61#[doc = "Field `MCPWM0_TASK_TZ0_OST_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_tz0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
62pub type MCPWM0_TASK_TZ0_OST_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
63#[doc = "Field `MCPWM0_TASK_TZ1_OST_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_tz1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
64pub type MCPWM0_TASK_TZ1_OST_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `MCPWM0_TASK_TZ2_OST_ST_CLR` writer - Configures whether or not to clear MCPWM0_task_tz2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
66pub type MCPWM0_TASK_TZ2_OST_ST_CLR_W<'a, REG> = crate::BitWriter<'a, REG>;
67#[cfg(feature = "impl-register-debug")]
68impl core::fmt::Debug for crate::generic::Reg<TASK_ST3_CLR_SPEC> {
69    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
70        write!(f, "(not readable)")
71    }
72}
73impl W {
74    #[doc = "Bit 0 - Configures whether or not to clear TG0_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
75    #[inline(always)]
76    #[must_use]
77    pub fn tg0_task_cnt_cap_timer0_st_clr(
78        &mut self,
79    ) -> TG0_TASK_CNT_CAP_TIMER0_ST_CLR_W<TASK_ST3_CLR_SPEC> {
80        TG0_TASK_CNT_CAP_TIMER0_ST_CLR_W::new(self, 0)
81    }
82    #[doc = "Bit 1 - Configures whether or not to clear TG0_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
83    #[inline(always)]
84    #[must_use]
85    pub fn tg0_task_cnt_start_timer1_st_clr(
86        &mut self,
87    ) -> TG0_TASK_CNT_START_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
88        TG0_TASK_CNT_START_TIMER1_ST_CLR_W::new(self, 1)
89    }
90    #[doc = "Bit 2 - Configures whether or not to clear TG0_task_alarm_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
91    #[inline(always)]
92    #[must_use]
93    pub fn tg0_task_alarm_start_timer1_st_clr(
94        &mut self,
95    ) -> TG0_TASK_ALARM_START_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
96        TG0_TASK_ALARM_START_TIMER1_ST_CLR_W::new(self, 2)
97    }
98    #[doc = "Bit 3 - Configures whether or not to clear TG0_task_cnt_stop_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
99    #[inline(always)]
100    #[must_use]
101    pub fn tg0_task_cnt_stop_timer1_st_clr(
102        &mut self,
103    ) -> TG0_TASK_CNT_STOP_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
104        TG0_TASK_CNT_STOP_TIMER1_ST_CLR_W::new(self, 3)
105    }
106    #[doc = "Bit 4 - Configures whether or not to clear TG0_task_cnt_reload_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
107    #[inline(always)]
108    #[must_use]
109    pub fn tg0_task_cnt_reload_timer1_st_clr(
110        &mut self,
111    ) -> TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
112        TG0_TASK_CNT_RELOAD_TIMER1_ST_CLR_W::new(self, 4)
113    }
114    #[doc = "Bit 5 - Configures whether or not to clear TG0_task_cnt_cap_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
115    #[inline(always)]
116    #[must_use]
117    pub fn tg0_task_cnt_cap_timer1_st_clr(
118        &mut self,
119    ) -> TG0_TASK_CNT_CAP_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
120        TG0_TASK_CNT_CAP_TIMER1_ST_CLR_W::new(self, 5)
121    }
122    #[doc = "Bit 6 - Configures whether or not to clear TG1_task_cnt_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
123    #[inline(always)]
124    #[must_use]
125    pub fn tg1_task_cnt_start_timer0_st_clr(
126        &mut self,
127    ) -> TG1_TASK_CNT_START_TIMER0_ST_CLR_W<TASK_ST3_CLR_SPEC> {
128        TG1_TASK_CNT_START_TIMER0_ST_CLR_W::new(self, 6)
129    }
130    #[doc = "Bit 7 - Configures whether or not to clear TG1_task_alarm_start_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
131    #[inline(always)]
132    #[must_use]
133    pub fn tg1_task_alarm_start_timer0_st_clr(
134        &mut self,
135    ) -> TG1_TASK_ALARM_START_TIMER0_ST_CLR_W<TASK_ST3_CLR_SPEC> {
136        TG1_TASK_ALARM_START_TIMER0_ST_CLR_W::new(self, 7)
137    }
138    #[doc = "Bit 8 - Configures whether or not to clear TG1_task_cnt_stop_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
139    #[inline(always)]
140    #[must_use]
141    pub fn tg1_task_cnt_stop_timer0_st_clr(
142        &mut self,
143    ) -> TG1_TASK_CNT_STOP_TIMER0_ST_CLR_W<TASK_ST3_CLR_SPEC> {
144        TG1_TASK_CNT_STOP_TIMER0_ST_CLR_W::new(self, 8)
145    }
146    #[doc = "Bit 9 - Configures whether or not to clear TG1_task_cnt_reload_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
147    #[inline(always)]
148    #[must_use]
149    pub fn tg1_task_cnt_reload_timer0_st_clr(
150        &mut self,
151    ) -> TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR_W<TASK_ST3_CLR_SPEC> {
152        TG1_TASK_CNT_RELOAD_TIMER0_ST_CLR_W::new(self, 9)
153    }
154    #[doc = "Bit 10 - Configures whether or not to clear TG1_task_cnt_cap_timer0 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
155    #[inline(always)]
156    #[must_use]
157    pub fn tg1_task_cnt_cap_timer0_st_clr(
158        &mut self,
159    ) -> TG1_TASK_CNT_CAP_TIMER0_ST_CLR_W<TASK_ST3_CLR_SPEC> {
160        TG1_TASK_CNT_CAP_TIMER0_ST_CLR_W::new(self, 10)
161    }
162    #[doc = "Bit 11 - Configures whether or not to clear TG1_task_cnt_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
163    #[inline(always)]
164    #[must_use]
165    pub fn tg1_task_cnt_start_timer1_st_clr(
166        &mut self,
167    ) -> TG1_TASK_CNT_START_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
168        TG1_TASK_CNT_START_TIMER1_ST_CLR_W::new(self, 11)
169    }
170    #[doc = "Bit 12 - Configures whether or not to clear TG1_task_alarm_start_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
171    #[inline(always)]
172    #[must_use]
173    pub fn tg1_task_alarm_start_timer1_st_clr(
174        &mut self,
175    ) -> TG1_TASK_ALARM_START_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
176        TG1_TASK_ALARM_START_TIMER1_ST_CLR_W::new(self, 12)
177    }
178    #[doc = "Bit 13 - Configures whether or not to clear TG1_task_cnt_stop_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
179    #[inline(always)]
180    #[must_use]
181    pub fn tg1_task_cnt_stop_timer1_st_clr(
182        &mut self,
183    ) -> TG1_TASK_CNT_STOP_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
184        TG1_TASK_CNT_STOP_TIMER1_ST_CLR_W::new(self, 13)
185    }
186    #[doc = "Bit 14 - Configures whether or not to clear TG1_task_cnt_reload_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
187    #[inline(always)]
188    #[must_use]
189    pub fn tg1_task_cnt_reload_timer1_st_clr(
190        &mut self,
191    ) -> TG1_TASK_CNT_RELOAD_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
192        TG1_TASK_CNT_RELOAD_TIMER1_ST_CLR_W::new(self, 14)
193    }
194    #[doc = "Bit 15 - Configures whether or not to clear TG1_task_cnt_cap_timer1 trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
195    #[inline(always)]
196    #[must_use]
197    pub fn tg1_task_cnt_cap_timer1_st_clr(
198        &mut self,
199    ) -> TG1_TASK_CNT_CAP_TIMER1_ST_CLR_W<TASK_ST3_CLR_SPEC> {
200        TG1_TASK_CNT_CAP_TIMER1_ST_CLR_W::new(self, 15)
201    }
202    #[doc = "Bit 16 - Configures whether or not to clear MCPWM0_task_cmpr0_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
203    #[inline(always)]
204    #[must_use]
205    pub fn mcpwm0_task_cmpr0_a_up_st_clr(
206        &mut self,
207    ) -> MCPWM0_TASK_CMPR0_A_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
208        MCPWM0_TASK_CMPR0_A_UP_ST_CLR_W::new(self, 16)
209    }
210    #[doc = "Bit 17 - Configures whether or not to clear MCPWM0_task_cmpr1_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
211    #[inline(always)]
212    #[must_use]
213    pub fn mcpwm0_task_cmpr1_a_up_st_clr(
214        &mut self,
215    ) -> MCPWM0_TASK_CMPR1_A_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
216        MCPWM0_TASK_CMPR1_A_UP_ST_CLR_W::new(self, 17)
217    }
218    #[doc = "Bit 18 - Configures whether or not to clear MCPWM0_task_cmpr2_a_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
219    #[inline(always)]
220    #[must_use]
221    pub fn mcpwm0_task_cmpr2_a_up_st_clr(
222        &mut self,
223    ) -> MCPWM0_TASK_CMPR2_A_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
224        MCPWM0_TASK_CMPR2_A_UP_ST_CLR_W::new(self, 18)
225    }
226    #[doc = "Bit 19 - Configures whether or not to clear MCPWM0_task_cmpr0_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
227    #[inline(always)]
228    #[must_use]
229    pub fn mcpwm0_task_cmpr0_b_up_st_clr(
230        &mut self,
231    ) -> MCPWM0_TASK_CMPR0_B_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
232        MCPWM0_TASK_CMPR0_B_UP_ST_CLR_W::new(self, 19)
233    }
234    #[doc = "Bit 20 - Configures whether or not to clear MCPWM0_task_cmpr1_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
235    #[inline(always)]
236    #[must_use]
237    pub fn mcpwm0_task_cmpr1_b_up_st_clr(
238        &mut self,
239    ) -> MCPWM0_TASK_CMPR1_B_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
240        MCPWM0_TASK_CMPR1_B_UP_ST_CLR_W::new(self, 20)
241    }
242    #[doc = "Bit 21 - Configures whether or not to clear MCPWM0_task_cmpr2_b_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
243    #[inline(always)]
244    #[must_use]
245    pub fn mcpwm0_task_cmpr2_b_up_st_clr(
246        &mut self,
247    ) -> MCPWM0_TASK_CMPR2_B_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
248        MCPWM0_TASK_CMPR2_B_UP_ST_CLR_W::new(self, 21)
249    }
250    #[doc = "Bit 22 - Configures whether or not to clear MCPWM0_task_gen_stop trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
251    #[inline(always)]
252    #[must_use]
253    pub fn mcpwm0_task_gen_stop_st_clr(
254        &mut self,
255    ) -> MCPWM0_TASK_GEN_STOP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
256        MCPWM0_TASK_GEN_STOP_ST_CLR_W::new(self, 22)
257    }
258    #[doc = "Bit 23 - Configures whether or not to clear MCPWM0_task_timer0_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
259    #[inline(always)]
260    #[must_use]
261    pub fn mcpwm0_task_timer0_syn_st_clr(
262        &mut self,
263    ) -> MCPWM0_TASK_TIMER0_SYN_ST_CLR_W<TASK_ST3_CLR_SPEC> {
264        MCPWM0_TASK_TIMER0_SYN_ST_CLR_W::new(self, 23)
265    }
266    #[doc = "Bit 24 - Configures whether or not to clear MCPWM0_task_timer1_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
267    #[inline(always)]
268    #[must_use]
269    pub fn mcpwm0_task_timer1_syn_st_clr(
270        &mut self,
271    ) -> MCPWM0_TASK_TIMER1_SYN_ST_CLR_W<TASK_ST3_CLR_SPEC> {
272        MCPWM0_TASK_TIMER1_SYN_ST_CLR_W::new(self, 24)
273    }
274    #[doc = "Bit 25 - Configures whether or not to clear MCPWM0_task_timer2_syn trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
275    #[inline(always)]
276    #[must_use]
277    pub fn mcpwm0_task_timer2_syn_st_clr(
278        &mut self,
279    ) -> MCPWM0_TASK_TIMER2_SYN_ST_CLR_W<TASK_ST3_CLR_SPEC> {
280        MCPWM0_TASK_TIMER2_SYN_ST_CLR_W::new(self, 25)
281    }
282    #[doc = "Bit 26 - Configures whether or not to clear MCPWM0_task_timer0_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
283    #[inline(always)]
284    #[must_use]
285    pub fn mcpwm0_task_timer0_period_up_st_clr(
286        &mut self,
287    ) -> MCPWM0_TASK_TIMER0_PERIOD_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
288        MCPWM0_TASK_TIMER0_PERIOD_UP_ST_CLR_W::new(self, 26)
289    }
290    #[doc = "Bit 27 - Configures whether or not to clear MCPWM0_task_timer1_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
291    #[inline(always)]
292    #[must_use]
293    pub fn mcpwm0_task_timer1_period_up_st_clr(
294        &mut self,
295    ) -> MCPWM0_TASK_TIMER1_PERIOD_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
296        MCPWM0_TASK_TIMER1_PERIOD_UP_ST_CLR_W::new(self, 27)
297    }
298    #[doc = "Bit 28 - Configures whether or not to clear MCPWM0_task_timer2_period_up trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
299    #[inline(always)]
300    #[must_use]
301    pub fn mcpwm0_task_timer2_period_up_st_clr(
302        &mut self,
303    ) -> MCPWM0_TASK_TIMER2_PERIOD_UP_ST_CLR_W<TASK_ST3_CLR_SPEC> {
304        MCPWM0_TASK_TIMER2_PERIOD_UP_ST_CLR_W::new(self, 28)
305    }
306    #[doc = "Bit 29 - Configures whether or not to clear MCPWM0_task_tz0_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
307    #[inline(always)]
308    #[must_use]
309    pub fn mcpwm0_task_tz0_ost_st_clr(
310        &mut self,
311    ) -> MCPWM0_TASK_TZ0_OST_ST_CLR_W<TASK_ST3_CLR_SPEC> {
312        MCPWM0_TASK_TZ0_OST_ST_CLR_W::new(self, 29)
313    }
314    #[doc = "Bit 30 - Configures whether or not to clear MCPWM0_task_tz1_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
315    #[inline(always)]
316    #[must_use]
317    pub fn mcpwm0_task_tz1_ost_st_clr(
318        &mut self,
319    ) -> MCPWM0_TASK_TZ1_OST_ST_CLR_W<TASK_ST3_CLR_SPEC> {
320        MCPWM0_TASK_TZ1_OST_ST_CLR_W::new(self, 30)
321    }
322    #[doc = "Bit 31 - Configures whether or not to clear MCPWM0_task_tz2_ost trigger status.\\\\0: Invalid, No effect\\\\1: Clear"]
323    #[inline(always)]
324    #[must_use]
325    pub fn mcpwm0_task_tz2_ost_st_clr(
326        &mut self,
327    ) -> MCPWM0_TASK_TZ2_OST_ST_CLR_W<TASK_ST3_CLR_SPEC> {
328        MCPWM0_TASK_TZ2_OST_ST_CLR_W::new(self, 31)
329    }
330}
331#[doc = "Tasks trigger status clear register\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`task_st3_clr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
332pub struct TASK_ST3_CLR_SPEC;
333impl crate::RegisterSpec for TASK_ST3_CLR_SPEC {
334    type Ux = u32;
335}
336#[doc = "`write(|w| ..)` method takes [`task_st3_clr::W`](W) writer structure"]
337impl crate::Writable for TASK_ST3_CLR_SPEC {
338    type Safety = crate::Unsafe;
339    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
340    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
341}
342#[doc = "`reset()` method sets TASK_ST3_CLR to value 0"]
343impl crate::Resettable for TASK_ST3_CLR_SPEC {
344    const RESET_VALUE: u32 = 0;
345}