stm32wb_pac/dma1/
ifcr.rs

1#[doc = "Writer for register IFCR"]
2pub type W = crate::W<u32, super::IFCR>;
3#[doc = "Register IFCR `reset()`'s with value 0"]
4impl crate::ResetValue for super::IFCR {
5    type Type = u32;
6    #[inline(always)]
7    fn reset_value() -> Self::Type {
8        0
9    }
10}
11#[doc = "Write proxy for field `CTEIF7`"]
12pub struct CTEIF7_W<'a> {
13    w: &'a mut W,
14}
15impl<'a> CTEIF7_W<'a> {
16    #[doc = r"Sets the field bit"]
17    #[inline(always)]
18    pub fn set_bit(self) -> &'a mut W {
19        self.bit(true)
20    }
21    #[doc = r"Clears the field bit"]
22    #[inline(always)]
23    pub fn clear_bit(self) -> &'a mut W {
24        self.bit(false)
25    }
26    #[doc = r"Writes raw bits to the field"]
27    #[inline(always)]
28    pub fn bit(self, value: bool) -> &'a mut W {
29        self.w.bits = (self.w.bits & !(0x01 << 27)) | (((value as u32) & 0x01) << 27);
30        self.w
31    }
32}
33#[doc = "Write proxy for field `CHTIF7`"]
34pub struct CHTIF7_W<'a> {
35    w: &'a mut W,
36}
37impl<'a> CHTIF7_W<'a> {
38    #[doc = r"Sets the field bit"]
39    #[inline(always)]
40    pub fn set_bit(self) -> &'a mut W {
41        self.bit(true)
42    }
43    #[doc = r"Clears the field bit"]
44    #[inline(always)]
45    pub fn clear_bit(self) -> &'a mut W {
46        self.bit(false)
47    }
48    #[doc = r"Writes raw bits to the field"]
49    #[inline(always)]
50    pub fn bit(self, value: bool) -> &'a mut W {
51        self.w.bits = (self.w.bits & !(0x01 << 26)) | (((value as u32) & 0x01) << 26);
52        self.w
53    }
54}
55#[doc = "Write proxy for field `CTCIF7`"]
56pub struct CTCIF7_W<'a> {
57    w: &'a mut W,
58}
59impl<'a> CTCIF7_W<'a> {
60    #[doc = r"Sets the field bit"]
61    #[inline(always)]
62    pub fn set_bit(self) -> &'a mut W {
63        self.bit(true)
64    }
65    #[doc = r"Clears the field bit"]
66    #[inline(always)]
67    pub fn clear_bit(self) -> &'a mut W {
68        self.bit(false)
69    }
70    #[doc = r"Writes raw bits to the field"]
71    #[inline(always)]
72    pub fn bit(self, value: bool) -> &'a mut W {
73        self.w.bits = (self.w.bits & !(0x01 << 25)) | (((value as u32) & 0x01) << 25);
74        self.w
75    }
76}
77#[doc = "Write proxy for field `CGIF7`"]
78pub struct CGIF7_W<'a> {
79    w: &'a mut W,
80}
81impl<'a> CGIF7_W<'a> {
82    #[doc = r"Sets the field bit"]
83    #[inline(always)]
84    pub fn set_bit(self) -> &'a mut W {
85        self.bit(true)
86    }
87    #[doc = r"Clears the field bit"]
88    #[inline(always)]
89    pub fn clear_bit(self) -> &'a mut W {
90        self.bit(false)
91    }
92    #[doc = r"Writes raw bits to the field"]
93    #[inline(always)]
94    pub fn bit(self, value: bool) -> &'a mut W {
95        self.w.bits = (self.w.bits & !(0x01 << 24)) | (((value as u32) & 0x01) << 24);
96        self.w
97    }
98}
99#[doc = "Write proxy for field `CTEIF6`"]
100pub struct CTEIF6_W<'a> {
101    w: &'a mut W,
102}
103impl<'a> CTEIF6_W<'a> {
104    #[doc = r"Sets the field bit"]
105    #[inline(always)]
106    pub fn set_bit(self) -> &'a mut W {
107        self.bit(true)
108    }
109    #[doc = r"Clears the field bit"]
110    #[inline(always)]
111    pub fn clear_bit(self) -> &'a mut W {
112        self.bit(false)
113    }
114    #[doc = r"Writes raw bits to the field"]
115    #[inline(always)]
116    pub fn bit(self, value: bool) -> &'a mut W {
117        self.w.bits = (self.w.bits & !(0x01 << 23)) | (((value as u32) & 0x01) << 23);
118        self.w
119    }
120}
121#[doc = "Write proxy for field `CHTIF6`"]
122pub struct CHTIF6_W<'a> {
123    w: &'a mut W,
124}
125impl<'a> CHTIF6_W<'a> {
126    #[doc = r"Sets the field bit"]
127    #[inline(always)]
128    pub fn set_bit(self) -> &'a mut W {
129        self.bit(true)
130    }
131    #[doc = r"Clears the field bit"]
132    #[inline(always)]
133    pub fn clear_bit(self) -> &'a mut W {
134        self.bit(false)
135    }
136    #[doc = r"Writes raw bits to the field"]
137    #[inline(always)]
138    pub fn bit(self, value: bool) -> &'a mut W {
139        self.w.bits = (self.w.bits & !(0x01 << 22)) | (((value as u32) & 0x01) << 22);
140        self.w
141    }
142}
143#[doc = "Write proxy for field `CTCIF6`"]
144pub struct CTCIF6_W<'a> {
145    w: &'a mut W,
146}
147impl<'a> CTCIF6_W<'a> {
148    #[doc = r"Sets the field bit"]
149    #[inline(always)]
150    pub fn set_bit(self) -> &'a mut W {
151        self.bit(true)
152    }
153    #[doc = r"Clears the field bit"]
154    #[inline(always)]
155    pub fn clear_bit(self) -> &'a mut W {
156        self.bit(false)
157    }
158    #[doc = r"Writes raw bits to the field"]
159    #[inline(always)]
160    pub fn bit(self, value: bool) -> &'a mut W {
161        self.w.bits = (self.w.bits & !(0x01 << 21)) | (((value as u32) & 0x01) << 21);
162        self.w
163    }
164}
165#[doc = "Write proxy for field `CGIF6`"]
166pub struct CGIF6_W<'a> {
167    w: &'a mut W,
168}
169impl<'a> CGIF6_W<'a> {
170    #[doc = r"Sets the field bit"]
171    #[inline(always)]
172    pub fn set_bit(self) -> &'a mut W {
173        self.bit(true)
174    }
175    #[doc = r"Clears the field bit"]
176    #[inline(always)]
177    pub fn clear_bit(self) -> &'a mut W {
178        self.bit(false)
179    }
180    #[doc = r"Writes raw bits to the field"]
181    #[inline(always)]
182    pub fn bit(self, value: bool) -> &'a mut W {
183        self.w.bits = (self.w.bits & !(0x01 << 20)) | (((value as u32) & 0x01) << 20);
184        self.w
185    }
186}
187#[doc = "Write proxy for field `CTEIF5`"]
188pub struct CTEIF5_W<'a> {
189    w: &'a mut W,
190}
191impl<'a> CTEIF5_W<'a> {
192    #[doc = r"Sets the field bit"]
193    #[inline(always)]
194    pub fn set_bit(self) -> &'a mut W {
195        self.bit(true)
196    }
197    #[doc = r"Clears the field bit"]
198    #[inline(always)]
199    pub fn clear_bit(self) -> &'a mut W {
200        self.bit(false)
201    }
202    #[doc = r"Writes raw bits to the field"]
203    #[inline(always)]
204    pub fn bit(self, value: bool) -> &'a mut W {
205        self.w.bits = (self.w.bits & !(0x01 << 19)) | (((value as u32) & 0x01) << 19);
206        self.w
207    }
208}
209#[doc = "Write proxy for field `CHTIF5`"]
210pub struct CHTIF5_W<'a> {
211    w: &'a mut W,
212}
213impl<'a> CHTIF5_W<'a> {
214    #[doc = r"Sets the field bit"]
215    #[inline(always)]
216    pub fn set_bit(self) -> &'a mut W {
217        self.bit(true)
218    }
219    #[doc = r"Clears the field bit"]
220    #[inline(always)]
221    pub fn clear_bit(self) -> &'a mut W {
222        self.bit(false)
223    }
224    #[doc = r"Writes raw bits to the field"]
225    #[inline(always)]
226    pub fn bit(self, value: bool) -> &'a mut W {
227        self.w.bits = (self.w.bits & !(0x01 << 18)) | (((value as u32) & 0x01) << 18);
228        self.w
229    }
230}
231#[doc = "Write proxy for field `CTCIF5`"]
232pub struct CTCIF5_W<'a> {
233    w: &'a mut W,
234}
235impl<'a> CTCIF5_W<'a> {
236    #[doc = r"Sets the field bit"]
237    #[inline(always)]
238    pub fn set_bit(self) -> &'a mut W {
239        self.bit(true)
240    }
241    #[doc = r"Clears the field bit"]
242    #[inline(always)]
243    pub fn clear_bit(self) -> &'a mut W {
244        self.bit(false)
245    }
246    #[doc = r"Writes raw bits to the field"]
247    #[inline(always)]
248    pub fn bit(self, value: bool) -> &'a mut W {
249        self.w.bits = (self.w.bits & !(0x01 << 17)) | (((value as u32) & 0x01) << 17);
250        self.w
251    }
252}
253#[doc = "Write proxy for field `CGIF5`"]
254pub struct CGIF5_W<'a> {
255    w: &'a mut W,
256}
257impl<'a> CGIF5_W<'a> {
258    #[doc = r"Sets the field bit"]
259    #[inline(always)]
260    pub fn set_bit(self) -> &'a mut W {
261        self.bit(true)
262    }
263    #[doc = r"Clears the field bit"]
264    #[inline(always)]
265    pub fn clear_bit(self) -> &'a mut W {
266        self.bit(false)
267    }
268    #[doc = r"Writes raw bits to the field"]
269    #[inline(always)]
270    pub fn bit(self, value: bool) -> &'a mut W {
271        self.w.bits = (self.w.bits & !(0x01 << 16)) | (((value as u32) & 0x01) << 16);
272        self.w
273    }
274}
275#[doc = "Write proxy for field `CTEIF4`"]
276pub struct CTEIF4_W<'a> {
277    w: &'a mut W,
278}
279impl<'a> CTEIF4_W<'a> {
280    #[doc = r"Sets the field bit"]
281    #[inline(always)]
282    pub fn set_bit(self) -> &'a mut W {
283        self.bit(true)
284    }
285    #[doc = r"Clears the field bit"]
286    #[inline(always)]
287    pub fn clear_bit(self) -> &'a mut W {
288        self.bit(false)
289    }
290    #[doc = r"Writes raw bits to the field"]
291    #[inline(always)]
292    pub fn bit(self, value: bool) -> &'a mut W {
293        self.w.bits = (self.w.bits & !(0x01 << 15)) | (((value as u32) & 0x01) << 15);
294        self.w
295    }
296}
297#[doc = "Write proxy for field `CHTIF4`"]
298pub struct CHTIF4_W<'a> {
299    w: &'a mut W,
300}
301impl<'a> CHTIF4_W<'a> {
302    #[doc = r"Sets the field bit"]
303    #[inline(always)]
304    pub fn set_bit(self) -> &'a mut W {
305        self.bit(true)
306    }
307    #[doc = r"Clears the field bit"]
308    #[inline(always)]
309    pub fn clear_bit(self) -> &'a mut W {
310        self.bit(false)
311    }
312    #[doc = r"Writes raw bits to the field"]
313    #[inline(always)]
314    pub fn bit(self, value: bool) -> &'a mut W {
315        self.w.bits = (self.w.bits & !(0x01 << 14)) | (((value as u32) & 0x01) << 14);
316        self.w
317    }
318}
319#[doc = "Write proxy for field `CTCIF4`"]
320pub struct CTCIF4_W<'a> {
321    w: &'a mut W,
322}
323impl<'a> CTCIF4_W<'a> {
324    #[doc = r"Sets the field bit"]
325    #[inline(always)]
326    pub fn set_bit(self) -> &'a mut W {
327        self.bit(true)
328    }
329    #[doc = r"Clears the field bit"]
330    #[inline(always)]
331    pub fn clear_bit(self) -> &'a mut W {
332        self.bit(false)
333    }
334    #[doc = r"Writes raw bits to the field"]
335    #[inline(always)]
336    pub fn bit(self, value: bool) -> &'a mut W {
337        self.w.bits = (self.w.bits & !(0x01 << 13)) | (((value as u32) & 0x01) << 13);
338        self.w
339    }
340}
341#[doc = "Write proxy for field `CGIF4`"]
342pub struct CGIF4_W<'a> {
343    w: &'a mut W,
344}
345impl<'a> CGIF4_W<'a> {
346    #[doc = r"Sets the field bit"]
347    #[inline(always)]
348    pub fn set_bit(self) -> &'a mut W {
349        self.bit(true)
350    }
351    #[doc = r"Clears the field bit"]
352    #[inline(always)]
353    pub fn clear_bit(self) -> &'a mut W {
354        self.bit(false)
355    }
356    #[doc = r"Writes raw bits to the field"]
357    #[inline(always)]
358    pub fn bit(self, value: bool) -> &'a mut W {
359        self.w.bits = (self.w.bits & !(0x01 << 12)) | (((value as u32) & 0x01) << 12);
360        self.w
361    }
362}
363#[doc = "Write proxy for field `CTEIF3`"]
364pub struct CTEIF3_W<'a> {
365    w: &'a mut W,
366}
367impl<'a> CTEIF3_W<'a> {
368    #[doc = r"Sets the field bit"]
369    #[inline(always)]
370    pub fn set_bit(self) -> &'a mut W {
371        self.bit(true)
372    }
373    #[doc = r"Clears the field bit"]
374    #[inline(always)]
375    pub fn clear_bit(self) -> &'a mut W {
376        self.bit(false)
377    }
378    #[doc = r"Writes raw bits to the field"]
379    #[inline(always)]
380    pub fn bit(self, value: bool) -> &'a mut W {
381        self.w.bits = (self.w.bits & !(0x01 << 11)) | (((value as u32) & 0x01) << 11);
382        self.w
383    }
384}
385#[doc = "Write proxy for field `CHTIF3`"]
386pub struct CHTIF3_W<'a> {
387    w: &'a mut W,
388}
389impl<'a> CHTIF3_W<'a> {
390    #[doc = r"Sets the field bit"]
391    #[inline(always)]
392    pub fn set_bit(self) -> &'a mut W {
393        self.bit(true)
394    }
395    #[doc = r"Clears the field bit"]
396    #[inline(always)]
397    pub fn clear_bit(self) -> &'a mut W {
398        self.bit(false)
399    }
400    #[doc = r"Writes raw bits to the field"]
401    #[inline(always)]
402    pub fn bit(self, value: bool) -> &'a mut W {
403        self.w.bits = (self.w.bits & !(0x01 << 10)) | (((value as u32) & 0x01) << 10);
404        self.w
405    }
406}
407#[doc = "Write proxy for field `CTCIF3`"]
408pub struct CTCIF3_W<'a> {
409    w: &'a mut W,
410}
411impl<'a> CTCIF3_W<'a> {
412    #[doc = r"Sets the field bit"]
413    #[inline(always)]
414    pub fn set_bit(self) -> &'a mut W {
415        self.bit(true)
416    }
417    #[doc = r"Clears the field bit"]
418    #[inline(always)]
419    pub fn clear_bit(self) -> &'a mut W {
420        self.bit(false)
421    }
422    #[doc = r"Writes raw bits to the field"]
423    #[inline(always)]
424    pub fn bit(self, value: bool) -> &'a mut W {
425        self.w.bits = (self.w.bits & !(0x01 << 9)) | (((value as u32) & 0x01) << 9);
426        self.w
427    }
428}
429#[doc = "Write proxy for field `CGIF3`"]
430pub struct CGIF3_W<'a> {
431    w: &'a mut W,
432}
433impl<'a> CGIF3_W<'a> {
434    #[doc = r"Sets the field bit"]
435    #[inline(always)]
436    pub fn set_bit(self) -> &'a mut W {
437        self.bit(true)
438    }
439    #[doc = r"Clears the field bit"]
440    #[inline(always)]
441    pub fn clear_bit(self) -> &'a mut W {
442        self.bit(false)
443    }
444    #[doc = r"Writes raw bits to the field"]
445    #[inline(always)]
446    pub fn bit(self, value: bool) -> &'a mut W {
447        self.w.bits = (self.w.bits & !(0x01 << 8)) | (((value as u32) & 0x01) << 8);
448        self.w
449    }
450}
451#[doc = "Write proxy for field `CTEIF2`"]
452pub struct CTEIF2_W<'a> {
453    w: &'a mut W,
454}
455impl<'a> CTEIF2_W<'a> {
456    #[doc = r"Sets the field bit"]
457    #[inline(always)]
458    pub fn set_bit(self) -> &'a mut W {
459        self.bit(true)
460    }
461    #[doc = r"Clears the field bit"]
462    #[inline(always)]
463    pub fn clear_bit(self) -> &'a mut W {
464        self.bit(false)
465    }
466    #[doc = r"Writes raw bits to the field"]
467    #[inline(always)]
468    pub fn bit(self, value: bool) -> &'a mut W {
469        self.w.bits = (self.w.bits & !(0x01 << 7)) | (((value as u32) & 0x01) << 7);
470        self.w
471    }
472}
473#[doc = "Write proxy for field `CHTIF2`"]
474pub struct CHTIF2_W<'a> {
475    w: &'a mut W,
476}
477impl<'a> CHTIF2_W<'a> {
478    #[doc = r"Sets the field bit"]
479    #[inline(always)]
480    pub fn set_bit(self) -> &'a mut W {
481        self.bit(true)
482    }
483    #[doc = r"Clears the field bit"]
484    #[inline(always)]
485    pub fn clear_bit(self) -> &'a mut W {
486        self.bit(false)
487    }
488    #[doc = r"Writes raw bits to the field"]
489    #[inline(always)]
490    pub fn bit(self, value: bool) -> &'a mut W {
491        self.w.bits = (self.w.bits & !(0x01 << 6)) | (((value as u32) & 0x01) << 6);
492        self.w
493    }
494}
495#[doc = "Write proxy for field `CTCIF2`"]
496pub struct CTCIF2_W<'a> {
497    w: &'a mut W,
498}
499impl<'a> CTCIF2_W<'a> {
500    #[doc = r"Sets the field bit"]
501    #[inline(always)]
502    pub fn set_bit(self) -> &'a mut W {
503        self.bit(true)
504    }
505    #[doc = r"Clears the field bit"]
506    #[inline(always)]
507    pub fn clear_bit(self) -> &'a mut W {
508        self.bit(false)
509    }
510    #[doc = r"Writes raw bits to the field"]
511    #[inline(always)]
512    pub fn bit(self, value: bool) -> &'a mut W {
513        self.w.bits = (self.w.bits & !(0x01 << 5)) | (((value as u32) & 0x01) << 5);
514        self.w
515    }
516}
517#[doc = "Write proxy for field `CGIF2`"]
518pub struct CGIF2_W<'a> {
519    w: &'a mut W,
520}
521impl<'a> CGIF2_W<'a> {
522    #[doc = r"Sets the field bit"]
523    #[inline(always)]
524    pub fn set_bit(self) -> &'a mut W {
525        self.bit(true)
526    }
527    #[doc = r"Clears the field bit"]
528    #[inline(always)]
529    pub fn clear_bit(self) -> &'a mut W {
530        self.bit(false)
531    }
532    #[doc = r"Writes raw bits to the field"]
533    #[inline(always)]
534    pub fn bit(self, value: bool) -> &'a mut W {
535        self.w.bits = (self.w.bits & !(0x01 << 4)) | (((value as u32) & 0x01) << 4);
536        self.w
537    }
538}
539#[doc = "Write proxy for field `CTEIF1`"]
540pub struct CTEIF1_W<'a> {
541    w: &'a mut W,
542}
543impl<'a> CTEIF1_W<'a> {
544    #[doc = r"Sets the field bit"]
545    #[inline(always)]
546    pub fn set_bit(self) -> &'a mut W {
547        self.bit(true)
548    }
549    #[doc = r"Clears the field bit"]
550    #[inline(always)]
551    pub fn clear_bit(self) -> &'a mut W {
552        self.bit(false)
553    }
554    #[doc = r"Writes raw bits to the field"]
555    #[inline(always)]
556    pub fn bit(self, value: bool) -> &'a mut W {
557        self.w.bits = (self.w.bits & !(0x01 << 3)) | (((value as u32) & 0x01) << 3);
558        self.w
559    }
560}
561#[doc = "Write proxy for field `CHTIF1`"]
562pub struct CHTIF1_W<'a> {
563    w: &'a mut W,
564}
565impl<'a> CHTIF1_W<'a> {
566    #[doc = r"Sets the field bit"]
567    #[inline(always)]
568    pub fn set_bit(self) -> &'a mut W {
569        self.bit(true)
570    }
571    #[doc = r"Clears the field bit"]
572    #[inline(always)]
573    pub fn clear_bit(self) -> &'a mut W {
574        self.bit(false)
575    }
576    #[doc = r"Writes raw bits to the field"]
577    #[inline(always)]
578    pub fn bit(self, value: bool) -> &'a mut W {
579        self.w.bits = (self.w.bits & !(0x01 << 2)) | (((value as u32) & 0x01) << 2);
580        self.w
581    }
582}
583#[doc = "Write proxy for field `CTCIF1`"]
584pub struct CTCIF1_W<'a> {
585    w: &'a mut W,
586}
587impl<'a> CTCIF1_W<'a> {
588    #[doc = r"Sets the field bit"]
589    #[inline(always)]
590    pub fn set_bit(self) -> &'a mut W {
591        self.bit(true)
592    }
593    #[doc = r"Clears the field bit"]
594    #[inline(always)]
595    pub fn clear_bit(self) -> &'a mut W {
596        self.bit(false)
597    }
598    #[doc = r"Writes raw bits to the field"]
599    #[inline(always)]
600    pub fn bit(self, value: bool) -> &'a mut W {
601        self.w.bits = (self.w.bits & !(0x01 << 1)) | (((value as u32) & 0x01) << 1);
602        self.w
603    }
604}
605#[doc = "Write proxy for field `CGIF1`"]
606pub struct CGIF1_W<'a> {
607    w: &'a mut W,
608}
609impl<'a> CGIF1_W<'a> {
610    #[doc = r"Sets the field bit"]
611    #[inline(always)]
612    pub fn set_bit(self) -> &'a mut W {
613        self.bit(true)
614    }
615    #[doc = r"Clears the field bit"]
616    #[inline(always)]
617    pub fn clear_bit(self) -> &'a mut W {
618        self.bit(false)
619    }
620    #[doc = r"Writes raw bits to the field"]
621    #[inline(always)]
622    pub fn bit(self, value: bool) -> &'a mut W {
623        self.w.bits = (self.w.bits & !0x01) | ((value as u32) & 0x01);
624        self.w
625    }
626}
627impl W {
628    #[doc = "Bit 27 - Channel x transfer error clear (x = 1 ..7)"]
629    #[inline(always)]
630    pub fn cteif7(&mut self) -> CTEIF7_W {
631        CTEIF7_W { w: self }
632    }
633    #[doc = "Bit 26 - Channel x half transfer clear (x = 1 ..7)"]
634    #[inline(always)]
635    pub fn chtif7(&mut self) -> CHTIF7_W {
636        CHTIF7_W { w: self }
637    }
638    #[doc = "Bit 25 - Channel x transfer complete clear (x = 1 ..7)"]
639    #[inline(always)]
640    pub fn ctcif7(&mut self) -> CTCIF7_W {
641        CTCIF7_W { w: self }
642    }
643    #[doc = "Bit 24 - Channel x global interrupt clear (x = 1 ..7)"]
644    #[inline(always)]
645    pub fn cgif7(&mut self) -> CGIF7_W {
646        CGIF7_W { w: self }
647    }
648    #[doc = "Bit 23 - Channel x transfer error clear (x = 1 ..7)"]
649    #[inline(always)]
650    pub fn cteif6(&mut self) -> CTEIF6_W {
651        CTEIF6_W { w: self }
652    }
653    #[doc = "Bit 22 - Channel x half transfer clear (x = 1 ..7)"]
654    #[inline(always)]
655    pub fn chtif6(&mut self) -> CHTIF6_W {
656        CHTIF6_W { w: self }
657    }
658    #[doc = "Bit 21 - Channel x transfer complete clear (x = 1 ..7)"]
659    #[inline(always)]
660    pub fn ctcif6(&mut self) -> CTCIF6_W {
661        CTCIF6_W { w: self }
662    }
663    #[doc = "Bit 20 - Channel x global interrupt clear (x = 1 ..7)"]
664    #[inline(always)]
665    pub fn cgif6(&mut self) -> CGIF6_W {
666        CGIF6_W { w: self }
667    }
668    #[doc = "Bit 19 - Channel x transfer error clear (x = 1 ..7)"]
669    #[inline(always)]
670    pub fn cteif5(&mut self) -> CTEIF5_W {
671        CTEIF5_W { w: self }
672    }
673    #[doc = "Bit 18 - Channel x half transfer clear (x = 1 ..7)"]
674    #[inline(always)]
675    pub fn chtif5(&mut self) -> CHTIF5_W {
676        CHTIF5_W { w: self }
677    }
678    #[doc = "Bit 17 - Channel x transfer complete clear (x = 1 ..7)"]
679    #[inline(always)]
680    pub fn ctcif5(&mut self) -> CTCIF5_W {
681        CTCIF5_W { w: self }
682    }
683    #[doc = "Bit 16 - Channel x global interrupt clear (x = 1 ..7)"]
684    #[inline(always)]
685    pub fn cgif5(&mut self) -> CGIF5_W {
686        CGIF5_W { w: self }
687    }
688    #[doc = "Bit 15 - Channel x transfer error clear (x = 1 ..7)"]
689    #[inline(always)]
690    pub fn cteif4(&mut self) -> CTEIF4_W {
691        CTEIF4_W { w: self }
692    }
693    #[doc = "Bit 14 - Channel x half transfer clear (x = 1 ..7)"]
694    #[inline(always)]
695    pub fn chtif4(&mut self) -> CHTIF4_W {
696        CHTIF4_W { w: self }
697    }
698    #[doc = "Bit 13 - Channel x transfer complete clear (x = 1 ..7)"]
699    #[inline(always)]
700    pub fn ctcif4(&mut self) -> CTCIF4_W {
701        CTCIF4_W { w: self }
702    }
703    #[doc = "Bit 12 - Channel x global interrupt clear (x = 1 ..7)"]
704    #[inline(always)]
705    pub fn cgif4(&mut self) -> CGIF4_W {
706        CGIF4_W { w: self }
707    }
708    #[doc = "Bit 11 - Channel x transfer error clear (x = 1 ..7)"]
709    #[inline(always)]
710    pub fn cteif3(&mut self) -> CTEIF3_W {
711        CTEIF3_W { w: self }
712    }
713    #[doc = "Bit 10 - Channel x half transfer clear (x = 1 ..7)"]
714    #[inline(always)]
715    pub fn chtif3(&mut self) -> CHTIF3_W {
716        CHTIF3_W { w: self }
717    }
718    #[doc = "Bit 9 - Channel x transfer complete clear (x = 1 ..7)"]
719    #[inline(always)]
720    pub fn ctcif3(&mut self) -> CTCIF3_W {
721        CTCIF3_W { w: self }
722    }
723    #[doc = "Bit 8 - Channel x global interrupt clear (x = 1 ..7)"]
724    #[inline(always)]
725    pub fn cgif3(&mut self) -> CGIF3_W {
726        CGIF3_W { w: self }
727    }
728    #[doc = "Bit 7 - Channel x transfer error clear (x = 1 ..7)"]
729    #[inline(always)]
730    pub fn cteif2(&mut self) -> CTEIF2_W {
731        CTEIF2_W { w: self }
732    }
733    #[doc = "Bit 6 - Channel x half transfer clear (x = 1 ..7)"]
734    #[inline(always)]
735    pub fn chtif2(&mut self) -> CHTIF2_W {
736        CHTIF2_W { w: self }
737    }
738    #[doc = "Bit 5 - Channel x transfer complete clear (x = 1 ..7)"]
739    #[inline(always)]
740    pub fn ctcif2(&mut self) -> CTCIF2_W {
741        CTCIF2_W { w: self }
742    }
743    #[doc = "Bit 4 - Channel x global interrupt clear (x = 1 ..7)"]
744    #[inline(always)]
745    pub fn cgif2(&mut self) -> CGIF2_W {
746        CGIF2_W { w: self }
747    }
748    #[doc = "Bit 3 - Channel x transfer error clear (x = 1 ..7)"]
749    #[inline(always)]
750    pub fn cteif1(&mut self) -> CTEIF1_W {
751        CTEIF1_W { w: self }
752    }
753    #[doc = "Bit 2 - Channel x half transfer clear (x = 1 ..7)"]
754    #[inline(always)]
755    pub fn chtif1(&mut self) -> CHTIF1_W {
756        CHTIF1_W { w: self }
757    }
758    #[doc = "Bit 1 - Channel x transfer complete clear (x = 1 ..7)"]
759    #[inline(always)]
760    pub fn ctcif1(&mut self) -> CTCIF1_W {
761        CTCIF1_W { w: self }
762    }
763    #[doc = "Bit 0 - Channel x global interrupt clear (x = 1 ..7)"]
764    #[inline(always)]
765    pub fn cgif1(&mut self) -> CGIF1_W {
766        CGIF1_W { w: self }
767    }
768}