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
#[doc = r"Register block"]
#[repr(C)]
#[cfg_attr(feature = "impl-register-debug", derive(Debug))]
pub struct RegisterBlock {
    ch_conf0: (),
    _reserved1: [u8; 0x04],
    ch_hpoint: (),
    _reserved2: [u8; 0x04],
    ch_duty: (),
    _reserved3: [u8; 0x04],
    ch_conf1: (),
    _reserved4: [u8; 0x04],
    ch_duty_r: (),
    _reserved5: [u8; 0x90],
    timer_conf: (),
    _reserved6: [u8; 0x04],
    timer_value: (),
    _reserved7: [u8; 0x1c],
    int_raw: INT_RAW,
    int_st: INT_ST,
    int_ena: INT_ENA,
    int_clr: INT_CLR,
    _reserved11: [u8; 0x30],
    ch_gamma_wr: (),
    _reserved12: [u8; 0x04],
    ch_gamma_wr_addr: (),
    _reserved13: [u8; 0x04],
    ch_gamma_rd_addr: (),
    _reserved14: [u8; 0x04],
    ch_gamma_rd_data: (),
    _reserved15: [u8; 0x74],
    ch_gamma_conf: [CH_GAMMA_CONF; 6],
    _reserved16: [u8; 0x08],
    evt_task_en0: EVT_TASK_EN0,
    evt_task_en1: EVT_TASK_EN1,
    evt_task_en2: EVT_TASK_EN2,
    _reserved19: [u8; 0x04],
    timer_cmp: [TIMER_CMP; 4],
    timer_cnt_cap: [TIMER_CNT_CAP; 4],
    _reserved21: [u8; 0x20],
    conf: CONF,
    _reserved22: [u8; 0x08],
    date: DATE,
}
impl RegisterBlock {
    #[doc = "0x00..0x18 - Configuration register 0 for channel %s"]
    #[inline(always)]
    pub const fn ch_conf0(&self, n: usize) -> &CH_CONF0 {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe { &*(self as *const Self).cast::<u8>().add(0).add(20 * n).cast() }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x00..0x18 - Configuration register 0 for channel %s"]
    #[inline(always)]
    pub fn ch_conf0_iter(&self) -> impl Iterator<Item = &CH_CONF0> {
        (0..6).map(|n| unsafe { &*(self as *const Self).cast::<u8>().add(0).add(20 * n).cast() })
    }
    #[doc = "0x00 - Configuration register 0 for channel 0"]
    #[inline(always)]
    pub const fn ch0_conf0(&self) -> &CH_CONF0 {
        self.ch_conf0(0)
    }
    #[doc = "0x14 - Configuration register 0 for channel 1"]
    #[inline(always)]
    pub const fn ch1_conf0(&self) -> &CH_CONF0 {
        self.ch_conf0(1)
    }
    #[doc = "0x28 - Configuration register 0 for channel 2"]
    #[inline(always)]
    pub const fn ch2_conf0(&self) -> &CH_CONF0 {
        self.ch_conf0(2)
    }
    #[doc = "0x3c - Configuration register 0 for channel 3"]
    #[inline(always)]
    pub const fn ch3_conf0(&self) -> &CH_CONF0 {
        self.ch_conf0(3)
    }
    #[doc = "0x50 - Configuration register 0 for channel 4"]
    #[inline(always)]
    pub const fn ch4_conf0(&self) -> &CH_CONF0 {
        self.ch_conf0(4)
    }
    #[doc = "0x64 - Configuration register 0 for channel 5"]
    #[inline(always)]
    pub const fn ch5_conf0(&self) -> &CH_CONF0 {
        self.ch_conf0(5)
    }
    #[doc = "0x04..0x1c - High point register for channel %s"]
    #[inline(always)]
    pub const fn ch_hpoint(&self, n: usize) -> &CH_HPOINT {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe { &*(self as *const Self).cast::<u8>().add(4).add(20 * n).cast() }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x04..0x1c - High point register for channel %s"]
    #[inline(always)]
    pub fn ch_hpoint_iter(&self) -> impl Iterator<Item = &CH_HPOINT> {
        (0..6).map(|n| unsafe { &*(self as *const Self).cast::<u8>().add(4).add(20 * n).cast() })
    }
    #[doc = "0x04 - High point register for channel 0"]
    #[inline(always)]
    pub const fn ch0_hpoint(&self) -> &CH_HPOINT {
        self.ch_hpoint(0)
    }
    #[doc = "0x18 - High point register for channel 1"]
    #[inline(always)]
    pub const fn ch1_hpoint(&self) -> &CH_HPOINT {
        self.ch_hpoint(1)
    }
    #[doc = "0x2c - High point register for channel 2"]
    #[inline(always)]
    pub const fn ch2_hpoint(&self) -> &CH_HPOINT {
        self.ch_hpoint(2)
    }
    #[doc = "0x40 - High point register for channel 3"]
    #[inline(always)]
    pub const fn ch3_hpoint(&self) -> &CH_HPOINT {
        self.ch_hpoint(3)
    }
    #[doc = "0x54 - High point register for channel 4"]
    #[inline(always)]
    pub const fn ch4_hpoint(&self) -> &CH_HPOINT {
        self.ch_hpoint(4)
    }
    #[doc = "0x68 - High point register for channel 5"]
    #[inline(always)]
    pub const fn ch5_hpoint(&self) -> &CH_HPOINT {
        self.ch_hpoint(5)
    }
    #[doc = "0x08..0x20 - Initial duty cycle for channel %s"]
    #[inline(always)]
    pub const fn ch_duty(&self, n: usize) -> &CH_DUTY {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe { &*(self as *const Self).cast::<u8>().add(8).add(20 * n).cast() }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x08..0x20 - Initial duty cycle for channel %s"]
    #[inline(always)]
    pub fn ch_duty_iter(&self) -> impl Iterator<Item = &CH_DUTY> {
        (0..6).map(|n| unsafe { &*(self as *const Self).cast::<u8>().add(8).add(20 * n).cast() })
    }
    #[doc = "0x08 - Initial duty cycle for channel 0"]
    #[inline(always)]
    pub const fn ch0_duty(&self) -> &CH_DUTY {
        self.ch_duty(0)
    }
    #[doc = "0x1c - Initial duty cycle for channel 1"]
    #[inline(always)]
    pub const fn ch1_duty(&self) -> &CH_DUTY {
        self.ch_duty(1)
    }
    #[doc = "0x30 - Initial duty cycle for channel 2"]
    #[inline(always)]
    pub const fn ch2_duty(&self) -> &CH_DUTY {
        self.ch_duty(2)
    }
    #[doc = "0x44 - Initial duty cycle for channel 3"]
    #[inline(always)]
    pub const fn ch3_duty(&self) -> &CH_DUTY {
        self.ch_duty(3)
    }
    #[doc = "0x58 - Initial duty cycle for channel 4"]
    #[inline(always)]
    pub const fn ch4_duty(&self) -> &CH_DUTY {
        self.ch_duty(4)
    }
    #[doc = "0x6c - Initial duty cycle for channel 5"]
    #[inline(always)]
    pub const fn ch5_duty(&self) -> &CH_DUTY {
        self.ch_duty(5)
    }
    #[doc = "0x0c..0x24 - Configuration register 1 for channel %s"]
    #[inline(always)]
    pub const fn ch_conf1(&self, n: usize) -> &CH_CONF1 {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(12)
                .add(20 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x0c..0x24 - Configuration register 1 for channel %s"]
    #[inline(always)]
    pub fn ch_conf1_iter(&self) -> impl Iterator<Item = &CH_CONF1> {
        (0..6).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(12)
                .add(20 * n)
                .cast()
        })
    }
    #[doc = "0x0c - Configuration register 1 for channel 0"]
    #[inline(always)]
    pub const fn ch0_conf1(&self) -> &CH_CONF1 {
        self.ch_conf1(0)
    }
    #[doc = "0x20 - Configuration register 1 for channel 1"]
    #[inline(always)]
    pub const fn ch1_conf1(&self) -> &CH_CONF1 {
        self.ch_conf1(1)
    }
    #[doc = "0x34 - Configuration register 1 for channel 2"]
    #[inline(always)]
    pub const fn ch2_conf1(&self) -> &CH_CONF1 {
        self.ch_conf1(2)
    }
    #[doc = "0x48 - Configuration register 1 for channel 3"]
    #[inline(always)]
    pub const fn ch3_conf1(&self) -> &CH_CONF1 {
        self.ch_conf1(3)
    }
    #[doc = "0x5c - Configuration register 1 for channel 4"]
    #[inline(always)]
    pub const fn ch4_conf1(&self) -> &CH_CONF1 {
        self.ch_conf1(4)
    }
    #[doc = "0x70 - Configuration register 1 for channel 5"]
    #[inline(always)]
    pub const fn ch5_conf1(&self) -> &CH_CONF1 {
        self.ch_conf1(5)
    }
    #[doc = "0x10..0x28 - Current duty cycle for channel %s"]
    #[inline(always)]
    pub const fn ch_duty_r(&self, n: usize) -> &CH_DUTY_R {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(16)
                .add(20 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x10..0x28 - Current duty cycle for channel %s"]
    #[inline(always)]
    pub fn ch_duty_r_iter(&self) -> impl Iterator<Item = &CH_DUTY_R> {
        (0..6).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(16)
                .add(20 * n)
                .cast()
        })
    }
    #[doc = "0x10 - Current duty cycle for channel 0"]
    #[inline(always)]
    pub const fn ch0_duty_r(&self) -> &CH_DUTY_R {
        self.ch_duty_r(0)
    }
    #[doc = "0x24 - Current duty cycle for channel 1"]
    #[inline(always)]
    pub const fn ch1_duty_r(&self) -> &CH_DUTY_R {
        self.ch_duty_r(1)
    }
    #[doc = "0x38 - Current duty cycle for channel 2"]
    #[inline(always)]
    pub const fn ch2_duty_r(&self) -> &CH_DUTY_R {
        self.ch_duty_r(2)
    }
    #[doc = "0x4c - Current duty cycle for channel 3"]
    #[inline(always)]
    pub const fn ch3_duty_r(&self) -> &CH_DUTY_R {
        self.ch_duty_r(3)
    }
    #[doc = "0x60 - Current duty cycle for channel 4"]
    #[inline(always)]
    pub const fn ch4_duty_r(&self) -> &CH_DUTY_R {
        self.ch_duty_r(4)
    }
    #[doc = "0x74 - Current duty cycle for channel 5"]
    #[inline(always)]
    pub const fn ch5_duty_r(&self) -> &CH_DUTY_R {
        self.ch_duty_r(5)
    }
    #[doc = "0xa0..0xb0 - Timer %s configuration"]
    #[inline(always)]
    pub const fn timer_conf(&self, n: usize) -> &TIMER_CONF {
        #[allow(clippy::no_effect)]
        [(); 4][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(160)
                .add(8 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0xa0..0xb0 - Timer %s configuration"]
    #[inline(always)]
    pub fn timer_conf_iter(&self) -> impl Iterator<Item = &TIMER_CONF> {
        (0..4).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(160)
                .add(8 * n)
                .cast()
        })
    }
    #[doc = "0xa0 - Timer 0 configuration"]
    #[inline(always)]
    pub const fn timer0_conf(&self) -> &TIMER_CONF {
        self.timer_conf(0)
    }
    #[doc = "0xa8 - Timer 1 configuration"]
    #[inline(always)]
    pub const fn timer1_conf(&self) -> &TIMER_CONF {
        self.timer_conf(1)
    }
    #[doc = "0xb0 - Timer 2 configuration"]
    #[inline(always)]
    pub const fn timer2_conf(&self) -> &TIMER_CONF {
        self.timer_conf(2)
    }
    #[doc = "0xb8 - Timer 3 configuration"]
    #[inline(always)]
    pub const fn timer3_conf(&self) -> &TIMER_CONF {
        self.timer_conf(3)
    }
    #[doc = "0xa4..0xb4 - Timer %s current counter value"]
    #[inline(always)]
    pub const fn timer_value(&self, n: usize) -> &TIMER_VALUE {
        #[allow(clippy::no_effect)]
        [(); 4][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(164)
                .add(8 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0xa4..0xb4 - Timer %s current counter value"]
    #[inline(always)]
    pub fn timer_value_iter(&self) -> impl Iterator<Item = &TIMER_VALUE> {
        (0..4).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(164)
                .add(8 * n)
                .cast()
        })
    }
    #[doc = "0xa4 - Timer 0 current counter value"]
    #[inline(always)]
    pub const fn timer0_value(&self) -> &TIMER_VALUE {
        self.timer_value(0)
    }
    #[doc = "0xac - Timer 1 current counter value"]
    #[inline(always)]
    pub const fn timer1_value(&self) -> &TIMER_VALUE {
        self.timer_value(1)
    }
    #[doc = "0xb4 - Timer 2 current counter value"]
    #[inline(always)]
    pub const fn timer2_value(&self) -> &TIMER_VALUE {
        self.timer_value(2)
    }
    #[doc = "0xbc - Timer 3 current counter value"]
    #[inline(always)]
    pub const fn timer3_value(&self) -> &TIMER_VALUE {
        self.timer_value(3)
    }
    #[doc = "0xc0 - Raw interrupt status"]
    #[inline(always)]
    pub const fn int_raw(&self) -> &INT_RAW {
        &self.int_raw
    }
    #[doc = "0xc4 - Masked interrupt status"]
    #[inline(always)]
    pub const fn int_st(&self) -> &INT_ST {
        &self.int_st
    }
    #[doc = "0xc8 - Interrupt enable bits"]
    #[inline(always)]
    pub const fn int_ena(&self) -> &INT_ENA {
        &self.int_ena
    }
    #[doc = "0xcc - Interrupt clear bits"]
    #[inline(always)]
    pub const fn int_clr(&self) -> &INT_CLR {
        &self.int_clr
    }
    #[doc = "0x100..0x118 - Ledc ch%s gamma ram write register."]
    #[inline(always)]
    pub const fn ch_gamma_wr(&self, n: usize) -> &CH_GAMMA_WR {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(256)
                .add(16 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x100..0x118 - Ledc ch%s gamma ram write register."]
    #[inline(always)]
    pub fn ch_gamma_wr_iter(&self) -> impl Iterator<Item = &CH_GAMMA_WR> {
        (0..6).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(256)
                .add(16 * n)
                .cast()
        })
    }
    #[doc = "0x100 - Ledc ch0 gamma ram write register."]
    #[inline(always)]
    pub const fn ch0_gamma_wr(&self) -> &CH_GAMMA_WR {
        self.ch_gamma_wr(0)
    }
    #[doc = "0x110 - Ledc ch1 gamma ram write register."]
    #[inline(always)]
    pub const fn ch1_gamma_wr(&self) -> &CH_GAMMA_WR {
        self.ch_gamma_wr(1)
    }
    #[doc = "0x120 - Ledc ch2 gamma ram write register."]
    #[inline(always)]
    pub const fn ch2_gamma_wr(&self) -> &CH_GAMMA_WR {
        self.ch_gamma_wr(2)
    }
    #[doc = "0x130 - Ledc ch3 gamma ram write register."]
    #[inline(always)]
    pub const fn ch3_gamma_wr(&self) -> &CH_GAMMA_WR {
        self.ch_gamma_wr(3)
    }
    #[doc = "0x140 - Ledc ch4 gamma ram write register."]
    #[inline(always)]
    pub const fn ch4_gamma_wr(&self) -> &CH_GAMMA_WR {
        self.ch_gamma_wr(4)
    }
    #[doc = "0x150 - Ledc ch5 gamma ram write register."]
    #[inline(always)]
    pub const fn ch5_gamma_wr(&self) -> &CH_GAMMA_WR {
        self.ch_gamma_wr(5)
    }
    #[doc = "0x104..0x11c - Ledc ch%s gamma ram write address register."]
    #[inline(always)]
    pub const fn ch_gamma_wr_addr(&self, n: usize) -> &CH_GAMMA_WR_ADDR {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(260)
                .add(16 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x104..0x11c - Ledc ch%s gamma ram write address register."]
    #[inline(always)]
    pub fn ch_gamma_wr_addr_iter(&self) -> impl Iterator<Item = &CH_GAMMA_WR_ADDR> {
        (0..6).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(260)
                .add(16 * n)
                .cast()
        })
    }
    #[doc = "0x104 - Ledc ch0 gamma ram write address register."]
    #[inline(always)]
    pub const fn ch0_gamma_wr_addr(&self) -> &CH_GAMMA_WR_ADDR {
        self.ch_gamma_wr_addr(0)
    }
    #[doc = "0x114 - Ledc ch1 gamma ram write address register."]
    #[inline(always)]
    pub const fn ch1_gamma_wr_addr(&self) -> &CH_GAMMA_WR_ADDR {
        self.ch_gamma_wr_addr(1)
    }
    #[doc = "0x124 - Ledc ch2 gamma ram write address register."]
    #[inline(always)]
    pub const fn ch2_gamma_wr_addr(&self) -> &CH_GAMMA_WR_ADDR {
        self.ch_gamma_wr_addr(2)
    }
    #[doc = "0x134 - Ledc ch3 gamma ram write address register."]
    #[inline(always)]
    pub const fn ch3_gamma_wr_addr(&self) -> &CH_GAMMA_WR_ADDR {
        self.ch_gamma_wr_addr(3)
    }
    #[doc = "0x144 - Ledc ch4 gamma ram write address register."]
    #[inline(always)]
    pub const fn ch4_gamma_wr_addr(&self) -> &CH_GAMMA_WR_ADDR {
        self.ch_gamma_wr_addr(4)
    }
    #[doc = "0x154 - Ledc ch5 gamma ram write address register."]
    #[inline(always)]
    pub const fn ch5_gamma_wr_addr(&self) -> &CH_GAMMA_WR_ADDR {
        self.ch_gamma_wr_addr(5)
    }
    #[doc = "0x108..0x120 - Ledc ch%s gamma ram read address register."]
    #[inline(always)]
    pub const fn ch_gamma_rd_addr(&self, n: usize) -> &CH_GAMMA_RD_ADDR {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(264)
                .add(16 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x108..0x120 - Ledc ch%s gamma ram read address register."]
    #[inline(always)]
    pub fn ch_gamma_rd_addr_iter(&self) -> impl Iterator<Item = &CH_GAMMA_RD_ADDR> {
        (0..6).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(264)
                .add(16 * n)
                .cast()
        })
    }
    #[doc = "0x108 - Ledc ch0 gamma ram read address register."]
    #[inline(always)]
    pub const fn ch0_gamma_rd_addr(&self) -> &CH_GAMMA_RD_ADDR {
        self.ch_gamma_rd_addr(0)
    }
    #[doc = "0x118 - Ledc ch1 gamma ram read address register."]
    #[inline(always)]
    pub const fn ch1_gamma_rd_addr(&self) -> &CH_GAMMA_RD_ADDR {
        self.ch_gamma_rd_addr(1)
    }
    #[doc = "0x128 - Ledc ch2 gamma ram read address register."]
    #[inline(always)]
    pub const fn ch2_gamma_rd_addr(&self) -> &CH_GAMMA_RD_ADDR {
        self.ch_gamma_rd_addr(2)
    }
    #[doc = "0x138 - Ledc ch3 gamma ram read address register."]
    #[inline(always)]
    pub const fn ch3_gamma_rd_addr(&self) -> &CH_GAMMA_RD_ADDR {
        self.ch_gamma_rd_addr(3)
    }
    #[doc = "0x148 - Ledc ch4 gamma ram read address register."]
    #[inline(always)]
    pub const fn ch4_gamma_rd_addr(&self) -> &CH_GAMMA_RD_ADDR {
        self.ch_gamma_rd_addr(4)
    }
    #[doc = "0x158 - Ledc ch5 gamma ram read address register."]
    #[inline(always)]
    pub const fn ch5_gamma_rd_addr(&self) -> &CH_GAMMA_RD_ADDR {
        self.ch_gamma_rd_addr(5)
    }
    #[doc = "0x10c..0x124 - Ledc ch%s gamma ram read data register."]
    #[inline(always)]
    pub const fn ch_gamma_rd_data(&self, n: usize) -> &CH_GAMMA_RD_DATA {
        #[allow(clippy::no_effect)]
        [(); 6][n];
        unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(268)
                .add(16 * n)
                .cast()
        }
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x10c..0x124 - Ledc ch%s gamma ram read data register."]
    #[inline(always)]
    pub fn ch_gamma_rd_data_iter(&self) -> impl Iterator<Item = &CH_GAMMA_RD_DATA> {
        (0..6).map(|n| unsafe {
            &*(self as *const Self)
                .cast::<u8>()
                .add(268)
                .add(16 * n)
                .cast()
        })
    }
    #[doc = "0x10c - Ledc ch0 gamma ram read data register."]
    #[inline(always)]
    pub const fn ch0_gamma_rd_data(&self) -> &CH_GAMMA_RD_DATA {
        self.ch_gamma_rd_data(0)
    }
    #[doc = "0x11c - Ledc ch1 gamma ram read data register."]
    #[inline(always)]
    pub const fn ch1_gamma_rd_data(&self) -> &CH_GAMMA_RD_DATA {
        self.ch_gamma_rd_data(1)
    }
    #[doc = "0x12c - Ledc ch2 gamma ram read data register."]
    #[inline(always)]
    pub const fn ch2_gamma_rd_data(&self) -> &CH_GAMMA_RD_DATA {
        self.ch_gamma_rd_data(2)
    }
    #[doc = "0x13c - Ledc ch3 gamma ram read data register."]
    #[inline(always)]
    pub const fn ch3_gamma_rd_data(&self) -> &CH_GAMMA_RD_DATA {
        self.ch_gamma_rd_data(3)
    }
    #[doc = "0x14c - Ledc ch4 gamma ram read data register."]
    #[inline(always)]
    pub const fn ch4_gamma_rd_data(&self) -> &CH_GAMMA_RD_DATA {
        self.ch_gamma_rd_data(4)
    }
    #[doc = "0x15c - Ledc ch5 gamma ram read data register."]
    #[inline(always)]
    pub const fn ch5_gamma_rd_data(&self) -> &CH_GAMMA_RD_DATA {
        self.ch_gamma_rd_data(5)
    }
    #[doc = "0x180..0x198 - Ledc ch%s gamma config register."]
    #[inline(always)]
    pub const fn ch_gamma_conf(&self, n: usize) -> &CH_GAMMA_CONF {
        &self.ch_gamma_conf[n]
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x180..0x198 - Ledc ch%s gamma config register."]
    #[inline(always)]
    pub fn ch_gamma_conf_iter(&self) -> impl Iterator<Item = &CH_GAMMA_CONF> {
        self.ch_gamma_conf.iter()
    }
    #[doc = "0x180 - Ledc ch0 gamma config register."]
    #[inline(always)]
    pub const fn ch0_gamma_conf(&self) -> &CH_GAMMA_CONF {
        self.ch_gamma_conf(0)
    }
    #[doc = "0x184 - Ledc ch1 gamma config register."]
    #[inline(always)]
    pub const fn ch1_gamma_conf(&self) -> &CH_GAMMA_CONF {
        self.ch_gamma_conf(1)
    }
    #[doc = "0x188 - Ledc ch2 gamma config register."]
    #[inline(always)]
    pub const fn ch2_gamma_conf(&self) -> &CH_GAMMA_CONF {
        self.ch_gamma_conf(2)
    }
    #[doc = "0x18c - Ledc ch3 gamma config register."]
    #[inline(always)]
    pub const fn ch3_gamma_conf(&self) -> &CH_GAMMA_CONF {
        self.ch_gamma_conf(3)
    }
    #[doc = "0x190 - Ledc ch4 gamma config register."]
    #[inline(always)]
    pub const fn ch4_gamma_conf(&self) -> &CH_GAMMA_CONF {
        self.ch_gamma_conf(4)
    }
    #[doc = "0x194 - Ledc ch5 gamma config register."]
    #[inline(always)]
    pub const fn ch5_gamma_conf(&self) -> &CH_GAMMA_CONF {
        self.ch_gamma_conf(5)
    }
    #[doc = "0x1a0 - Ledc event task enable bit register0."]
    #[inline(always)]
    pub const fn evt_task_en0(&self) -> &EVT_TASK_EN0 {
        &self.evt_task_en0
    }
    #[doc = "0x1a4 - Ledc event task enable bit register1."]
    #[inline(always)]
    pub const fn evt_task_en1(&self) -> &EVT_TASK_EN1 {
        &self.evt_task_en1
    }
    #[doc = "0x1a8 - Ledc event task enable bit register2."]
    #[inline(always)]
    pub const fn evt_task_en2(&self) -> &EVT_TASK_EN2 {
        &self.evt_task_en2
    }
    #[doc = "0x1b0..0x1c0 - Ledc timer%s compare value register."]
    #[inline(always)]
    pub const fn timer_cmp(&self, n: usize) -> &TIMER_CMP {
        &self.timer_cmp[n]
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x1b0..0x1c0 - Ledc timer%s compare value register."]
    #[inline(always)]
    pub fn timer_cmp_iter(&self) -> impl Iterator<Item = &TIMER_CMP> {
        self.timer_cmp.iter()
    }
    #[doc = "0x1b0 - Ledc timer0 compare value register."]
    #[inline(always)]
    pub const fn timer0_cmp(&self) -> &TIMER_CMP {
        self.timer_cmp(0)
    }
    #[doc = "0x1b4 - Ledc timer1 compare value register."]
    #[inline(always)]
    pub const fn timer1_cmp(&self) -> &TIMER_CMP {
        self.timer_cmp(1)
    }
    #[doc = "0x1b8 - Ledc timer2 compare value register."]
    #[inline(always)]
    pub const fn timer2_cmp(&self) -> &TIMER_CMP {
        self.timer_cmp(2)
    }
    #[doc = "0x1bc - Ledc timer3 compare value register."]
    #[inline(always)]
    pub const fn timer3_cmp(&self) -> &TIMER_CMP {
        self.timer_cmp(3)
    }
    #[doc = "0x1c0..0x1d0 - Ledc timer%s count value capture register."]
    #[inline(always)]
    pub const fn timer_cnt_cap(&self, n: usize) -> &TIMER_CNT_CAP {
        &self.timer_cnt_cap[n]
    }
    #[doc = "Iterator for array of:"]
    #[doc = "0x1c0..0x1d0 - Ledc timer%s count value capture register."]
    #[inline(always)]
    pub fn timer_cnt_cap_iter(&self) -> impl Iterator<Item = &TIMER_CNT_CAP> {
        self.timer_cnt_cap.iter()
    }
    #[doc = "0x1c0 - Ledc timer0 count value capture register."]
    #[inline(always)]
    pub const fn timer0_cnt_cap(&self) -> &TIMER_CNT_CAP {
        self.timer_cnt_cap(0)
    }
    #[doc = "0x1c4 - Ledc timer1 count value capture register."]
    #[inline(always)]
    pub const fn timer1_cnt_cap(&self) -> &TIMER_CNT_CAP {
        self.timer_cnt_cap(1)
    }
    #[doc = "0x1c8 - Ledc timer2 count value capture register."]
    #[inline(always)]
    pub const fn timer2_cnt_cap(&self) -> &TIMER_CNT_CAP {
        self.timer_cnt_cap(2)
    }
    #[doc = "0x1cc - Ledc timer3 count value capture register."]
    #[inline(always)]
    pub const fn timer3_cnt_cap(&self) -> &TIMER_CNT_CAP {
        self.timer_cnt_cap(3)
    }
    #[doc = "0x1f0 - Global ledc configuration register"]
    #[inline(always)]
    pub const fn conf(&self) -> &CONF {
        &self.conf
    }
    #[doc = "0x1fc - Version control register"]
    #[inline(always)]
    pub const fn date(&self) -> &DATE {
        &self.date
    }
}
#[doc = "CH_CONF0 (rw) register accessor: Configuration register 0 for channel %s\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_conf0::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_conf0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_conf0`] module"]
pub type CH_CONF0 = crate::Reg<ch_conf0::CH_CONF0_SPEC>;
#[doc = "Configuration register 0 for channel %s"]
pub mod ch_conf0;
#[doc = "CH_HPOINT (rw) register accessor: High point register for channel %s\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_hpoint::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_hpoint::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_hpoint`] module"]
pub type CH_HPOINT = crate::Reg<ch_hpoint::CH_HPOINT_SPEC>;
#[doc = "High point register for channel %s"]
pub mod ch_hpoint;
#[doc = "CH_DUTY (rw) register accessor: Initial duty cycle for channel %s\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_duty::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_duty::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_duty`] module"]
pub type CH_DUTY = crate::Reg<ch_duty::CH_DUTY_SPEC>;
#[doc = "Initial duty cycle for channel %s"]
pub mod ch_duty;
#[doc = "CH_CONF1 (rw) register accessor: Configuration register 1 for channel %s\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_conf1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_conf1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_conf1`] module"]
pub type CH_CONF1 = crate::Reg<ch_conf1::CH_CONF1_SPEC>;
#[doc = "Configuration register 1 for channel %s"]
pub mod ch_conf1;
#[doc = "CH_DUTY_R (r) register accessor: Current duty cycle for channel %s\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_duty_r::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_duty_r`] module"]
pub type CH_DUTY_R = crate::Reg<ch_duty_r::CH_DUTY_R_SPEC>;
#[doc = "Current duty cycle for channel %s"]
pub mod ch_duty_r;
#[doc = "TIMER_CONF (rw) register accessor: Timer %s configuration\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`timer_conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`timer_conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@timer_conf`] module"]
pub type TIMER_CONF = crate::Reg<timer_conf::TIMER_CONF_SPEC>;
#[doc = "Timer %s configuration"]
pub mod timer_conf;
#[doc = "TIMER_VALUE (r) register accessor: Timer %s current counter value\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`timer_value::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@timer_value`] module"]
pub type TIMER_VALUE = crate::Reg<timer_value::TIMER_VALUE_SPEC>;
#[doc = "Timer %s current counter value"]
pub mod timer_value;
#[doc = "INT_RAW (rw) register accessor: Raw interrupt status\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`int_raw::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`int_raw::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_raw`] module"]
pub type INT_RAW = crate::Reg<int_raw::INT_RAW_SPEC>;
#[doc = "Raw interrupt status"]
pub mod int_raw;
#[doc = "INT_ST (r) register accessor: Masked interrupt status\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`int_st::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_st`] module"]
pub type INT_ST = crate::Reg<int_st::INT_ST_SPEC>;
#[doc = "Masked interrupt status"]
pub mod int_st;
#[doc = "INT_ENA (rw) register accessor: Interrupt enable bits\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`int_ena::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`int_ena::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_ena`] module"]
pub type INT_ENA = crate::Reg<int_ena::INT_ENA_SPEC>;
#[doc = "Interrupt enable bits"]
pub mod int_ena;
#[doc = "INT_CLR (w) register accessor: Interrupt clear bits\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`int_clr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@int_clr`] module"]
pub type INT_CLR = crate::Reg<int_clr::INT_CLR_SPEC>;
#[doc = "Interrupt clear bits"]
pub mod int_clr;
#[doc = "CH_GAMMA_WR (rw) register accessor: Ledc ch%s gamma ram write register.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_gamma_wr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_gamma_wr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_gamma_wr`] module"]
pub type CH_GAMMA_WR = crate::Reg<ch_gamma_wr::CH_GAMMA_WR_SPEC>;
#[doc = "Ledc ch%s gamma ram write register."]
pub mod ch_gamma_wr;
#[doc = "CH_GAMMA_WR_ADDR (rw) register accessor: Ledc ch%s gamma ram write address register.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_gamma_wr_addr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_gamma_wr_addr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_gamma_wr_addr`] module"]
pub type CH_GAMMA_WR_ADDR = crate::Reg<ch_gamma_wr_addr::CH_GAMMA_WR_ADDR_SPEC>;
#[doc = "Ledc ch%s gamma ram write address register."]
pub mod ch_gamma_wr_addr;
#[doc = "CH_GAMMA_RD_ADDR (rw) register accessor: Ledc ch%s gamma ram read address register.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_gamma_rd_addr::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_gamma_rd_addr::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_gamma_rd_addr`] module"]
pub type CH_GAMMA_RD_ADDR = crate::Reg<ch_gamma_rd_addr::CH_GAMMA_RD_ADDR_SPEC>;
#[doc = "Ledc ch%s gamma ram read address register."]
pub mod ch_gamma_rd_addr;
#[doc = "CH_GAMMA_RD_DATA (r) register accessor: Ledc ch%s gamma ram read data register.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_gamma_rd_data::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_gamma_rd_data`] module"]
pub type CH_GAMMA_RD_DATA = crate::Reg<ch_gamma_rd_data::CH_GAMMA_RD_DATA_SPEC>;
#[doc = "Ledc ch%s gamma ram read data register."]
pub mod ch_gamma_rd_data;
#[doc = "CH_GAMMA_CONF (rw) register accessor: Ledc ch%s gamma config register.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`ch_gamma_conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`ch_gamma_conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ch_gamma_conf`] module"]
pub type CH_GAMMA_CONF = crate::Reg<ch_gamma_conf::CH_GAMMA_CONF_SPEC>;
#[doc = "Ledc ch%s gamma config register."]
pub mod ch_gamma_conf;
#[doc = "EVT_TASK_EN0 (rw) register accessor: Ledc event task enable bit register0.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_task_en0::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_task_en0::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evt_task_en0`] module"]
pub type EVT_TASK_EN0 = crate::Reg<evt_task_en0::EVT_TASK_EN0_SPEC>;
#[doc = "Ledc event task enable bit register0."]
pub mod evt_task_en0;
#[doc = "EVT_TASK_EN1 (rw) register accessor: Ledc event task enable bit register1.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_task_en1::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_task_en1::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evt_task_en1`] module"]
pub type EVT_TASK_EN1 = crate::Reg<evt_task_en1::EVT_TASK_EN1_SPEC>;
#[doc = "Ledc event task enable bit register1."]
pub mod evt_task_en1;
#[doc = "EVT_TASK_EN2 (rw) register accessor: Ledc event task enable bit register2.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`evt_task_en2::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`evt_task_en2::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@evt_task_en2`] module"]
pub type EVT_TASK_EN2 = crate::Reg<evt_task_en2::EVT_TASK_EN2_SPEC>;
#[doc = "Ledc event task enable bit register2."]
pub mod evt_task_en2;
#[doc = "TIMER_CMP (rw) register accessor: Ledc timer%s compare value register.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`timer_cmp::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`timer_cmp::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@timer_cmp`] module"]
pub type TIMER_CMP = crate::Reg<timer_cmp::TIMER_CMP_SPEC>;
#[doc = "Ledc timer%s compare value register."]
pub mod timer_cmp;
#[doc = "TIMER_CNT_CAP (r) register accessor: Ledc timer%s count value capture register.\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`timer_cnt_cap::R`].  See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@timer_cnt_cap`] module"]
pub type TIMER_CNT_CAP = crate::Reg<timer_cnt_cap::TIMER_CNT_CAP_SPEC>;
#[doc = "Ledc timer%s count value capture register."]
pub mod timer_cnt_cap;
#[doc = "CONF (rw) register accessor: Global ledc configuration register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`conf::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`conf::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@conf`] module"]
pub type CONF = crate::Reg<conf::CONF_SPEC>;
#[doc = "Global ledc configuration register"]
pub mod conf;
#[doc = "DATE (rw) register accessor: Version control register\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`date::R`].  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`date::W`]. You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@date`] module"]
pub type DATE = crate::Reg<date::DATE_SPEC>;
#[doc = "Version control register"]
pub mod date;