1#[doc = "CCM_ANALOG"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x10],
5#[doc = "Analog USB1 480MHz PLL Control Register"]
6pub PLL_USB1: crate::RWRegister<u32>,
7#[doc = "Analog USB1 480MHz PLL Control Register"]
8pub PLL_USB1_SET: crate::RWRegister<u32>,
9#[doc = "Analog USB1 480MHz PLL Control Register"]
10pub PLL_USB1_CLR: crate::RWRegister<u32>,
11#[doc = "Analog USB1 480MHz PLL Control Register"]
12pub PLL_USB1_TOG: crate::RWRegister<u32>,
13 _reserved1: [u8; 0x10],
14#[doc = "Analog System PLL Control Register"]
15pub PLL_SYS: crate::RWRegister<u32>,
16#[doc = "Analog System PLL Control Register"]
17pub PLL_SYS_SET: crate::RWRegister<u32>,
18#[doc = "Analog System PLL Control Register"]
19pub PLL_SYS_CLR: crate::RWRegister<u32>,
20#[doc = "Analog System PLL Control Register"]
21pub PLL_SYS_TOG: crate::RWRegister<u32>,
22#[doc = "528MHz System PLL Spread Spectrum Register"]
23pub PLL_SYS_SS: crate::RWRegister<u32>,
24 _reserved2: [u8; 0x0c],
25#[doc = "Numerator of 528MHz System PLL Fractional Loop Divider Register"]
26pub PLL_SYS_NUM: crate::RWRegister<u32>,
27 _reserved3: [u8; 0x0c],
28#[doc = "Denominator of 528MHz System PLL Fractional Loop Divider Register"]
29pub PLL_SYS_DENOM: crate::RWRegister<u32>,
30 _reserved4: [u8; 0x0c],
31#[doc = "Analog Audio PLL control Register"]
32pub PLL_AUDIO: crate::RWRegister<u32>,
33#[doc = "Analog Audio PLL control Register"]
34pub PLL_AUDIO_SET: crate::RWRegister<u32>,
35#[doc = "Analog Audio PLL control Register"]
36pub PLL_AUDIO_CLR: crate::RWRegister<u32>,
37#[doc = "Analog Audio PLL control Register"]
38pub PLL_AUDIO_TOG: crate::RWRegister<u32>,
39#[doc = "Numerator of Audio PLL Fractional Loop Divider Register"]
40pub PLL_AUDIO_NUM: crate::RWRegister<u32>,
41 _reserved5: [u8; 0x0c],
42#[doc = "Denominator of Audio PLL Fractional Loop Divider Register"]
43pub PLL_AUDIO_DENOM: crate::RWRegister<u32>,
44 _reserved6: [u8; 0x4c],
45#[doc = "Analog ENET PLL Control Register"]
46pub PLL_ENET: crate::RWRegister<u32>,
47#[doc = "Analog ENET PLL Control Register"]
48pub PLL_ENET_SET: crate::RWRegister<u32>,
49#[doc = "Analog ENET PLL Control Register"]
50pub PLL_ENET_CLR: crate::RWRegister<u32>,
51#[doc = "Analog ENET PLL Control Register"]
52pub PLL_ENET_TOG: crate::RWRegister<u32>,
53#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
54pub PFD_480: crate::RWRegister<u32>,
55#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
56pub PFD_480_SET: crate::RWRegister<u32>,
57#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
58pub PFD_480_CLR: crate::RWRegister<u32>,
59#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
60pub PFD_480_TOG: crate::RWRegister<u32>,
61#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
62pub PFD_528: crate::RWRegister<u32>,
63#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
64pub PFD_528_SET: crate::RWRegister<u32>,
65#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
66pub PFD_528_CLR: crate::RWRegister<u32>,
67#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
68pub PFD_528_TOG: crate::RWRegister<u32>,
69 _reserved7: [u8; 0x40],
70#[doc = "Miscellaneous Register 0"]
71pub MISC0: crate::RWRegister<u32>,
72#[doc = "Miscellaneous Register 0"]
73pub MISC0_SET: crate::RWRegister<u32>,
74#[doc = "Miscellaneous Register 0"]
75pub MISC0_CLR: crate::RWRegister<u32>,
76#[doc = "Miscellaneous Register 0"]
77pub MISC0_TOG: crate::RWRegister<u32>,
78#[doc = "Miscellaneous Register 1"]
79pub MISC1: crate::RWRegister<u32>,
80#[doc = "Miscellaneous Register 1"]
81pub MISC1_SET: crate::RWRegister<u32>,
82#[doc = "Miscellaneous Register 1"]
83pub MISC1_CLR: crate::RWRegister<u32>,
84#[doc = "Miscellaneous Register 1"]
85pub MISC1_TOG: crate::RWRegister<u32>,
86#[doc = "Miscellaneous Register 2"]
87pub MISC2: crate::RWRegister<u32>,
88#[doc = "Miscellaneous Register 2"]
89pub MISC2_SET: crate::RWRegister<u32>,
90#[doc = "Miscellaneous Register 2"]
91pub MISC2_CLR: crate::RWRegister<u32>,
92#[doc = "Miscellaneous Register 2"]
93pub MISC2_TOG: crate::RWRegister<u32>,
94}
95#[doc = "Analog USB1 480MHz PLL Control Register"]
96pub mod PLL_USB1 {
97#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
98pub mod DIV_SELECT {
99pub const offset: u32 = 1;
100pub const mask: u32 = 0x01 << offset;
101pub mod R {}
102pub mod W {}
103pub mod RW {}
104 }
105#[doc = "Powers the 9-phase PLL outputs for USBPHYn"]
106pub mod EN_USB_CLKS {
107pub const offset: u32 = 6;
108pub const mask: u32 = 0x01 << offset;
109pub mod R {}
110pub mod W {}
111pub mod RW {
112#[doc = "PLL outputs for USBPHYn off."]
113pub const EN_USB_CLKS_0: u32 = 0;
114#[doc = "PLL outputs for USBPHYn on."]
115pub const EN_USB_CLKS_1: u32 = 0x01;
116 }
117 }
118#[doc = "Powers up the PLL. This bit will be set automatically when USBPHY0 remote wakeup event happens."]
119pub mod POWER {
120pub const offset: u32 = 12;
121pub const mask: u32 = 0x01 << offset;
122pub mod R {}
123pub mod W {}
124pub mod RW {}
125 }
126#[doc = "Enable the PLL clock output."]
127pub mod ENABLE {
128pub const offset: u32 = 13;
129pub const mask: u32 = 0x01 << offset;
130pub mod R {}
131pub mod W {}
132pub mod RW {}
133 }
134#[doc = "Determines the bypass source."]
135pub mod BYPASS_CLK_SRC {
136pub const offset: u32 = 14;
137pub const mask: u32 = 0x03 << offset;
138pub mod R {}
139pub mod W {}
140pub mod RW {
141#[doc = "Select the 24MHz oscillator as source."]
142pub const REF_CLK_24M: u32 = 0;
143 }
144 }
145#[doc = "Bypass the PLL."]
146pub mod BYPASS {
147pub const offset: u32 = 16;
148pub const mask: u32 = 0x01 << offset;
149pub mod R {}
150pub mod W {}
151pub mod RW {}
152 }
153#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
154pub mod LOCK {
155pub const offset: u32 = 31;
156pub const mask: u32 = 0x01 << offset;
157pub mod R {}
158pub mod W {}
159pub mod RW {}
160 }
161}
162#[doc = "Analog USB1 480MHz PLL Control Register"]
163pub mod PLL_USB1_SET {
164#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
165pub mod DIV_SELECT {
166pub const offset: u32 = 1;
167pub const mask: u32 = 0x01 << offset;
168pub mod R {}
169pub mod W {}
170pub mod RW {}
171 }
172#[doc = "Powers the 9-phase PLL outputs for USBPHYn"]
173pub mod EN_USB_CLKS {
174pub const offset: u32 = 6;
175pub const mask: u32 = 0x01 << offset;
176pub mod R {}
177pub mod W {}
178pub mod RW {
179#[doc = "PLL outputs for USBPHYn off."]
180pub const EN_USB_CLKS_0: u32 = 0;
181#[doc = "PLL outputs for USBPHYn on."]
182pub const EN_USB_CLKS_1: u32 = 0x01;
183 }
184 }
185#[doc = "Powers up the PLL. This bit will be set automatically when USBPHY0 remote wakeup event happens."]
186pub mod POWER {
187pub const offset: u32 = 12;
188pub const mask: u32 = 0x01 << offset;
189pub mod R {}
190pub mod W {}
191pub mod RW {}
192 }
193#[doc = "Enable the PLL clock output."]
194pub mod ENABLE {
195pub const offset: u32 = 13;
196pub const mask: u32 = 0x01 << offset;
197pub mod R {}
198pub mod W {}
199pub mod RW {}
200 }
201#[doc = "Determines the bypass source."]
202pub mod BYPASS_CLK_SRC {
203pub const offset: u32 = 14;
204pub const mask: u32 = 0x03 << offset;
205pub mod R {}
206pub mod W {}
207pub mod RW {
208#[doc = "Select the 24MHz oscillator as source."]
209pub const REF_CLK_24M: u32 = 0;
210 }
211 }
212#[doc = "Bypass the PLL."]
213pub mod BYPASS {
214pub const offset: u32 = 16;
215pub const mask: u32 = 0x01 << offset;
216pub mod R {}
217pub mod W {}
218pub mod RW {}
219 }
220#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
221pub mod LOCK {
222pub const offset: u32 = 31;
223pub const mask: u32 = 0x01 << offset;
224pub mod R {}
225pub mod W {}
226pub mod RW {}
227 }
228}
229#[doc = "Analog USB1 480MHz PLL Control Register"]
230pub mod PLL_USB1_CLR {
231#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
232pub mod DIV_SELECT {
233pub const offset: u32 = 1;
234pub const mask: u32 = 0x01 << offset;
235pub mod R {}
236pub mod W {}
237pub mod RW {}
238 }
239#[doc = "Powers the 9-phase PLL outputs for USBPHYn"]
240pub mod EN_USB_CLKS {
241pub const offset: u32 = 6;
242pub const mask: u32 = 0x01 << offset;
243pub mod R {}
244pub mod W {}
245pub mod RW {
246#[doc = "PLL outputs for USBPHYn off."]
247pub const EN_USB_CLKS_0: u32 = 0;
248#[doc = "PLL outputs for USBPHYn on."]
249pub const EN_USB_CLKS_1: u32 = 0x01;
250 }
251 }
252#[doc = "Powers up the PLL. This bit will be set automatically when USBPHY0 remote wakeup event happens."]
253pub mod POWER {
254pub const offset: u32 = 12;
255pub const mask: u32 = 0x01 << offset;
256pub mod R {}
257pub mod W {}
258pub mod RW {}
259 }
260#[doc = "Enable the PLL clock output."]
261pub mod ENABLE {
262pub const offset: u32 = 13;
263pub const mask: u32 = 0x01 << offset;
264pub mod R {}
265pub mod W {}
266pub mod RW {}
267 }
268#[doc = "Determines the bypass source."]
269pub mod BYPASS_CLK_SRC {
270pub const offset: u32 = 14;
271pub const mask: u32 = 0x03 << offset;
272pub mod R {}
273pub mod W {}
274pub mod RW {
275#[doc = "Select the 24MHz oscillator as source."]
276pub const REF_CLK_24M: u32 = 0;
277 }
278 }
279#[doc = "Bypass the PLL."]
280pub mod BYPASS {
281pub const offset: u32 = 16;
282pub const mask: u32 = 0x01 << offset;
283pub mod R {}
284pub mod W {}
285pub mod RW {}
286 }
287#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
288pub mod LOCK {
289pub const offset: u32 = 31;
290pub const mask: u32 = 0x01 << offset;
291pub mod R {}
292pub mod W {}
293pub mod RW {}
294 }
295}
296#[doc = "Analog USB1 480MHz PLL Control Register"]
297pub mod PLL_USB1_TOG {
298#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
299pub mod DIV_SELECT {
300pub const offset: u32 = 1;
301pub const mask: u32 = 0x01 << offset;
302pub mod R {}
303pub mod W {}
304pub mod RW {}
305 }
306#[doc = "Powers the 9-phase PLL outputs for USBPHYn"]
307pub mod EN_USB_CLKS {
308pub const offset: u32 = 6;
309pub const mask: u32 = 0x01 << offset;
310pub mod R {}
311pub mod W {}
312pub mod RW {
313#[doc = "PLL outputs for USBPHYn off."]
314pub const EN_USB_CLKS_0: u32 = 0;
315#[doc = "PLL outputs for USBPHYn on."]
316pub const EN_USB_CLKS_1: u32 = 0x01;
317 }
318 }
319#[doc = "Powers up the PLL. This bit will be set automatically when USBPHY0 remote wakeup event happens."]
320pub mod POWER {
321pub const offset: u32 = 12;
322pub const mask: u32 = 0x01 << offset;
323pub mod R {}
324pub mod W {}
325pub mod RW {}
326 }
327#[doc = "Enable the PLL clock output."]
328pub mod ENABLE {
329pub const offset: u32 = 13;
330pub const mask: u32 = 0x01 << offset;
331pub mod R {}
332pub mod W {}
333pub mod RW {}
334 }
335#[doc = "Determines the bypass source."]
336pub mod BYPASS_CLK_SRC {
337pub const offset: u32 = 14;
338pub const mask: u32 = 0x03 << offset;
339pub mod R {}
340pub mod W {}
341pub mod RW {
342#[doc = "Select the 24MHz oscillator as source."]
343pub const REF_CLK_24M: u32 = 0;
344 }
345 }
346#[doc = "Bypass the PLL."]
347pub mod BYPASS {
348pub const offset: u32 = 16;
349pub const mask: u32 = 0x01 << offset;
350pub mod R {}
351pub mod W {}
352pub mod RW {}
353 }
354#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
355pub mod LOCK {
356pub const offset: u32 = 31;
357pub const mask: u32 = 0x01 << offset;
358pub mod R {}
359pub mod W {}
360pub mod RW {}
361 }
362}
363#[doc = "Analog System PLL Control Register"]
364pub mod PLL_SYS {
365#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
366pub mod DIV_SELECT {
367pub const offset: u32 = 0;
368pub const mask: u32 = 0x01 << offset;
369pub mod R {}
370pub mod W {}
371pub mod RW {}
372 }
373#[doc = "Powers down the PLL."]
374pub mod POWERDOWN {
375pub const offset: u32 = 12;
376pub const mask: u32 = 0x01 << offset;
377pub mod R {}
378pub mod W {}
379pub mod RW {}
380 }
381#[doc = "Enable PLL output"]
382pub mod ENABLE {
383pub const offset: u32 = 13;
384pub const mask: u32 = 0x01 << offset;
385pub mod R {}
386pub mod W {}
387pub mod RW {}
388 }
389#[doc = "Determines the bypass source."]
390pub mod BYPASS_CLK_SRC {
391pub const offset: u32 = 14;
392pub const mask: u32 = 0x03 << offset;
393pub mod R {}
394pub mod W {}
395pub mod RW {
396#[doc = "Select the 24MHz oscillator as source."]
397pub const REF_CLK_24M: u32 = 0;
398 }
399 }
400#[doc = "Bypass the PLL."]
401pub mod BYPASS {
402pub const offset: u32 = 16;
403pub const mask: u32 = 0x01 << offset;
404pub mod R {}
405pub mod W {}
406pub mod RW {}
407 }
408#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
409pub mod LOCK {
410pub const offset: u32 = 31;
411pub const mask: u32 = 0x01 << offset;
412pub mod R {}
413pub mod W {}
414pub mod RW {}
415 }
416}
417#[doc = "Analog System PLL Control Register"]
418pub mod PLL_SYS_SET {
419#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
420pub mod DIV_SELECT {
421pub const offset: u32 = 0;
422pub const mask: u32 = 0x01 << offset;
423pub mod R {}
424pub mod W {}
425pub mod RW {}
426 }
427#[doc = "Powers down the PLL."]
428pub mod POWERDOWN {
429pub const offset: u32 = 12;
430pub const mask: u32 = 0x01 << offset;
431pub mod R {}
432pub mod W {}
433pub mod RW {}
434 }
435#[doc = "Enable PLL output"]
436pub mod ENABLE {
437pub const offset: u32 = 13;
438pub const mask: u32 = 0x01 << offset;
439pub mod R {}
440pub mod W {}
441pub mod RW {}
442 }
443#[doc = "Determines the bypass source."]
444pub mod BYPASS_CLK_SRC {
445pub const offset: u32 = 14;
446pub const mask: u32 = 0x03 << offset;
447pub mod R {}
448pub mod W {}
449pub mod RW {
450#[doc = "Select the 24MHz oscillator as source."]
451pub const REF_CLK_24M: u32 = 0;
452 }
453 }
454#[doc = "Bypass the PLL."]
455pub mod BYPASS {
456pub const offset: u32 = 16;
457pub const mask: u32 = 0x01 << offset;
458pub mod R {}
459pub mod W {}
460pub mod RW {}
461 }
462#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
463pub mod LOCK {
464pub const offset: u32 = 31;
465pub const mask: u32 = 0x01 << offset;
466pub mod R {}
467pub mod W {}
468pub mod RW {}
469 }
470}
471#[doc = "Analog System PLL Control Register"]
472pub mod PLL_SYS_CLR {
473#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
474pub mod DIV_SELECT {
475pub const offset: u32 = 0;
476pub const mask: u32 = 0x01 << offset;
477pub mod R {}
478pub mod W {}
479pub mod RW {}
480 }
481#[doc = "Powers down the PLL."]
482pub mod POWERDOWN {
483pub const offset: u32 = 12;
484pub const mask: u32 = 0x01 << offset;
485pub mod R {}
486pub mod W {}
487pub mod RW {}
488 }
489#[doc = "Enable PLL output"]
490pub mod ENABLE {
491pub const offset: u32 = 13;
492pub const mask: u32 = 0x01 << offset;
493pub mod R {}
494pub mod W {}
495pub mod RW {}
496 }
497#[doc = "Determines the bypass source."]
498pub mod BYPASS_CLK_SRC {
499pub const offset: u32 = 14;
500pub const mask: u32 = 0x03 << offset;
501pub mod R {}
502pub mod W {}
503pub mod RW {
504#[doc = "Select the 24MHz oscillator as source."]
505pub const REF_CLK_24M: u32 = 0;
506 }
507 }
508#[doc = "Bypass the PLL."]
509pub mod BYPASS {
510pub const offset: u32 = 16;
511pub const mask: u32 = 0x01 << offset;
512pub mod R {}
513pub mod W {}
514pub mod RW {}
515 }
516#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
517pub mod LOCK {
518pub const offset: u32 = 31;
519pub const mask: u32 = 0x01 << offset;
520pub mod R {}
521pub mod W {}
522pub mod RW {}
523 }
524}
525#[doc = "Analog System PLL Control Register"]
526pub mod PLL_SYS_TOG {
527#[doc = "This field controls the PLL loop divider. 0 - Fout=Fref*20; 1 - Fout=Fref*22."]
528pub mod DIV_SELECT {
529pub const offset: u32 = 0;
530pub const mask: u32 = 0x01 << offset;
531pub mod R {}
532pub mod W {}
533pub mod RW {}
534 }
535#[doc = "Powers down the PLL."]
536pub mod POWERDOWN {
537pub const offset: u32 = 12;
538pub const mask: u32 = 0x01 << offset;
539pub mod R {}
540pub mod W {}
541pub mod RW {}
542 }
543#[doc = "Enable PLL output"]
544pub mod ENABLE {
545pub const offset: u32 = 13;
546pub const mask: u32 = 0x01 << offset;
547pub mod R {}
548pub mod W {}
549pub mod RW {}
550 }
551#[doc = "Determines the bypass source."]
552pub mod BYPASS_CLK_SRC {
553pub const offset: u32 = 14;
554pub const mask: u32 = 0x03 << offset;
555pub mod R {}
556pub mod W {}
557pub mod RW {
558#[doc = "Select the 24MHz oscillator as source."]
559pub const REF_CLK_24M: u32 = 0;
560 }
561 }
562#[doc = "Bypass the PLL."]
563pub mod BYPASS {
564pub const offset: u32 = 16;
565pub const mask: u32 = 0x01 << offset;
566pub mod R {}
567pub mod W {}
568pub mod RW {}
569 }
570#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
571pub mod LOCK {
572pub const offset: u32 = 31;
573pub const mask: u32 = 0x01 << offset;
574pub mod R {}
575pub mod W {}
576pub mod RW {}
577 }
578}
579#[doc = "528MHz System PLL Spread Spectrum Register"]
580pub mod PLL_SYS_SS {
581#[doc = "Frequency change step = step/CCM_ANALOG_PLL_SYS_DENOM\\[B\\]*24MHz."]
582pub mod STEP {
583pub const offset: u32 = 0;
584pub const mask: u32 = 0x7fff << offset;
585pub mod R {}
586pub mod W {}
587pub mod RW {}
588 }
589#[doc = "Enable bit"]
590pub mod ENABLE {
591pub const offset: u32 = 15;
592pub const mask: u32 = 0x01 << offset;
593pub mod R {}
594pub mod W {}
595pub mod RW {
596#[doc = "Spread spectrum modulation disabled"]
597pub const ENABLE_0: u32 = 0;
598#[doc = "Soread spectrum modulation enabled"]
599pub const ENABLE_1: u32 = 0x01;
600 }
601 }
602#[doc = "Frequency change = stop/CCM_ANALOG_PLL_SYS_DENOM\\[B\\]*24MHz."]
603pub mod STOP {
604pub const offset: u32 = 16;
605pub const mask: u32 = 0xffff << offset;
606pub mod R {}
607pub mod W {}
608pub mod RW {}
609 }
610}
611#[doc = "Numerator of 528MHz System PLL Fractional Loop Divider Register"]
612pub mod PLL_SYS_NUM {
613#[doc = "30 bit numerator (A) of fractional loop divider (signed integer)."]
614pub mod A {
615pub const offset: u32 = 0;
616pub const mask: u32 = 0x3fff_ffff << offset;
617pub mod R {}
618pub mod W {}
619pub mod RW {}
620 }
621}
622#[doc = "Denominator of 528MHz System PLL Fractional Loop Divider Register"]
623pub mod PLL_SYS_DENOM {
624#[doc = "30 bit denominator (B) of fractional loop divider (unsigned integer)."]
625pub mod B {
626pub const offset: u32 = 0;
627pub const mask: u32 = 0x3fff_ffff << offset;
628pub mod R {}
629pub mod W {}
630pub mod RW {}
631 }
632}
633#[doc = "Analog Audio PLL control Register"]
634pub mod PLL_AUDIO {
635#[doc = "This field controls the PLL loop divider. Valid range for DIV_SELECT divider value: 27~54."]
636pub mod DIV_SELECT {
637pub const offset: u32 = 0;
638pub const mask: u32 = 0x7f << offset;
639pub mod R {}
640pub mod W {}
641pub mod RW {}
642 }
643#[doc = "Powers down the PLL."]
644pub mod POWERDOWN {
645pub const offset: u32 = 12;
646pub const mask: u32 = 0x01 << offset;
647pub mod R {}
648pub mod W {}
649pub mod RW {}
650 }
651#[doc = "Enable PLL output"]
652pub mod ENABLE {
653pub const offset: u32 = 13;
654pub const mask: u32 = 0x01 << offset;
655pub mod R {}
656pub mod W {}
657pub mod RW {}
658 }
659#[doc = "Determines the bypass source."]
660pub mod BYPASS_CLK_SRC {
661pub const offset: u32 = 14;
662pub const mask: u32 = 0x03 << offset;
663pub mod R {}
664pub mod W {}
665pub mod RW {
666#[doc = "Select the 24MHz oscillator as source."]
667pub const REF_CLK_24M: u32 = 0;
668 }
669 }
670#[doc = "Bypass the PLL."]
671pub mod BYPASS {
672pub const offset: u32 = 16;
673pub const mask: u32 = 0x01 << offset;
674pub mod R {}
675pub mod W {}
676pub mod RW {}
677 }
678#[doc = "These bits implement a divider after the PLL, but before the enable and bypass mux."]
679pub mod POST_DIV_SELECT {
680pub const offset: u32 = 19;
681pub const mask: u32 = 0x03 << offset;
682pub mod R {}
683pub mod W {}
684pub mod RW {
685#[doc = "Divide by 4."]
686pub const POST_DIV_SELECT_0: u32 = 0;
687#[doc = "Divide by 2."]
688pub const POST_DIV_SELECT_1: u32 = 0x01;
689#[doc = "Divide by 1."]
690pub const POST_DIV_SELECT_2: u32 = 0x02;
691 }
692 }
693#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
694pub mod LOCK {
695pub const offset: u32 = 31;
696pub const mask: u32 = 0x01 << offset;
697pub mod R {}
698pub mod W {}
699pub mod RW {}
700 }
701}
702#[doc = "Analog Audio PLL control Register"]
703pub mod PLL_AUDIO_SET {
704#[doc = "This field controls the PLL loop divider. Valid range for DIV_SELECT divider value: 27~54."]
705pub mod DIV_SELECT {
706pub const offset: u32 = 0;
707pub const mask: u32 = 0x7f << offset;
708pub mod R {}
709pub mod W {}
710pub mod RW {}
711 }
712#[doc = "Powers down the PLL."]
713pub mod POWERDOWN {
714pub const offset: u32 = 12;
715pub const mask: u32 = 0x01 << offset;
716pub mod R {}
717pub mod W {}
718pub mod RW {}
719 }
720#[doc = "Enable PLL output"]
721pub mod ENABLE {
722pub const offset: u32 = 13;
723pub const mask: u32 = 0x01 << offset;
724pub mod R {}
725pub mod W {}
726pub mod RW {}
727 }
728#[doc = "Determines the bypass source."]
729pub mod BYPASS_CLK_SRC {
730pub const offset: u32 = 14;
731pub const mask: u32 = 0x03 << offset;
732pub mod R {}
733pub mod W {}
734pub mod RW {
735#[doc = "Select the 24MHz oscillator as source."]
736pub const REF_CLK_24M: u32 = 0;
737 }
738 }
739#[doc = "Bypass the PLL."]
740pub mod BYPASS {
741pub const offset: u32 = 16;
742pub const mask: u32 = 0x01 << offset;
743pub mod R {}
744pub mod W {}
745pub mod RW {}
746 }
747#[doc = "These bits implement a divider after the PLL, but before the enable and bypass mux."]
748pub mod POST_DIV_SELECT {
749pub const offset: u32 = 19;
750pub const mask: u32 = 0x03 << offset;
751pub mod R {}
752pub mod W {}
753pub mod RW {
754#[doc = "Divide by 4."]
755pub const POST_DIV_SELECT_0: u32 = 0;
756#[doc = "Divide by 2."]
757pub const POST_DIV_SELECT_1: u32 = 0x01;
758#[doc = "Divide by 1."]
759pub const POST_DIV_SELECT_2: u32 = 0x02;
760 }
761 }
762#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
763pub mod LOCK {
764pub const offset: u32 = 31;
765pub const mask: u32 = 0x01 << offset;
766pub mod R {}
767pub mod W {}
768pub mod RW {}
769 }
770}
771#[doc = "Analog Audio PLL control Register"]
772pub mod PLL_AUDIO_CLR {
773#[doc = "This field controls the PLL loop divider. Valid range for DIV_SELECT divider value: 27~54."]
774pub mod DIV_SELECT {
775pub const offset: u32 = 0;
776pub const mask: u32 = 0x7f << offset;
777pub mod R {}
778pub mod W {}
779pub mod RW {}
780 }
781#[doc = "Powers down the PLL."]
782pub mod POWERDOWN {
783pub const offset: u32 = 12;
784pub const mask: u32 = 0x01 << offset;
785pub mod R {}
786pub mod W {}
787pub mod RW {}
788 }
789#[doc = "Enable PLL output"]
790pub mod ENABLE {
791pub const offset: u32 = 13;
792pub const mask: u32 = 0x01 << offset;
793pub mod R {}
794pub mod W {}
795pub mod RW {}
796 }
797#[doc = "Determines the bypass source."]
798pub mod BYPASS_CLK_SRC {
799pub const offset: u32 = 14;
800pub const mask: u32 = 0x03 << offset;
801pub mod R {}
802pub mod W {}
803pub mod RW {
804#[doc = "Select the 24MHz oscillator as source."]
805pub const REF_CLK_24M: u32 = 0;
806 }
807 }
808#[doc = "Bypass the PLL."]
809pub mod BYPASS {
810pub const offset: u32 = 16;
811pub const mask: u32 = 0x01 << offset;
812pub mod R {}
813pub mod W {}
814pub mod RW {}
815 }
816#[doc = "These bits implement a divider after the PLL, but before the enable and bypass mux."]
817pub mod POST_DIV_SELECT {
818pub const offset: u32 = 19;
819pub const mask: u32 = 0x03 << offset;
820pub mod R {}
821pub mod W {}
822pub mod RW {
823#[doc = "Divide by 4."]
824pub const POST_DIV_SELECT_0: u32 = 0;
825#[doc = "Divide by 2."]
826pub const POST_DIV_SELECT_1: u32 = 0x01;
827#[doc = "Divide by 1."]
828pub const POST_DIV_SELECT_2: u32 = 0x02;
829 }
830 }
831#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
832pub mod LOCK {
833pub const offset: u32 = 31;
834pub const mask: u32 = 0x01 << offset;
835pub mod R {}
836pub mod W {}
837pub mod RW {}
838 }
839}
840#[doc = "Analog Audio PLL control Register"]
841pub mod PLL_AUDIO_TOG {
842#[doc = "This field controls the PLL loop divider. Valid range for DIV_SELECT divider value: 27~54."]
843pub mod DIV_SELECT {
844pub const offset: u32 = 0;
845pub const mask: u32 = 0x7f << offset;
846pub mod R {}
847pub mod W {}
848pub mod RW {}
849 }
850#[doc = "Powers down the PLL."]
851pub mod POWERDOWN {
852pub const offset: u32 = 12;
853pub const mask: u32 = 0x01 << offset;
854pub mod R {}
855pub mod W {}
856pub mod RW {}
857 }
858#[doc = "Enable PLL output"]
859pub mod ENABLE {
860pub const offset: u32 = 13;
861pub const mask: u32 = 0x01 << offset;
862pub mod R {}
863pub mod W {}
864pub mod RW {}
865 }
866#[doc = "Determines the bypass source."]
867pub mod BYPASS_CLK_SRC {
868pub const offset: u32 = 14;
869pub const mask: u32 = 0x03 << offset;
870pub mod R {}
871pub mod W {}
872pub mod RW {
873#[doc = "Select the 24MHz oscillator as source."]
874pub const REF_CLK_24M: u32 = 0;
875 }
876 }
877#[doc = "Bypass the PLL."]
878pub mod BYPASS {
879pub const offset: u32 = 16;
880pub const mask: u32 = 0x01 << offset;
881pub mod R {}
882pub mod W {}
883pub mod RW {}
884 }
885#[doc = "These bits implement a divider after the PLL, but before the enable and bypass mux."]
886pub mod POST_DIV_SELECT {
887pub const offset: u32 = 19;
888pub const mask: u32 = 0x03 << offset;
889pub mod R {}
890pub mod W {}
891pub mod RW {
892#[doc = "Divide by 4."]
893pub const POST_DIV_SELECT_0: u32 = 0;
894#[doc = "Divide by 2."]
895pub const POST_DIV_SELECT_1: u32 = 0x01;
896#[doc = "Divide by 1."]
897pub const POST_DIV_SELECT_2: u32 = 0x02;
898 }
899 }
900#[doc = "1 - PLL is currently locked. 0 - PLL is not currently locked."]
901pub mod LOCK {
902pub const offset: u32 = 31;
903pub const mask: u32 = 0x01 << offset;
904pub mod R {}
905pub mod W {}
906pub mod RW {}
907 }
908}
909#[doc = "Numerator of Audio PLL Fractional Loop Divider Register"]
910pub mod PLL_AUDIO_NUM {
911#[doc = "30 bit numerator of fractional loop divider."]
912pub mod A {
913pub const offset: u32 = 0;
914pub const mask: u32 = 0x3fff_ffff << offset;
915pub mod R {}
916pub mod W {}
917pub mod RW {}
918 }
919}
920#[doc = "Denominator of Audio PLL Fractional Loop Divider Register"]
921pub mod PLL_AUDIO_DENOM {
922#[doc = "30 bit denominator of fractional loop divider."]
923pub mod B {
924pub const offset: u32 = 0;
925pub const mask: u32 = 0x3fff_ffff << offset;
926pub mod R {}
927pub mod W {}
928pub mod RW {}
929 }
930}
931#[doc = "Analog ENET PLL Control Register"]
932pub mod PLL_ENET {
933#[doc = "Powers down the PLL."]
934pub mod POWERDOWN {
935pub const offset: u32 = 12;
936pub const mask: u32 = 0x01 << offset;
937pub mod R {}
938pub mod W {}
939pub mod RW {}
940 }
941#[doc = "Determines the bypass source."]
942pub mod BYPASS_CLK_SRC {
943pub const offset: u32 = 14;
944pub const mask: u32 = 0x03 << offset;
945pub mod R {}
946pub mod W {}
947pub mod RW {
948#[doc = "Select the 24MHz oscillator as source."]
949pub const REF_CLK_24M: u32 = 0;
950 }
951 }
952#[doc = "Bypass the PLL."]
953pub mod BYPASS {
954pub const offset: u32 = 16;
955pub const mask: u32 = 0x01 << offset;
956pub mod R {}
957pub mod W {}
958pub mod RW {}
959 }
960#[doc = "Enable the PLL providing ENET 500 MHz reference clock"]
961pub mod ENET_500M_REF_EN {
962pub const offset: u32 = 22;
963pub const mask: u32 = 0x01 << offset;
964pub mod R {}
965pub mod W {}
966pub mod RW {}
967 }
968#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
969pub mod LOCK {
970pub const offset: u32 = 31;
971pub const mask: u32 = 0x01 << offset;
972pub mod R {}
973pub mod W {}
974pub mod RW {}
975 }
976}
977#[doc = "Analog ENET PLL Control Register"]
978pub mod PLL_ENET_SET {
979#[doc = "Powers down the PLL."]
980pub mod POWERDOWN {
981pub const offset: u32 = 12;
982pub const mask: u32 = 0x01 << offset;
983pub mod R {}
984pub mod W {}
985pub mod RW {}
986 }
987#[doc = "Determines the bypass source."]
988pub mod BYPASS_CLK_SRC {
989pub const offset: u32 = 14;
990pub const mask: u32 = 0x03 << offset;
991pub mod R {}
992pub mod W {}
993pub mod RW {
994#[doc = "Select the 24MHz oscillator as source."]
995pub const REF_CLK_24M: u32 = 0;
996 }
997 }
998#[doc = "Bypass the PLL."]
999pub mod BYPASS {
1000pub const offset: u32 = 16;
1001pub const mask: u32 = 0x01 << offset;
1002pub mod R {}
1003pub mod W {}
1004pub mod RW {}
1005 }
1006#[doc = "Enable the PLL providing ENET 500 MHz reference clock"]
1007pub mod ENET_500M_REF_EN {
1008pub const offset: u32 = 22;
1009pub const mask: u32 = 0x01 << offset;
1010pub mod R {}
1011pub mod W {}
1012pub mod RW {}
1013 }
1014#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
1015pub mod LOCK {
1016pub const offset: u32 = 31;
1017pub const mask: u32 = 0x01 << offset;
1018pub mod R {}
1019pub mod W {}
1020pub mod RW {}
1021 }
1022}
1023#[doc = "Analog ENET PLL Control Register"]
1024pub mod PLL_ENET_CLR {
1025#[doc = "Powers down the PLL."]
1026pub mod POWERDOWN {
1027pub const offset: u32 = 12;
1028pub const mask: u32 = 0x01 << offset;
1029pub mod R {}
1030pub mod W {}
1031pub mod RW {}
1032 }
1033#[doc = "Determines the bypass source."]
1034pub mod BYPASS_CLK_SRC {
1035pub const offset: u32 = 14;
1036pub const mask: u32 = 0x03 << offset;
1037pub mod R {}
1038pub mod W {}
1039pub mod RW {
1040#[doc = "Select the 24MHz oscillator as source."]
1041pub const REF_CLK_24M: u32 = 0;
1042 }
1043 }
1044#[doc = "Bypass the PLL."]
1045pub mod BYPASS {
1046pub const offset: u32 = 16;
1047pub const mask: u32 = 0x01 << offset;
1048pub mod R {}
1049pub mod W {}
1050pub mod RW {}
1051 }
1052#[doc = "Enable the PLL providing ENET 500 MHz reference clock"]
1053pub mod ENET_500M_REF_EN {
1054pub const offset: u32 = 22;
1055pub const mask: u32 = 0x01 << offset;
1056pub mod R {}
1057pub mod W {}
1058pub mod RW {}
1059 }
1060#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
1061pub mod LOCK {
1062pub const offset: u32 = 31;
1063pub const mask: u32 = 0x01 << offset;
1064pub mod R {}
1065pub mod W {}
1066pub mod RW {}
1067 }
1068}
1069#[doc = "Analog ENET PLL Control Register"]
1070pub mod PLL_ENET_TOG {
1071#[doc = "Powers down the PLL."]
1072pub mod POWERDOWN {
1073pub const offset: u32 = 12;
1074pub const mask: u32 = 0x01 << offset;
1075pub mod R {}
1076pub mod W {}
1077pub mod RW {}
1078 }
1079#[doc = "Determines the bypass source."]
1080pub mod BYPASS_CLK_SRC {
1081pub const offset: u32 = 14;
1082pub const mask: u32 = 0x03 << offset;
1083pub mod R {}
1084pub mod W {}
1085pub mod RW {
1086#[doc = "Select the 24MHz oscillator as source."]
1087pub const REF_CLK_24M: u32 = 0;
1088 }
1089 }
1090#[doc = "Bypass the PLL."]
1091pub mod BYPASS {
1092pub const offset: u32 = 16;
1093pub const mask: u32 = 0x01 << offset;
1094pub mod R {}
1095pub mod W {}
1096pub mod RW {}
1097 }
1098#[doc = "Enable the PLL providing ENET 500 MHz reference clock"]
1099pub mod ENET_500M_REF_EN {
1100pub const offset: u32 = 22;
1101pub const mask: u32 = 0x01 << offset;
1102pub mod R {}
1103pub mod W {}
1104pub mod RW {}
1105 }
1106#[doc = "1 - PLL is currently locked; 0 - PLL is not currently locked."]
1107pub mod LOCK {
1108pub const offset: u32 = 31;
1109pub const mask: u32 = 0x01 << offset;
1110pub mod R {}
1111pub mod W {}
1112pub mod RW {}
1113 }
1114}
1115#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
1116pub mod PFD_480 {
1117#[doc = "This field controls the fractional divide value"]
1118pub mod PFD0_FRAC {
1119pub const offset: u32 = 0;
1120pub const mask: u32 = 0x3f << offset;
1121pub mod R {}
1122pub mod W {}
1123pub mod RW {}
1124 }
1125#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1126pub mod PFD0_STABLE {
1127pub const offset: u32 = 6;
1128pub const mask: u32 = 0x01 << offset;
1129pub mod R {}
1130pub mod W {}
1131pub mod RW {}
1132 }
1133#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1134pub mod PFD0_CLKGATE {
1135pub const offset: u32 = 7;
1136pub const mask: u32 = 0x01 << offset;
1137pub mod R {}
1138pub mod W {}
1139pub mod RW {}
1140 }
1141#[doc = "This field controls the fractional divide value"]
1142pub mod PFD1_FRAC {
1143pub const offset: u32 = 8;
1144pub const mask: u32 = 0x3f << offset;
1145pub mod R {}
1146pub mod W {}
1147pub mod RW {}
1148 }
1149#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1150pub mod PFD1_STABLE {
1151pub const offset: u32 = 14;
1152pub const mask: u32 = 0x01 << offset;
1153pub mod R {}
1154pub mod W {}
1155pub mod RW {}
1156 }
1157#[doc = "IO Clock Gate"]
1158pub mod PFD1_CLKGATE {
1159pub const offset: u32 = 15;
1160pub const mask: u32 = 0x01 << offset;
1161pub mod R {}
1162pub mod W {}
1163pub mod RW {}
1164 }
1165#[doc = "This field controls the fractional divide value"]
1166pub mod PFD2_FRAC {
1167pub const offset: u32 = 16;
1168pub const mask: u32 = 0x3f << offset;
1169pub mod R {}
1170pub mod W {}
1171pub mod RW {}
1172 }
1173#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1174pub mod PFD2_STABLE {
1175pub const offset: u32 = 22;
1176pub const mask: u32 = 0x01 << offset;
1177pub mod R {}
1178pub mod W {}
1179pub mod RW {}
1180 }
1181#[doc = "IO Clock Gate"]
1182pub mod PFD2_CLKGATE {
1183pub const offset: u32 = 23;
1184pub const mask: u32 = 0x01 << offset;
1185pub mod R {}
1186pub mod W {}
1187pub mod RW {}
1188 }
1189#[doc = "This field controls the fractional divide value"]
1190pub mod PFD3_FRAC {
1191pub const offset: u32 = 24;
1192pub const mask: u32 = 0x3f << offset;
1193pub mod R {}
1194pub mod W {}
1195pub mod RW {}
1196 }
1197#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1198pub mod PFD3_STABLE {
1199pub const offset: u32 = 30;
1200pub const mask: u32 = 0x01 << offset;
1201pub mod R {}
1202pub mod W {}
1203pub mod RW {}
1204 }
1205#[doc = "IO Clock Gate"]
1206pub mod PFD3_CLKGATE {
1207pub const offset: u32 = 31;
1208pub const mask: u32 = 0x01 << offset;
1209pub mod R {}
1210pub mod W {}
1211pub mod RW {}
1212 }
1213}
1214#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
1215pub mod PFD_480_SET {
1216#[doc = "This field controls the fractional divide value"]
1217pub mod PFD0_FRAC {
1218pub const offset: u32 = 0;
1219pub const mask: u32 = 0x3f << offset;
1220pub mod R {}
1221pub mod W {}
1222pub mod RW {}
1223 }
1224#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1225pub mod PFD0_STABLE {
1226pub const offset: u32 = 6;
1227pub const mask: u32 = 0x01 << offset;
1228pub mod R {}
1229pub mod W {}
1230pub mod RW {}
1231 }
1232#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1233pub mod PFD0_CLKGATE {
1234pub const offset: u32 = 7;
1235pub const mask: u32 = 0x01 << offset;
1236pub mod R {}
1237pub mod W {}
1238pub mod RW {}
1239 }
1240#[doc = "This field controls the fractional divide value"]
1241pub mod PFD1_FRAC {
1242pub const offset: u32 = 8;
1243pub const mask: u32 = 0x3f << offset;
1244pub mod R {}
1245pub mod W {}
1246pub mod RW {}
1247 }
1248#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1249pub mod PFD1_STABLE {
1250pub const offset: u32 = 14;
1251pub const mask: u32 = 0x01 << offset;
1252pub mod R {}
1253pub mod W {}
1254pub mod RW {}
1255 }
1256#[doc = "IO Clock Gate"]
1257pub mod PFD1_CLKGATE {
1258pub const offset: u32 = 15;
1259pub const mask: u32 = 0x01 << offset;
1260pub mod R {}
1261pub mod W {}
1262pub mod RW {}
1263 }
1264#[doc = "This field controls the fractional divide value"]
1265pub mod PFD2_FRAC {
1266pub const offset: u32 = 16;
1267pub const mask: u32 = 0x3f << offset;
1268pub mod R {}
1269pub mod W {}
1270pub mod RW {}
1271 }
1272#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1273pub mod PFD2_STABLE {
1274pub const offset: u32 = 22;
1275pub const mask: u32 = 0x01 << offset;
1276pub mod R {}
1277pub mod W {}
1278pub mod RW {}
1279 }
1280#[doc = "IO Clock Gate"]
1281pub mod PFD2_CLKGATE {
1282pub const offset: u32 = 23;
1283pub const mask: u32 = 0x01 << offset;
1284pub mod R {}
1285pub mod W {}
1286pub mod RW {}
1287 }
1288#[doc = "This field controls the fractional divide value"]
1289pub mod PFD3_FRAC {
1290pub const offset: u32 = 24;
1291pub const mask: u32 = 0x3f << offset;
1292pub mod R {}
1293pub mod W {}
1294pub mod RW {}
1295 }
1296#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1297pub mod PFD3_STABLE {
1298pub const offset: u32 = 30;
1299pub const mask: u32 = 0x01 << offset;
1300pub mod R {}
1301pub mod W {}
1302pub mod RW {}
1303 }
1304#[doc = "IO Clock Gate"]
1305pub mod PFD3_CLKGATE {
1306pub const offset: u32 = 31;
1307pub const mask: u32 = 0x01 << offset;
1308pub mod R {}
1309pub mod W {}
1310pub mod RW {}
1311 }
1312}
1313#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
1314pub mod PFD_480_CLR {
1315#[doc = "This field controls the fractional divide value"]
1316pub mod PFD0_FRAC {
1317pub const offset: u32 = 0;
1318pub const mask: u32 = 0x3f << offset;
1319pub mod R {}
1320pub mod W {}
1321pub mod RW {}
1322 }
1323#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1324pub mod PFD0_STABLE {
1325pub const offset: u32 = 6;
1326pub const mask: u32 = 0x01 << offset;
1327pub mod R {}
1328pub mod W {}
1329pub mod RW {}
1330 }
1331#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1332pub mod PFD0_CLKGATE {
1333pub const offset: u32 = 7;
1334pub const mask: u32 = 0x01 << offset;
1335pub mod R {}
1336pub mod W {}
1337pub mod RW {}
1338 }
1339#[doc = "This field controls the fractional divide value"]
1340pub mod PFD1_FRAC {
1341pub const offset: u32 = 8;
1342pub const mask: u32 = 0x3f << offset;
1343pub mod R {}
1344pub mod W {}
1345pub mod RW {}
1346 }
1347#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1348pub mod PFD1_STABLE {
1349pub const offset: u32 = 14;
1350pub const mask: u32 = 0x01 << offset;
1351pub mod R {}
1352pub mod W {}
1353pub mod RW {}
1354 }
1355#[doc = "IO Clock Gate"]
1356pub mod PFD1_CLKGATE {
1357pub const offset: u32 = 15;
1358pub const mask: u32 = 0x01 << offset;
1359pub mod R {}
1360pub mod W {}
1361pub mod RW {}
1362 }
1363#[doc = "This field controls the fractional divide value"]
1364pub mod PFD2_FRAC {
1365pub const offset: u32 = 16;
1366pub const mask: u32 = 0x3f << offset;
1367pub mod R {}
1368pub mod W {}
1369pub mod RW {}
1370 }
1371#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1372pub mod PFD2_STABLE {
1373pub const offset: u32 = 22;
1374pub const mask: u32 = 0x01 << offset;
1375pub mod R {}
1376pub mod W {}
1377pub mod RW {}
1378 }
1379#[doc = "IO Clock Gate"]
1380pub mod PFD2_CLKGATE {
1381pub const offset: u32 = 23;
1382pub const mask: u32 = 0x01 << offset;
1383pub mod R {}
1384pub mod W {}
1385pub mod RW {}
1386 }
1387#[doc = "This field controls the fractional divide value"]
1388pub mod PFD3_FRAC {
1389pub const offset: u32 = 24;
1390pub const mask: u32 = 0x3f << offset;
1391pub mod R {}
1392pub mod W {}
1393pub mod RW {}
1394 }
1395#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1396pub mod PFD3_STABLE {
1397pub const offset: u32 = 30;
1398pub const mask: u32 = 0x01 << offset;
1399pub mod R {}
1400pub mod W {}
1401pub mod RW {}
1402 }
1403#[doc = "IO Clock Gate"]
1404pub mod PFD3_CLKGATE {
1405pub const offset: u32 = 31;
1406pub const mask: u32 = 0x01 << offset;
1407pub mod R {}
1408pub mod W {}
1409pub mod RW {}
1410 }
1411}
1412#[doc = "480MHz Clock (PLL3) Phase Fractional Divider Control Register"]
1413pub mod PFD_480_TOG {
1414#[doc = "This field controls the fractional divide value"]
1415pub mod PFD0_FRAC {
1416pub const offset: u32 = 0;
1417pub const mask: u32 = 0x3f << offset;
1418pub mod R {}
1419pub mod W {}
1420pub mod RW {}
1421 }
1422#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1423pub mod PFD0_STABLE {
1424pub const offset: u32 = 6;
1425pub const mask: u32 = 0x01 << offset;
1426pub mod R {}
1427pub mod W {}
1428pub mod RW {}
1429 }
1430#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1431pub mod PFD0_CLKGATE {
1432pub const offset: u32 = 7;
1433pub const mask: u32 = 0x01 << offset;
1434pub mod R {}
1435pub mod W {}
1436pub mod RW {}
1437 }
1438#[doc = "This field controls the fractional divide value"]
1439pub mod PFD1_FRAC {
1440pub const offset: u32 = 8;
1441pub const mask: u32 = 0x3f << offset;
1442pub mod R {}
1443pub mod W {}
1444pub mod RW {}
1445 }
1446#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1447pub mod PFD1_STABLE {
1448pub const offset: u32 = 14;
1449pub const mask: u32 = 0x01 << offset;
1450pub mod R {}
1451pub mod W {}
1452pub mod RW {}
1453 }
1454#[doc = "IO Clock Gate"]
1455pub mod PFD1_CLKGATE {
1456pub const offset: u32 = 15;
1457pub const mask: u32 = 0x01 << offset;
1458pub mod R {}
1459pub mod W {}
1460pub mod RW {}
1461 }
1462#[doc = "This field controls the fractional divide value"]
1463pub mod PFD2_FRAC {
1464pub const offset: u32 = 16;
1465pub const mask: u32 = 0x3f << offset;
1466pub mod R {}
1467pub mod W {}
1468pub mod RW {}
1469 }
1470#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1471pub mod PFD2_STABLE {
1472pub const offset: u32 = 22;
1473pub const mask: u32 = 0x01 << offset;
1474pub mod R {}
1475pub mod W {}
1476pub mod RW {}
1477 }
1478#[doc = "IO Clock Gate"]
1479pub mod PFD2_CLKGATE {
1480pub const offset: u32 = 23;
1481pub const mask: u32 = 0x01 << offset;
1482pub mod R {}
1483pub mod W {}
1484pub mod RW {}
1485 }
1486#[doc = "This field controls the fractional divide value"]
1487pub mod PFD3_FRAC {
1488pub const offset: u32 = 24;
1489pub const mask: u32 = 0x3f << offset;
1490pub mod R {}
1491pub mod W {}
1492pub mod RW {}
1493 }
1494#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1495pub mod PFD3_STABLE {
1496pub const offset: u32 = 30;
1497pub const mask: u32 = 0x01 << offset;
1498pub mod R {}
1499pub mod W {}
1500pub mod RW {}
1501 }
1502#[doc = "IO Clock Gate"]
1503pub mod PFD3_CLKGATE {
1504pub const offset: u32 = 31;
1505pub const mask: u32 = 0x01 << offset;
1506pub mod R {}
1507pub mod W {}
1508pub mod RW {}
1509 }
1510}
1511#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
1512pub mod PFD_528 {
1513#[doc = "This field controls the fractional divide value"]
1514pub mod PFD0_FRAC {
1515pub const offset: u32 = 0;
1516pub const mask: u32 = 0x3f << offset;
1517pub mod R {}
1518pub mod W {}
1519pub mod RW {}
1520 }
1521#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1522pub mod PFD0_STABLE {
1523pub const offset: u32 = 6;
1524pub const mask: u32 = 0x01 << offset;
1525pub mod R {}
1526pub mod W {}
1527pub mod RW {}
1528 }
1529#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1530pub mod PFD0_CLKGATE {
1531pub const offset: u32 = 7;
1532pub const mask: u32 = 0x01 << offset;
1533pub mod R {}
1534pub mod W {}
1535pub mod RW {}
1536 }
1537#[doc = "This field controls the fractional divide value"]
1538pub mod PFD1_FRAC {
1539pub const offset: u32 = 8;
1540pub const mask: u32 = 0x3f << offset;
1541pub mod R {}
1542pub mod W {}
1543pub mod RW {}
1544 }
1545#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1546pub mod PFD1_STABLE {
1547pub const offset: u32 = 14;
1548pub const mask: u32 = 0x01 << offset;
1549pub mod R {}
1550pub mod W {}
1551pub mod RW {}
1552 }
1553#[doc = "IO Clock Gate"]
1554pub mod PFD1_CLKGATE {
1555pub const offset: u32 = 15;
1556pub const mask: u32 = 0x01 << offset;
1557pub mod R {}
1558pub mod W {}
1559pub mod RW {}
1560 }
1561#[doc = "This field controls the fractional divide value"]
1562pub mod PFD2_FRAC {
1563pub const offset: u32 = 16;
1564pub const mask: u32 = 0x3f << offset;
1565pub mod R {}
1566pub mod W {}
1567pub mod RW {}
1568 }
1569#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1570pub mod PFD2_STABLE {
1571pub const offset: u32 = 22;
1572pub const mask: u32 = 0x01 << offset;
1573pub mod R {}
1574pub mod W {}
1575pub mod RW {}
1576 }
1577#[doc = "IO Clock Gate"]
1578pub mod PFD2_CLKGATE {
1579pub const offset: u32 = 23;
1580pub const mask: u32 = 0x01 << offset;
1581pub mod R {}
1582pub mod W {}
1583pub mod RW {}
1584 }
1585#[doc = "This field controls the fractional divide value"]
1586pub mod PFD3_FRAC {
1587pub const offset: u32 = 24;
1588pub const mask: u32 = 0x3f << offset;
1589pub mod R {}
1590pub mod W {}
1591pub mod RW {}
1592 }
1593#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1594pub mod PFD3_STABLE {
1595pub const offset: u32 = 30;
1596pub const mask: u32 = 0x01 << offset;
1597pub mod R {}
1598pub mod W {}
1599pub mod RW {}
1600 }
1601#[doc = "IO Clock Gate"]
1602pub mod PFD3_CLKGATE {
1603pub const offset: u32 = 31;
1604pub const mask: u32 = 0x01 << offset;
1605pub mod R {}
1606pub mod W {}
1607pub mod RW {}
1608 }
1609}
1610#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
1611pub mod PFD_528_SET {
1612#[doc = "This field controls the fractional divide value"]
1613pub mod PFD0_FRAC {
1614pub const offset: u32 = 0;
1615pub const mask: u32 = 0x3f << offset;
1616pub mod R {}
1617pub mod W {}
1618pub mod RW {}
1619 }
1620#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1621pub mod PFD0_STABLE {
1622pub const offset: u32 = 6;
1623pub const mask: u32 = 0x01 << offset;
1624pub mod R {}
1625pub mod W {}
1626pub mod RW {}
1627 }
1628#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1629pub mod PFD0_CLKGATE {
1630pub const offset: u32 = 7;
1631pub const mask: u32 = 0x01 << offset;
1632pub mod R {}
1633pub mod W {}
1634pub mod RW {}
1635 }
1636#[doc = "This field controls the fractional divide value"]
1637pub mod PFD1_FRAC {
1638pub const offset: u32 = 8;
1639pub const mask: u32 = 0x3f << offset;
1640pub mod R {}
1641pub mod W {}
1642pub mod RW {}
1643 }
1644#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1645pub mod PFD1_STABLE {
1646pub const offset: u32 = 14;
1647pub const mask: u32 = 0x01 << offset;
1648pub mod R {}
1649pub mod W {}
1650pub mod RW {}
1651 }
1652#[doc = "IO Clock Gate"]
1653pub mod PFD1_CLKGATE {
1654pub const offset: u32 = 15;
1655pub const mask: u32 = 0x01 << offset;
1656pub mod R {}
1657pub mod W {}
1658pub mod RW {}
1659 }
1660#[doc = "This field controls the fractional divide value"]
1661pub mod PFD2_FRAC {
1662pub const offset: u32 = 16;
1663pub const mask: u32 = 0x3f << offset;
1664pub mod R {}
1665pub mod W {}
1666pub mod RW {}
1667 }
1668#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1669pub mod PFD2_STABLE {
1670pub const offset: u32 = 22;
1671pub const mask: u32 = 0x01 << offset;
1672pub mod R {}
1673pub mod W {}
1674pub mod RW {}
1675 }
1676#[doc = "IO Clock Gate"]
1677pub mod PFD2_CLKGATE {
1678pub const offset: u32 = 23;
1679pub const mask: u32 = 0x01 << offset;
1680pub mod R {}
1681pub mod W {}
1682pub mod RW {}
1683 }
1684#[doc = "This field controls the fractional divide value"]
1685pub mod PFD3_FRAC {
1686pub const offset: u32 = 24;
1687pub const mask: u32 = 0x3f << offset;
1688pub mod R {}
1689pub mod W {}
1690pub mod RW {}
1691 }
1692#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1693pub mod PFD3_STABLE {
1694pub const offset: u32 = 30;
1695pub const mask: u32 = 0x01 << offset;
1696pub mod R {}
1697pub mod W {}
1698pub mod RW {}
1699 }
1700#[doc = "IO Clock Gate"]
1701pub mod PFD3_CLKGATE {
1702pub const offset: u32 = 31;
1703pub const mask: u32 = 0x01 << offset;
1704pub mod R {}
1705pub mod W {}
1706pub mod RW {}
1707 }
1708}
1709#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
1710pub mod PFD_528_CLR {
1711#[doc = "This field controls the fractional divide value"]
1712pub mod PFD0_FRAC {
1713pub const offset: u32 = 0;
1714pub const mask: u32 = 0x3f << offset;
1715pub mod R {}
1716pub mod W {}
1717pub mod RW {}
1718 }
1719#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1720pub mod PFD0_STABLE {
1721pub const offset: u32 = 6;
1722pub const mask: u32 = 0x01 << offset;
1723pub mod R {}
1724pub mod W {}
1725pub mod RW {}
1726 }
1727#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1728pub mod PFD0_CLKGATE {
1729pub const offset: u32 = 7;
1730pub const mask: u32 = 0x01 << offset;
1731pub mod R {}
1732pub mod W {}
1733pub mod RW {}
1734 }
1735#[doc = "This field controls the fractional divide value"]
1736pub mod PFD1_FRAC {
1737pub const offset: u32 = 8;
1738pub const mask: u32 = 0x3f << offset;
1739pub mod R {}
1740pub mod W {}
1741pub mod RW {}
1742 }
1743#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1744pub mod PFD1_STABLE {
1745pub const offset: u32 = 14;
1746pub const mask: u32 = 0x01 << offset;
1747pub mod R {}
1748pub mod W {}
1749pub mod RW {}
1750 }
1751#[doc = "IO Clock Gate"]
1752pub mod PFD1_CLKGATE {
1753pub const offset: u32 = 15;
1754pub const mask: u32 = 0x01 << offset;
1755pub mod R {}
1756pub mod W {}
1757pub mod RW {}
1758 }
1759#[doc = "This field controls the fractional divide value"]
1760pub mod PFD2_FRAC {
1761pub const offset: u32 = 16;
1762pub const mask: u32 = 0x3f << offset;
1763pub mod R {}
1764pub mod W {}
1765pub mod RW {}
1766 }
1767#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1768pub mod PFD2_STABLE {
1769pub const offset: u32 = 22;
1770pub const mask: u32 = 0x01 << offset;
1771pub mod R {}
1772pub mod W {}
1773pub mod RW {}
1774 }
1775#[doc = "IO Clock Gate"]
1776pub mod PFD2_CLKGATE {
1777pub const offset: u32 = 23;
1778pub const mask: u32 = 0x01 << offset;
1779pub mod R {}
1780pub mod W {}
1781pub mod RW {}
1782 }
1783#[doc = "This field controls the fractional divide value"]
1784pub mod PFD3_FRAC {
1785pub const offset: u32 = 24;
1786pub const mask: u32 = 0x3f << offset;
1787pub mod R {}
1788pub mod W {}
1789pub mod RW {}
1790 }
1791#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1792pub mod PFD3_STABLE {
1793pub const offset: u32 = 30;
1794pub const mask: u32 = 0x01 << offset;
1795pub mod R {}
1796pub mod W {}
1797pub mod RW {}
1798 }
1799#[doc = "IO Clock Gate"]
1800pub mod PFD3_CLKGATE {
1801pub const offset: u32 = 31;
1802pub const mask: u32 = 0x01 << offset;
1803pub mod R {}
1804pub mod W {}
1805pub mod RW {}
1806 }
1807}
1808#[doc = "528MHz Clock (PLL2) Phase Fractional Divider Control Register"]
1809pub mod PFD_528_TOG {
1810#[doc = "This field controls the fractional divide value"]
1811pub mod PFD0_FRAC {
1812pub const offset: u32 = 0;
1813pub const mask: u32 = 0x3f << offset;
1814pub mod R {}
1815pub mod W {}
1816pub mod RW {}
1817 }
1818#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1819pub mod PFD0_STABLE {
1820pub const offset: u32 = 6;
1821pub const mask: u32 = 0x01 << offset;
1822pub mod R {}
1823pub mod W {}
1824pub mod RW {}
1825 }
1826#[doc = "If set to 1, the IO fractional divider clock (reference ref_pfd0) is off (power savings)"]
1827pub mod PFD0_CLKGATE {
1828pub const offset: u32 = 7;
1829pub const mask: u32 = 0x01 << offset;
1830pub mod R {}
1831pub mod W {}
1832pub mod RW {}
1833 }
1834#[doc = "This field controls the fractional divide value"]
1835pub mod PFD1_FRAC {
1836pub const offset: u32 = 8;
1837pub const mask: u32 = 0x3f << offset;
1838pub mod R {}
1839pub mod W {}
1840pub mod RW {}
1841 }
1842#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1843pub mod PFD1_STABLE {
1844pub const offset: u32 = 14;
1845pub const mask: u32 = 0x01 << offset;
1846pub mod R {}
1847pub mod W {}
1848pub mod RW {}
1849 }
1850#[doc = "IO Clock Gate"]
1851pub mod PFD1_CLKGATE {
1852pub const offset: u32 = 15;
1853pub const mask: u32 = 0x01 << offset;
1854pub mod R {}
1855pub mod W {}
1856pub mod RW {}
1857 }
1858#[doc = "This field controls the fractional divide value"]
1859pub mod PFD2_FRAC {
1860pub const offset: u32 = 16;
1861pub const mask: u32 = 0x3f << offset;
1862pub mod R {}
1863pub mod W {}
1864pub mod RW {}
1865 }
1866#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1867pub mod PFD2_STABLE {
1868pub const offset: u32 = 22;
1869pub const mask: u32 = 0x01 << offset;
1870pub mod R {}
1871pub mod W {}
1872pub mod RW {}
1873 }
1874#[doc = "IO Clock Gate"]
1875pub mod PFD2_CLKGATE {
1876pub const offset: u32 = 23;
1877pub const mask: u32 = 0x01 << offset;
1878pub mod R {}
1879pub mod W {}
1880pub mod RW {}
1881 }
1882#[doc = "This field controls the fractional divide value"]
1883pub mod PFD3_FRAC {
1884pub const offset: u32 = 24;
1885pub const mask: u32 = 0x3f << offset;
1886pub mod R {}
1887pub mod W {}
1888pub mod RW {}
1889 }
1890#[doc = "This read-only bitfield is for DIAGNOSTIC PURPOSES ONLY since the fractional divider should become stable quickly enough that this field will never need to be used by either device driver or application code"]
1891pub mod PFD3_STABLE {
1892pub const offset: u32 = 30;
1893pub const mask: u32 = 0x01 << offset;
1894pub mod R {}
1895pub mod W {}
1896pub mod RW {}
1897 }
1898#[doc = "IO Clock Gate"]
1899pub mod PFD3_CLKGATE {
1900pub const offset: u32 = 31;
1901pub const mask: u32 = 0x01 << offset;
1902pub mod R {}
1903pub mod W {}
1904pub mod RW {}
1905 }
1906}
1907#[doc = "Miscellaneous Register 0"]
1908pub mod MISC0 {
1909#[doc = "Control bit to power-down the analog bandgap reference circuitry"]
1910pub mod REFTOP_PWD {
1911pub const offset: u32 = 0;
1912pub const mask: u32 = 0x01 << offset;
1913pub mod R {}
1914pub mod W {}
1915pub mod RW {}
1916 }
1917#[doc = "Control bit to disable the self-bias circuit in the analog bandgap"]
1918pub mod REFTOP_SELFBIASOFF {
1919pub const offset: u32 = 3;
1920pub const mask: u32 = 0x01 << offset;
1921pub mod R {}
1922pub mod W {}
1923pub mod RW {
1924#[doc = "Uses coarse bias currents for startup"]
1925pub const REFTOP_SELFBIASOFF_0: u32 = 0;
1926#[doc = "Uses bandgap-based bias currents for best performance."]
1927pub const REFTOP_SELFBIASOFF_1: u32 = 0x01;
1928 }
1929 }
1930#[doc = "Not related to CCM. See Power Management Unit (PMU)"]
1931pub mod REFTOP_VBGADJ {
1932pub const offset: u32 = 4;
1933pub const mask: u32 = 0x07 << offset;
1934pub mod R {}
1935pub mod W {}
1936pub mod RW {
1937#[doc = "Nominal VBG"]
1938pub const REFTOP_VBGADJ_0: u32 = 0;
1939#[doc = "VBG+0.78%"]
1940pub const REFTOP_VBGADJ_1: u32 = 0x01;
1941#[doc = "VBG+1.56%"]
1942pub const REFTOP_VBGADJ_2: u32 = 0x02;
1943#[doc = "VBG+2.34%"]
1944pub const REFTOP_VBGADJ_3: u32 = 0x03;
1945#[doc = "VBG-0.78%"]
1946pub const REFTOP_VBGADJ_4: u32 = 0x04;
1947#[doc = "VBG-1.56%"]
1948pub const REFTOP_VBGADJ_5: u32 = 0x05;
1949#[doc = "VBG-2.34%"]
1950pub const REFTOP_VBGADJ_6: u32 = 0x06;
1951#[doc = "VBG-3.12%"]
1952pub const REFTOP_VBGADJ_7: u32 = 0x07;
1953 }
1954 }
1955#[doc = "Status bit that signals the analog bandgap voltage is up and stable"]
1956pub mod REFTOP_VBGUP {
1957pub const offset: u32 = 7;
1958pub const mask: u32 = 0x01 << offset;
1959pub mod R {}
1960pub mod W {}
1961pub mod RW {}
1962 }
1963#[doc = "Configure the analog behavior in stop mode."]
1964pub mod STOP_MODE_CONFIG {
1965pub const offset: u32 = 10;
1966pub const mask: u32 = 0x03 << offset;
1967pub mod R {}
1968pub mod W {}
1969pub mod RW {
1970#[doc = "All analog except RTC powered down on stop mode assertion."]
1971pub const STOP_MODE_CONFIG_0: u32 = 0;
1972#[doc = "Beside RTC, analog bandgap, 1p1 and 2p5 regulators are also on."]
1973pub const STOP_MODE_CONFIG_1: u32 = 0x01;
1974#[doc = "Beside RTC, 1p1 and 2p5 regulators are also on, low-power bandgap is selected so that the normal analog bandgap together with the rest analog is powered down."]
1975pub const STOP_MODE_CONFIG_2: u32 = 0x02;
1976#[doc = "Beside RTC, low-power bandgap is selected and the rest analog is powered down."]
1977pub const STOP_MODE_CONFIG_3: u32 = 0x03;
1978 }
1979 }
1980#[doc = "This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN."]
1981pub mod DISCON_HIGH_SNVS {
1982pub const offset: u32 = 12;
1983pub const mask: u32 = 0x01 << offset;
1984pub mod R {}
1985pub mod W {}
1986pub mod RW {
1987#[doc = "Turn on the switch"]
1988pub const DISCON_HIGH_SNVS_0: u32 = 0;
1989#[doc = "Turn off the switch"]
1990pub const DISCON_HIGH_SNVS_1: u32 = 0x01;
1991 }
1992 }
1993#[doc = "This field determines the bias current in the 24MHz oscillator"]
1994pub mod OSC_I {
1995pub const offset: u32 = 13;
1996pub const mask: u32 = 0x03 << offset;
1997pub mod R {}
1998pub mod W {}
1999pub mod RW {
2000#[doc = "Nominal"]
2001pub const NOMINAL: u32 = 0;
2002#[doc = "Decrease current by 12.5%"]
2003pub const MINUS_12_5_PERCENT: u32 = 0x01;
2004#[doc = "Decrease current by 25.0%"]
2005pub const MINUS_25_PERCENT: u32 = 0x02;
2006#[doc = "Decrease current by 37.5%"]
2007pub const MINUS_37_5_PERCENT: u32 = 0x03;
2008 }
2009 }
2010#[doc = "Status bit that signals that the output of the 24-MHz crystal oscillator is stable"]
2011pub mod OSC_XTALOK {
2012pub const offset: u32 = 15;
2013pub const mask: u32 = 0x01 << offset;
2014pub mod R {}
2015pub mod W {}
2016pub mod RW {}
2017 }
2018#[doc = "This bit enables the detector that signals when the 24MHz crystal oscillator is stable"]
2019pub mod OSC_XTALOK_EN {
2020pub const offset: u32 = 16;
2021pub const mask: u32 = 0x01 << offset;
2022pub mod R {}
2023pub mod W {}
2024pub mod RW {}
2025 }
2026#[doc = "This bit allows disabling the clock gate (always ungated) for the xtal 24MHz clock that clocks the digital logic in the analog block"]
2027pub mod CLKGATE_CTRL {
2028pub const offset: u32 = 25;
2029pub const mask: u32 = 0x01 << offset;
2030pub mod R {}
2031pub mod W {}
2032pub mod RW {
2033#[doc = "Allow the logic to automatically gate the clock when the XTAL is powered down."]
2034pub const ALLOW_AUTO_GATE: u32 = 0;
2035#[doc = "Prevent the logic from ever gating off the clock."]
2036pub const NO_AUTO_GATE: u32 = 0x01;
2037 }
2038 }
2039#[doc = "This field specifies the delay between powering up the XTAL 24MHz clock and releasing the clock to the digital logic inside the analog block"]
2040pub mod CLKGATE_DELAY {
2041pub const offset: u32 = 26;
2042pub const mask: u32 = 0x07 << offset;
2043pub mod R {}
2044pub mod W {}
2045pub mod RW {
2046#[doc = "0.5ms"]
2047pub const CLKGATE_DELAY_0: u32 = 0;
2048#[doc = "1.0ms"]
2049pub const CLKGATE_DELAY_1: u32 = 0x01;
2050#[doc = "2.0ms"]
2051pub const CLKGATE_DELAY_2: u32 = 0x02;
2052#[doc = "3.0ms"]
2053pub const CLKGATE_DELAY_3: u32 = 0x03;
2054#[doc = "4.0ms"]
2055pub const CLKGATE_DELAY_4: u32 = 0x04;
2056#[doc = "5.0ms"]
2057pub const CLKGATE_DELAY_5: u32 = 0x05;
2058#[doc = "6.0ms"]
2059pub const CLKGATE_DELAY_6: u32 = 0x06;
2060#[doc = "7.0ms"]
2061pub const CLKGATE_DELAY_7: u32 = 0x07;
2062 }
2063 }
2064#[doc = "This field indicates which chip source is being used for the rtc clock"]
2065pub mod RTC_XTAL_SOURCE {
2066pub const offset: u32 = 29;
2067pub const mask: u32 = 0x01 << offset;
2068pub mod R {}
2069pub mod W {}
2070pub mod RW {
2071#[doc = "Internal ring oscillator"]
2072pub const RTC_XTAL_SOURCE_0: u32 = 0;
2073#[doc = "RTC_XTAL"]
2074pub const RTC_XTAL_SOURCE_1: u32 = 0x01;
2075 }
2076 }
2077#[doc = "This field powers down the 24M crystal oscillator if set true"]
2078pub mod XTAL_24M_PWD {
2079pub const offset: u32 = 30;
2080pub const mask: u32 = 0x01 << offset;
2081pub mod R {}
2082pub mod W {}
2083pub mod RW {}
2084 }
2085}
2086#[doc = "Miscellaneous Register 0"]
2087pub mod MISC0_SET {
2088#[doc = "Control bit to power-down the analog bandgap reference circuitry"]
2089pub mod REFTOP_PWD {
2090pub const offset: u32 = 0;
2091pub const mask: u32 = 0x01 << offset;
2092pub mod R {}
2093pub mod W {}
2094pub mod RW {}
2095 }
2096#[doc = "Control bit to disable the self-bias circuit in the analog bandgap"]
2097pub mod REFTOP_SELFBIASOFF {
2098pub const offset: u32 = 3;
2099pub const mask: u32 = 0x01 << offset;
2100pub mod R {}
2101pub mod W {}
2102pub mod RW {
2103#[doc = "Uses coarse bias currents for startup"]
2104pub const REFTOP_SELFBIASOFF_0: u32 = 0;
2105#[doc = "Uses bandgap-based bias currents for best performance."]
2106pub const REFTOP_SELFBIASOFF_1: u32 = 0x01;
2107 }
2108 }
2109#[doc = "Not related to CCM. See Power Management Unit (PMU)"]
2110pub mod REFTOP_VBGADJ {
2111pub const offset: u32 = 4;
2112pub const mask: u32 = 0x07 << offset;
2113pub mod R {}
2114pub mod W {}
2115pub mod RW {
2116#[doc = "Nominal VBG"]
2117pub const REFTOP_VBGADJ_0: u32 = 0;
2118#[doc = "VBG+0.78%"]
2119pub const REFTOP_VBGADJ_1: u32 = 0x01;
2120#[doc = "VBG+1.56%"]
2121pub const REFTOP_VBGADJ_2: u32 = 0x02;
2122#[doc = "VBG+2.34%"]
2123pub const REFTOP_VBGADJ_3: u32 = 0x03;
2124#[doc = "VBG-0.78%"]
2125pub const REFTOP_VBGADJ_4: u32 = 0x04;
2126#[doc = "VBG-1.56%"]
2127pub const REFTOP_VBGADJ_5: u32 = 0x05;
2128#[doc = "VBG-2.34%"]
2129pub const REFTOP_VBGADJ_6: u32 = 0x06;
2130#[doc = "VBG-3.12%"]
2131pub const REFTOP_VBGADJ_7: u32 = 0x07;
2132 }
2133 }
2134#[doc = "Status bit that signals the analog bandgap voltage is up and stable"]
2135pub mod REFTOP_VBGUP {
2136pub const offset: u32 = 7;
2137pub const mask: u32 = 0x01 << offset;
2138pub mod R {}
2139pub mod W {}
2140pub mod RW {}
2141 }
2142#[doc = "Configure the analog behavior in stop mode."]
2143pub mod STOP_MODE_CONFIG {
2144pub const offset: u32 = 10;
2145pub const mask: u32 = 0x03 << offset;
2146pub mod R {}
2147pub mod W {}
2148pub mod RW {
2149#[doc = "All analog except RTC powered down on stop mode assertion."]
2150pub const STOP_MODE_CONFIG_0: u32 = 0;
2151#[doc = "Beside RTC, analog bandgap, 1p1 and 2p5 regulators are also on."]
2152pub const STOP_MODE_CONFIG_1: u32 = 0x01;
2153#[doc = "Beside RTC, 1p1 and 2p5 regulators are also on, low-power bandgap is selected so that the normal analog bandgap together with the rest analog is powered down."]
2154pub const STOP_MODE_CONFIG_2: u32 = 0x02;
2155#[doc = "Beside RTC, low-power bandgap is selected and the rest analog is powered down."]
2156pub const STOP_MODE_CONFIG_3: u32 = 0x03;
2157 }
2158 }
2159#[doc = "This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN."]
2160pub mod DISCON_HIGH_SNVS {
2161pub const offset: u32 = 12;
2162pub const mask: u32 = 0x01 << offset;
2163pub mod R {}
2164pub mod W {}
2165pub mod RW {
2166#[doc = "Turn on the switch"]
2167pub const DISCON_HIGH_SNVS_0: u32 = 0;
2168#[doc = "Turn off the switch"]
2169pub const DISCON_HIGH_SNVS_1: u32 = 0x01;
2170 }
2171 }
2172#[doc = "This field determines the bias current in the 24MHz oscillator"]
2173pub mod OSC_I {
2174pub const offset: u32 = 13;
2175pub const mask: u32 = 0x03 << offset;
2176pub mod R {}
2177pub mod W {}
2178pub mod RW {
2179#[doc = "Nominal"]
2180pub const NOMINAL: u32 = 0;
2181#[doc = "Decrease current by 12.5%"]
2182pub const MINUS_12_5_PERCENT: u32 = 0x01;
2183#[doc = "Decrease current by 25.0%"]
2184pub const MINUS_25_PERCENT: u32 = 0x02;
2185#[doc = "Decrease current by 37.5%"]
2186pub const MINUS_37_5_PERCENT: u32 = 0x03;
2187 }
2188 }
2189#[doc = "Status bit that signals that the output of the 24-MHz crystal oscillator is stable"]
2190pub mod OSC_XTALOK {
2191pub const offset: u32 = 15;
2192pub const mask: u32 = 0x01 << offset;
2193pub mod R {}
2194pub mod W {}
2195pub mod RW {}
2196 }
2197#[doc = "This bit enables the detector that signals when the 24MHz crystal oscillator is stable"]
2198pub mod OSC_XTALOK_EN {
2199pub const offset: u32 = 16;
2200pub const mask: u32 = 0x01 << offset;
2201pub mod R {}
2202pub mod W {}
2203pub mod RW {}
2204 }
2205#[doc = "This bit allows disabling the clock gate (always ungated) for the xtal 24MHz clock that clocks the digital logic in the analog block"]
2206pub mod CLKGATE_CTRL {
2207pub const offset: u32 = 25;
2208pub const mask: u32 = 0x01 << offset;
2209pub mod R {}
2210pub mod W {}
2211pub mod RW {
2212#[doc = "Allow the logic to automatically gate the clock when the XTAL is powered down."]
2213pub const ALLOW_AUTO_GATE: u32 = 0;
2214#[doc = "Prevent the logic from ever gating off the clock."]
2215pub const NO_AUTO_GATE: u32 = 0x01;
2216 }
2217 }
2218#[doc = "This field specifies the delay between powering up the XTAL 24MHz clock and releasing the clock to the digital logic inside the analog block"]
2219pub mod CLKGATE_DELAY {
2220pub const offset: u32 = 26;
2221pub const mask: u32 = 0x07 << offset;
2222pub mod R {}
2223pub mod W {}
2224pub mod RW {
2225#[doc = "0.5ms"]
2226pub const CLKGATE_DELAY_0: u32 = 0;
2227#[doc = "1.0ms"]
2228pub const CLKGATE_DELAY_1: u32 = 0x01;
2229#[doc = "2.0ms"]
2230pub const CLKGATE_DELAY_2: u32 = 0x02;
2231#[doc = "3.0ms"]
2232pub const CLKGATE_DELAY_3: u32 = 0x03;
2233#[doc = "4.0ms"]
2234pub const CLKGATE_DELAY_4: u32 = 0x04;
2235#[doc = "5.0ms"]
2236pub const CLKGATE_DELAY_5: u32 = 0x05;
2237#[doc = "6.0ms"]
2238pub const CLKGATE_DELAY_6: u32 = 0x06;
2239#[doc = "7.0ms"]
2240pub const CLKGATE_DELAY_7: u32 = 0x07;
2241 }
2242 }
2243#[doc = "This field indicates which chip source is being used for the rtc clock"]
2244pub mod RTC_XTAL_SOURCE {
2245pub const offset: u32 = 29;
2246pub const mask: u32 = 0x01 << offset;
2247pub mod R {}
2248pub mod W {}
2249pub mod RW {
2250#[doc = "Internal ring oscillator"]
2251pub const RTC_XTAL_SOURCE_0: u32 = 0;
2252#[doc = "RTC_XTAL"]
2253pub const RTC_XTAL_SOURCE_1: u32 = 0x01;
2254 }
2255 }
2256#[doc = "This field powers down the 24M crystal oscillator if set true"]
2257pub mod XTAL_24M_PWD {
2258pub const offset: u32 = 30;
2259pub const mask: u32 = 0x01 << offset;
2260pub mod R {}
2261pub mod W {}
2262pub mod RW {}
2263 }
2264}
2265#[doc = "Miscellaneous Register 0"]
2266pub mod MISC0_CLR {
2267#[doc = "Control bit to power-down the analog bandgap reference circuitry"]
2268pub mod REFTOP_PWD {
2269pub const offset: u32 = 0;
2270pub const mask: u32 = 0x01 << offset;
2271pub mod R {}
2272pub mod W {}
2273pub mod RW {}
2274 }
2275#[doc = "Control bit to disable the self-bias circuit in the analog bandgap"]
2276pub mod REFTOP_SELFBIASOFF {
2277pub const offset: u32 = 3;
2278pub const mask: u32 = 0x01 << offset;
2279pub mod R {}
2280pub mod W {}
2281pub mod RW {
2282#[doc = "Uses coarse bias currents for startup"]
2283pub const REFTOP_SELFBIASOFF_0: u32 = 0;
2284#[doc = "Uses bandgap-based bias currents for best performance."]
2285pub const REFTOP_SELFBIASOFF_1: u32 = 0x01;
2286 }
2287 }
2288#[doc = "Not related to CCM. See Power Management Unit (PMU)"]
2289pub mod REFTOP_VBGADJ {
2290pub const offset: u32 = 4;
2291pub const mask: u32 = 0x07 << offset;
2292pub mod R {}
2293pub mod W {}
2294pub mod RW {
2295#[doc = "Nominal VBG"]
2296pub const REFTOP_VBGADJ_0: u32 = 0;
2297#[doc = "VBG+0.78%"]
2298pub const REFTOP_VBGADJ_1: u32 = 0x01;
2299#[doc = "VBG+1.56%"]
2300pub const REFTOP_VBGADJ_2: u32 = 0x02;
2301#[doc = "VBG+2.34%"]
2302pub const REFTOP_VBGADJ_3: u32 = 0x03;
2303#[doc = "VBG-0.78%"]
2304pub const REFTOP_VBGADJ_4: u32 = 0x04;
2305#[doc = "VBG-1.56%"]
2306pub const REFTOP_VBGADJ_5: u32 = 0x05;
2307#[doc = "VBG-2.34%"]
2308pub const REFTOP_VBGADJ_6: u32 = 0x06;
2309#[doc = "VBG-3.12%"]
2310pub const REFTOP_VBGADJ_7: u32 = 0x07;
2311 }
2312 }
2313#[doc = "Status bit that signals the analog bandgap voltage is up and stable"]
2314pub mod REFTOP_VBGUP {
2315pub const offset: u32 = 7;
2316pub const mask: u32 = 0x01 << offset;
2317pub mod R {}
2318pub mod W {}
2319pub mod RW {}
2320 }
2321#[doc = "Configure the analog behavior in stop mode."]
2322pub mod STOP_MODE_CONFIG {
2323pub const offset: u32 = 10;
2324pub const mask: u32 = 0x03 << offset;
2325pub mod R {}
2326pub mod W {}
2327pub mod RW {
2328#[doc = "All analog except RTC powered down on stop mode assertion."]
2329pub const STOP_MODE_CONFIG_0: u32 = 0;
2330#[doc = "Beside RTC, analog bandgap, 1p1 and 2p5 regulators are also on."]
2331pub const STOP_MODE_CONFIG_1: u32 = 0x01;
2332#[doc = "Beside RTC, 1p1 and 2p5 regulators are also on, low-power bandgap is selected so that the normal analog bandgap together with the rest analog is powered down."]
2333pub const STOP_MODE_CONFIG_2: u32 = 0x02;
2334#[doc = "Beside RTC, low-power bandgap is selected and the rest analog is powered down."]
2335pub const STOP_MODE_CONFIG_3: u32 = 0x03;
2336 }
2337 }
2338#[doc = "This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN."]
2339pub mod DISCON_HIGH_SNVS {
2340pub const offset: u32 = 12;
2341pub const mask: u32 = 0x01 << offset;
2342pub mod R {}
2343pub mod W {}
2344pub mod RW {
2345#[doc = "Turn on the switch"]
2346pub const DISCON_HIGH_SNVS_0: u32 = 0;
2347#[doc = "Turn off the switch"]
2348pub const DISCON_HIGH_SNVS_1: u32 = 0x01;
2349 }
2350 }
2351#[doc = "This field determines the bias current in the 24MHz oscillator"]
2352pub mod OSC_I {
2353pub const offset: u32 = 13;
2354pub const mask: u32 = 0x03 << offset;
2355pub mod R {}
2356pub mod W {}
2357pub mod RW {
2358#[doc = "Nominal"]
2359pub const NOMINAL: u32 = 0;
2360#[doc = "Decrease current by 12.5%"]
2361pub const MINUS_12_5_PERCENT: u32 = 0x01;
2362#[doc = "Decrease current by 25.0%"]
2363pub const MINUS_25_PERCENT: u32 = 0x02;
2364#[doc = "Decrease current by 37.5%"]
2365pub const MINUS_37_5_PERCENT: u32 = 0x03;
2366 }
2367 }
2368#[doc = "Status bit that signals that the output of the 24-MHz crystal oscillator is stable"]
2369pub mod OSC_XTALOK {
2370pub const offset: u32 = 15;
2371pub const mask: u32 = 0x01 << offset;
2372pub mod R {}
2373pub mod W {}
2374pub mod RW {}
2375 }
2376#[doc = "This bit enables the detector that signals when the 24MHz crystal oscillator is stable"]
2377pub mod OSC_XTALOK_EN {
2378pub const offset: u32 = 16;
2379pub const mask: u32 = 0x01 << offset;
2380pub mod R {}
2381pub mod W {}
2382pub mod RW {}
2383 }
2384#[doc = "This bit allows disabling the clock gate (always ungated) for the xtal 24MHz clock that clocks the digital logic in the analog block"]
2385pub mod CLKGATE_CTRL {
2386pub const offset: u32 = 25;
2387pub const mask: u32 = 0x01 << offset;
2388pub mod R {}
2389pub mod W {}
2390pub mod RW {
2391#[doc = "Allow the logic to automatically gate the clock when the XTAL is powered down."]
2392pub const ALLOW_AUTO_GATE: u32 = 0;
2393#[doc = "Prevent the logic from ever gating off the clock."]
2394pub const NO_AUTO_GATE: u32 = 0x01;
2395 }
2396 }
2397#[doc = "This field specifies the delay between powering up the XTAL 24MHz clock and releasing the clock to the digital logic inside the analog block"]
2398pub mod CLKGATE_DELAY {
2399pub const offset: u32 = 26;
2400pub const mask: u32 = 0x07 << offset;
2401pub mod R {}
2402pub mod W {}
2403pub mod RW {
2404#[doc = "0.5ms"]
2405pub const CLKGATE_DELAY_0: u32 = 0;
2406#[doc = "1.0ms"]
2407pub const CLKGATE_DELAY_1: u32 = 0x01;
2408#[doc = "2.0ms"]
2409pub const CLKGATE_DELAY_2: u32 = 0x02;
2410#[doc = "3.0ms"]
2411pub const CLKGATE_DELAY_3: u32 = 0x03;
2412#[doc = "4.0ms"]
2413pub const CLKGATE_DELAY_4: u32 = 0x04;
2414#[doc = "5.0ms"]
2415pub const CLKGATE_DELAY_5: u32 = 0x05;
2416#[doc = "6.0ms"]
2417pub const CLKGATE_DELAY_6: u32 = 0x06;
2418#[doc = "7.0ms"]
2419pub const CLKGATE_DELAY_7: u32 = 0x07;
2420 }
2421 }
2422#[doc = "This field indicates which chip source is being used for the rtc clock"]
2423pub mod RTC_XTAL_SOURCE {
2424pub const offset: u32 = 29;
2425pub const mask: u32 = 0x01 << offset;
2426pub mod R {}
2427pub mod W {}
2428pub mod RW {
2429#[doc = "Internal ring oscillator"]
2430pub const RTC_XTAL_SOURCE_0: u32 = 0;
2431#[doc = "RTC_XTAL"]
2432pub const RTC_XTAL_SOURCE_1: u32 = 0x01;
2433 }
2434 }
2435#[doc = "This field powers down the 24M crystal oscillator if set true"]
2436pub mod XTAL_24M_PWD {
2437pub const offset: u32 = 30;
2438pub const mask: u32 = 0x01 << offset;
2439pub mod R {}
2440pub mod W {}
2441pub mod RW {}
2442 }
2443}
2444#[doc = "Miscellaneous Register 0"]
2445pub mod MISC0_TOG {
2446#[doc = "Control bit to power-down the analog bandgap reference circuitry"]
2447pub mod REFTOP_PWD {
2448pub const offset: u32 = 0;
2449pub const mask: u32 = 0x01 << offset;
2450pub mod R {}
2451pub mod W {}
2452pub mod RW {}
2453 }
2454#[doc = "Control bit to disable the self-bias circuit in the analog bandgap"]
2455pub mod REFTOP_SELFBIASOFF {
2456pub const offset: u32 = 3;
2457pub const mask: u32 = 0x01 << offset;
2458pub mod R {}
2459pub mod W {}
2460pub mod RW {
2461#[doc = "Uses coarse bias currents for startup"]
2462pub const REFTOP_SELFBIASOFF_0: u32 = 0;
2463#[doc = "Uses bandgap-based bias currents for best performance."]
2464pub const REFTOP_SELFBIASOFF_1: u32 = 0x01;
2465 }
2466 }
2467#[doc = "Not related to CCM. See Power Management Unit (PMU)"]
2468pub mod REFTOP_VBGADJ {
2469pub const offset: u32 = 4;
2470pub const mask: u32 = 0x07 << offset;
2471pub mod R {}
2472pub mod W {}
2473pub mod RW {
2474#[doc = "Nominal VBG"]
2475pub const REFTOP_VBGADJ_0: u32 = 0;
2476#[doc = "VBG+0.78%"]
2477pub const REFTOP_VBGADJ_1: u32 = 0x01;
2478#[doc = "VBG+1.56%"]
2479pub const REFTOP_VBGADJ_2: u32 = 0x02;
2480#[doc = "VBG+2.34%"]
2481pub const REFTOP_VBGADJ_3: u32 = 0x03;
2482#[doc = "VBG-0.78%"]
2483pub const REFTOP_VBGADJ_4: u32 = 0x04;
2484#[doc = "VBG-1.56%"]
2485pub const REFTOP_VBGADJ_5: u32 = 0x05;
2486#[doc = "VBG-2.34%"]
2487pub const REFTOP_VBGADJ_6: u32 = 0x06;
2488#[doc = "VBG-3.12%"]
2489pub const REFTOP_VBGADJ_7: u32 = 0x07;
2490 }
2491 }
2492#[doc = "Status bit that signals the analog bandgap voltage is up and stable"]
2493pub mod REFTOP_VBGUP {
2494pub const offset: u32 = 7;
2495pub const mask: u32 = 0x01 << offset;
2496pub mod R {}
2497pub mod W {}
2498pub mod RW {}
2499 }
2500#[doc = "Configure the analog behavior in stop mode."]
2501pub mod STOP_MODE_CONFIG {
2502pub const offset: u32 = 10;
2503pub const mask: u32 = 0x03 << offset;
2504pub mod R {}
2505pub mod W {}
2506pub mod RW {
2507#[doc = "All analog except RTC powered down on stop mode assertion."]
2508pub const STOP_MODE_CONFIG_0: u32 = 0;
2509#[doc = "Beside RTC, analog bandgap, 1p1 and 2p5 regulators are also on."]
2510pub const STOP_MODE_CONFIG_1: u32 = 0x01;
2511#[doc = "Beside RTC, 1p1 and 2p5 regulators are also on, low-power bandgap is selected so that the normal analog bandgap together with the rest analog is powered down."]
2512pub const STOP_MODE_CONFIG_2: u32 = 0x02;
2513#[doc = "Beside RTC, low-power bandgap is selected and the rest analog is powered down."]
2514pub const STOP_MODE_CONFIG_3: u32 = 0x03;
2515 }
2516 }
2517#[doc = "This bit controls a switch from VDD_HIGH_IN to VDD_SNVS_IN."]
2518pub mod DISCON_HIGH_SNVS {
2519pub const offset: u32 = 12;
2520pub const mask: u32 = 0x01 << offset;
2521pub mod R {}
2522pub mod W {}
2523pub mod RW {
2524#[doc = "Turn on the switch"]
2525pub const DISCON_HIGH_SNVS_0: u32 = 0;
2526#[doc = "Turn off the switch"]
2527pub const DISCON_HIGH_SNVS_1: u32 = 0x01;
2528 }
2529 }
2530#[doc = "This field determines the bias current in the 24MHz oscillator"]
2531pub mod OSC_I {
2532pub const offset: u32 = 13;
2533pub const mask: u32 = 0x03 << offset;
2534pub mod R {}
2535pub mod W {}
2536pub mod RW {
2537#[doc = "Nominal"]
2538pub const NOMINAL: u32 = 0;
2539#[doc = "Decrease current by 12.5%"]
2540pub const MINUS_12_5_PERCENT: u32 = 0x01;
2541#[doc = "Decrease current by 25.0%"]
2542pub const MINUS_25_PERCENT: u32 = 0x02;
2543#[doc = "Decrease current by 37.5%"]
2544pub const MINUS_37_5_PERCENT: u32 = 0x03;
2545 }
2546 }
2547#[doc = "Status bit that signals that the output of the 24-MHz crystal oscillator is stable"]
2548pub mod OSC_XTALOK {
2549pub const offset: u32 = 15;
2550pub const mask: u32 = 0x01 << offset;
2551pub mod R {}
2552pub mod W {}
2553pub mod RW {}
2554 }
2555#[doc = "This bit enables the detector that signals when the 24MHz crystal oscillator is stable"]
2556pub mod OSC_XTALOK_EN {
2557pub const offset: u32 = 16;
2558pub const mask: u32 = 0x01 << offset;
2559pub mod R {}
2560pub mod W {}
2561pub mod RW {}
2562 }
2563#[doc = "This bit allows disabling the clock gate (always ungated) for the xtal 24MHz clock that clocks the digital logic in the analog block"]
2564pub mod CLKGATE_CTRL {
2565pub const offset: u32 = 25;
2566pub const mask: u32 = 0x01 << offset;
2567pub mod R {}
2568pub mod W {}
2569pub mod RW {
2570#[doc = "Allow the logic to automatically gate the clock when the XTAL is powered down."]
2571pub const ALLOW_AUTO_GATE: u32 = 0;
2572#[doc = "Prevent the logic from ever gating off the clock."]
2573pub const NO_AUTO_GATE: u32 = 0x01;
2574 }
2575 }
2576#[doc = "This field specifies the delay between powering up the XTAL 24MHz clock and releasing the clock to the digital logic inside the analog block"]
2577pub mod CLKGATE_DELAY {
2578pub const offset: u32 = 26;
2579pub const mask: u32 = 0x07 << offset;
2580pub mod R {}
2581pub mod W {}
2582pub mod RW {
2583#[doc = "0.5ms"]
2584pub const CLKGATE_DELAY_0: u32 = 0;
2585#[doc = "1.0ms"]
2586pub const CLKGATE_DELAY_1: u32 = 0x01;
2587#[doc = "2.0ms"]
2588pub const CLKGATE_DELAY_2: u32 = 0x02;
2589#[doc = "3.0ms"]
2590pub const CLKGATE_DELAY_3: u32 = 0x03;
2591#[doc = "4.0ms"]
2592pub const CLKGATE_DELAY_4: u32 = 0x04;
2593#[doc = "5.0ms"]
2594pub const CLKGATE_DELAY_5: u32 = 0x05;
2595#[doc = "6.0ms"]
2596pub const CLKGATE_DELAY_6: u32 = 0x06;
2597#[doc = "7.0ms"]
2598pub const CLKGATE_DELAY_7: u32 = 0x07;
2599 }
2600 }
2601#[doc = "This field indicates which chip source is being used for the rtc clock"]
2602pub mod RTC_XTAL_SOURCE {
2603pub const offset: u32 = 29;
2604pub const mask: u32 = 0x01 << offset;
2605pub mod R {}
2606pub mod W {}
2607pub mod RW {
2608#[doc = "Internal ring oscillator"]
2609pub const RTC_XTAL_SOURCE_0: u32 = 0;
2610#[doc = "RTC_XTAL"]
2611pub const RTC_XTAL_SOURCE_1: u32 = 0x01;
2612 }
2613 }
2614#[doc = "This field powers down the 24M crystal oscillator if set true"]
2615pub mod XTAL_24M_PWD {
2616pub const offset: u32 = 30;
2617pub const mask: u32 = 0x01 << offset;
2618pub mod R {}
2619pub mod W {}
2620pub mod RW {}
2621 }
2622}
2623#[doc = "Miscellaneous Register 1"]
2624pub mod MISC1 {
2625#[doc = "This enables a feature that will clkgate (reset) all PFD_480 clocks anytime the USB1_PLL_480 is unlocked or powered off"]
2626pub mod PFD_480_AUTOGATE_EN {
2627pub const offset: u32 = 16;
2628pub const mask: u32 = 0x01 << offset;
2629pub mod R {}
2630pub mod W {}
2631pub mod RW {}
2632 }
2633#[doc = "This enables a feature that will clkgate (reset) all PFD_528 clocks anytime the PLL_528 is unlocked or powered off"]
2634pub mod PFD_528_AUTOGATE_EN {
2635pub const offset: u32 = 17;
2636pub const mask: u32 = 0x01 << offset;
2637pub mod R {}
2638pub mod W {}
2639pub mod RW {}
2640 }
2641#[doc = "This status bit is set to one when the temperature sensor panic interrupt asserts for a panic high temperature"]
2642pub mod IRQ_TEMPPANIC {
2643pub const offset: u32 = 27;
2644pub const mask: u32 = 0x01 << offset;
2645pub mod R {}
2646pub mod W {}
2647pub mod RW {}
2648 }
2649#[doc = "This status bit is set to one when the temperature sensor low interrupt asserts for low temperature"]
2650pub mod IRQ_TEMPLOW {
2651pub const offset: u32 = 28;
2652pub const mask: u32 = 0x01 << offset;
2653pub mod R {}
2654pub mod W {}
2655pub mod RW {}
2656 }
2657#[doc = "This status bit is set to one when the temperature sensor high interrupt asserts for high temperature"]
2658pub mod IRQ_TEMPHIGH {
2659pub const offset: u32 = 29;
2660pub const mask: u32 = 0x01 << offset;
2661pub mod R {}
2662pub mod W {}
2663pub mod RW {}
2664 }
2665#[doc = "This status bit is set to one when when any of the analog regulator brownout interrupts assert"]
2666pub mod IRQ_ANA_BO {
2667pub const offset: u32 = 30;
2668pub const mask: u32 = 0x01 << offset;
2669pub mod R {}
2670pub mod W {}
2671pub mod RW {}
2672 }
2673#[doc = "This status bit is set to one when when any of the digital regulator brownout interrupts assert"]
2674pub mod IRQ_DIG_BO {
2675pub const offset: u32 = 31;
2676pub const mask: u32 = 0x01 << offset;
2677pub mod R {}
2678pub mod W {}
2679pub mod RW {}
2680 }
2681}
2682#[doc = "Miscellaneous Register 1"]
2683pub mod MISC1_SET {
2684#[doc = "This enables a feature that will clkgate (reset) all PFD_480 clocks anytime the USB1_PLL_480 is unlocked or powered off"]
2685pub mod PFD_480_AUTOGATE_EN {
2686pub const offset: u32 = 16;
2687pub const mask: u32 = 0x01 << offset;
2688pub mod R {}
2689pub mod W {}
2690pub mod RW {}
2691 }
2692#[doc = "This enables a feature that will clkgate (reset) all PFD_528 clocks anytime the PLL_528 is unlocked or powered off"]
2693pub mod PFD_528_AUTOGATE_EN {
2694pub const offset: u32 = 17;
2695pub const mask: u32 = 0x01 << offset;
2696pub mod R {}
2697pub mod W {}
2698pub mod RW {}
2699 }
2700#[doc = "This status bit is set to one when the temperature sensor panic interrupt asserts for a panic high temperature"]
2701pub mod IRQ_TEMPPANIC {
2702pub const offset: u32 = 27;
2703pub const mask: u32 = 0x01 << offset;
2704pub mod R {}
2705pub mod W {}
2706pub mod RW {}
2707 }
2708#[doc = "This status bit is set to one when the temperature sensor low interrupt asserts for low temperature"]
2709pub mod IRQ_TEMPLOW {
2710pub const offset: u32 = 28;
2711pub const mask: u32 = 0x01 << offset;
2712pub mod R {}
2713pub mod W {}
2714pub mod RW {}
2715 }
2716#[doc = "This status bit is set to one when the temperature sensor high interrupt asserts for high temperature"]
2717pub mod IRQ_TEMPHIGH {
2718pub const offset: u32 = 29;
2719pub const mask: u32 = 0x01 << offset;
2720pub mod R {}
2721pub mod W {}
2722pub mod RW {}
2723 }
2724#[doc = "This status bit is set to one when when any of the analog regulator brownout interrupts assert"]
2725pub mod IRQ_ANA_BO {
2726pub const offset: u32 = 30;
2727pub const mask: u32 = 0x01 << offset;
2728pub mod R {}
2729pub mod W {}
2730pub mod RW {}
2731 }
2732#[doc = "This status bit is set to one when when any of the digital regulator brownout interrupts assert"]
2733pub mod IRQ_DIG_BO {
2734pub const offset: u32 = 31;
2735pub const mask: u32 = 0x01 << offset;
2736pub mod R {}
2737pub mod W {}
2738pub mod RW {}
2739 }
2740}
2741#[doc = "Miscellaneous Register 1"]
2742pub mod MISC1_CLR {
2743#[doc = "This enables a feature that will clkgate (reset) all PFD_480 clocks anytime the USB1_PLL_480 is unlocked or powered off"]
2744pub mod PFD_480_AUTOGATE_EN {
2745pub const offset: u32 = 16;
2746pub const mask: u32 = 0x01 << offset;
2747pub mod R {}
2748pub mod W {}
2749pub mod RW {}
2750 }
2751#[doc = "This enables a feature that will clkgate (reset) all PFD_528 clocks anytime the PLL_528 is unlocked or powered off"]
2752pub mod PFD_528_AUTOGATE_EN {
2753pub const offset: u32 = 17;
2754pub const mask: u32 = 0x01 << offset;
2755pub mod R {}
2756pub mod W {}
2757pub mod RW {}
2758 }
2759#[doc = "This status bit is set to one when the temperature sensor panic interrupt asserts for a panic high temperature"]
2760pub mod IRQ_TEMPPANIC {
2761pub const offset: u32 = 27;
2762pub const mask: u32 = 0x01 << offset;
2763pub mod R {}
2764pub mod W {}
2765pub mod RW {}
2766 }
2767#[doc = "This status bit is set to one when the temperature sensor low interrupt asserts for low temperature"]
2768pub mod IRQ_TEMPLOW {
2769pub const offset: u32 = 28;
2770pub const mask: u32 = 0x01 << offset;
2771pub mod R {}
2772pub mod W {}
2773pub mod RW {}
2774 }
2775#[doc = "This status bit is set to one when the temperature sensor high interrupt asserts for high temperature"]
2776pub mod IRQ_TEMPHIGH {
2777pub const offset: u32 = 29;
2778pub const mask: u32 = 0x01 << offset;
2779pub mod R {}
2780pub mod W {}
2781pub mod RW {}
2782 }
2783#[doc = "This status bit is set to one when when any of the analog regulator brownout interrupts assert"]
2784pub mod IRQ_ANA_BO {
2785pub const offset: u32 = 30;
2786pub const mask: u32 = 0x01 << offset;
2787pub mod R {}
2788pub mod W {}
2789pub mod RW {}
2790 }
2791#[doc = "This status bit is set to one when when any of the digital regulator brownout interrupts assert"]
2792pub mod IRQ_DIG_BO {
2793pub const offset: u32 = 31;
2794pub const mask: u32 = 0x01 << offset;
2795pub mod R {}
2796pub mod W {}
2797pub mod RW {}
2798 }
2799}
2800#[doc = "Miscellaneous Register 1"]
2801pub mod MISC1_TOG {
2802#[doc = "This enables a feature that will clkgate (reset) all PFD_480 clocks anytime the USB1_PLL_480 is unlocked or powered off"]
2803pub mod PFD_480_AUTOGATE_EN {
2804pub const offset: u32 = 16;
2805pub const mask: u32 = 0x01 << offset;
2806pub mod R {}
2807pub mod W {}
2808pub mod RW {}
2809 }
2810#[doc = "This enables a feature that will clkgate (reset) all PFD_528 clocks anytime the PLL_528 is unlocked or powered off"]
2811pub mod PFD_528_AUTOGATE_EN {
2812pub const offset: u32 = 17;
2813pub const mask: u32 = 0x01 << offset;
2814pub mod R {}
2815pub mod W {}
2816pub mod RW {}
2817 }
2818#[doc = "This status bit is set to one when the temperature sensor panic interrupt asserts for a panic high temperature"]
2819pub mod IRQ_TEMPPANIC {
2820pub const offset: u32 = 27;
2821pub const mask: u32 = 0x01 << offset;
2822pub mod R {}
2823pub mod W {}
2824pub mod RW {}
2825 }
2826#[doc = "This status bit is set to one when the temperature sensor low interrupt asserts for low temperature"]
2827pub mod IRQ_TEMPLOW {
2828pub const offset: u32 = 28;
2829pub const mask: u32 = 0x01 << offset;
2830pub mod R {}
2831pub mod W {}
2832pub mod RW {}
2833 }
2834#[doc = "This status bit is set to one when the temperature sensor high interrupt asserts for high temperature"]
2835pub mod IRQ_TEMPHIGH {
2836pub const offset: u32 = 29;
2837pub const mask: u32 = 0x01 << offset;
2838pub mod R {}
2839pub mod W {}
2840pub mod RW {}
2841 }
2842#[doc = "This status bit is set to one when when any of the analog regulator brownout interrupts assert"]
2843pub mod IRQ_ANA_BO {
2844pub const offset: u32 = 30;
2845pub const mask: u32 = 0x01 << offset;
2846pub mod R {}
2847pub mod W {}
2848pub mod RW {}
2849 }
2850#[doc = "This status bit is set to one when when any of the digital regulator brownout interrupts assert"]
2851pub mod IRQ_DIG_BO {
2852pub const offset: u32 = 31;
2853pub const mask: u32 = 0x01 << offset;
2854pub mod R {}
2855pub mod W {}
2856pub mod RW {}
2857 }
2858}
2859#[doc = "Miscellaneous Register 2"]
2860pub mod MISC2 {
2861#[doc = "This field defines the brown out voltage offset for the CORE power domain"]
2862pub mod REG0_BO_OFFSET {
2863pub const offset: u32 = 0;
2864pub const mask: u32 = 0x07 << offset;
2865pub mod R {}
2866pub mod W {}
2867pub mod RW {
2868#[doc = "Brownout offset = 0.100V"]
2869pub const REG0_BO_OFFSET_4: u32 = 0x04;
2870#[doc = "Brownout offset = 0.175V"]
2871pub const REG0_BO_OFFSET_7: u32 = 0x07;
2872 }
2873 }
2874#[doc = "Reg0 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
2875pub mod REG0_BO_STATUS {
2876pub const offset: u32 = 3;
2877pub const mask: u32 = 0x01 << offset;
2878pub mod R {}
2879pub mod W {}
2880pub mod RW {
2881#[doc = "Brownout, supply is below target minus brownout offset."]
2882pub const REG0_BO_STATUS_1: u32 = 0x01;
2883 }
2884 }
2885#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
2886pub mod REG0_ENABLE_BO {
2887pub const offset: u32 = 5;
2888pub const mask: u32 = 0x01 << offset;
2889pub mod R {}
2890pub mod W {}
2891pub mod RW {}
2892 }
2893#[doc = "ARM supply Not related to CCM. See Power Management Unit (PMU)"]
2894pub mod REG0_OK {
2895pub const offset: u32 = 6;
2896pub const mask: u32 = 0x01 << offset;
2897pub mod R {}
2898pub mod W {}
2899pub mod RW {}
2900 }
2901#[doc = "When USB is in low power suspend mode this Control bit is used to indicate if other system peripherals require the USB PLL3 clock when the SoC is not in low power mode"]
2902pub mod PLL3_DISABLE {
2903pub const offset: u32 = 7;
2904pub const mask: u32 = 0x01 << offset;
2905pub mod R {}
2906pub mod W {}
2907pub mod RW {
2908#[doc = "PLL3 is being used by peripherals and is enabled when SoC is not in any low power mode"]
2909pub const PLL3_DISABLE_0: u32 = 0;
2910#[doc = "PLL3 can be disabled when the SoC is not in any low power mode"]
2911pub const PLL3_DISABLE_1: u32 = 0x01;
2912 }
2913 }
2914#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
2915pub mod REG1_BO_OFFSET {
2916pub const offset: u32 = 8;
2917pub const mask: u32 = 0x07 << offset;
2918pub mod R {}
2919pub mod W {}
2920pub mod RW {
2921#[doc = "Brownout offset = 0.100V"]
2922pub const REG1_BO_OFFSET_4: u32 = 0x04;
2923#[doc = "Brownout offset = 0.175V"]
2924pub const REG1_BO_OFFSET_7: u32 = 0x07;
2925 }
2926 }
2927#[doc = "Reg1 brownout status bit. Not related to CCM. See Power Management Unit (PMU)"]
2928pub mod REG1_BO_STATUS {
2929pub const offset: u32 = 11;
2930pub const mask: u32 = 0x01 << offset;
2931pub mod R {}
2932pub mod W {}
2933pub mod RW {
2934#[doc = "Brownout, supply is below target minus brownout offset."]
2935pub const REG1_BO_STATUS_1: u32 = 0x01;
2936 }
2937 }
2938#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
2939pub mod REG1_ENABLE_BO {
2940pub const offset: u32 = 13;
2941pub const mask: u32 = 0x01 << offset;
2942pub mod R {}
2943pub mod W {}
2944pub mod RW {}
2945 }
2946#[doc = "GPU supply Not related to CCM. See Power Management Unit (PMU)"]
2947pub mod REG1_OK {
2948pub const offset: u32 = 14;
2949pub const mask: u32 = 0x01 << offset;
2950pub mod R {}
2951pub mod W {}
2952pub mod RW {}
2953 }
2954#[doc = "LSB of Post-divider for Audio PLL"]
2955pub mod AUDIO_DIV_LSB {
2956pub const offset: u32 = 15;
2957pub const mask: u32 = 0x01 << offset;
2958pub mod R {}
2959pub mod W {}
2960pub mod RW {
2961#[doc = "divide by 1 (Default)"]
2962pub const AUDIO_DIV_LSB_0: u32 = 0;
2963#[doc = "divide by 2"]
2964pub const AUDIO_DIV_LSB_1: u32 = 0x01;
2965 }
2966 }
2967#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
2968pub mod REG2_BO_OFFSET {
2969pub const offset: u32 = 16;
2970pub const mask: u32 = 0x07 << offset;
2971pub mod R {}
2972pub mod W {}
2973pub mod RW {
2974#[doc = "Brownout offset = 0.100V"]
2975pub const REG2_BO_OFFSET_4: u32 = 0x04;
2976#[doc = "Brownout offset = 0.175V"]
2977pub const REG2_BO_OFFSET_7: u32 = 0x07;
2978 }
2979 }
2980#[doc = "Reg2 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
2981pub mod REG2_BO_STATUS {
2982pub const offset: u32 = 19;
2983pub const mask: u32 = 0x01 << offset;
2984pub mod R {}
2985pub mod W {}
2986pub mod RW {}
2987 }
2988#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
2989pub mod REG2_ENABLE_BO {
2990pub const offset: u32 = 21;
2991pub const mask: u32 = 0x01 << offset;
2992pub mod R {}
2993pub mod W {}
2994pub mod RW {}
2995 }
2996#[doc = "Signals that the voltage is above the brownout level for the SOC supply"]
2997pub mod REG2_OK {
2998pub const offset: u32 = 22;
2999pub const mask: u32 = 0x01 << offset;
3000pub mod R {}
3001pub mod W {}
3002pub mod RW {}
3003 }
3004#[doc = "MSB of Post-divider for Audio PLL"]
3005pub mod AUDIO_DIV_MSB {
3006pub const offset: u32 = 23;
3007pub const mask: u32 = 0x01 << offset;
3008pub mod R {}
3009pub mod W {}
3010pub mod RW {
3011#[doc = "divide by 1 (Default)"]
3012pub const AUDIO_DIV_MSB_0: u32 = 0;
3013#[doc = "divide by 2"]
3014pub const AUDIO_DIV_MSB_1: u32 = 0x01;
3015 }
3016 }
3017#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3018pub mod REG0_STEP_TIME {
3019pub const offset: u32 = 24;
3020pub const mask: u32 = 0x03 << offset;
3021pub mod R {}
3022pub mod W {}
3023pub mod RW {
3024#[doc = "64"]
3025pub const _64_CLOCKS: u32 = 0;
3026#[doc = "128"]
3027pub const _128_CLOCKS: u32 = 0x01;
3028#[doc = "256"]
3029pub const _256_CLOCKS: u32 = 0x02;
3030#[doc = "512"]
3031pub const _512_CLOCKS: u32 = 0x03;
3032 }
3033 }
3034#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3035pub mod REG1_STEP_TIME {
3036pub const offset: u32 = 26;
3037pub const mask: u32 = 0x03 << offset;
3038pub mod R {}
3039pub mod W {}
3040pub mod RW {
3041#[doc = "64"]
3042pub const _64_CLOCKS: u32 = 0;
3043#[doc = "128"]
3044pub const _128_CLOCKS: u32 = 0x01;
3045#[doc = "256"]
3046pub const _256_CLOCKS: u32 = 0x02;
3047#[doc = "512"]
3048pub const _512_CLOCKS: u32 = 0x03;
3049 }
3050 }
3051#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3052pub mod REG2_STEP_TIME {
3053pub const offset: u32 = 28;
3054pub const mask: u32 = 0x03 << offset;
3055pub mod R {}
3056pub mod W {}
3057pub mod RW {
3058#[doc = "64"]
3059pub const _64_CLOCKS: u32 = 0;
3060#[doc = "128"]
3061pub const _128_CLOCKS: u32 = 0x01;
3062#[doc = "256"]
3063pub const _256_CLOCKS: u32 = 0x02;
3064#[doc = "512"]
3065pub const _512_CLOCKS: u32 = 0x03;
3066 }
3067 }
3068}
3069#[doc = "Miscellaneous Register 2"]
3070pub mod MISC2_SET {
3071#[doc = "This field defines the brown out voltage offset for the CORE power domain"]
3072pub mod REG0_BO_OFFSET {
3073pub const offset: u32 = 0;
3074pub const mask: u32 = 0x07 << offset;
3075pub mod R {}
3076pub mod W {}
3077pub mod RW {
3078#[doc = "Brownout offset = 0.100V"]
3079pub const REG0_BO_OFFSET_4: u32 = 0x04;
3080#[doc = "Brownout offset = 0.175V"]
3081pub const REG0_BO_OFFSET_7: u32 = 0x07;
3082 }
3083 }
3084#[doc = "Reg0 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
3085pub mod REG0_BO_STATUS {
3086pub const offset: u32 = 3;
3087pub const mask: u32 = 0x01 << offset;
3088pub mod R {}
3089pub mod W {}
3090pub mod RW {
3091#[doc = "Brownout, supply is below target minus brownout offset."]
3092pub const REG0_BO_STATUS_1: u32 = 0x01;
3093 }
3094 }
3095#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3096pub mod REG0_ENABLE_BO {
3097pub const offset: u32 = 5;
3098pub const mask: u32 = 0x01 << offset;
3099pub mod R {}
3100pub mod W {}
3101pub mod RW {}
3102 }
3103#[doc = "ARM supply Not related to CCM. See Power Management Unit (PMU)"]
3104pub mod REG0_OK {
3105pub const offset: u32 = 6;
3106pub const mask: u32 = 0x01 << offset;
3107pub mod R {}
3108pub mod W {}
3109pub mod RW {}
3110 }
3111#[doc = "When USB is in low power suspend mode this Control bit is used to indicate if other system peripherals require the USB PLL3 clock when the SoC is not in low power mode"]
3112pub mod PLL3_DISABLE {
3113pub const offset: u32 = 7;
3114pub const mask: u32 = 0x01 << offset;
3115pub mod R {}
3116pub mod W {}
3117pub mod RW {
3118#[doc = "PLL3 is being used by peripherals and is enabled when SoC is not in any low power mode"]
3119pub const PLL3_DISABLE_0: u32 = 0;
3120#[doc = "PLL3 can be disabled when the SoC is not in any low power mode"]
3121pub const PLL3_DISABLE_1: u32 = 0x01;
3122 }
3123 }
3124#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
3125pub mod REG1_BO_OFFSET {
3126pub const offset: u32 = 8;
3127pub const mask: u32 = 0x07 << offset;
3128pub mod R {}
3129pub mod W {}
3130pub mod RW {
3131#[doc = "Brownout offset = 0.100V"]
3132pub const REG1_BO_OFFSET_4: u32 = 0x04;
3133#[doc = "Brownout offset = 0.175V"]
3134pub const REG1_BO_OFFSET_7: u32 = 0x07;
3135 }
3136 }
3137#[doc = "Reg1 brownout status bit. Not related to CCM. See Power Management Unit (PMU)"]
3138pub mod REG1_BO_STATUS {
3139pub const offset: u32 = 11;
3140pub const mask: u32 = 0x01 << offset;
3141pub mod R {}
3142pub mod W {}
3143pub mod RW {
3144#[doc = "Brownout, supply is below target minus brownout offset."]
3145pub const REG1_BO_STATUS_1: u32 = 0x01;
3146 }
3147 }
3148#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3149pub mod REG1_ENABLE_BO {
3150pub const offset: u32 = 13;
3151pub const mask: u32 = 0x01 << offset;
3152pub mod R {}
3153pub mod W {}
3154pub mod RW {}
3155 }
3156#[doc = "GPU supply Not related to CCM. See Power Management Unit (PMU)"]
3157pub mod REG1_OK {
3158pub const offset: u32 = 14;
3159pub const mask: u32 = 0x01 << offset;
3160pub mod R {}
3161pub mod W {}
3162pub mod RW {}
3163 }
3164#[doc = "LSB of Post-divider for Audio PLL"]
3165pub mod AUDIO_DIV_LSB {
3166pub const offset: u32 = 15;
3167pub const mask: u32 = 0x01 << offset;
3168pub mod R {}
3169pub mod W {}
3170pub mod RW {
3171#[doc = "divide by 1 (Default)"]
3172pub const AUDIO_DIV_LSB_0: u32 = 0;
3173#[doc = "divide by 2"]
3174pub const AUDIO_DIV_LSB_1: u32 = 0x01;
3175 }
3176 }
3177#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
3178pub mod REG2_BO_OFFSET {
3179pub const offset: u32 = 16;
3180pub const mask: u32 = 0x07 << offset;
3181pub mod R {}
3182pub mod W {}
3183pub mod RW {
3184#[doc = "Brownout offset = 0.100V"]
3185pub const REG2_BO_OFFSET_4: u32 = 0x04;
3186#[doc = "Brownout offset = 0.175V"]
3187pub const REG2_BO_OFFSET_7: u32 = 0x07;
3188 }
3189 }
3190#[doc = "Reg2 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
3191pub mod REG2_BO_STATUS {
3192pub const offset: u32 = 19;
3193pub const mask: u32 = 0x01 << offset;
3194pub mod R {}
3195pub mod W {}
3196pub mod RW {}
3197 }
3198#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3199pub mod REG2_ENABLE_BO {
3200pub const offset: u32 = 21;
3201pub const mask: u32 = 0x01 << offset;
3202pub mod R {}
3203pub mod W {}
3204pub mod RW {}
3205 }
3206#[doc = "Signals that the voltage is above the brownout level for the SOC supply"]
3207pub mod REG2_OK {
3208pub const offset: u32 = 22;
3209pub const mask: u32 = 0x01 << offset;
3210pub mod R {}
3211pub mod W {}
3212pub mod RW {}
3213 }
3214#[doc = "MSB of Post-divider for Audio PLL"]
3215pub mod AUDIO_DIV_MSB {
3216pub const offset: u32 = 23;
3217pub const mask: u32 = 0x01 << offset;
3218pub mod R {}
3219pub mod W {}
3220pub mod RW {
3221#[doc = "divide by 1 (Default)"]
3222pub const AUDIO_DIV_MSB_0: u32 = 0;
3223#[doc = "divide by 2"]
3224pub const AUDIO_DIV_MSB_1: u32 = 0x01;
3225 }
3226 }
3227#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3228pub mod REG0_STEP_TIME {
3229pub const offset: u32 = 24;
3230pub const mask: u32 = 0x03 << offset;
3231pub mod R {}
3232pub mod W {}
3233pub mod RW {
3234#[doc = "64"]
3235pub const _64_CLOCKS: u32 = 0;
3236#[doc = "128"]
3237pub const _128_CLOCKS: u32 = 0x01;
3238#[doc = "256"]
3239pub const _256_CLOCKS: u32 = 0x02;
3240#[doc = "512"]
3241pub const _512_CLOCKS: u32 = 0x03;
3242 }
3243 }
3244#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3245pub mod REG1_STEP_TIME {
3246pub const offset: u32 = 26;
3247pub const mask: u32 = 0x03 << offset;
3248pub mod R {}
3249pub mod W {}
3250pub mod RW {
3251#[doc = "64"]
3252pub const _64_CLOCKS: u32 = 0;
3253#[doc = "128"]
3254pub const _128_CLOCKS: u32 = 0x01;
3255#[doc = "256"]
3256pub const _256_CLOCKS: u32 = 0x02;
3257#[doc = "512"]
3258pub const _512_CLOCKS: u32 = 0x03;
3259 }
3260 }
3261#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3262pub mod REG2_STEP_TIME {
3263pub const offset: u32 = 28;
3264pub const mask: u32 = 0x03 << offset;
3265pub mod R {}
3266pub mod W {}
3267pub mod RW {
3268#[doc = "64"]
3269pub const _64_CLOCKS: u32 = 0;
3270#[doc = "128"]
3271pub const _128_CLOCKS: u32 = 0x01;
3272#[doc = "256"]
3273pub const _256_CLOCKS: u32 = 0x02;
3274#[doc = "512"]
3275pub const _512_CLOCKS: u32 = 0x03;
3276 }
3277 }
3278}
3279#[doc = "Miscellaneous Register 2"]
3280pub mod MISC2_CLR {
3281#[doc = "This field defines the brown out voltage offset for the CORE power domain"]
3282pub mod REG0_BO_OFFSET {
3283pub const offset: u32 = 0;
3284pub const mask: u32 = 0x07 << offset;
3285pub mod R {}
3286pub mod W {}
3287pub mod RW {
3288#[doc = "Brownout offset = 0.100V"]
3289pub const REG0_BO_OFFSET_4: u32 = 0x04;
3290#[doc = "Brownout offset = 0.175V"]
3291pub const REG0_BO_OFFSET_7: u32 = 0x07;
3292 }
3293 }
3294#[doc = "Reg0 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
3295pub mod REG0_BO_STATUS {
3296pub const offset: u32 = 3;
3297pub const mask: u32 = 0x01 << offset;
3298pub mod R {}
3299pub mod W {}
3300pub mod RW {
3301#[doc = "Brownout, supply is below target minus brownout offset."]
3302pub const REG0_BO_STATUS_1: u32 = 0x01;
3303 }
3304 }
3305#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3306pub mod REG0_ENABLE_BO {
3307pub const offset: u32 = 5;
3308pub const mask: u32 = 0x01 << offset;
3309pub mod R {}
3310pub mod W {}
3311pub mod RW {}
3312 }
3313#[doc = "ARM supply Not related to CCM. See Power Management Unit (PMU)"]
3314pub mod REG0_OK {
3315pub const offset: u32 = 6;
3316pub const mask: u32 = 0x01 << offset;
3317pub mod R {}
3318pub mod W {}
3319pub mod RW {}
3320 }
3321#[doc = "When USB is in low power suspend mode this Control bit is used to indicate if other system peripherals require the USB PLL3 clock when the SoC is not in low power mode"]
3322pub mod PLL3_DISABLE {
3323pub const offset: u32 = 7;
3324pub const mask: u32 = 0x01 << offset;
3325pub mod R {}
3326pub mod W {}
3327pub mod RW {
3328#[doc = "PLL3 is being used by peripherals and is enabled when SoC is not in any low power mode"]
3329pub const PLL3_DISABLE_0: u32 = 0;
3330#[doc = "PLL3 can be disabled when the SoC is not in any low power mode"]
3331pub const PLL3_DISABLE_1: u32 = 0x01;
3332 }
3333 }
3334#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
3335pub mod REG1_BO_OFFSET {
3336pub const offset: u32 = 8;
3337pub const mask: u32 = 0x07 << offset;
3338pub mod R {}
3339pub mod W {}
3340pub mod RW {
3341#[doc = "Brownout offset = 0.100V"]
3342pub const REG1_BO_OFFSET_4: u32 = 0x04;
3343#[doc = "Brownout offset = 0.175V"]
3344pub const REG1_BO_OFFSET_7: u32 = 0x07;
3345 }
3346 }
3347#[doc = "Reg1 brownout status bit. Not related to CCM. See Power Management Unit (PMU)"]
3348pub mod REG1_BO_STATUS {
3349pub const offset: u32 = 11;
3350pub const mask: u32 = 0x01 << offset;
3351pub mod R {}
3352pub mod W {}
3353pub mod RW {
3354#[doc = "Brownout, supply is below target minus brownout offset."]
3355pub const REG1_BO_STATUS_1: u32 = 0x01;
3356 }
3357 }
3358#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3359pub mod REG1_ENABLE_BO {
3360pub const offset: u32 = 13;
3361pub const mask: u32 = 0x01 << offset;
3362pub mod R {}
3363pub mod W {}
3364pub mod RW {}
3365 }
3366#[doc = "GPU supply Not related to CCM. See Power Management Unit (PMU)"]
3367pub mod REG1_OK {
3368pub const offset: u32 = 14;
3369pub const mask: u32 = 0x01 << offset;
3370pub mod R {}
3371pub mod W {}
3372pub mod RW {}
3373 }
3374#[doc = "LSB of Post-divider for Audio PLL"]
3375pub mod AUDIO_DIV_LSB {
3376pub const offset: u32 = 15;
3377pub const mask: u32 = 0x01 << offset;
3378pub mod R {}
3379pub mod W {}
3380pub mod RW {
3381#[doc = "divide by 1 (Default)"]
3382pub const AUDIO_DIV_LSB_0: u32 = 0;
3383#[doc = "divide by 2"]
3384pub const AUDIO_DIV_LSB_1: u32 = 0x01;
3385 }
3386 }
3387#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
3388pub mod REG2_BO_OFFSET {
3389pub const offset: u32 = 16;
3390pub const mask: u32 = 0x07 << offset;
3391pub mod R {}
3392pub mod W {}
3393pub mod RW {
3394#[doc = "Brownout offset = 0.100V"]
3395pub const REG2_BO_OFFSET_4: u32 = 0x04;
3396#[doc = "Brownout offset = 0.175V"]
3397pub const REG2_BO_OFFSET_7: u32 = 0x07;
3398 }
3399 }
3400#[doc = "Reg2 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
3401pub mod REG2_BO_STATUS {
3402pub const offset: u32 = 19;
3403pub const mask: u32 = 0x01 << offset;
3404pub mod R {}
3405pub mod W {}
3406pub mod RW {}
3407 }
3408#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3409pub mod REG2_ENABLE_BO {
3410pub const offset: u32 = 21;
3411pub const mask: u32 = 0x01 << offset;
3412pub mod R {}
3413pub mod W {}
3414pub mod RW {}
3415 }
3416#[doc = "Signals that the voltage is above the brownout level for the SOC supply"]
3417pub mod REG2_OK {
3418pub const offset: u32 = 22;
3419pub const mask: u32 = 0x01 << offset;
3420pub mod R {}
3421pub mod W {}
3422pub mod RW {}
3423 }
3424#[doc = "MSB of Post-divider for Audio PLL"]
3425pub mod AUDIO_DIV_MSB {
3426pub const offset: u32 = 23;
3427pub const mask: u32 = 0x01 << offset;
3428pub mod R {}
3429pub mod W {}
3430pub mod RW {
3431#[doc = "divide by 1 (Default)"]
3432pub const AUDIO_DIV_MSB_0: u32 = 0;
3433#[doc = "divide by 2"]
3434pub const AUDIO_DIV_MSB_1: u32 = 0x01;
3435 }
3436 }
3437#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3438pub mod REG0_STEP_TIME {
3439pub const offset: u32 = 24;
3440pub const mask: u32 = 0x03 << offset;
3441pub mod R {}
3442pub mod W {}
3443pub mod RW {
3444#[doc = "64"]
3445pub const _64_CLOCKS: u32 = 0;
3446#[doc = "128"]
3447pub const _128_CLOCKS: u32 = 0x01;
3448#[doc = "256"]
3449pub const _256_CLOCKS: u32 = 0x02;
3450#[doc = "512"]
3451pub const _512_CLOCKS: u32 = 0x03;
3452 }
3453 }
3454#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3455pub mod REG1_STEP_TIME {
3456pub const offset: u32 = 26;
3457pub const mask: u32 = 0x03 << offset;
3458pub mod R {}
3459pub mod W {}
3460pub mod RW {
3461#[doc = "64"]
3462pub const _64_CLOCKS: u32 = 0;
3463#[doc = "128"]
3464pub const _128_CLOCKS: u32 = 0x01;
3465#[doc = "256"]
3466pub const _256_CLOCKS: u32 = 0x02;
3467#[doc = "512"]
3468pub const _512_CLOCKS: u32 = 0x03;
3469 }
3470 }
3471#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3472pub mod REG2_STEP_TIME {
3473pub const offset: u32 = 28;
3474pub const mask: u32 = 0x03 << offset;
3475pub mod R {}
3476pub mod W {}
3477pub mod RW {
3478#[doc = "64"]
3479pub const _64_CLOCKS: u32 = 0;
3480#[doc = "128"]
3481pub const _128_CLOCKS: u32 = 0x01;
3482#[doc = "256"]
3483pub const _256_CLOCKS: u32 = 0x02;
3484#[doc = "512"]
3485pub const _512_CLOCKS: u32 = 0x03;
3486 }
3487 }
3488}
3489#[doc = "Miscellaneous Register 2"]
3490pub mod MISC2_TOG {
3491#[doc = "This field defines the brown out voltage offset for the CORE power domain"]
3492pub mod REG0_BO_OFFSET {
3493pub const offset: u32 = 0;
3494pub const mask: u32 = 0x07 << offset;
3495pub mod R {}
3496pub mod W {}
3497pub mod RW {
3498#[doc = "Brownout offset = 0.100V"]
3499pub const REG0_BO_OFFSET_4: u32 = 0x04;
3500#[doc = "Brownout offset = 0.175V"]
3501pub const REG0_BO_OFFSET_7: u32 = 0x07;
3502 }
3503 }
3504#[doc = "Reg0 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
3505pub mod REG0_BO_STATUS {
3506pub const offset: u32 = 3;
3507pub const mask: u32 = 0x01 << offset;
3508pub mod R {}
3509pub mod W {}
3510pub mod RW {
3511#[doc = "Brownout, supply is below target minus brownout offset."]
3512pub const REG0_BO_STATUS_1: u32 = 0x01;
3513 }
3514 }
3515#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3516pub mod REG0_ENABLE_BO {
3517pub const offset: u32 = 5;
3518pub const mask: u32 = 0x01 << offset;
3519pub mod R {}
3520pub mod W {}
3521pub mod RW {}
3522 }
3523#[doc = "ARM supply Not related to CCM. See Power Management Unit (PMU)"]
3524pub mod REG0_OK {
3525pub const offset: u32 = 6;
3526pub const mask: u32 = 0x01 << offset;
3527pub mod R {}
3528pub mod W {}
3529pub mod RW {}
3530 }
3531#[doc = "When USB is in low power suspend mode this Control bit is used to indicate if other system peripherals require the USB PLL3 clock when the SoC is not in low power mode"]
3532pub mod PLL3_DISABLE {
3533pub const offset: u32 = 7;
3534pub const mask: u32 = 0x01 << offset;
3535pub mod R {}
3536pub mod W {}
3537pub mod RW {
3538#[doc = "PLL3 is being used by peripherals and is enabled when SoC is not in any low power mode"]
3539pub const PLL3_DISABLE_0: u32 = 0;
3540#[doc = "PLL3 can be disabled when the SoC is not in any low power mode"]
3541pub const PLL3_DISABLE_1: u32 = 0x01;
3542 }
3543 }
3544#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
3545pub mod REG1_BO_OFFSET {
3546pub const offset: u32 = 8;
3547pub const mask: u32 = 0x07 << offset;
3548pub mod R {}
3549pub mod W {}
3550pub mod RW {
3551#[doc = "Brownout offset = 0.100V"]
3552pub const REG1_BO_OFFSET_4: u32 = 0x04;
3553#[doc = "Brownout offset = 0.175V"]
3554pub const REG1_BO_OFFSET_7: u32 = 0x07;
3555 }
3556 }
3557#[doc = "Reg1 brownout status bit. Not related to CCM. See Power Management Unit (PMU)"]
3558pub mod REG1_BO_STATUS {
3559pub const offset: u32 = 11;
3560pub const mask: u32 = 0x01 << offset;
3561pub mod R {}
3562pub mod W {}
3563pub mod RW {
3564#[doc = "Brownout, supply is below target minus brownout offset."]
3565pub const REG1_BO_STATUS_1: u32 = 0x01;
3566 }
3567 }
3568#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3569pub mod REG1_ENABLE_BO {
3570pub const offset: u32 = 13;
3571pub const mask: u32 = 0x01 << offset;
3572pub mod R {}
3573pub mod W {}
3574pub mod RW {}
3575 }
3576#[doc = "GPU supply Not related to CCM. See Power Management Unit (PMU)"]
3577pub mod REG1_OK {
3578pub const offset: u32 = 14;
3579pub const mask: u32 = 0x01 << offset;
3580pub mod R {}
3581pub mod W {}
3582pub mod RW {}
3583 }
3584#[doc = "LSB of Post-divider for Audio PLL"]
3585pub mod AUDIO_DIV_LSB {
3586pub const offset: u32 = 15;
3587pub const mask: u32 = 0x01 << offset;
3588pub mod R {}
3589pub mod W {}
3590pub mod RW {
3591#[doc = "divide by 1 (Default)"]
3592pub const AUDIO_DIV_LSB_0: u32 = 0;
3593#[doc = "divide by 2"]
3594pub const AUDIO_DIV_LSB_1: u32 = 0x01;
3595 }
3596 }
3597#[doc = "This field defines the brown out voltage offset for the xPU power domain"]
3598pub mod REG2_BO_OFFSET {
3599pub const offset: u32 = 16;
3600pub const mask: u32 = 0x07 << offset;
3601pub mod R {}
3602pub mod W {}
3603pub mod RW {
3604#[doc = "Brownout offset = 0.100V"]
3605pub const REG2_BO_OFFSET_4: u32 = 0x04;
3606#[doc = "Brownout offset = 0.175V"]
3607pub const REG2_BO_OFFSET_7: u32 = 0x07;
3608 }
3609 }
3610#[doc = "Reg2 brownout status bit.Not related to CCM. See Power Management Unit (PMU)"]
3611pub mod REG2_BO_STATUS {
3612pub const offset: u32 = 19;
3613pub const mask: u32 = 0x01 << offset;
3614pub mod R {}
3615pub mod W {}
3616pub mod RW {}
3617 }
3618#[doc = "Enables the brownout detection.Not related to CCM. See Power Management Unit (PMU)"]
3619pub mod REG2_ENABLE_BO {
3620pub const offset: u32 = 21;
3621pub const mask: u32 = 0x01 << offset;
3622pub mod R {}
3623pub mod W {}
3624pub mod RW {}
3625 }
3626#[doc = "Signals that the voltage is above the brownout level for the SOC supply"]
3627pub mod REG2_OK {
3628pub const offset: u32 = 22;
3629pub const mask: u32 = 0x01 << offset;
3630pub mod R {}
3631pub mod W {}
3632pub mod RW {}
3633 }
3634#[doc = "MSB of Post-divider for Audio PLL"]
3635pub mod AUDIO_DIV_MSB {
3636pub const offset: u32 = 23;
3637pub const mask: u32 = 0x01 << offset;
3638pub mod R {}
3639pub mod W {}
3640pub mod RW {
3641#[doc = "divide by 1 (Default)"]
3642pub const AUDIO_DIV_MSB_0: u32 = 0;
3643#[doc = "divide by 2"]
3644pub const AUDIO_DIV_MSB_1: u32 = 0x01;
3645 }
3646 }
3647#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3648pub mod REG0_STEP_TIME {
3649pub const offset: u32 = 24;
3650pub const mask: u32 = 0x03 << offset;
3651pub mod R {}
3652pub mod W {}
3653pub mod RW {
3654#[doc = "64"]
3655pub const _64_CLOCKS: u32 = 0;
3656#[doc = "128"]
3657pub const _128_CLOCKS: u32 = 0x01;
3658#[doc = "256"]
3659pub const _256_CLOCKS: u32 = 0x02;
3660#[doc = "512"]
3661pub const _512_CLOCKS: u32 = 0x03;
3662 }
3663 }
3664#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3665pub mod REG1_STEP_TIME {
3666pub const offset: u32 = 26;
3667pub const mask: u32 = 0x03 << offset;
3668pub mod R {}
3669pub mod W {}
3670pub mod RW {
3671#[doc = "64"]
3672pub const _64_CLOCKS: u32 = 0;
3673#[doc = "128"]
3674pub const _128_CLOCKS: u32 = 0x01;
3675#[doc = "256"]
3676pub const _256_CLOCKS: u32 = 0x02;
3677#[doc = "512"]
3678pub const _512_CLOCKS: u32 = 0x03;
3679 }
3680 }
3681#[doc = "Number of clock periods (24MHz clock).Not related to CCM. See Power Management Unit (PMU)"]
3682pub mod REG2_STEP_TIME {
3683pub const offset: u32 = 28;
3684pub const mask: u32 = 0x03 << offset;
3685pub mod R {}
3686pub mod W {}
3687pub mod RW {
3688#[doc = "64"]
3689pub const _64_CLOCKS: u32 = 0;
3690#[doc = "128"]
3691pub const _128_CLOCKS: u32 = 0x01;
3692#[doc = "256"]
3693pub const _256_CLOCKS: u32 = 0x02;
3694#[doc = "512"]
3695pub const _512_CLOCKS: u32 = 0x03;
3696 }
3697 }
3698}