1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
#[doc = "Register `CSIFG` reader"]
pub struct R(crate::R<CSIFG_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<CSIFG_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<CSIFG_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<CSIFG_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "LFXT oscillator fault flag\n\nValue on reset: 1"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum LFXTIFG_A {
    #[doc = "0: No fault condition occurred after the last reset"]
    LFXTIFG_0 = 0,
    #[doc = "1: LFXT fault. A LFXT fault occurred after the last reset"]
    LFXTIFG_1 = 1,
}
impl From<LFXTIFG_A> for bool {
    #[inline(always)]
    fn from(variant: LFXTIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `LFXTIFG` reader - LFXT oscillator fault flag"]
pub type LFXTIFG_R = crate::BitReader<LFXTIFG_A>;
impl LFXTIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> LFXTIFG_A {
        match self.bits {
            false => LFXTIFG_A::LFXTIFG_0,
            true => LFXTIFG_A::LFXTIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `LFXTIFG_0`"]
    #[inline(always)]
    pub fn is_lfxtifg_0(&self) -> bool {
        *self == LFXTIFG_A::LFXTIFG_0
    }
    #[doc = "Checks if the value of the field is `LFXTIFG_1`"]
    #[inline(always)]
    pub fn is_lfxtifg_1(&self) -> bool {
        *self == LFXTIFG_A::LFXTIFG_1
    }
}
#[doc = "HFXT oscillator fault flag\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum HFXTIFG_A {
    #[doc = "0: No fault condition occurred after the last reset"]
    HFXTIFG_0 = 0,
    #[doc = "1: HFXT fault. A HFXT fault occurred after the last reset"]
    HFXTIFG_1 = 1,
}
impl From<HFXTIFG_A> for bool {
    #[inline(always)]
    fn from(variant: HFXTIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `HFXTIFG` reader - HFXT oscillator fault flag"]
pub type HFXTIFG_R = crate::BitReader<HFXTIFG_A>;
impl HFXTIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> HFXTIFG_A {
        match self.bits {
            false => HFXTIFG_A::HFXTIFG_0,
            true => HFXTIFG_A::HFXTIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `HFXTIFG_0`"]
    #[inline(always)]
    pub fn is_hfxtifg_0(&self) -> bool {
        *self == HFXTIFG_A::HFXTIFG_0
    }
    #[doc = "Checks if the value of the field is `HFXTIFG_1`"]
    #[inline(always)]
    pub fn is_hfxtifg_1(&self) -> bool {
        *self == HFXTIFG_A::HFXTIFG_1
    }
}
#[doc = "HFXT2 oscillator fault flag\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum HFXT2IFG_A {
    #[doc = "0: No fault condition occurred after the last reset"]
    HFXT2IFG_0 = 0,
    #[doc = "1: HFXT2 fault. A HFXT2 fault occurred after the last reset"]
    HFXT2IFG_1 = 1,
}
impl From<HFXT2IFG_A> for bool {
    #[inline(always)]
    fn from(variant: HFXT2IFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `HFXT2IFG` reader - HFXT2 oscillator fault flag"]
pub type HFXT2IFG_R = crate::BitReader<HFXT2IFG_A>;
impl HFXT2IFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> HFXT2IFG_A {
        match self.bits {
            false => HFXT2IFG_A::HFXT2IFG_0,
            true => HFXT2IFG_A::HFXT2IFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `HFXT2IFG_0`"]
    #[inline(always)]
    pub fn is_hfxt2ifg_0(&self) -> bool {
        *self == HFXT2IFG_A::HFXT2IFG_0
    }
    #[doc = "Checks if the value of the field is `HFXT2IFG_1`"]
    #[inline(always)]
    pub fn is_hfxt2ifg_1(&self) -> bool {
        *self == HFXT2IFG_A::HFXT2IFG_1
    }
}
#[doc = "DCO external resistor short circuit fault flag.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum DCOR_SHTIFG_A {
    #[doc = "0: DCO external resistor present"]
    DCOR_SHTIFG_0 = 0,
    #[doc = "1: DCO external resistor short circuit fault"]
    DCOR_SHTIFG_1 = 1,
}
impl From<DCOR_SHTIFG_A> for bool {
    #[inline(always)]
    fn from(variant: DCOR_SHTIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `DCOR_SHTIFG` reader - DCO external resistor short circuit fault flag."]
pub type DCOR_SHTIFG_R = crate::BitReader<DCOR_SHTIFG_A>;
impl DCOR_SHTIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> DCOR_SHTIFG_A {
        match self.bits {
            false => DCOR_SHTIFG_A::DCOR_SHTIFG_0,
            true => DCOR_SHTIFG_A::DCOR_SHTIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `DCOR_SHTIFG_0`"]
    #[inline(always)]
    pub fn is_dcor_shtifg_0(&self) -> bool {
        *self == DCOR_SHTIFG_A::DCOR_SHTIFG_0
    }
    #[doc = "Checks if the value of the field is `DCOR_SHTIFG_1`"]
    #[inline(always)]
    pub fn is_dcor_shtifg_1(&self) -> bool {
        *self == DCOR_SHTIFG_A::DCOR_SHTIFG_1
    }
}
#[doc = "DCO external resistor open circuit fault flag.\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum DCOR_OPNIFG_A {
    #[doc = "0: DCO external resistor present"]
    DCOR_OPNIFG_0 = 0,
    #[doc = "1: DCO external resistor open circuit fault"]
    DCOR_OPNIFG_1 = 1,
}
impl From<DCOR_OPNIFG_A> for bool {
    #[inline(always)]
    fn from(variant: DCOR_OPNIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `DCOR_OPNIFG` reader - DCO external resistor open circuit fault flag."]
pub type DCOR_OPNIFG_R = crate::BitReader<DCOR_OPNIFG_A>;
impl DCOR_OPNIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> DCOR_OPNIFG_A {
        match self.bits {
            false => DCOR_OPNIFG_A::DCOR_OPNIFG_0,
            true => DCOR_OPNIFG_A::DCOR_OPNIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `DCOR_OPNIFG_0`"]
    #[inline(always)]
    pub fn is_dcor_opnifg_0(&self) -> bool {
        *self == DCOR_OPNIFG_A::DCOR_OPNIFG_0
    }
    #[doc = "Checks if the value of the field is `DCOR_OPNIFG_1`"]
    #[inline(always)]
    pub fn is_dcor_opnifg_1(&self) -> bool {
        *self == DCOR_OPNIFG_A::DCOR_OPNIFG_1
    }
}
#[doc = "Start fault counter interrupt flag LFXT\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum FCNTLFIFG_A {
    #[doc = "0: Start counter not expired"]
    FCNTLFIFG_0 = 0,
    #[doc = "1: Start counter expired"]
    FCNTLFIFG_1 = 1,
}
impl From<FCNTLFIFG_A> for bool {
    #[inline(always)]
    fn from(variant: FCNTLFIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `FCNTLFIFG` reader - Start fault counter interrupt flag LFXT"]
pub type FCNTLFIFG_R = crate::BitReader<FCNTLFIFG_A>;
impl FCNTLFIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> FCNTLFIFG_A {
        match self.bits {
            false => FCNTLFIFG_A::FCNTLFIFG_0,
            true => FCNTLFIFG_A::FCNTLFIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `FCNTLFIFG_0`"]
    #[inline(always)]
    pub fn is_fcntlfifg_0(&self) -> bool {
        *self == FCNTLFIFG_A::FCNTLFIFG_0
    }
    #[doc = "Checks if the value of the field is `FCNTLFIFG_1`"]
    #[inline(always)]
    pub fn is_fcntlfifg_1(&self) -> bool {
        *self == FCNTLFIFG_A::FCNTLFIFG_1
    }
}
#[doc = "Start fault counter interrupt flag HFXT\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum FCNTHFIFG_A {
    #[doc = "0: Start counter not expired"]
    FCNTHFIFG_0 = 0,
    #[doc = "1: Start counter expired"]
    FCNTHFIFG_1 = 1,
}
impl From<FCNTHFIFG_A> for bool {
    #[inline(always)]
    fn from(variant: FCNTHFIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `FCNTHFIFG` reader - Start fault counter interrupt flag HFXT"]
pub type FCNTHFIFG_R = crate::BitReader<FCNTHFIFG_A>;
impl FCNTHFIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> FCNTHFIFG_A {
        match self.bits {
            false => FCNTHFIFG_A::FCNTHFIFG_0,
            true => FCNTHFIFG_A::FCNTHFIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `FCNTHFIFG_0`"]
    #[inline(always)]
    pub fn is_fcnthfifg_0(&self) -> bool {
        *self == FCNTHFIFG_A::FCNTHFIFG_0
    }
    #[doc = "Checks if the value of the field is `FCNTHFIFG_1`"]
    #[inline(always)]
    pub fn is_fcnthfifg_1(&self) -> bool {
        *self == FCNTHFIFG_A::FCNTHFIFG_1
    }
}
#[doc = "Start fault counter interrupt flag HFXT2\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum FCNTHF2IFG_A {
    #[doc = "0: Start counter not expired"]
    FCNTHF2IFG_0 = 0,
    #[doc = "1: Start counter expired"]
    FCNTHF2IFG_1 = 1,
}
impl From<FCNTHF2IFG_A> for bool {
    #[inline(always)]
    fn from(variant: FCNTHF2IFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `FCNTHF2IFG` reader - Start fault counter interrupt flag HFXT2"]
pub type FCNTHF2IFG_R = crate::BitReader<FCNTHF2IFG_A>;
impl FCNTHF2IFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> FCNTHF2IFG_A {
        match self.bits {
            false => FCNTHF2IFG_A::FCNTHF2IFG_0,
            true => FCNTHF2IFG_A::FCNTHF2IFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `FCNTHF2IFG_0`"]
    #[inline(always)]
    pub fn is_fcnthf2ifg_0(&self) -> bool {
        *self == FCNTHF2IFG_A::FCNTHF2IFG_0
    }
    #[doc = "Checks if the value of the field is `FCNTHF2IFG_1`"]
    #[inline(always)]
    pub fn is_fcnthf2ifg_1(&self) -> bool {
        *self == FCNTHF2IFG_A::FCNTHF2IFG_1
    }
}
#[doc = "PLL out-of-lock interrupt flag\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum PLLOOLIFG_A {
    #[doc = "0: No interrupt pending"]
    PLLOOLIFG_0 = 0,
    #[doc = "1: Interrupt pending"]
    PLLOOLIFG_1 = 1,
}
impl From<PLLOOLIFG_A> for bool {
    #[inline(always)]
    fn from(variant: PLLOOLIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `PLLOOLIFG` reader - PLL out-of-lock interrupt flag"]
pub type PLLOOLIFG_R = crate::BitReader<PLLOOLIFG_A>;
impl PLLOOLIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> PLLOOLIFG_A {
        match self.bits {
            false => PLLOOLIFG_A::PLLOOLIFG_0,
            true => PLLOOLIFG_A::PLLOOLIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `PLLOOLIFG_0`"]
    #[inline(always)]
    pub fn is_plloolifg_0(&self) -> bool {
        *self == PLLOOLIFG_A::PLLOOLIFG_0
    }
    #[doc = "Checks if the value of the field is `PLLOOLIFG_1`"]
    #[inline(always)]
    pub fn is_plloolifg_1(&self) -> bool {
        *self == PLLOOLIFG_A::PLLOOLIFG_1
    }
}
#[doc = "PLL loss-of-signal interrupt flag\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum PLLLOSIFG_A {
    #[doc = "0: No interrupt pending"]
    PLLLOSIFG_0 = 0,
    #[doc = "1: Interrupt pending"]
    PLLLOSIFG_1 = 1,
}
impl From<PLLLOSIFG_A> for bool {
    #[inline(always)]
    fn from(variant: PLLLOSIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `PLLLOSIFG` reader - PLL loss-of-signal interrupt flag"]
pub type PLLLOSIFG_R = crate::BitReader<PLLLOSIFG_A>;
impl PLLLOSIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> PLLLOSIFG_A {
        match self.bits {
            false => PLLLOSIFG_A::PLLLOSIFG_0,
            true => PLLLOSIFG_A::PLLLOSIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `PLLLOSIFG_0`"]
    #[inline(always)]
    pub fn is_plllosifg_0(&self) -> bool {
        *self == PLLLOSIFG_A::PLLLOSIFG_0
    }
    #[doc = "Checks if the value of the field is `PLLLOSIFG_1`"]
    #[inline(always)]
    pub fn is_plllosifg_1(&self) -> bool {
        *self == PLLLOSIFG_A::PLLLOSIFG_1
    }
}
#[doc = "PLL out-of-range interrupt flag\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum PLLOORIFG_A {
    #[doc = "0: No interrupt pending"]
    PLLOORIFG_0 = 0,
    #[doc = "1: Interrupt pending"]
    PLLOORIFG_1 = 1,
}
impl From<PLLOORIFG_A> for bool {
    #[inline(always)]
    fn from(variant: PLLOORIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `PLLOORIFG` reader - PLL out-of-range interrupt flag"]
pub type PLLOORIFG_R = crate::BitReader<PLLOORIFG_A>;
impl PLLOORIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> PLLOORIFG_A {
        match self.bits {
            false => PLLOORIFG_A::PLLOORIFG_0,
            true => PLLOORIFG_A::PLLOORIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `PLLOORIFG_0`"]
    #[inline(always)]
    pub fn is_plloorifg_0(&self) -> bool {
        *self == PLLOORIFG_A::PLLOORIFG_0
    }
    #[doc = "Checks if the value of the field is `PLLOORIFG_1`"]
    #[inline(always)]
    pub fn is_plloorifg_1(&self) -> bool {
        *self == PLLOORIFG_A::PLLOORIFG_1
    }
}
#[doc = "REFCNT period counter expired\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum CALIFG_A {
    #[doc = "0: REFCNT period counter not expired"]
    CALIFG_0 = 0,
    #[doc = "1: REFCNT period counter expired"]
    CALIFG_1 = 1,
}
impl From<CALIFG_A> for bool {
    #[inline(always)]
    fn from(variant: CALIFG_A) -> Self {
        variant as u8 != 0
    }
}
#[doc = "Field `CALIFG` reader - REFCNT period counter expired"]
pub type CALIFG_R = crate::BitReader<CALIFG_A>;
impl CALIFG_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> CALIFG_A {
        match self.bits {
            false => CALIFG_A::CALIFG_0,
            true => CALIFG_A::CALIFG_1,
        }
    }
    #[doc = "Checks if the value of the field is `CALIFG_0`"]
    #[inline(always)]
    pub fn is_califg_0(&self) -> bool {
        *self == CALIFG_A::CALIFG_0
    }
    #[doc = "Checks if the value of the field is `CALIFG_1`"]
    #[inline(always)]
    pub fn is_califg_1(&self) -> bool {
        *self == CALIFG_A::CALIFG_1
    }
}
impl R {
    #[doc = "Bit 0 - LFXT oscillator fault flag"]
    #[inline(always)]
    pub fn lfxtifg(&self) -> LFXTIFG_R {
        LFXTIFG_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - HFXT oscillator fault flag"]
    #[inline(always)]
    pub fn hfxtifg(&self) -> HFXTIFG_R {
        HFXTIFG_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - HFXT2 oscillator fault flag"]
    #[inline(always)]
    pub fn hfxt2ifg(&self) -> HFXT2IFG_R {
        HFXT2IFG_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 5 - DCO external resistor short circuit fault flag."]
    #[inline(always)]
    pub fn dcor_shtifg(&self) -> DCOR_SHTIFG_R {
        DCOR_SHTIFG_R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - DCO external resistor open circuit fault flag."]
    #[inline(always)]
    pub fn dcor_opnifg(&self) -> DCOR_OPNIFG_R {
        DCOR_OPNIFG_R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 8 - Start fault counter interrupt flag LFXT"]
    #[inline(always)]
    pub fn fcntlfifg(&self) -> FCNTLFIFG_R {
        FCNTLFIFG_R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - Start fault counter interrupt flag HFXT"]
    #[inline(always)]
    pub fn fcnthfifg(&self) -> FCNTHFIFG_R {
        FCNTHFIFG_R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 11 - Start fault counter interrupt flag HFXT2"]
    #[inline(always)]
    pub fn fcnthf2ifg(&self) -> FCNTHF2IFG_R {
        FCNTHF2IFG_R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - PLL out-of-lock interrupt flag"]
    #[inline(always)]
    pub fn plloolifg(&self) -> PLLOOLIFG_R {
        PLLOOLIFG_R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - PLL loss-of-signal interrupt flag"]
    #[inline(always)]
    pub fn plllosifg(&self) -> PLLLOSIFG_R {
        PLLLOSIFG_R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - PLL out-of-range interrupt flag"]
    #[inline(always)]
    pub fn plloorifg(&self) -> PLLOORIFG_R {
        PLLOORIFG_R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - REFCNT period counter expired"]
    #[inline(always)]
    pub fn califg(&self) -> CALIFG_R {
        CALIFG_R::new(((self.bits >> 15) & 1) != 0)
    }
}
#[doc = "Interrupt Flag Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [csifg](index.html) module"]
pub struct CSIFG_SPEC;
impl crate::RegisterSpec for CSIFG_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [csifg::R](R) reader structure"]
impl crate::Readable for CSIFG_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets CSIFG to value 0x01"]
impl crate::Resettable for CSIFG_SPEC {
    #[inline(always)]
    fn reset_value() -> Self::Ux {
        0x01
    }
}