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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
#[doc = "Register `LOW` reader"]
pub struct R(crate::R<LOW_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<LOW_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<LOW_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<LOW_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Register `LOW` writer"]
pub struct W(crate::W<LOW_SPEC>);
impl core::ops::Deref for W {
    type Target = crate::W<LOW_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl core::ops::DerefMut for W {
    #[inline(always)]
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}
impl From<crate::W<LOW_SPEC>> for W {
    #[inline(always)]
    fn from(writer: crate::W<LOW_SPEC>) -> Self {
        W(writer)
    }
}
#[doc = "Field `SUT_CKSEL` reader - Select Clock Source"]
pub type SUT_CKSEL_R = crate::FieldReader<u8, SUT_CKSEL_A>;
#[doc = "Select Clock Source\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[repr(u8)]
pub enum SUT_CKSEL_A {
    #[doc = "0: Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms"]
    EXTCLK_6CK_14CK_0MS = 0,
    #[doc = "2: Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms"]
    INTRCOSC_8MHZ_6CK_14CK_0MS = 2,
    #[doc = "3: Int. RC Osc. 128kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms"]
    INTRCOSC_128KHZ_6CK_14CK_0MS = 3,
    #[doc = "4: Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1K CK/14 CK + 0 ms"]
    EXTLOFXTAL_1KCK_14CK_0MS = 4,
    #[doc = "5: Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 32K CK/14 CK + 0 ms"]
    EXTLOFXTAL_32KCK_14CK_0MS = 5,
    #[doc = "6: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    EXTFSXTAL_258CK_14CK_4MS1 = 6,
    #[doc = "7: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    EXTFSXTAL_1KCK_14CK_65MS = 7,
    #[doc = "8: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_4MS1 = 8,
    #[doc = "9: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_65MS = 9,
    #[doc = "10: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    EXTXOSC_0MHZ9_3MHZ_258CK_14CK_4MS1 = 10,
    #[doc = "11: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_65MS = 11,
    #[doc = "12: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    EXTXOSC_3MHZ_8MHZ_258CK_14CK_4MS1 = 12,
    #[doc = "13: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    EXTXOSC_3MHZ_8MHZ_1KCK_14CK_65MS = 13,
    #[doc = "14: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    EXTXOSC_8MHZ_XX_258CK_14CK_4MS1 = 14,
    #[doc = "15: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    EXTXOSC_8MHZ_XX_1KCK_14CK_65MS = 15,
    #[doc = "16: Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4.1 ms"]
    EXTCLK_6CK_14CK_4MS1 = 16,
    #[doc = "18: Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4.1 ms"]
    INTRCOSC_8MHZ_6CK_14CK_4MS1 = 18,
    #[doc = "19: Int. RC Osc. 128kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4.1 ms"]
    INTRCOSC_128KHZ_6CK_14CK_4MS1 = 19,
    #[doc = "20: Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1K CK/14 CK + 4.1 ms"]
    EXTLOFXTAL_1KCK_14CK_4MS1 = 20,
    #[doc = "21: Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 32K CK/14 CK + 4.1 ms"]
    EXTLOFXTAL_32KCK_14CK_4MS1 = 21,
    #[doc = "22: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    EXTFSXTAL_258CK_14CK_65MS = 22,
    #[doc = "23: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    EXTFSXTAL_16KCK_14CK_0MS = 23,
    #[doc = "24: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_65MS = 24,
    #[doc = "25: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_0MS = 25,
    #[doc = "26: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    EXTXOSC_0MHZ9_3MHZ_258CK_14CK_65MS = 26,
    #[doc = "27: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_0MS = 27,
    #[doc = "28: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    EXTXOSC_3MHZ_8MHZ_258CK_14CK_65MS = 28,
    #[doc = "29: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    EXTXOSC_3MHZ_8MHZ_16KCK_14CK_0MS = 29,
    #[doc = "30: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    EXTXOSC_8MHZ_XX_258CK_14CK_65MS = 30,
    #[doc = "31: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    EXTXOSC_8MHZ_XX_16KCK_14CK_0MS = 31,
    #[doc = "32: Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 65 ms"]
    EXTCLK_6CK_14CK_65MS = 32,
    #[doc = "34: Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 65 ms"]
    INTRCOSC_8MHZ_6CK_14CK_65MS = 34,
    #[doc = "35: Int. RC Osc. 128kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 65 ms"]
    INTRCOSC_128KHZ_6CK_14CK_65MS = 35,
    #[doc = "36: Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1K CK/14 CK + 65 ms"]
    EXTLOFXTAL_1KCK_14CK_65MS = 36,
    #[doc = "37: Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 32K CK/14 CK + 65 ms"]
    EXTLOFXTAL_32KCK_14CK_65MS = 37,
    #[doc = "38: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    EXTFSXTAL_1KCK_14CK_0MS = 38,
    #[doc = "39: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    EXTFSXTAL_16KCK_14CK_4MS1 = 39,
    #[doc = "40: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_0MS = 40,
    #[doc = "41: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_4MS1 = 41,
    #[doc = "42: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_0MS = 42,
    #[doc = "43: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_4MS1 = 43,
    #[doc = "44: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    EXTXOSC_3MHZ_8MHZ_1KCK_14CK_0MS = 44,
    #[doc = "45: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    EXTXOSC_3MHZ_8MHZ_16KCK_14CK_4MS1 = 45,
    #[doc = "46: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    EXTXOSC_8MHZ_XX_1KCK_14CK_0MS = 46,
    #[doc = "47: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    EXTXOSC_8MHZ_XX_16KCK_14CK_4MS1 = 47,
    #[doc = "54: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    EXTFSXTAL_1KCK_14CK_4MS1 = 54,
    #[doc = "55: Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    EXTFSXTAL_16KCK_14CK_65MS = 55,
    #[doc = "56: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_4MS1 = 56,
    #[doc = "57: Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_65MS = 57,
    #[doc = "58: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_4MS1 = 58,
    #[doc = "59: Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_65MS = 59,
    #[doc = "60: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    EXTXOSC_3MHZ_8MHZ_1KCK_14CK_4MS1 = 60,
    #[doc = "61: Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    EXTXOSC_3MHZ_8MHZ_16KCK_14CK_65MS = 61,
    #[doc = "62: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    EXTXOSC_8MHZ_XX_1KCK_14CK_4MS1 = 62,
    #[doc = "63: Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    EXTXOSC_8MHZ_XX_16KCK_14CK_65MS = 63,
}
impl From<SUT_CKSEL_A> for u8 {
    #[inline(always)]
    fn from(variant: SUT_CKSEL_A) -> Self {
        variant as _
    }
}
impl SUT_CKSEL_R {
    #[doc = "Get enumerated values variant"]
    #[inline(always)]
    pub fn variant(&self) -> Option<SUT_CKSEL_A> {
        match self.bits {
            0 => Some(SUT_CKSEL_A::EXTCLK_6CK_14CK_0MS),
            2 => Some(SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_0MS),
            3 => Some(SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_0MS),
            4 => Some(SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_0MS),
            5 => Some(SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_0MS),
            6 => Some(SUT_CKSEL_A::EXTFSXTAL_258CK_14CK_4MS1),
            7 => Some(SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_65MS),
            8 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_4MS1),
            9 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_65MS),
            10 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_258CK_14CK_4MS1),
            11 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_65MS),
            12 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_258CK_14CK_4MS1),
            13 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_65MS),
            14 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_258CK_14CK_4MS1),
            15 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_65MS),
            16 => Some(SUT_CKSEL_A::EXTCLK_6CK_14CK_4MS1),
            18 => Some(SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_4MS1),
            19 => Some(SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_4MS1),
            20 => Some(SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_4MS1),
            21 => Some(SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_4MS1),
            22 => Some(SUT_CKSEL_A::EXTFSXTAL_258CK_14CK_65MS),
            23 => Some(SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_0MS),
            24 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_65MS),
            25 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_0MS),
            26 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_258CK_14CK_65MS),
            27 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_0MS),
            28 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_258CK_14CK_65MS),
            29 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_0MS),
            30 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_258CK_14CK_65MS),
            31 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_0MS),
            32 => Some(SUT_CKSEL_A::EXTCLK_6CK_14CK_65MS),
            34 => Some(SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_65MS),
            35 => Some(SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_65MS),
            36 => Some(SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_65MS),
            37 => Some(SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_65MS),
            38 => Some(SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_0MS),
            39 => Some(SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_4MS1),
            40 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_0MS),
            41 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_4MS1),
            42 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_0MS),
            43 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_4MS1),
            44 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_0MS),
            45 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_4MS1),
            46 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_0MS),
            47 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_4MS1),
            54 => Some(SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_4MS1),
            55 => Some(SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_65MS),
            56 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_4MS1),
            57 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_65MS),
            58 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_4MS1),
            59 => Some(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_65MS),
            60 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_4MS1),
            61 => Some(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_65MS),
            62 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_4MS1),
            63 => Some(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_65MS),
            _ => None,
        }
    }
    #[doc = "Checks if the value of the field is `EXTCLK_6CK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extclk_6ck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTCLK_6CK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `INTRCOSC_8MHZ_6CK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_intrcosc_8mhz_6ck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `INTRCOSC_128KHZ_6CK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_intrcosc_128khz_6ck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTLOFXTAL_1KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extlofxtal_1kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTLOFXTAL_32KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extlofxtal_32kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_258CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extfsxtal_258ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_258CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_1KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extfsxtal_1kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_258ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_1kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_258CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_258ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_258CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_1kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_258CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_258ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_258CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_1KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_1kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_258CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_258ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_258CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_1KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_1kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTCLK_6CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extclk_6ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTCLK_6CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `INTRCOSC_8MHZ_6CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_intrcosc_8mhz_6ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `INTRCOSC_128KHZ_6CK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_intrcosc_128khz_6ck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTLOFXTAL_1KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extlofxtal_1kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTLOFXTAL_32KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extlofxtal_32kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_258CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extfsxtal_258ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_258CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_16KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extfsxtal_16kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_258ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_16kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_258CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_258ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_258CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_16kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_258CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_258ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_258CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_16KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_16kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_258CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_258ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_258CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_16KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_16kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTCLK_6CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extclk_6ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTCLK_6CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `INTRCOSC_8MHZ_6CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_intrcosc_8mhz_6ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `INTRCOSC_128KHZ_6CK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_intrcosc_128khz_6ck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTLOFXTAL_1KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extlofxtal_1kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTLOFXTAL_32KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extlofxtal_32kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_1KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extfsxtal_1kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_16KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extfsxtal_16kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_1kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_16kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_1kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_16kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_1KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_1kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_16KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_16kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_1KCK_14CK_0MS`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_1kck_14ck_0ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_0MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_16KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_16kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_1KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extfsxtal_1kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTFSXTAL_16KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extfsxtal_16kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_1kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz4_0mhz9_16kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_1kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_0mhz9_3mhz_16kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_1KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_1kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_3MHZ_8MHZ_16KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_3mhz_8mhz_16kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_65MS
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_1KCK_14CK_4MS1`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_1kck_14ck_4ms1(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_4MS1
    }
    #[doc = "Checks if the value of the field is `EXTXOSC_8MHZ_XX_16KCK_14CK_65MS`"]
    #[inline(always)]
    pub fn is_extxosc_8mhz_xx_16kck_14ck_65ms(&self) -> bool {
        *self == SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_65MS
    }
}
#[doc = "Field `SUT_CKSEL` writer - Select Clock Source"]
pub type SUT_CKSEL_W<'a, const O: u8> = crate::FieldWriter<'a, u8, LOW_SPEC, u8, SUT_CKSEL_A, 6, O>;
impl<'a, const O: u8> SUT_CKSEL_W<'a, O> {
    #[doc = "Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extclk_6ck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTCLK_6CK_14CK_0MS)
    }
    #[doc = "Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn intrcosc_8mhz_6ck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_0MS)
    }
    #[doc = "Int. RC Osc. 128kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn intrcosc_128khz_6ck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_0MS)
    }
    #[doc = "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1K CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extlofxtal_1kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_0MS)
    }
    #[doc = "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 32K CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extlofxtal_32kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_0MS)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extfsxtal_258ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_258CK_14CK_4MS1)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    #[inline(always)]
    pub fn extfsxtal_1kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_258ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_1kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_258ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_258CK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_1kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_258ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_258CK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_1kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_258ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_258CK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_1kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_65MS)
    }
    #[doc = "Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extclk_6ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTCLK_6CK_14CK_4MS1)
    }
    #[doc = "Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn intrcosc_8mhz_6ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_4MS1)
    }
    #[doc = "Int. RC Osc. 128kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn intrcosc_128khz_6ck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_4MS1)
    }
    #[doc = "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1K CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extlofxtal_1kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_4MS1)
    }
    #[doc = "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 32K CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extlofxtal_32kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_4MS1)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extfsxtal_258ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_258CK_14CK_65MS)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extfsxtal_16kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_258ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_258CK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_16kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_258ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_258CK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_16kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_258ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_258CK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_16kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 258 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_258ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_258CK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_16kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_0MS)
    }
    #[doc = "Ext. Clock; Start-up time PWRDWN/RESET: 6 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extclk_6ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTCLK_6CK_14CK_65MS)
    }
    #[doc = "Int. RC Osc. 8 MHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn intrcosc_8mhz_6ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::INTRCOSC_8MHZ_6CK_14CK_65MS)
    }
    #[doc = "Int. RC Osc. 128kHz; Start-up time PWRDWN/RESET: 6 CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn intrcosc_128khz_6ck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::INTRCOSC_128KHZ_6CK_14CK_65MS)
    }
    #[doc = "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 1K CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extlofxtal_1kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTLOFXTAL_1KCK_14CK_65MS)
    }
    #[doc = "Ext. Low-Freq. Crystal; Start-up time PWRDWN/RESET: 32K CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extlofxtal_32kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTLOFXTAL_32KCK_14CK_65MS)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    #[inline(always)]
    pub fn extfsxtal_1kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_0MS)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extfsxtal_16kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_1kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_16kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_1kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_16kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_1kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_16kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 0 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_1kck_14ck_0ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_0MS)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_16kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_4MS1)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extfsxtal_1kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_1KCK_14CK_4MS1)
    }
    #[doc = "Ext. Full-swing Crystal; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extfsxtal_16kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTFSXTAL_16KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_1kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_1KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 0.4-0.9 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz4_0mhz9_16kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ4_0MHZ9_16KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_1kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_1KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 0.9-3.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_0mhz9_3mhz_16kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_0MHZ9_3MHZ_16KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_1kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_1KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 3.0-8.0 MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_3mhz_8mhz_16kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_3MHZ_8MHZ_16KCK_14CK_65MS)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 1K CK /14 CK + 4.1 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_1kck_14ck_4ms1(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_1KCK_14CK_4MS1)
    }
    #[doc = "Ext. Crystal Osc. 8.0- MHz; Start-up time PWRDWN/RESET: 16K CK/14 CK + 65 ms"]
    #[inline(always)]
    pub fn extxosc_8mhz_xx_16kck_14ck_65ms(self) -> &'a mut W {
        self.variant(SUT_CKSEL_A::EXTXOSC_8MHZ_XX_16KCK_14CK_65MS)
    }
}
#[doc = "Field `CKOUT` reader - Clock output on PORTB0"]
pub type CKOUT_R = crate::BitReader<bool>;
#[doc = "Field `CKOUT` writer - Clock output on PORTB0"]
pub type CKOUT_W<'a, const O: u8> = crate::BitWriter<'a, u8, LOW_SPEC, bool, O>;
#[doc = "Field `CKDIV8` reader - Divide clock by 8 internally"]
pub type CKDIV8_R = crate::BitReader<bool>;
#[doc = "Field `CKDIV8` writer - Divide clock by 8 internally"]
pub type CKDIV8_W<'a, const O: u8> = crate::BitWriter<'a, u8, LOW_SPEC, bool, O>;
impl R {
    #[doc = "Bits 0:5 - Select Clock Source"]
    #[inline(always)]
    pub fn sut_cksel(&self) -> SUT_CKSEL_R {
        SUT_CKSEL_R::new(self.bits & 0x3f)
    }
    #[doc = "Bit 6 - Clock output on PORTB0"]
    #[inline(always)]
    pub fn ckout(&self) -> CKOUT_R {
        CKOUT_R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - Divide clock by 8 internally"]
    #[inline(always)]
    pub fn ckdiv8(&self) -> CKDIV8_R {
        CKDIV8_R::new(((self.bits >> 7) & 1) != 0)
    }
}
impl W {
    #[doc = "Bits 0:5 - Select Clock Source"]
    #[inline(always)]
    #[must_use]
    pub fn sut_cksel(&mut self) -> SUT_CKSEL_W<0> {
        SUT_CKSEL_W::new(self)
    }
    #[doc = "Bit 6 - Clock output on PORTB0"]
    #[inline(always)]
    #[must_use]
    pub fn ckout(&mut self) -> CKOUT_W<6> {
        CKOUT_W::new(self)
    }
    #[doc = "Bit 7 - Divide clock by 8 internally"]
    #[inline(always)]
    #[must_use]
    pub fn ckdiv8(&mut self) -> CKDIV8_W<7> {
        CKDIV8_W::new(self)
    }
    #[doc = "Writes raw bits to the register."]
    #[inline(always)]
    pub unsafe fn bits(&mut self, bits: u8) -> &mut Self {
        self.0.bits(bits);
        self
    }
}
#[doc = "No Description.\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 [low](index.html) module"]
pub struct LOW_SPEC;
impl crate::RegisterSpec for LOW_SPEC {
    type Ux = u8;
}
#[doc = "`read()` method returns [low::R](R) reader structure"]
impl crate::Readable for LOW_SPEC {
    type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [low::W](W) writer structure"]
impl crate::Writable for LOW_SPEC {
    type Writer = W;
    const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
    const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
}
#[doc = "`reset()` method sets LOW to value 0"]
impl crate::Resettable for LOW_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}