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
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - PWM IRQ Enable Register"]
    pub pier: PIER,
    #[doc = "0x04 - PWM IRQ Status Register"]
    pub pisr: PISR,
    _reserved2: [u8; 0x08],
    #[doc = "0x10 - Capture IRQ Enable Register"]
    pub cier: CIER,
    #[doc = "0x14 - Capture IRQ Status Register"]
    pub cisr: CISR,
    _reserved4: [u8; 0x08],
    #[doc = "0x20 - PWM01 Clock Configuration Register"]
    pub pccr01: PCCR01,
    #[doc = "0x24 - PWM23 Clock Configuration Register"]
    pub pccr23: PCCR23,
    #[doc = "0x28 - PWM45 Clock Configuration Register"]
    pub pccr45: PCCR45,
    #[doc = "0x2c - PWM67 Clock Configuration Register"]
    pub pccr67: PCCR67,
    _reserved8: [u8; 0x10],
    #[doc = "0x40 - PWM Clock Gating Register"]
    pub pcgr: PCGR,
    _reserved9: [u8; 0x1c],
    #[doc = "0x60 - PWM01 Dead Zone Control Register"]
    pub pdzcr01: PDZCR01,
    #[doc = "0x64 - PWM23 Dead Zone Control Register"]
    pub pdzcr23: PDZCR23,
    #[doc = "0x68 - PWM45 Dead Zone Control Register"]
    pub pdzcr45: PDZCR45,
    #[doc = "0x6c - PWM67 Dead Zone Control Register"]
    pub pdzcr67: PDZCR67,
    _reserved13: [u8; 0x10],
    #[doc = "0x80 - PWM Enable Register"]
    pub per: PER,
    _reserved14: [u8; 0x0c],
    #[doc = "0x90..0xa0 - PWM Group\\[g\\] Register"]
    pub pgr: [PGR; 4],
    _reserved15: [u8; 0x20],
    #[doc = "0xc0 - Capture Enable Register"]
    pub cer: CER,
    _reserved16: [u8; 0x3c],
    #[doc = "0x100 - PWM Control Register"]
    pub pcr0: PCR,
    #[doc = "0x104 - PWM Period Register"]
    pub ppr0: PPR,
    #[doc = "0x108 - PWM Count Register"]
    pub pcntr0: PCNTR,
    #[doc = "0x10c - PWM Pulse Counter Register"]
    pub ppcntr0: PPCNTR,
    #[doc = "0x110 - Capture Control Register"]
    pub ccr0: CCR,
    #[doc = "0x114 - Capture Rise Lock Register"]
    pub crlr0: CRLR,
    #[doc = "0x118 - Capture Fall Lock Register"]
    pub cflr0: CFLR,
    _reserved23: [u8; 0x04],
    #[doc = "0x120 - PWM Control Register"]
    pub pcr1: PCR,
    #[doc = "0x124 - PWM Period Register"]
    pub ppr1: PPR,
    #[doc = "0x128 - PWM Count Register"]
    pub pcntr1: PCNTR,
    #[doc = "0x12c - PWM Pulse Counter Register"]
    pub ppcntr1: PPCNTR,
    #[doc = "0x130 - Capture Control Register"]
    pub ccr1: CCR,
    #[doc = "0x134 - Capture Rise Lock Register"]
    pub crlr1: CRLR,
    #[doc = "0x138 - Capture Fall Lock Register"]
    pub cflr1: CFLR,
    _reserved30: [u8; 0x04],
    #[doc = "0x140 - PWM Control Register"]
    pub pcr2: PCR,
    #[doc = "0x144 - PWM Period Register"]
    pub ppr2: PPR,
    #[doc = "0x148 - PWM Count Register"]
    pub pcntr2: PCNTR,
    #[doc = "0x14c - PWM Pulse Counter Register"]
    pub ppcntr2: PPCNTR,
    #[doc = "0x150 - Capture Control Register"]
    pub ccr2: CCR,
    #[doc = "0x154 - Capture Rise Lock Register"]
    pub crlr2: CRLR,
    #[doc = "0x158 - Capture Fall Lock Register"]
    pub cflr2: CFLR,
    _reserved37: [u8; 0x04],
    #[doc = "0x160 - PWM Control Register"]
    pub pcr3: PCR,
    #[doc = "0x164 - PWM Period Register"]
    pub ppr3: PPR,
    #[doc = "0x168 - PWM Count Register"]
    pub pcntr3: PCNTR,
    #[doc = "0x16c - PWM Pulse Counter Register"]
    pub ppcntr3: PPCNTR,
    #[doc = "0x170 - Capture Control Register"]
    pub ccr3: CCR,
    #[doc = "0x174 - Capture Rise Lock Register"]
    pub crlr3: CRLR,
    #[doc = "0x178 - Capture Fall Lock Register"]
    pub cflr3: CFLR,
    _reserved44: [u8; 0x04],
    #[doc = "0x180 - PWM Control Register"]
    pub pcr4: PCR,
    #[doc = "0x184 - PWM Period Register"]
    pub ppr4: PPR,
    #[doc = "0x188 - PWM Count Register"]
    pub pcntr4: PCNTR,
    #[doc = "0x18c - PWM Pulse Counter Register"]
    pub ppcntr4: PPCNTR,
    #[doc = "0x190 - Capture Control Register"]
    pub ccr4: CCR,
    #[doc = "0x194 - Capture Rise Lock Register"]
    pub crlr4: CRLR,
    #[doc = "0x198 - Capture Fall Lock Register"]
    pub cflr4: CFLR,
    _reserved51: [u8; 0x04],
    #[doc = "0x1a0 - PWM Control Register"]
    pub pcr5: PCR,
    #[doc = "0x1a4 - PWM Period Register"]
    pub ppr5: PPR,
    #[doc = "0x1a8 - PWM Count Register"]
    pub pcntr5: PCNTR,
    #[doc = "0x1ac - PWM Pulse Counter Register"]
    pub ppcntr5: PPCNTR,
    #[doc = "0x1b0 - Capture Control Register"]
    pub ccr5: CCR,
    #[doc = "0x1b4 - Capture Rise Lock Register"]
    pub crlr5: CRLR,
    #[doc = "0x1b8 - Capture Fall Lock Register"]
    pub cflr5: CFLR,
    _reserved58: [u8; 0x04],
    #[doc = "0x1c0 - PWM Control Register"]
    pub pcr6: PCR,
    #[doc = "0x1c4 - PWM Period Register"]
    pub ppr6: PPR,
    #[doc = "0x1c8 - PWM Count Register"]
    pub pcntr6: PCNTR,
    #[doc = "0x1cc - PWM Pulse Counter Register"]
    pub ppcntr6: PPCNTR,
    #[doc = "0x1d0 - Capture Control Register"]
    pub ccr6: CCR,
    #[doc = "0x1d4 - Capture Rise Lock Register"]
    pub crlr6: CRLR,
    #[doc = "0x1d8 - Capture Fall Lock Register"]
    pub cflr6: CFLR,
    _reserved65: [u8; 0x04],
    #[doc = "0x1e0 - PWM Control Register"]
    pub pcr7: PCR,
    #[doc = "0x1e4 - PWM Period Register"]
    pub ppr7: PPR,
    #[doc = "0x1e8 - PWM Count Register"]
    pub pcntr7: PCNTR,
    #[doc = "0x1ec - PWM Pulse Counter Register"]
    pub ppcntr7: PPCNTR,
    #[doc = "0x1f0 - Capture Control Register"]
    pub ccr7: CCR,
    #[doc = "0x1f4 - Capture Rise Lock Register"]
    pub crlr7: CRLR,
    #[doc = "0x1f8 - Capture Fall Lock Register"]
    pub cflr7: CFLR,
}
#[doc = "pier (rw) register accessor: an alias for `Reg<PIER_SPEC>`"]
pub type PIER = crate::Reg<pier::PIER_SPEC>;
#[doc = "PWM IRQ Enable Register"]
pub mod pier;
#[doc = "pisr (rw) register accessor: an alias for `Reg<PISR_SPEC>`"]
pub type PISR = crate::Reg<pisr::PISR_SPEC>;
#[doc = "PWM IRQ Status Register"]
pub mod pisr;
#[doc = "cier (rw) register accessor: an alias for `Reg<CIER_SPEC>`"]
pub type CIER = crate::Reg<cier::CIER_SPEC>;
#[doc = "Capture IRQ Enable Register"]
pub mod cier;
#[doc = "cisr (rw) register accessor: an alias for `Reg<CISR_SPEC>`"]
pub type CISR = crate::Reg<cisr::CISR_SPEC>;
#[doc = "Capture IRQ Status Register"]
pub mod cisr;
#[doc = "pccr01 (rw) register accessor: an alias for `Reg<PCCR01_SPEC>`"]
pub type PCCR01 = crate::Reg<pccr01::PCCR01_SPEC>;
#[doc = "PWM01 Clock Configuration Register"]
pub mod pccr01;
#[doc = "pccr23 (rw) register accessor: an alias for `Reg<PCCR23_SPEC>`"]
pub type PCCR23 = crate::Reg<pccr23::PCCR23_SPEC>;
#[doc = "PWM23 Clock Configuration Register"]
pub mod pccr23;
#[doc = "pccr45 (rw) register accessor: an alias for `Reg<PCCR45_SPEC>`"]
pub type PCCR45 = crate::Reg<pccr45::PCCR45_SPEC>;
#[doc = "PWM45 Clock Configuration Register"]
pub mod pccr45;
#[doc = "pccr67 (rw) register accessor: an alias for `Reg<PCCR67_SPEC>`"]
pub type PCCR67 = crate::Reg<pccr67::PCCR67_SPEC>;
#[doc = "PWM67 Clock Configuration Register"]
pub mod pccr67;
#[doc = "pcgr (rw) register accessor: an alias for `Reg<PCGR_SPEC>`"]
pub type PCGR = crate::Reg<pcgr::PCGR_SPEC>;
#[doc = "PWM Clock Gating Register"]
pub mod pcgr;
#[doc = "pdzcr01 (rw) register accessor: an alias for `Reg<PDZCR01_SPEC>`"]
pub type PDZCR01 = crate::Reg<pdzcr01::PDZCR01_SPEC>;
#[doc = "PWM01 Dead Zone Control Register"]
pub mod pdzcr01;
#[doc = "pdzcr23 (rw) register accessor: an alias for `Reg<PDZCR23_SPEC>`"]
pub type PDZCR23 = crate::Reg<pdzcr23::PDZCR23_SPEC>;
#[doc = "PWM23 Dead Zone Control Register"]
pub mod pdzcr23;
#[doc = "pdzcr45 (rw) register accessor: an alias for `Reg<PDZCR45_SPEC>`"]
pub type PDZCR45 = crate::Reg<pdzcr45::PDZCR45_SPEC>;
#[doc = "PWM45 Dead Zone Control Register"]
pub mod pdzcr45;
#[doc = "pdzcr67 (rw) register accessor: an alias for `Reg<PDZCR67_SPEC>`"]
pub type PDZCR67 = crate::Reg<pdzcr67::PDZCR67_SPEC>;
#[doc = "PWM67 Dead Zone Control Register"]
pub mod pdzcr67;
#[doc = "per (rw) register accessor: an alias for `Reg<PER_SPEC>`"]
pub type PER = crate::Reg<per::PER_SPEC>;
#[doc = "PWM Enable Register"]
pub mod per;
#[doc = "pgr (rw) register accessor: an alias for `Reg<PGR_SPEC>`"]
pub type PGR = crate::Reg<pgr::PGR_SPEC>;
#[doc = "PWM Group\\[g\\] Register"]
pub mod pgr;
#[doc = "cer (rw) register accessor: an alias for `Reg<CER_SPEC>`"]
pub type CER = crate::Reg<cer::CER_SPEC>;
#[doc = "Capture Enable Register"]
pub mod cer;
#[doc = "pcr (rw) register accessor: an alias for `Reg<PCR_SPEC>`"]
pub type PCR = crate::Reg<pcr::PCR_SPEC>;
#[doc = "PWM Control Register"]
pub mod pcr;
#[doc = "ppr (rw) register accessor: an alias for `Reg<PPR_SPEC>`"]
pub type PPR = crate::Reg<ppr::PPR_SPEC>;
#[doc = "PWM Period Register"]
pub mod ppr;
#[doc = "pcntr (rw) register accessor: an alias for `Reg<PCNTR_SPEC>`"]
pub type PCNTR = crate::Reg<pcntr::PCNTR_SPEC>;
#[doc = "PWM Count Register"]
pub mod pcntr;
#[doc = "ppcntr (r) register accessor: an alias for `Reg<PPCNTR_SPEC>`"]
pub type PPCNTR = crate::Reg<ppcntr::PPCNTR_SPEC>;
#[doc = "PWM Pulse Counter Register"]
pub mod ppcntr;
#[doc = "ccr (rw) register accessor: an alias for `Reg<CCR_SPEC>`"]
pub type CCR = crate::Reg<ccr::CCR_SPEC>;
#[doc = "Capture Control Register"]
pub mod ccr;
#[doc = "crlr (r) register accessor: an alias for `Reg<CRLR_SPEC>`"]
pub type CRLR = crate::Reg<crlr::CRLR_SPEC>;
#[doc = "Capture Rise Lock Register"]
pub mod crlr;
#[doc = "cflr (r) register accessor: an alias for `Reg<CFLR_SPEC>`"]
pub type CFLR = crate::Reg<cflr::CFLR_SPEC>;
#[doc = "Capture Fall Lock Register"]
pub mod cflr;