atsam4sa16b_pac/
pwm.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - PWM Clock Register"]
5    pub clk: CLK,
6    #[doc = "0x04 - PWM Enable Register"]
7    pub ena: ENA,
8    #[doc = "0x08 - PWM Disable Register"]
9    pub dis: DIS,
10    #[doc = "0x0c - PWM Status Register"]
11    pub sr: SR,
12    #[doc = "0x10 - PWM Interrupt Enable Register 1"]
13    pub ier1: IER1,
14    #[doc = "0x14 - PWM Interrupt Disable Register 1"]
15    pub idr1: IDR1,
16    #[doc = "0x18 - PWM Interrupt Mask Register 1"]
17    pub imr1: IMR1,
18    #[doc = "0x1c - PWM Interrupt Status Register 1"]
19    pub isr1: ISR1,
20    #[doc = "0x20 - PWM Sync Channels Mode Register"]
21    pub scm: SCM,
22    _reserved9: [u8; 0x04],
23    #[doc = "0x28 - PWM Sync Channels Update Control Register"]
24    pub scuc: SCUC,
25    #[doc = "0x2c - PWM Sync Channels Update Period Register"]
26    pub scup: SCUP,
27    #[doc = "0x30 - PWM Sync Channels Update Period Update Register"]
28    pub scupupd: SCUPUPD,
29    #[doc = "0x34 - PWM Interrupt Enable Register 2"]
30    pub ier2: IER2,
31    #[doc = "0x38 - PWM Interrupt Disable Register 2"]
32    pub idr2: IDR2,
33    #[doc = "0x3c - PWM Interrupt Mask Register 2"]
34    pub imr2: IMR2,
35    #[doc = "0x40 - PWM Interrupt Status Register 2"]
36    pub isr2: ISR2,
37    #[doc = "0x44 - PWM Output Override Value Register"]
38    pub oov: OOV,
39    #[doc = "0x48 - PWM Output Selection Register"]
40    pub os: OS,
41    #[doc = "0x4c - PWM Output Selection Set Register"]
42    pub oss: OSS,
43    #[doc = "0x50 - PWM Output Selection Clear Register"]
44    pub osc: OSC,
45    #[doc = "0x54 - PWM Output Selection Set Update Register"]
46    pub ossupd: OSSUPD,
47    #[doc = "0x58 - PWM Output Selection Clear Update Register"]
48    pub oscupd: OSCUPD,
49    #[doc = "0x5c - PWM Fault Mode Register"]
50    pub fmr: FMR,
51    #[doc = "0x60 - PWM Fault Status Register"]
52    pub fsr: FSR,
53    #[doc = "0x64 - PWM Fault Clear Register"]
54    pub fcr: FCR,
55    #[doc = "0x68 - PWM Fault Protection Value Register"]
56    pub fpv: FPV,
57    #[doc = "0x6c - PWM Fault Protection Enable Register"]
58    pub fpe: FPE,
59    _reserved27: [u8; 0x0c],
60    #[doc = "0x7c..0x84 - PWM Event Line 0 Mode Register"]
61    pub elmr: [ELMR; 2],
62    _reserved28: [u8; 0x2c],
63    #[doc = "0xb0 - PWM Stepper Motor Mode Register"]
64    pub smmr: SMMR,
65    _reserved29: [u8; 0x30],
66    #[doc = "0xe4 - PWM Write Protection Control Register"]
67    pub wpcr: WPCR,
68    #[doc = "0xe8 - PWM Write Protection Status Register"]
69    pub wpsr: WPSR,
70    _reserved31: [u8; 0x1c],
71    #[doc = "0x108 - Transmit Pointer Register"]
72    pub tpr: TPR,
73    #[doc = "0x10c - Transmit Counter Register"]
74    pub tcr: TCR,
75    _reserved33: [u8; 0x08],
76    #[doc = "0x118 - Transmit Next Pointer Register"]
77    pub tnpr: TNPR,
78    #[doc = "0x11c - Transmit Next Counter Register"]
79    pub tncr: TNCR,
80    #[doc = "0x120 - Transfer Control Register"]
81    pub ptcr: PTCR,
82    #[doc = "0x124 - Transfer Status Register"]
83    pub ptsr: PTSR,
84    _reserved37: [u8; 0x08],
85    #[doc = "0x130 - PWM Comparison 0 Value Register"]
86    pub cmpv0: CMPV0,
87    #[doc = "0x134 - PWM Comparison 0 Value Update Register"]
88    pub cmpvupd0: CMPVUPD0,
89    #[doc = "0x138 - PWM Comparison 0 Mode Register"]
90    pub cmpm0: CMPM0,
91    #[doc = "0x13c - PWM Comparison 0 Mode Update Register"]
92    pub cmpmupd0: CMPMUPD0,
93    #[doc = "0x140 - PWM Comparison 1 Value Register"]
94    pub cmpv1: CMPV1,
95    #[doc = "0x144 - PWM Comparison 1 Value Update Register"]
96    pub cmpvupd1: CMPVUPD1,
97    #[doc = "0x148 - PWM Comparison 1 Mode Register"]
98    pub cmpm1: CMPM1,
99    #[doc = "0x14c - PWM Comparison 1 Mode Update Register"]
100    pub cmpmupd1: CMPMUPD1,
101    #[doc = "0x150 - PWM Comparison 2 Value Register"]
102    pub cmpv2: CMPV2,
103    #[doc = "0x154 - PWM Comparison 2 Value Update Register"]
104    pub cmpvupd2: CMPVUPD2,
105    #[doc = "0x158 - PWM Comparison 2 Mode Register"]
106    pub cmpm2: CMPM2,
107    #[doc = "0x15c - PWM Comparison 2 Mode Update Register"]
108    pub cmpmupd2: CMPMUPD2,
109    #[doc = "0x160 - PWM Comparison 3 Value Register"]
110    pub cmpv3: CMPV3,
111    #[doc = "0x164 - PWM Comparison 3 Value Update Register"]
112    pub cmpvupd3: CMPVUPD3,
113    #[doc = "0x168 - PWM Comparison 3 Mode Register"]
114    pub cmpm3: CMPM3,
115    #[doc = "0x16c - PWM Comparison 3 Mode Update Register"]
116    pub cmpmupd3: CMPMUPD3,
117    #[doc = "0x170 - PWM Comparison 4 Value Register"]
118    pub cmpv4: CMPV4,
119    #[doc = "0x174 - PWM Comparison 4 Value Update Register"]
120    pub cmpvupd4: CMPVUPD4,
121    #[doc = "0x178 - PWM Comparison 4 Mode Register"]
122    pub cmpm4: CMPM4,
123    #[doc = "0x17c - PWM Comparison 4 Mode Update Register"]
124    pub cmpmupd4: CMPMUPD4,
125    #[doc = "0x180 - PWM Comparison 5 Value Register"]
126    pub cmpv5: CMPV5,
127    #[doc = "0x184 - PWM Comparison 5 Value Update Register"]
128    pub cmpvupd5: CMPVUPD5,
129    #[doc = "0x188 - PWM Comparison 5 Mode Register"]
130    pub cmpm5: CMPM5,
131    #[doc = "0x18c - PWM Comparison 5 Mode Update Register"]
132    pub cmpmupd5: CMPMUPD5,
133    #[doc = "0x190 - PWM Comparison 6 Value Register"]
134    pub cmpv6: CMPV6,
135    #[doc = "0x194 - PWM Comparison 6 Value Update Register"]
136    pub cmpvupd6: CMPVUPD6,
137    #[doc = "0x198 - PWM Comparison 6 Mode Register"]
138    pub cmpm6: CMPM6,
139    #[doc = "0x19c - PWM Comparison 6 Mode Update Register"]
140    pub cmpmupd6: CMPMUPD6,
141    #[doc = "0x1a0 - PWM Comparison 7 Value Register"]
142    pub cmpv7: CMPV7,
143    #[doc = "0x1a4 - PWM Comparison 7 Value Update Register"]
144    pub cmpvupd7: CMPVUPD7,
145    #[doc = "0x1a8 - PWM Comparison 7 Mode Register"]
146    pub cmpm7: CMPM7,
147    #[doc = "0x1ac - PWM Comparison 7 Mode Update Register"]
148    pub cmpmupd7: CMPMUPD7,
149    _reserved69: [u8; 0x50],
150    #[doc = "0x200 - PWM Channel Mode Register (ch_num = 0)"]
151    pub cmr0: CMR0,
152    #[doc = "0x204 - PWM Channel Duty Cycle Register (ch_num = 0)"]
153    pub cdty0: CDTY0,
154    #[doc = "0x208 - PWM Channel Duty Cycle Update Register (ch_num = 0)"]
155    pub cdtyupd0: CDTYUPD0,
156    #[doc = "0x20c - PWM Channel Period Register (ch_num = 0)"]
157    pub cprd0: CPRD0,
158    #[doc = "0x210 - PWM Channel Period Update Register (ch_num = 0)"]
159    pub cprdupd0: CPRDUPD0,
160    #[doc = "0x214 - PWM Channel Counter Register (ch_num = 0)"]
161    pub ccnt0: CCNT0,
162    #[doc = "0x218 - PWM Channel Dead Time Register (ch_num = 0)"]
163    pub dt0: DT0,
164    #[doc = "0x21c - PWM Channel Dead Time Update Register (ch_num = 0)"]
165    pub dtupd0: DTUPD0,
166    #[doc = "0x220 - PWM Channel Mode Register (ch_num = 1)"]
167    pub cmr1: CMR1,
168    #[doc = "0x224 - PWM Channel Duty Cycle Register (ch_num = 1)"]
169    pub cdty1: CDTY1,
170    #[doc = "0x228 - PWM Channel Duty Cycle Update Register (ch_num = 1)"]
171    pub cdtyupd1: CDTYUPD1,
172    #[doc = "0x22c - PWM Channel Period Register (ch_num = 1)"]
173    pub cprd1: CPRD1,
174    #[doc = "0x230 - PWM Channel Period Update Register (ch_num = 1)"]
175    pub cprdupd1: CPRDUPD1,
176    #[doc = "0x234 - PWM Channel Counter Register (ch_num = 1)"]
177    pub ccnt1: CCNT1,
178    #[doc = "0x238 - PWM Channel Dead Time Register (ch_num = 1)"]
179    pub dt1: DT1,
180    #[doc = "0x23c - PWM Channel Dead Time Update Register (ch_num = 1)"]
181    pub dtupd1: DTUPD1,
182    #[doc = "0x240 - PWM Channel Mode Register (ch_num = 2)"]
183    pub cmr2: CMR2,
184    #[doc = "0x244 - PWM Channel Duty Cycle Register (ch_num = 2)"]
185    pub cdty2: CDTY2,
186    #[doc = "0x248 - PWM Channel Duty Cycle Update Register (ch_num = 2)"]
187    pub cdtyupd2: CDTYUPD2,
188    #[doc = "0x24c - PWM Channel Period Register (ch_num = 2)"]
189    pub cprd2: CPRD2,
190    #[doc = "0x250 - PWM Channel Period Update Register (ch_num = 2)"]
191    pub cprdupd2: CPRDUPD2,
192    #[doc = "0x254 - PWM Channel Counter Register (ch_num = 2)"]
193    pub ccnt2: CCNT2,
194    #[doc = "0x258 - PWM Channel Dead Time Register (ch_num = 2)"]
195    pub dt2: DT2,
196    #[doc = "0x25c - PWM Channel Dead Time Update Register (ch_num = 2)"]
197    pub dtupd2: DTUPD2,
198    #[doc = "0x260 - PWM Channel Mode Register (ch_num = 3)"]
199    pub cmr3: CMR3,
200    #[doc = "0x264 - PWM Channel Duty Cycle Register (ch_num = 3)"]
201    pub cdty3: CDTY3,
202    #[doc = "0x268 - PWM Channel Duty Cycle Update Register (ch_num = 3)"]
203    pub cdtyupd3: CDTYUPD3,
204    #[doc = "0x26c - PWM Channel Period Register (ch_num = 3)"]
205    pub cprd3: CPRD3,
206    #[doc = "0x270 - PWM Channel Period Update Register (ch_num = 3)"]
207    pub cprdupd3: CPRDUPD3,
208    #[doc = "0x274 - PWM Channel Counter Register (ch_num = 3)"]
209    pub ccnt3: CCNT3,
210    #[doc = "0x278 - PWM Channel Dead Time Register (ch_num = 3)"]
211    pub dt3: DT3,
212    #[doc = "0x27c - PWM Channel Dead Time Update Register (ch_num = 3)"]
213    pub dtupd3: DTUPD3,
214}
215#[doc = "CLK (rw) register accessor: an alias for `Reg<CLK_SPEC>`"]
216pub type CLK = crate::Reg<clk::CLK_SPEC>;
217#[doc = "PWM Clock Register"]
218pub mod clk;
219#[doc = "ENA (w) register accessor: an alias for `Reg<ENA_SPEC>`"]
220pub type ENA = crate::Reg<ena::ENA_SPEC>;
221#[doc = "PWM Enable Register"]
222pub mod ena;
223#[doc = "DIS (w) register accessor: an alias for `Reg<DIS_SPEC>`"]
224pub type DIS = crate::Reg<dis::DIS_SPEC>;
225#[doc = "PWM Disable Register"]
226pub mod dis;
227#[doc = "SR (r) register accessor: an alias for `Reg<SR_SPEC>`"]
228pub type SR = crate::Reg<sr::SR_SPEC>;
229#[doc = "PWM Status Register"]
230pub mod sr;
231#[doc = "IER1 (w) register accessor: an alias for `Reg<IER1_SPEC>`"]
232pub type IER1 = crate::Reg<ier1::IER1_SPEC>;
233#[doc = "PWM Interrupt Enable Register 1"]
234pub mod ier1;
235#[doc = "IDR1 (w) register accessor: an alias for `Reg<IDR1_SPEC>`"]
236pub type IDR1 = crate::Reg<idr1::IDR1_SPEC>;
237#[doc = "PWM Interrupt Disable Register 1"]
238pub mod idr1;
239#[doc = "IMR1 (r) register accessor: an alias for `Reg<IMR1_SPEC>`"]
240pub type IMR1 = crate::Reg<imr1::IMR1_SPEC>;
241#[doc = "PWM Interrupt Mask Register 1"]
242pub mod imr1;
243#[doc = "ISR1 (r) register accessor: an alias for `Reg<ISR1_SPEC>`"]
244pub type ISR1 = crate::Reg<isr1::ISR1_SPEC>;
245#[doc = "PWM Interrupt Status Register 1"]
246pub mod isr1;
247#[doc = "SCM (rw) register accessor: an alias for `Reg<SCM_SPEC>`"]
248pub type SCM = crate::Reg<scm::SCM_SPEC>;
249#[doc = "PWM Sync Channels Mode Register"]
250pub mod scm;
251#[doc = "SCUC (rw) register accessor: an alias for `Reg<SCUC_SPEC>`"]
252pub type SCUC = crate::Reg<scuc::SCUC_SPEC>;
253#[doc = "PWM Sync Channels Update Control Register"]
254pub mod scuc;
255#[doc = "SCUP (rw) register accessor: an alias for `Reg<SCUP_SPEC>`"]
256pub type SCUP = crate::Reg<scup::SCUP_SPEC>;
257#[doc = "PWM Sync Channels Update Period Register"]
258pub mod scup;
259#[doc = "SCUPUPD (w) register accessor: an alias for `Reg<SCUPUPD_SPEC>`"]
260pub type SCUPUPD = crate::Reg<scupupd::SCUPUPD_SPEC>;
261#[doc = "PWM Sync Channels Update Period Update Register"]
262pub mod scupupd;
263#[doc = "IER2 (w) register accessor: an alias for `Reg<IER2_SPEC>`"]
264pub type IER2 = crate::Reg<ier2::IER2_SPEC>;
265#[doc = "PWM Interrupt Enable Register 2"]
266pub mod ier2;
267#[doc = "IDR2 (w) register accessor: an alias for `Reg<IDR2_SPEC>`"]
268pub type IDR2 = crate::Reg<idr2::IDR2_SPEC>;
269#[doc = "PWM Interrupt Disable Register 2"]
270pub mod idr2;
271#[doc = "IMR2 (r) register accessor: an alias for `Reg<IMR2_SPEC>`"]
272pub type IMR2 = crate::Reg<imr2::IMR2_SPEC>;
273#[doc = "PWM Interrupt Mask Register 2"]
274pub mod imr2;
275#[doc = "ISR2 (r) register accessor: an alias for `Reg<ISR2_SPEC>`"]
276pub type ISR2 = crate::Reg<isr2::ISR2_SPEC>;
277#[doc = "PWM Interrupt Status Register 2"]
278pub mod isr2;
279#[doc = "OOV (rw) register accessor: an alias for `Reg<OOV_SPEC>`"]
280pub type OOV = crate::Reg<oov::OOV_SPEC>;
281#[doc = "PWM Output Override Value Register"]
282pub mod oov;
283#[doc = "OS (rw) register accessor: an alias for `Reg<OS_SPEC>`"]
284pub type OS = crate::Reg<os::OS_SPEC>;
285#[doc = "PWM Output Selection Register"]
286pub mod os;
287#[doc = "OSS (w) register accessor: an alias for `Reg<OSS_SPEC>`"]
288pub type OSS = crate::Reg<oss::OSS_SPEC>;
289#[doc = "PWM Output Selection Set Register"]
290pub mod oss;
291#[doc = "OSC (w) register accessor: an alias for `Reg<OSC_SPEC>`"]
292pub type OSC = crate::Reg<osc::OSC_SPEC>;
293#[doc = "PWM Output Selection Clear Register"]
294pub mod osc;
295#[doc = "OSSUPD (w) register accessor: an alias for `Reg<OSSUPD_SPEC>`"]
296pub type OSSUPD = crate::Reg<ossupd::OSSUPD_SPEC>;
297#[doc = "PWM Output Selection Set Update Register"]
298pub mod ossupd;
299#[doc = "OSCUPD (w) register accessor: an alias for `Reg<OSCUPD_SPEC>`"]
300pub type OSCUPD = crate::Reg<oscupd::OSCUPD_SPEC>;
301#[doc = "PWM Output Selection Clear Update Register"]
302pub mod oscupd;
303#[doc = "FMR (rw) register accessor: an alias for `Reg<FMR_SPEC>`"]
304pub type FMR = crate::Reg<fmr::FMR_SPEC>;
305#[doc = "PWM Fault Mode Register"]
306pub mod fmr;
307#[doc = "FSR (r) register accessor: an alias for `Reg<FSR_SPEC>`"]
308pub type FSR = crate::Reg<fsr::FSR_SPEC>;
309#[doc = "PWM Fault Status Register"]
310pub mod fsr;
311#[doc = "FCR (w) register accessor: an alias for `Reg<FCR_SPEC>`"]
312pub type FCR = crate::Reg<fcr::FCR_SPEC>;
313#[doc = "PWM Fault Clear Register"]
314pub mod fcr;
315#[doc = "FPV (rw) register accessor: an alias for `Reg<FPV_SPEC>`"]
316pub type FPV = crate::Reg<fpv::FPV_SPEC>;
317#[doc = "PWM Fault Protection Value Register"]
318pub mod fpv;
319#[doc = "FPE (rw) register accessor: an alias for `Reg<FPE_SPEC>`"]
320pub type FPE = crate::Reg<fpe::FPE_SPEC>;
321#[doc = "PWM Fault Protection Enable Register"]
322pub mod fpe;
323#[doc = "ELMR (rw) register accessor: an alias for `Reg<ELMR_SPEC>`"]
324pub type ELMR = crate::Reg<elmr::ELMR_SPEC>;
325#[doc = "PWM Event Line 0 Mode Register"]
326pub mod elmr;
327#[doc = "SMMR (rw) register accessor: an alias for `Reg<SMMR_SPEC>`"]
328pub type SMMR = crate::Reg<smmr::SMMR_SPEC>;
329#[doc = "PWM Stepper Motor Mode Register"]
330pub mod smmr;
331#[doc = "WPCR (w) register accessor: an alias for `Reg<WPCR_SPEC>`"]
332pub type WPCR = crate::Reg<wpcr::WPCR_SPEC>;
333#[doc = "PWM Write Protection Control Register"]
334pub mod wpcr;
335#[doc = "WPSR (r) register accessor: an alias for `Reg<WPSR_SPEC>`"]
336pub type WPSR = crate::Reg<wpsr::WPSR_SPEC>;
337#[doc = "PWM Write Protection Status Register"]
338pub mod wpsr;
339#[doc = "CMPV0 (rw) register accessor: an alias for `Reg<CMPV0_SPEC>`"]
340pub type CMPV0 = crate::Reg<cmpv0::CMPV0_SPEC>;
341#[doc = "PWM Comparison 0 Value Register"]
342pub mod cmpv0;
343#[doc = "CMPVUPD0 (w) register accessor: an alias for `Reg<CMPVUPD0_SPEC>`"]
344pub type CMPVUPD0 = crate::Reg<cmpvupd0::CMPVUPD0_SPEC>;
345#[doc = "PWM Comparison 0 Value Update Register"]
346pub mod cmpvupd0;
347#[doc = "CMPM0 (rw) register accessor: an alias for `Reg<CMPM0_SPEC>`"]
348pub type CMPM0 = crate::Reg<cmpm0::CMPM0_SPEC>;
349#[doc = "PWM Comparison 0 Mode Register"]
350pub mod cmpm0;
351#[doc = "CMPMUPD0 (w) register accessor: an alias for `Reg<CMPMUPD0_SPEC>`"]
352pub type CMPMUPD0 = crate::Reg<cmpmupd0::CMPMUPD0_SPEC>;
353#[doc = "PWM Comparison 0 Mode Update Register"]
354pub mod cmpmupd0;
355#[doc = "CMPV1 (rw) register accessor: an alias for `Reg<CMPV1_SPEC>`"]
356pub type CMPV1 = crate::Reg<cmpv1::CMPV1_SPEC>;
357#[doc = "PWM Comparison 1 Value Register"]
358pub mod cmpv1;
359#[doc = "CMPVUPD1 (w) register accessor: an alias for `Reg<CMPVUPD1_SPEC>`"]
360pub type CMPVUPD1 = crate::Reg<cmpvupd1::CMPVUPD1_SPEC>;
361#[doc = "PWM Comparison 1 Value Update Register"]
362pub mod cmpvupd1;
363#[doc = "CMPM1 (rw) register accessor: an alias for `Reg<CMPM1_SPEC>`"]
364pub type CMPM1 = crate::Reg<cmpm1::CMPM1_SPEC>;
365#[doc = "PWM Comparison 1 Mode Register"]
366pub mod cmpm1;
367#[doc = "CMPMUPD1 (w) register accessor: an alias for `Reg<CMPMUPD1_SPEC>`"]
368pub type CMPMUPD1 = crate::Reg<cmpmupd1::CMPMUPD1_SPEC>;
369#[doc = "PWM Comparison 1 Mode Update Register"]
370pub mod cmpmupd1;
371#[doc = "CMPV2 (rw) register accessor: an alias for `Reg<CMPV2_SPEC>`"]
372pub type CMPV2 = crate::Reg<cmpv2::CMPV2_SPEC>;
373#[doc = "PWM Comparison 2 Value Register"]
374pub mod cmpv2;
375#[doc = "CMPVUPD2 (w) register accessor: an alias for `Reg<CMPVUPD2_SPEC>`"]
376pub type CMPVUPD2 = crate::Reg<cmpvupd2::CMPVUPD2_SPEC>;
377#[doc = "PWM Comparison 2 Value Update Register"]
378pub mod cmpvupd2;
379#[doc = "CMPM2 (rw) register accessor: an alias for `Reg<CMPM2_SPEC>`"]
380pub type CMPM2 = crate::Reg<cmpm2::CMPM2_SPEC>;
381#[doc = "PWM Comparison 2 Mode Register"]
382pub mod cmpm2;
383#[doc = "CMPMUPD2 (w) register accessor: an alias for `Reg<CMPMUPD2_SPEC>`"]
384pub type CMPMUPD2 = crate::Reg<cmpmupd2::CMPMUPD2_SPEC>;
385#[doc = "PWM Comparison 2 Mode Update Register"]
386pub mod cmpmupd2;
387#[doc = "CMPV3 (rw) register accessor: an alias for `Reg<CMPV3_SPEC>`"]
388pub type CMPV3 = crate::Reg<cmpv3::CMPV3_SPEC>;
389#[doc = "PWM Comparison 3 Value Register"]
390pub mod cmpv3;
391#[doc = "CMPVUPD3 (w) register accessor: an alias for `Reg<CMPVUPD3_SPEC>`"]
392pub type CMPVUPD3 = crate::Reg<cmpvupd3::CMPVUPD3_SPEC>;
393#[doc = "PWM Comparison 3 Value Update Register"]
394pub mod cmpvupd3;
395#[doc = "CMPM3 (rw) register accessor: an alias for `Reg<CMPM3_SPEC>`"]
396pub type CMPM3 = crate::Reg<cmpm3::CMPM3_SPEC>;
397#[doc = "PWM Comparison 3 Mode Register"]
398pub mod cmpm3;
399#[doc = "CMPMUPD3 (w) register accessor: an alias for `Reg<CMPMUPD3_SPEC>`"]
400pub type CMPMUPD3 = crate::Reg<cmpmupd3::CMPMUPD3_SPEC>;
401#[doc = "PWM Comparison 3 Mode Update Register"]
402pub mod cmpmupd3;
403#[doc = "CMPV4 (rw) register accessor: an alias for `Reg<CMPV4_SPEC>`"]
404pub type CMPV4 = crate::Reg<cmpv4::CMPV4_SPEC>;
405#[doc = "PWM Comparison 4 Value Register"]
406pub mod cmpv4;
407#[doc = "CMPVUPD4 (w) register accessor: an alias for `Reg<CMPVUPD4_SPEC>`"]
408pub type CMPVUPD4 = crate::Reg<cmpvupd4::CMPVUPD4_SPEC>;
409#[doc = "PWM Comparison 4 Value Update Register"]
410pub mod cmpvupd4;
411#[doc = "CMPM4 (rw) register accessor: an alias for `Reg<CMPM4_SPEC>`"]
412pub type CMPM4 = crate::Reg<cmpm4::CMPM4_SPEC>;
413#[doc = "PWM Comparison 4 Mode Register"]
414pub mod cmpm4;
415#[doc = "CMPMUPD4 (w) register accessor: an alias for `Reg<CMPMUPD4_SPEC>`"]
416pub type CMPMUPD4 = crate::Reg<cmpmupd4::CMPMUPD4_SPEC>;
417#[doc = "PWM Comparison 4 Mode Update Register"]
418pub mod cmpmupd4;
419#[doc = "CMPV5 (rw) register accessor: an alias for `Reg<CMPV5_SPEC>`"]
420pub type CMPV5 = crate::Reg<cmpv5::CMPV5_SPEC>;
421#[doc = "PWM Comparison 5 Value Register"]
422pub mod cmpv5;
423#[doc = "CMPVUPD5 (w) register accessor: an alias for `Reg<CMPVUPD5_SPEC>`"]
424pub type CMPVUPD5 = crate::Reg<cmpvupd5::CMPVUPD5_SPEC>;
425#[doc = "PWM Comparison 5 Value Update Register"]
426pub mod cmpvupd5;
427#[doc = "CMPM5 (rw) register accessor: an alias for `Reg<CMPM5_SPEC>`"]
428pub type CMPM5 = crate::Reg<cmpm5::CMPM5_SPEC>;
429#[doc = "PWM Comparison 5 Mode Register"]
430pub mod cmpm5;
431#[doc = "CMPMUPD5 (w) register accessor: an alias for `Reg<CMPMUPD5_SPEC>`"]
432pub type CMPMUPD5 = crate::Reg<cmpmupd5::CMPMUPD5_SPEC>;
433#[doc = "PWM Comparison 5 Mode Update Register"]
434pub mod cmpmupd5;
435#[doc = "CMPV6 (rw) register accessor: an alias for `Reg<CMPV6_SPEC>`"]
436pub type CMPV6 = crate::Reg<cmpv6::CMPV6_SPEC>;
437#[doc = "PWM Comparison 6 Value Register"]
438pub mod cmpv6;
439#[doc = "CMPVUPD6 (w) register accessor: an alias for `Reg<CMPVUPD6_SPEC>`"]
440pub type CMPVUPD6 = crate::Reg<cmpvupd6::CMPVUPD6_SPEC>;
441#[doc = "PWM Comparison 6 Value Update Register"]
442pub mod cmpvupd6;
443#[doc = "CMPM6 (rw) register accessor: an alias for `Reg<CMPM6_SPEC>`"]
444pub type CMPM6 = crate::Reg<cmpm6::CMPM6_SPEC>;
445#[doc = "PWM Comparison 6 Mode Register"]
446pub mod cmpm6;
447#[doc = "CMPMUPD6 (w) register accessor: an alias for `Reg<CMPMUPD6_SPEC>`"]
448pub type CMPMUPD6 = crate::Reg<cmpmupd6::CMPMUPD6_SPEC>;
449#[doc = "PWM Comparison 6 Mode Update Register"]
450pub mod cmpmupd6;
451#[doc = "CMPV7 (rw) register accessor: an alias for `Reg<CMPV7_SPEC>`"]
452pub type CMPV7 = crate::Reg<cmpv7::CMPV7_SPEC>;
453#[doc = "PWM Comparison 7 Value Register"]
454pub mod cmpv7;
455#[doc = "CMPVUPD7 (w) register accessor: an alias for `Reg<CMPVUPD7_SPEC>`"]
456pub type CMPVUPD7 = crate::Reg<cmpvupd7::CMPVUPD7_SPEC>;
457#[doc = "PWM Comparison 7 Value Update Register"]
458pub mod cmpvupd7;
459#[doc = "CMPM7 (rw) register accessor: an alias for `Reg<CMPM7_SPEC>`"]
460pub type CMPM7 = crate::Reg<cmpm7::CMPM7_SPEC>;
461#[doc = "PWM Comparison 7 Mode Register"]
462pub mod cmpm7;
463#[doc = "CMPMUPD7 (w) register accessor: an alias for `Reg<CMPMUPD7_SPEC>`"]
464pub type CMPMUPD7 = crate::Reg<cmpmupd7::CMPMUPD7_SPEC>;
465#[doc = "PWM Comparison 7 Mode Update Register"]
466pub mod cmpmupd7;
467#[doc = "CMR0 (rw) register accessor: an alias for `Reg<CMR0_SPEC>`"]
468pub type CMR0 = crate::Reg<cmr0::CMR0_SPEC>;
469#[doc = "PWM Channel Mode Register (ch_num = 0)"]
470pub mod cmr0;
471#[doc = "CDTY0 (rw) register accessor: an alias for `Reg<CDTY0_SPEC>`"]
472pub type CDTY0 = crate::Reg<cdty0::CDTY0_SPEC>;
473#[doc = "PWM Channel Duty Cycle Register (ch_num = 0)"]
474pub mod cdty0;
475#[doc = "CDTYUPD0 (w) register accessor: an alias for `Reg<CDTYUPD0_SPEC>`"]
476pub type CDTYUPD0 = crate::Reg<cdtyupd0::CDTYUPD0_SPEC>;
477#[doc = "PWM Channel Duty Cycle Update Register (ch_num = 0)"]
478pub mod cdtyupd0;
479#[doc = "CPRD0 (rw) register accessor: an alias for `Reg<CPRD0_SPEC>`"]
480pub type CPRD0 = crate::Reg<cprd0::CPRD0_SPEC>;
481#[doc = "PWM Channel Period Register (ch_num = 0)"]
482pub mod cprd0;
483#[doc = "CPRDUPD0 (w) register accessor: an alias for `Reg<CPRDUPD0_SPEC>`"]
484pub type CPRDUPD0 = crate::Reg<cprdupd0::CPRDUPD0_SPEC>;
485#[doc = "PWM Channel Period Update Register (ch_num = 0)"]
486pub mod cprdupd0;
487#[doc = "CCNT0 (r) register accessor: an alias for `Reg<CCNT0_SPEC>`"]
488pub type CCNT0 = crate::Reg<ccnt0::CCNT0_SPEC>;
489#[doc = "PWM Channel Counter Register (ch_num = 0)"]
490pub mod ccnt0;
491#[doc = "DT0 (rw) register accessor: an alias for `Reg<DT0_SPEC>`"]
492pub type DT0 = crate::Reg<dt0::DT0_SPEC>;
493#[doc = "PWM Channel Dead Time Register (ch_num = 0)"]
494pub mod dt0;
495#[doc = "DTUPD0 (w) register accessor: an alias for `Reg<DTUPD0_SPEC>`"]
496pub type DTUPD0 = crate::Reg<dtupd0::DTUPD0_SPEC>;
497#[doc = "PWM Channel Dead Time Update Register (ch_num = 0)"]
498pub mod dtupd0;
499#[doc = "CMR1 (rw) register accessor: an alias for `Reg<CMR1_SPEC>`"]
500pub type CMR1 = crate::Reg<cmr1::CMR1_SPEC>;
501#[doc = "PWM Channel Mode Register (ch_num = 1)"]
502pub mod cmr1;
503#[doc = "CDTY1 (rw) register accessor: an alias for `Reg<CDTY1_SPEC>`"]
504pub type CDTY1 = crate::Reg<cdty1::CDTY1_SPEC>;
505#[doc = "PWM Channel Duty Cycle Register (ch_num = 1)"]
506pub mod cdty1;
507#[doc = "CDTYUPD1 (w) register accessor: an alias for `Reg<CDTYUPD1_SPEC>`"]
508pub type CDTYUPD1 = crate::Reg<cdtyupd1::CDTYUPD1_SPEC>;
509#[doc = "PWM Channel Duty Cycle Update Register (ch_num = 1)"]
510pub mod cdtyupd1;
511#[doc = "CPRD1 (rw) register accessor: an alias for `Reg<CPRD1_SPEC>`"]
512pub type CPRD1 = crate::Reg<cprd1::CPRD1_SPEC>;
513#[doc = "PWM Channel Period Register (ch_num = 1)"]
514pub mod cprd1;
515#[doc = "CPRDUPD1 (w) register accessor: an alias for `Reg<CPRDUPD1_SPEC>`"]
516pub type CPRDUPD1 = crate::Reg<cprdupd1::CPRDUPD1_SPEC>;
517#[doc = "PWM Channel Period Update Register (ch_num = 1)"]
518pub mod cprdupd1;
519#[doc = "CCNT1 (r) register accessor: an alias for `Reg<CCNT1_SPEC>`"]
520pub type CCNT1 = crate::Reg<ccnt1::CCNT1_SPEC>;
521#[doc = "PWM Channel Counter Register (ch_num = 1)"]
522pub mod ccnt1;
523#[doc = "DT1 (rw) register accessor: an alias for `Reg<DT1_SPEC>`"]
524pub type DT1 = crate::Reg<dt1::DT1_SPEC>;
525#[doc = "PWM Channel Dead Time Register (ch_num = 1)"]
526pub mod dt1;
527#[doc = "DTUPD1 (w) register accessor: an alias for `Reg<DTUPD1_SPEC>`"]
528pub type DTUPD1 = crate::Reg<dtupd1::DTUPD1_SPEC>;
529#[doc = "PWM Channel Dead Time Update Register (ch_num = 1)"]
530pub mod dtupd1;
531#[doc = "CMR2 (rw) register accessor: an alias for `Reg<CMR2_SPEC>`"]
532pub type CMR2 = crate::Reg<cmr2::CMR2_SPEC>;
533#[doc = "PWM Channel Mode Register (ch_num = 2)"]
534pub mod cmr2;
535#[doc = "CDTY2 (rw) register accessor: an alias for `Reg<CDTY2_SPEC>`"]
536pub type CDTY2 = crate::Reg<cdty2::CDTY2_SPEC>;
537#[doc = "PWM Channel Duty Cycle Register (ch_num = 2)"]
538pub mod cdty2;
539#[doc = "CDTYUPD2 (w) register accessor: an alias for `Reg<CDTYUPD2_SPEC>`"]
540pub type CDTYUPD2 = crate::Reg<cdtyupd2::CDTYUPD2_SPEC>;
541#[doc = "PWM Channel Duty Cycle Update Register (ch_num = 2)"]
542pub mod cdtyupd2;
543#[doc = "CPRD2 (rw) register accessor: an alias for `Reg<CPRD2_SPEC>`"]
544pub type CPRD2 = crate::Reg<cprd2::CPRD2_SPEC>;
545#[doc = "PWM Channel Period Register (ch_num = 2)"]
546pub mod cprd2;
547#[doc = "CPRDUPD2 (w) register accessor: an alias for `Reg<CPRDUPD2_SPEC>`"]
548pub type CPRDUPD2 = crate::Reg<cprdupd2::CPRDUPD2_SPEC>;
549#[doc = "PWM Channel Period Update Register (ch_num = 2)"]
550pub mod cprdupd2;
551#[doc = "CCNT2 (r) register accessor: an alias for `Reg<CCNT2_SPEC>`"]
552pub type CCNT2 = crate::Reg<ccnt2::CCNT2_SPEC>;
553#[doc = "PWM Channel Counter Register (ch_num = 2)"]
554pub mod ccnt2;
555#[doc = "DT2 (rw) register accessor: an alias for `Reg<DT2_SPEC>`"]
556pub type DT2 = crate::Reg<dt2::DT2_SPEC>;
557#[doc = "PWM Channel Dead Time Register (ch_num = 2)"]
558pub mod dt2;
559#[doc = "DTUPD2 (w) register accessor: an alias for `Reg<DTUPD2_SPEC>`"]
560pub type DTUPD2 = crate::Reg<dtupd2::DTUPD2_SPEC>;
561#[doc = "PWM Channel Dead Time Update Register (ch_num = 2)"]
562pub mod dtupd2;
563#[doc = "CMR3 (rw) register accessor: an alias for `Reg<CMR3_SPEC>`"]
564pub type CMR3 = crate::Reg<cmr3::CMR3_SPEC>;
565#[doc = "PWM Channel Mode Register (ch_num = 3)"]
566pub mod cmr3;
567#[doc = "CDTY3 (rw) register accessor: an alias for `Reg<CDTY3_SPEC>`"]
568pub type CDTY3 = crate::Reg<cdty3::CDTY3_SPEC>;
569#[doc = "PWM Channel Duty Cycle Register (ch_num = 3)"]
570pub mod cdty3;
571#[doc = "CDTYUPD3 (w) register accessor: an alias for `Reg<CDTYUPD3_SPEC>`"]
572pub type CDTYUPD3 = crate::Reg<cdtyupd3::CDTYUPD3_SPEC>;
573#[doc = "PWM Channel Duty Cycle Update Register (ch_num = 3)"]
574pub mod cdtyupd3;
575#[doc = "CPRD3 (rw) register accessor: an alias for `Reg<CPRD3_SPEC>`"]
576pub type CPRD3 = crate::Reg<cprd3::CPRD3_SPEC>;
577#[doc = "PWM Channel Period Register (ch_num = 3)"]
578pub mod cprd3;
579#[doc = "CPRDUPD3 (w) register accessor: an alias for `Reg<CPRDUPD3_SPEC>`"]
580pub type CPRDUPD3 = crate::Reg<cprdupd3::CPRDUPD3_SPEC>;
581#[doc = "PWM Channel Period Update Register (ch_num = 3)"]
582pub mod cprdupd3;
583#[doc = "CCNT3 (r) register accessor: an alias for `Reg<CCNT3_SPEC>`"]
584pub type CCNT3 = crate::Reg<ccnt3::CCNT3_SPEC>;
585#[doc = "PWM Channel Counter Register (ch_num = 3)"]
586pub mod ccnt3;
587#[doc = "DT3 (rw) register accessor: an alias for `Reg<DT3_SPEC>`"]
588pub type DT3 = crate::Reg<dt3::DT3_SPEC>;
589#[doc = "PWM Channel Dead Time Register (ch_num = 3)"]
590pub mod dt3;
591#[doc = "DTUPD3 (w) register accessor: an alias for `Reg<DTUPD3_SPEC>`"]
592pub type DTUPD3 = crate::Reg<dtupd3::DTUPD3_SPEC>;
593#[doc = "PWM Channel Dead Time Update Register (ch_num = 3)"]
594pub mod dtupd3;
595#[doc = "TPR (rw) register accessor: an alias for `Reg<TPR_SPEC>`"]
596pub type TPR = crate::Reg<tpr::TPR_SPEC>;
597#[doc = "Transmit Pointer Register"]
598pub mod tpr;
599#[doc = "TCR (rw) register accessor: an alias for `Reg<TCR_SPEC>`"]
600pub type TCR = crate::Reg<tcr::TCR_SPEC>;
601#[doc = "Transmit Counter Register"]
602pub mod tcr;
603#[doc = "TNPR (rw) register accessor: an alias for `Reg<TNPR_SPEC>`"]
604pub type TNPR = crate::Reg<tnpr::TNPR_SPEC>;
605#[doc = "Transmit Next Pointer Register"]
606pub mod tnpr;
607#[doc = "TNCR (rw) register accessor: an alias for `Reg<TNCR_SPEC>`"]
608pub type TNCR = crate::Reg<tncr::TNCR_SPEC>;
609#[doc = "Transmit Next Counter Register"]
610pub mod tncr;
611#[doc = "PTCR (w) register accessor: an alias for `Reg<PTCR_SPEC>`"]
612pub type PTCR = crate::Reg<ptcr::PTCR_SPEC>;
613#[doc = "Transfer Control Register"]
614pub mod ptcr;
615#[doc = "PTSR (r) register accessor: an alias for `Reg<PTSR_SPEC>`"]
616pub type PTSR = crate::Reg<ptsr::PTSR_SPEC>;
617#[doc = "Transfer Status Register"]
618pub mod ptsr;