pic32mx470/pic32mx47xfxxxl/int/
ifs1clr.rs

1#[doc = "Register `IFS1CLR` reader"]
2pub struct R(crate::R<IFS1CLR_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<IFS1CLR_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<IFS1CLR_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<IFS1CLR_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Register `IFS1CLR` writer"]
17pub struct W(crate::W<IFS1CLR_SPEC>);
18impl core::ops::Deref for W {
19    type Target = crate::W<IFS1CLR_SPEC>;
20    #[inline(always)]
21    fn deref(&self) -> &Self::Target {
22        &self.0
23    }
24}
25impl core::ops::DerefMut for W {
26    #[inline(always)]
27    fn deref_mut(&mut self) -> &mut Self::Target {
28        &mut self.0
29    }
30}
31impl From<crate::W<IFS1CLR_SPEC>> for W {
32    #[inline(always)]
33    fn from(writer: crate::W<IFS1CLR_SPEC>) -> Self {
34        W(writer)
35    }
36}
37#[doc = "Field `CMP1IF` reader - "]
38pub type CMP1IF_R = crate::BitReader;
39#[doc = "Field `CMP1IF` writer - "]
40pub type CMP1IF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
41#[doc = "Field `CMP2IF` reader - "]
42pub type CMP2IF_R = crate::BitReader;
43#[doc = "Field `CMP2IF` writer - "]
44pub type CMP2IF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
45#[doc = "Field `USBIF` reader - "]
46pub type USBIF_R = crate::BitReader;
47#[doc = "Field `USBIF` writer - "]
48pub type USBIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
49#[doc = "Field `SPI1EIF` reader - "]
50pub type SPI1EIF_R = crate::BitReader;
51#[doc = "Field `SPI1EIF` writer - "]
52pub type SPI1EIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
53#[doc = "Field `SPI1RXIF` reader - "]
54pub type SPI1RXIF_R = crate::BitReader;
55#[doc = "Field `SPI1RXIF` writer - "]
56pub type SPI1RXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
57#[doc = "Field `SPI1TXIF` reader - "]
58pub type SPI1TXIF_R = crate::BitReader;
59#[doc = "Field `SPI1TXIF` writer - "]
60pub type SPI1TXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
61#[doc = "Field `U1EIF` reader - "]
62pub type U1EIF_R = crate::BitReader;
63#[doc = "Field `U1EIF` writer - "]
64pub type U1EIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
65#[doc = "Field `U1RXIF` reader - "]
66pub type U1RXIF_R = crate::BitReader;
67#[doc = "Field `U1RXIF` writer - "]
68pub type U1RXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
69#[doc = "Field `U1TXIF` reader - "]
70pub type U1TXIF_R = crate::BitReader;
71#[doc = "Field `U1TXIF` writer - "]
72pub type U1TXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
73#[doc = "Field `I2C1BIF` reader - "]
74pub type I2C1BIF_R = crate::BitReader;
75#[doc = "Field `I2C1BIF` writer - "]
76pub type I2C1BIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
77#[doc = "Field `I2C1SIF` reader - "]
78pub type I2C1SIF_R = crate::BitReader;
79#[doc = "Field `I2C1SIF` writer - "]
80pub type I2C1SIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
81#[doc = "Field `I2C1MIF` reader - "]
82pub type I2C1MIF_R = crate::BitReader;
83#[doc = "Field `I2C1MIF` writer - "]
84pub type I2C1MIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
85#[doc = "Field `CNAIF` reader - "]
86pub type CNAIF_R = crate::BitReader;
87#[doc = "Field `CNAIF` writer - "]
88pub type CNAIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
89#[doc = "Field `CNBIF` reader - "]
90pub type CNBIF_R = crate::BitReader;
91#[doc = "Field `CNBIF` writer - "]
92pub type CNBIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
93#[doc = "Field `CNCIF` reader - "]
94pub type CNCIF_R = crate::BitReader;
95#[doc = "Field `CNCIF` writer - "]
96pub type CNCIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
97#[doc = "Field `CNDIF` reader - "]
98pub type CNDIF_R = crate::BitReader;
99#[doc = "Field `CNDIF` writer - "]
100pub type CNDIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
101#[doc = "Field `CNEIF` reader - "]
102pub type CNEIF_R = crate::BitReader;
103#[doc = "Field `CNEIF` writer - "]
104pub type CNEIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
105#[doc = "Field `CNFIF` reader - "]
106pub type CNFIF_R = crate::BitReader;
107#[doc = "Field `CNFIF` writer - "]
108pub type CNFIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
109#[doc = "Field `CNGIF` reader - "]
110pub type CNGIF_R = crate::BitReader;
111#[doc = "Field `CNGIF` writer - "]
112pub type CNGIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
113#[doc = "Field `PMPIF` reader - "]
114pub type PMPIF_R = crate::BitReader;
115#[doc = "Field `PMPIF` writer - "]
116pub type PMPIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
117#[doc = "Field `PMPEIF` reader - "]
118pub type PMPEIF_R = crate::BitReader;
119#[doc = "Field `PMPEIF` writer - "]
120pub type PMPEIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
121#[doc = "Field `SPI2EIF` reader - "]
122pub type SPI2EIF_R = crate::BitReader;
123#[doc = "Field `SPI2EIF` writer - "]
124pub type SPI2EIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
125#[doc = "Field `SPI2RXIF` reader - "]
126pub type SPI2RXIF_R = crate::BitReader;
127#[doc = "Field `SPI2RXIF` writer - "]
128pub type SPI2RXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
129#[doc = "Field `SPI2TXIF` reader - "]
130pub type SPI2TXIF_R = crate::BitReader;
131#[doc = "Field `SPI2TXIF` writer - "]
132pub type SPI2TXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
133#[doc = "Field `U2EIF` reader - "]
134pub type U2EIF_R = crate::BitReader;
135#[doc = "Field `U2EIF` writer - "]
136pub type U2EIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
137#[doc = "Field `U2RXIF` reader - "]
138pub type U2RXIF_R = crate::BitReader;
139#[doc = "Field `U2RXIF` writer - "]
140pub type U2RXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
141#[doc = "Field `U2TXIF` reader - "]
142pub type U2TXIF_R = crate::BitReader;
143#[doc = "Field `U2TXIF` writer - "]
144pub type U2TXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
145#[doc = "Field `I2C2BIF` reader - "]
146pub type I2C2BIF_R = crate::BitReader;
147#[doc = "Field `I2C2BIF` writer - "]
148pub type I2C2BIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
149#[doc = "Field `I2C2SIF` reader - "]
150pub type I2C2SIF_R = crate::BitReader;
151#[doc = "Field `I2C2SIF` writer - "]
152pub type I2C2SIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
153#[doc = "Field `I2C2MIF` reader - "]
154pub type I2C2MIF_R = crate::BitReader;
155#[doc = "Field `I2C2MIF` writer - "]
156pub type I2C2MIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
157#[doc = "Field `U3EIF` reader - "]
158pub type U3EIF_R = crate::BitReader;
159#[doc = "Field `U3EIF` writer - "]
160pub type U3EIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
161#[doc = "Field `U3RXIF` reader - "]
162pub type U3RXIF_R = crate::BitReader;
163#[doc = "Field `U3RXIF` writer - "]
164pub type U3RXIF_W<'a, const O: u8> = crate::BitWriter<'a, IFS1CLR_SPEC, O>;
165impl R {
166    #[doc = "Bit 0"]
167    #[inline(always)]
168    pub fn cmp1if(&self) -> CMP1IF_R {
169        CMP1IF_R::new((self.bits & 1) != 0)
170    }
171    #[doc = "Bit 1"]
172    #[inline(always)]
173    pub fn cmp2if(&self) -> CMP2IF_R {
174        CMP2IF_R::new(((self.bits >> 1) & 1) != 0)
175    }
176    #[doc = "Bit 2"]
177    #[inline(always)]
178    pub fn usbif(&self) -> USBIF_R {
179        USBIF_R::new(((self.bits >> 2) & 1) != 0)
180    }
181    #[doc = "Bit 3"]
182    #[inline(always)]
183    pub fn spi1eif(&self) -> SPI1EIF_R {
184        SPI1EIF_R::new(((self.bits >> 3) & 1) != 0)
185    }
186    #[doc = "Bit 4"]
187    #[inline(always)]
188    pub fn spi1rxif(&self) -> SPI1RXIF_R {
189        SPI1RXIF_R::new(((self.bits >> 4) & 1) != 0)
190    }
191    #[doc = "Bit 5"]
192    #[inline(always)]
193    pub fn spi1txif(&self) -> SPI1TXIF_R {
194        SPI1TXIF_R::new(((self.bits >> 5) & 1) != 0)
195    }
196    #[doc = "Bit 6"]
197    #[inline(always)]
198    pub fn u1eif(&self) -> U1EIF_R {
199        U1EIF_R::new(((self.bits >> 6) & 1) != 0)
200    }
201    #[doc = "Bit 7"]
202    #[inline(always)]
203    pub fn u1rxif(&self) -> U1RXIF_R {
204        U1RXIF_R::new(((self.bits >> 7) & 1) != 0)
205    }
206    #[doc = "Bit 8"]
207    #[inline(always)]
208    pub fn u1txif(&self) -> U1TXIF_R {
209        U1TXIF_R::new(((self.bits >> 8) & 1) != 0)
210    }
211    #[doc = "Bit 9"]
212    #[inline(always)]
213    pub fn i2c1bif(&self) -> I2C1BIF_R {
214        I2C1BIF_R::new(((self.bits >> 9) & 1) != 0)
215    }
216    #[doc = "Bit 10"]
217    #[inline(always)]
218    pub fn i2c1sif(&self) -> I2C1SIF_R {
219        I2C1SIF_R::new(((self.bits >> 10) & 1) != 0)
220    }
221    #[doc = "Bit 11"]
222    #[inline(always)]
223    pub fn i2c1mif(&self) -> I2C1MIF_R {
224        I2C1MIF_R::new(((self.bits >> 11) & 1) != 0)
225    }
226    #[doc = "Bit 12"]
227    #[inline(always)]
228    pub fn cnaif(&self) -> CNAIF_R {
229        CNAIF_R::new(((self.bits >> 12) & 1) != 0)
230    }
231    #[doc = "Bit 13"]
232    #[inline(always)]
233    pub fn cnbif(&self) -> CNBIF_R {
234        CNBIF_R::new(((self.bits >> 13) & 1) != 0)
235    }
236    #[doc = "Bit 14"]
237    #[inline(always)]
238    pub fn cncif(&self) -> CNCIF_R {
239        CNCIF_R::new(((self.bits >> 14) & 1) != 0)
240    }
241    #[doc = "Bit 15"]
242    #[inline(always)]
243    pub fn cndif(&self) -> CNDIF_R {
244        CNDIF_R::new(((self.bits >> 15) & 1) != 0)
245    }
246    #[doc = "Bit 16"]
247    #[inline(always)]
248    pub fn cneif(&self) -> CNEIF_R {
249        CNEIF_R::new(((self.bits >> 16) & 1) != 0)
250    }
251    #[doc = "Bit 17"]
252    #[inline(always)]
253    pub fn cnfif(&self) -> CNFIF_R {
254        CNFIF_R::new(((self.bits >> 17) & 1) != 0)
255    }
256    #[doc = "Bit 18"]
257    #[inline(always)]
258    pub fn cngif(&self) -> CNGIF_R {
259        CNGIF_R::new(((self.bits >> 18) & 1) != 0)
260    }
261    #[doc = "Bit 19"]
262    #[inline(always)]
263    pub fn pmpif(&self) -> PMPIF_R {
264        PMPIF_R::new(((self.bits >> 19) & 1) != 0)
265    }
266    #[doc = "Bit 20"]
267    #[inline(always)]
268    pub fn pmpeif(&self) -> PMPEIF_R {
269        PMPEIF_R::new(((self.bits >> 20) & 1) != 0)
270    }
271    #[doc = "Bit 21"]
272    #[inline(always)]
273    pub fn spi2eif(&self) -> SPI2EIF_R {
274        SPI2EIF_R::new(((self.bits >> 21) & 1) != 0)
275    }
276    #[doc = "Bit 22"]
277    #[inline(always)]
278    pub fn spi2rxif(&self) -> SPI2RXIF_R {
279        SPI2RXIF_R::new(((self.bits >> 22) & 1) != 0)
280    }
281    #[doc = "Bit 23"]
282    #[inline(always)]
283    pub fn spi2txif(&self) -> SPI2TXIF_R {
284        SPI2TXIF_R::new(((self.bits >> 23) & 1) != 0)
285    }
286    #[doc = "Bit 24"]
287    #[inline(always)]
288    pub fn u2eif(&self) -> U2EIF_R {
289        U2EIF_R::new(((self.bits >> 24) & 1) != 0)
290    }
291    #[doc = "Bit 25"]
292    #[inline(always)]
293    pub fn u2rxif(&self) -> U2RXIF_R {
294        U2RXIF_R::new(((self.bits >> 25) & 1) != 0)
295    }
296    #[doc = "Bit 26"]
297    #[inline(always)]
298    pub fn u2txif(&self) -> U2TXIF_R {
299        U2TXIF_R::new(((self.bits >> 26) & 1) != 0)
300    }
301    #[doc = "Bit 27"]
302    #[inline(always)]
303    pub fn i2c2bif(&self) -> I2C2BIF_R {
304        I2C2BIF_R::new(((self.bits >> 27) & 1) != 0)
305    }
306    #[doc = "Bit 28"]
307    #[inline(always)]
308    pub fn i2c2sif(&self) -> I2C2SIF_R {
309        I2C2SIF_R::new(((self.bits >> 28) & 1) != 0)
310    }
311    #[doc = "Bit 29"]
312    #[inline(always)]
313    pub fn i2c2mif(&self) -> I2C2MIF_R {
314        I2C2MIF_R::new(((self.bits >> 29) & 1) != 0)
315    }
316    #[doc = "Bit 30"]
317    #[inline(always)]
318    pub fn u3eif(&self) -> U3EIF_R {
319        U3EIF_R::new(((self.bits >> 30) & 1) != 0)
320    }
321    #[doc = "Bit 31"]
322    #[inline(always)]
323    pub fn u3rxif(&self) -> U3RXIF_R {
324        U3RXIF_R::new(((self.bits >> 31) & 1) != 0)
325    }
326}
327impl W {
328    #[doc = "Bit 0"]
329    #[inline(always)]
330    #[must_use]
331    pub fn cmp1if(&mut self) -> CMP1IF_W<0> {
332        CMP1IF_W::new(self)
333    }
334    #[doc = "Bit 1"]
335    #[inline(always)]
336    #[must_use]
337    pub fn cmp2if(&mut self) -> CMP2IF_W<1> {
338        CMP2IF_W::new(self)
339    }
340    #[doc = "Bit 2"]
341    #[inline(always)]
342    #[must_use]
343    pub fn usbif(&mut self) -> USBIF_W<2> {
344        USBIF_W::new(self)
345    }
346    #[doc = "Bit 3"]
347    #[inline(always)]
348    #[must_use]
349    pub fn spi1eif(&mut self) -> SPI1EIF_W<3> {
350        SPI1EIF_W::new(self)
351    }
352    #[doc = "Bit 4"]
353    #[inline(always)]
354    #[must_use]
355    pub fn spi1rxif(&mut self) -> SPI1RXIF_W<4> {
356        SPI1RXIF_W::new(self)
357    }
358    #[doc = "Bit 5"]
359    #[inline(always)]
360    #[must_use]
361    pub fn spi1txif(&mut self) -> SPI1TXIF_W<5> {
362        SPI1TXIF_W::new(self)
363    }
364    #[doc = "Bit 6"]
365    #[inline(always)]
366    #[must_use]
367    pub fn u1eif(&mut self) -> U1EIF_W<6> {
368        U1EIF_W::new(self)
369    }
370    #[doc = "Bit 7"]
371    #[inline(always)]
372    #[must_use]
373    pub fn u1rxif(&mut self) -> U1RXIF_W<7> {
374        U1RXIF_W::new(self)
375    }
376    #[doc = "Bit 8"]
377    #[inline(always)]
378    #[must_use]
379    pub fn u1txif(&mut self) -> U1TXIF_W<8> {
380        U1TXIF_W::new(self)
381    }
382    #[doc = "Bit 9"]
383    #[inline(always)]
384    #[must_use]
385    pub fn i2c1bif(&mut self) -> I2C1BIF_W<9> {
386        I2C1BIF_W::new(self)
387    }
388    #[doc = "Bit 10"]
389    #[inline(always)]
390    #[must_use]
391    pub fn i2c1sif(&mut self) -> I2C1SIF_W<10> {
392        I2C1SIF_W::new(self)
393    }
394    #[doc = "Bit 11"]
395    #[inline(always)]
396    #[must_use]
397    pub fn i2c1mif(&mut self) -> I2C1MIF_W<11> {
398        I2C1MIF_W::new(self)
399    }
400    #[doc = "Bit 12"]
401    #[inline(always)]
402    #[must_use]
403    pub fn cnaif(&mut self) -> CNAIF_W<12> {
404        CNAIF_W::new(self)
405    }
406    #[doc = "Bit 13"]
407    #[inline(always)]
408    #[must_use]
409    pub fn cnbif(&mut self) -> CNBIF_W<13> {
410        CNBIF_W::new(self)
411    }
412    #[doc = "Bit 14"]
413    #[inline(always)]
414    #[must_use]
415    pub fn cncif(&mut self) -> CNCIF_W<14> {
416        CNCIF_W::new(self)
417    }
418    #[doc = "Bit 15"]
419    #[inline(always)]
420    #[must_use]
421    pub fn cndif(&mut self) -> CNDIF_W<15> {
422        CNDIF_W::new(self)
423    }
424    #[doc = "Bit 16"]
425    #[inline(always)]
426    #[must_use]
427    pub fn cneif(&mut self) -> CNEIF_W<16> {
428        CNEIF_W::new(self)
429    }
430    #[doc = "Bit 17"]
431    #[inline(always)]
432    #[must_use]
433    pub fn cnfif(&mut self) -> CNFIF_W<17> {
434        CNFIF_W::new(self)
435    }
436    #[doc = "Bit 18"]
437    #[inline(always)]
438    #[must_use]
439    pub fn cngif(&mut self) -> CNGIF_W<18> {
440        CNGIF_W::new(self)
441    }
442    #[doc = "Bit 19"]
443    #[inline(always)]
444    #[must_use]
445    pub fn pmpif(&mut self) -> PMPIF_W<19> {
446        PMPIF_W::new(self)
447    }
448    #[doc = "Bit 20"]
449    #[inline(always)]
450    #[must_use]
451    pub fn pmpeif(&mut self) -> PMPEIF_W<20> {
452        PMPEIF_W::new(self)
453    }
454    #[doc = "Bit 21"]
455    #[inline(always)]
456    #[must_use]
457    pub fn spi2eif(&mut self) -> SPI2EIF_W<21> {
458        SPI2EIF_W::new(self)
459    }
460    #[doc = "Bit 22"]
461    #[inline(always)]
462    #[must_use]
463    pub fn spi2rxif(&mut self) -> SPI2RXIF_W<22> {
464        SPI2RXIF_W::new(self)
465    }
466    #[doc = "Bit 23"]
467    #[inline(always)]
468    #[must_use]
469    pub fn spi2txif(&mut self) -> SPI2TXIF_W<23> {
470        SPI2TXIF_W::new(self)
471    }
472    #[doc = "Bit 24"]
473    #[inline(always)]
474    #[must_use]
475    pub fn u2eif(&mut self) -> U2EIF_W<24> {
476        U2EIF_W::new(self)
477    }
478    #[doc = "Bit 25"]
479    #[inline(always)]
480    #[must_use]
481    pub fn u2rxif(&mut self) -> U2RXIF_W<25> {
482        U2RXIF_W::new(self)
483    }
484    #[doc = "Bit 26"]
485    #[inline(always)]
486    #[must_use]
487    pub fn u2txif(&mut self) -> U2TXIF_W<26> {
488        U2TXIF_W::new(self)
489    }
490    #[doc = "Bit 27"]
491    #[inline(always)]
492    #[must_use]
493    pub fn i2c2bif(&mut self) -> I2C2BIF_W<27> {
494        I2C2BIF_W::new(self)
495    }
496    #[doc = "Bit 28"]
497    #[inline(always)]
498    #[must_use]
499    pub fn i2c2sif(&mut self) -> I2C2SIF_W<28> {
500        I2C2SIF_W::new(self)
501    }
502    #[doc = "Bit 29"]
503    #[inline(always)]
504    #[must_use]
505    pub fn i2c2mif(&mut self) -> I2C2MIF_W<29> {
506        I2C2MIF_W::new(self)
507    }
508    #[doc = "Bit 30"]
509    #[inline(always)]
510    #[must_use]
511    pub fn u3eif(&mut self) -> U3EIF_W<30> {
512        U3EIF_W::new(self)
513    }
514    #[doc = "Bit 31"]
515    #[inline(always)]
516    #[must_use]
517    pub fn u3rxif(&mut self) -> U3RXIF_W<31> {
518        U3RXIF_W::new(self)
519    }
520    #[doc = "Writes raw bits to the register."]
521    #[inline(always)]
522    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
523        self.0.bits(bits);
524        self
525    }
526}
527#[doc = "IFS1CLR register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ifs1clr](index.html) module"]
528pub struct IFS1CLR_SPEC;
529impl crate::RegisterSpec for IFS1CLR_SPEC {
530    type Ux = u32;
531}
532#[doc = "`read()` method returns [ifs1clr::R](R) reader structure"]
533impl crate::Readable for IFS1CLR_SPEC {
534    type Reader = R;
535}
536#[doc = "`write(|w| ..)` method takes [ifs1clr::W](W) writer structure"]
537impl crate::Writable for IFS1CLR_SPEC {
538    type Writer = W;
539    const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
540    const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
541}
542#[doc = "`reset()` method sets IFS1CLR to value 0"]
543impl crate::Resettable for IFS1CLR_SPEC {
544    const RESET_VALUE: Self::Ux = 0;
545}