imxrt_ral/blocks/imxrt1011/
usb_analog.rs

1#[doc = "USB Analog"]
2#[repr(C)]
3pub struct RegisterBlock {
4    _reserved0: [u8; 0x01a0],
5    #[doc = "USB VBUS Detect Register"]
6    pub USB1_VBUS_DETECT: crate::RWRegister<u32>,
7    #[doc = "USB VBUS Detect Register"]
8    pub USB1_VBUS_DETECT_SET: crate::RWRegister<u32>,
9    #[doc = "USB VBUS Detect Register"]
10    pub USB1_VBUS_DETECT_CLR: crate::RWRegister<u32>,
11    #[doc = "USB VBUS Detect Register"]
12    pub USB1_VBUS_DETECT_TOG: crate::RWRegister<u32>,
13    #[doc = "USB Charger Detect Register"]
14    pub USB1_CHRG_DETECT: crate::RWRegister<u32>,
15    #[doc = "USB Charger Detect Register"]
16    pub USB1_CHRG_DETECT_SET: crate::RWRegister<u32>,
17    #[doc = "USB Charger Detect Register"]
18    pub USB1_CHRG_DETECT_CLR: crate::RWRegister<u32>,
19    #[doc = "USB Charger Detect Register"]
20    pub USB1_CHRG_DETECT_TOG: crate::RWRegister<u32>,
21    #[doc = "USB VBUS Detect Status Register"]
22    pub USB1_VBUS_DETECT_STAT: crate::RORegister<u32>,
23    _reserved1: [u8; 0x0c],
24    #[doc = "USB Charger Detect Status Register"]
25    pub USB1_CHRG_DETECT_STAT: crate::RORegister<u32>,
26    _reserved2: [u8; 0x0c],
27    #[doc = "USB Loopback Test Register"]
28    pub USB1_LOOPBACK: crate::RWRegister<u32>,
29    #[doc = "USB Loopback Test Register"]
30    pub USB1_LOOPBACK_SET: crate::RWRegister<u32>,
31    #[doc = "USB Loopback Test Register"]
32    pub USB1_LOOPBACK_CLR: crate::RWRegister<u32>,
33    #[doc = "USB Loopback Test Register"]
34    pub USB1_LOOPBACK_TOG: crate::RWRegister<u32>,
35    #[doc = "USB Misc Register"]
36    pub USB1_MISC: crate::RWRegister<u32>,
37    #[doc = "USB Misc Register"]
38    pub USB1_MISC_SET: crate::RWRegister<u32>,
39    #[doc = "USB Misc Register"]
40    pub USB1_MISC_CLR: crate::RWRegister<u32>,
41    #[doc = "USB Misc Register"]
42    pub USB1_MISC_TOG: crate::RWRegister<u32>,
43    _reserved3: [u8; 0x60],
44    #[doc = "Chip Silicon Version"]
45    pub DIGPROG: crate::RORegister<u32>,
46}
47#[doc = "USB VBUS Detect Register"]
48pub mod USB1_VBUS_DETECT {
49    #[doc = "Set the threshold for the VBUSVALID comparator"]
50    pub mod VBUSVALID_THRESH {
51        pub const offset: u32 = 0;
52        pub const mask: u32 = 0x07 << offset;
53        pub mod R {}
54        pub mod W {}
55        pub mod RW {
56            #[doc = "4.0V"]
57            pub const _4V0: u32 = 0;
58            #[doc = "4.1V"]
59            pub const _4V1: u32 = 0x01;
60            #[doc = "4.2V"]
61            pub const _4V2: u32 = 0x02;
62            #[doc = "4.3V"]
63            pub const _4V3: u32 = 0x03;
64            #[doc = "4.4V (default)"]
65            pub const _4V4: u32 = 0x04;
66            #[doc = "4.5V"]
67            pub const _4V5: u32 = 0x05;
68            #[doc = "4.6V"]
69            pub const _4V6: u32 = 0x06;
70            #[doc = "4.7V"]
71            pub const _4V7: u32 = 0x07;
72        }
73    }
74    #[doc = "Powers up comparators for vbus_valid detector."]
75    pub mod VBUSVALID_PWRUP_CMPS {
76        pub const offset: u32 = 20;
77        pub const mask: u32 = 0x01 << offset;
78        pub mod R {}
79        pub mod W {}
80        pub mod RW {}
81    }
82    #[doc = "USB OTG discharge VBUS."]
83    pub mod DISCHARGE_VBUS {
84        pub const offset: u32 = 26;
85        pub const mask: u32 = 0x01 << offset;
86        pub mod R {}
87        pub mod W {}
88        pub mod RW {}
89    }
90    #[doc = "USB OTG charge VBUS."]
91    pub mod CHARGE_VBUS {
92        pub const offset: u32 = 27;
93        pub const mask: u32 = 0x01 << offset;
94        pub mod R {}
95        pub mod W {}
96        pub mod RW {}
97    }
98}
99#[doc = "USB VBUS Detect Register"]
100pub mod USB1_VBUS_DETECT_SET {
101    #[doc = "Set the threshold for the VBUSVALID comparator"]
102    pub mod VBUSVALID_THRESH {
103        pub const offset: u32 = 0;
104        pub const mask: u32 = 0x07 << offset;
105        pub mod R {}
106        pub mod W {}
107        pub mod RW {
108            #[doc = "4.0V"]
109            pub const _4V0: u32 = 0;
110            #[doc = "4.1V"]
111            pub const _4V1: u32 = 0x01;
112            #[doc = "4.2V"]
113            pub const _4V2: u32 = 0x02;
114            #[doc = "4.3V"]
115            pub const _4V3: u32 = 0x03;
116            #[doc = "4.4V (default)"]
117            pub const _4V4: u32 = 0x04;
118            #[doc = "4.5V"]
119            pub const _4V5: u32 = 0x05;
120            #[doc = "4.6V"]
121            pub const _4V6: u32 = 0x06;
122            #[doc = "4.7V"]
123            pub const _4V7: u32 = 0x07;
124        }
125    }
126    #[doc = "Powers up comparators for vbus_valid detector."]
127    pub mod VBUSVALID_PWRUP_CMPS {
128        pub const offset: u32 = 20;
129        pub const mask: u32 = 0x01 << offset;
130        pub mod R {}
131        pub mod W {}
132        pub mod RW {}
133    }
134    #[doc = "USB OTG discharge VBUS."]
135    pub mod DISCHARGE_VBUS {
136        pub const offset: u32 = 26;
137        pub const mask: u32 = 0x01 << offset;
138        pub mod R {}
139        pub mod W {}
140        pub mod RW {}
141    }
142    #[doc = "USB OTG charge VBUS."]
143    pub mod CHARGE_VBUS {
144        pub const offset: u32 = 27;
145        pub const mask: u32 = 0x01 << offset;
146        pub mod R {}
147        pub mod W {}
148        pub mod RW {}
149    }
150}
151#[doc = "USB VBUS Detect Register"]
152pub mod USB1_VBUS_DETECT_CLR {
153    #[doc = "Set the threshold for the VBUSVALID comparator"]
154    pub mod VBUSVALID_THRESH {
155        pub const offset: u32 = 0;
156        pub const mask: u32 = 0x07 << offset;
157        pub mod R {}
158        pub mod W {}
159        pub mod RW {
160            #[doc = "4.0V"]
161            pub const _4V0: u32 = 0;
162            #[doc = "4.1V"]
163            pub const _4V1: u32 = 0x01;
164            #[doc = "4.2V"]
165            pub const _4V2: u32 = 0x02;
166            #[doc = "4.3V"]
167            pub const _4V3: u32 = 0x03;
168            #[doc = "4.4V (default)"]
169            pub const _4V4: u32 = 0x04;
170            #[doc = "4.5V"]
171            pub const _4V5: u32 = 0x05;
172            #[doc = "4.6V"]
173            pub const _4V6: u32 = 0x06;
174            #[doc = "4.7V"]
175            pub const _4V7: u32 = 0x07;
176        }
177    }
178    #[doc = "Powers up comparators for vbus_valid detector."]
179    pub mod VBUSVALID_PWRUP_CMPS {
180        pub const offset: u32 = 20;
181        pub const mask: u32 = 0x01 << offset;
182        pub mod R {}
183        pub mod W {}
184        pub mod RW {}
185    }
186    #[doc = "USB OTG discharge VBUS."]
187    pub mod DISCHARGE_VBUS {
188        pub const offset: u32 = 26;
189        pub const mask: u32 = 0x01 << offset;
190        pub mod R {}
191        pub mod W {}
192        pub mod RW {}
193    }
194    #[doc = "USB OTG charge VBUS."]
195    pub mod CHARGE_VBUS {
196        pub const offset: u32 = 27;
197        pub const mask: u32 = 0x01 << offset;
198        pub mod R {}
199        pub mod W {}
200        pub mod RW {}
201    }
202}
203#[doc = "USB VBUS Detect Register"]
204pub mod USB1_VBUS_DETECT_TOG {
205    #[doc = "Set the threshold for the VBUSVALID comparator"]
206    pub mod VBUSVALID_THRESH {
207        pub const offset: u32 = 0;
208        pub const mask: u32 = 0x07 << offset;
209        pub mod R {}
210        pub mod W {}
211        pub mod RW {
212            #[doc = "4.0V"]
213            pub const _4V0: u32 = 0;
214            #[doc = "4.1V"]
215            pub const _4V1: u32 = 0x01;
216            #[doc = "4.2V"]
217            pub const _4V2: u32 = 0x02;
218            #[doc = "4.3V"]
219            pub const _4V3: u32 = 0x03;
220            #[doc = "4.4V (default)"]
221            pub const _4V4: u32 = 0x04;
222            #[doc = "4.5V"]
223            pub const _4V5: u32 = 0x05;
224            #[doc = "4.6V"]
225            pub const _4V6: u32 = 0x06;
226            #[doc = "4.7V"]
227            pub const _4V7: u32 = 0x07;
228        }
229    }
230    #[doc = "Powers up comparators for vbus_valid detector."]
231    pub mod VBUSVALID_PWRUP_CMPS {
232        pub const offset: u32 = 20;
233        pub const mask: u32 = 0x01 << offset;
234        pub mod R {}
235        pub mod W {}
236        pub mod RW {}
237    }
238    #[doc = "USB OTG discharge VBUS."]
239    pub mod DISCHARGE_VBUS {
240        pub const offset: u32 = 26;
241        pub const mask: u32 = 0x01 << offset;
242        pub mod R {}
243        pub mod W {}
244        pub mod RW {}
245    }
246    #[doc = "USB OTG charge VBUS."]
247    pub mod CHARGE_VBUS {
248        pub const offset: u32 = 27;
249        pub const mask: u32 = 0x01 << offset;
250        pub mod R {}
251        pub mod W {}
252        pub mod RW {}
253    }
254}
255#[doc = "USB Charger Detect Register"]
256pub mod USB1_CHRG_DETECT {
257    #[doc = "Check the contact of USB plug"]
258    pub mod CHK_CONTACT {
259        pub const offset: u32 = 18;
260        pub const mask: u32 = 0x01 << offset;
261        pub mod R {}
262        pub mod W {}
263        pub mod RW {
264            #[doc = "Do not check the contact of USB plug."]
265            pub const NO_CHECK: u32 = 0;
266            #[doc = "Check whether the USB plug has been in contact with each other"]
267            pub const CHECK: u32 = 0x01;
268        }
269    }
270    #[doc = "Check the charger connection"]
271    pub mod CHK_CHRG_B {
272        pub const offset: u32 = 19;
273        pub const mask: u32 = 0x01 << offset;
274        pub mod R {}
275        pub mod W {}
276        pub mod RW {
277            #[doc = "Check whether a charger (either a dedicated charger or a host charger) is connected to USB port."]
278            pub const CHECK: u32 = 0;
279            #[doc = "Do not check whether a charger is connected to the USB port."]
280            pub const NO_CHECK: u32 = 0x01;
281        }
282    }
283    #[doc = "Control the charger detector."]
284    pub mod EN_B {
285        pub const offset: u32 = 20;
286        pub const mask: u32 = 0x01 << offset;
287        pub mod R {}
288        pub mod W {}
289        pub mod RW {
290            #[doc = "Enable the charger detector."]
291            pub const ENABLE: u32 = 0;
292            #[doc = "Disable the charger detector."]
293            pub const DISABLE: u32 = 0x01;
294        }
295    }
296}
297#[doc = "USB Charger Detect Register"]
298pub mod USB1_CHRG_DETECT_SET {
299    #[doc = "Check the contact of USB plug"]
300    pub mod CHK_CONTACT {
301        pub const offset: u32 = 18;
302        pub const mask: u32 = 0x01 << offset;
303        pub mod R {}
304        pub mod W {}
305        pub mod RW {
306            #[doc = "Do not check the contact of USB plug."]
307            pub const NO_CHECK: u32 = 0;
308            #[doc = "Check whether the USB plug has been in contact with each other"]
309            pub const CHECK: u32 = 0x01;
310        }
311    }
312    #[doc = "Check the charger connection"]
313    pub mod CHK_CHRG_B {
314        pub const offset: u32 = 19;
315        pub const mask: u32 = 0x01 << offset;
316        pub mod R {}
317        pub mod W {}
318        pub mod RW {
319            #[doc = "Check whether a charger (either a dedicated charger or a host charger) is connected to USB port."]
320            pub const CHECK: u32 = 0;
321            #[doc = "Do not check whether a charger is connected to the USB port."]
322            pub const NO_CHECK: u32 = 0x01;
323        }
324    }
325    #[doc = "Control the charger detector."]
326    pub mod EN_B {
327        pub const offset: u32 = 20;
328        pub const mask: u32 = 0x01 << offset;
329        pub mod R {}
330        pub mod W {}
331        pub mod RW {
332            #[doc = "Enable the charger detector."]
333            pub const ENABLE: u32 = 0;
334            #[doc = "Disable the charger detector."]
335            pub const DISABLE: u32 = 0x01;
336        }
337    }
338}
339#[doc = "USB Charger Detect Register"]
340pub mod USB1_CHRG_DETECT_CLR {
341    #[doc = "Check the contact of USB plug"]
342    pub mod CHK_CONTACT {
343        pub const offset: u32 = 18;
344        pub const mask: u32 = 0x01 << offset;
345        pub mod R {}
346        pub mod W {}
347        pub mod RW {
348            #[doc = "Do not check the contact of USB plug."]
349            pub const NO_CHECK: u32 = 0;
350            #[doc = "Check whether the USB plug has been in contact with each other"]
351            pub const CHECK: u32 = 0x01;
352        }
353    }
354    #[doc = "Check the charger connection"]
355    pub mod CHK_CHRG_B {
356        pub const offset: u32 = 19;
357        pub const mask: u32 = 0x01 << offset;
358        pub mod R {}
359        pub mod W {}
360        pub mod RW {
361            #[doc = "Check whether a charger (either a dedicated charger or a host charger) is connected to USB port."]
362            pub const CHECK: u32 = 0;
363            #[doc = "Do not check whether a charger is connected to the USB port."]
364            pub const NO_CHECK: u32 = 0x01;
365        }
366    }
367    #[doc = "Control the charger detector."]
368    pub mod EN_B {
369        pub const offset: u32 = 20;
370        pub const mask: u32 = 0x01 << offset;
371        pub mod R {}
372        pub mod W {}
373        pub mod RW {
374            #[doc = "Enable the charger detector."]
375            pub const ENABLE: u32 = 0;
376            #[doc = "Disable the charger detector."]
377            pub const DISABLE: u32 = 0x01;
378        }
379    }
380}
381#[doc = "USB Charger Detect Register"]
382pub mod USB1_CHRG_DETECT_TOG {
383    #[doc = "Check the contact of USB plug"]
384    pub mod CHK_CONTACT {
385        pub const offset: u32 = 18;
386        pub const mask: u32 = 0x01 << offset;
387        pub mod R {}
388        pub mod W {}
389        pub mod RW {
390            #[doc = "Do not check the contact of USB plug."]
391            pub const NO_CHECK: u32 = 0;
392            #[doc = "Check whether the USB plug has been in contact with each other"]
393            pub const CHECK: u32 = 0x01;
394        }
395    }
396    #[doc = "Check the charger connection"]
397    pub mod CHK_CHRG_B {
398        pub const offset: u32 = 19;
399        pub const mask: u32 = 0x01 << offset;
400        pub mod R {}
401        pub mod W {}
402        pub mod RW {
403            #[doc = "Check whether a charger (either a dedicated charger or a host charger) is connected to USB port."]
404            pub const CHECK: u32 = 0;
405            #[doc = "Do not check whether a charger is connected to the USB port."]
406            pub const NO_CHECK: u32 = 0x01;
407        }
408    }
409    #[doc = "Control the charger detector."]
410    pub mod EN_B {
411        pub const offset: u32 = 20;
412        pub const mask: u32 = 0x01 << offset;
413        pub mod R {}
414        pub mod W {}
415        pub mod RW {
416            #[doc = "Enable the charger detector."]
417            pub const ENABLE: u32 = 0;
418            #[doc = "Disable the charger detector."]
419            pub const DISABLE: u32 = 0x01;
420        }
421    }
422}
423#[doc = "USB VBUS Detect Status Register"]
424pub mod USB1_VBUS_DETECT_STAT {
425    #[doc = "Session End for USB OTG"]
426    pub mod SESSEND {
427        pub const offset: u32 = 0;
428        pub const mask: u32 = 0x01 << offset;
429        pub mod R {}
430        pub mod W {}
431        pub mod RW {}
432    }
433    #[doc = "Indicates VBus is valid for a B-peripheral"]
434    pub mod BVALID {
435        pub const offset: u32 = 1;
436        pub const mask: u32 = 0x01 << offset;
437        pub mod R {}
438        pub mod W {}
439        pub mod RW {}
440    }
441    #[doc = "Indicates VBus is valid for a A-peripheral"]
442    pub mod AVALID {
443        pub const offset: u32 = 2;
444        pub const mask: u32 = 0x01 << offset;
445        pub mod R {}
446        pub mod W {}
447        pub mod RW {}
448    }
449    #[doc = "VBus valid for USB OTG"]
450    pub mod VBUS_VALID {
451        pub const offset: u32 = 3;
452        pub const mask: u32 = 0x01 << offset;
453        pub mod R {}
454        pub mod W {}
455        pub mod RW {}
456    }
457}
458#[doc = "USB Charger Detect Status Register"]
459pub mod USB1_CHRG_DETECT_STAT {
460    #[doc = "State of the USB plug contact detector."]
461    pub mod PLUG_CONTACT {
462        pub const offset: u32 = 0;
463        pub const mask: u32 = 0x01 << offset;
464        pub mod R {}
465        pub mod W {}
466        pub mod RW {
467            #[doc = "The USB plug has not made contact."]
468            pub const NO_CONTACT: u32 = 0;
469            #[doc = "The USB plug has made good contact."]
470            pub const GOOD_CONTACT: u32 = 0x01;
471        }
472    }
473    #[doc = "State of charger detection. This bit is a read only version of the state of the analog signal."]
474    pub mod CHRG_DETECTED {
475        pub const offset: u32 = 1;
476        pub const mask: u32 = 0x01 << offset;
477        pub mod R {}
478        pub mod W {}
479        pub mod RW {
480            #[doc = "The USB port is not connected to a charger."]
481            pub const CHARGER_NOT_PRESENT: u32 = 0;
482            #[doc = "A charger (either a dedicated charger or a host charger) is connected to the USB port."]
483            pub const CHARGER_PRESENT: u32 = 0x01;
484        }
485    }
486    #[doc = "DM line state output of the charger detector."]
487    pub mod DM_STATE {
488        pub const offset: u32 = 2;
489        pub const mask: u32 = 0x01 << offset;
490        pub mod R {}
491        pub mod W {}
492        pub mod RW {}
493    }
494    #[doc = "DP line state output of the charger detector."]
495    pub mod DP_STATE {
496        pub const offset: u32 = 3;
497        pub const mask: u32 = 0x01 << offset;
498        pub mod R {}
499        pub mod W {}
500        pub mod RW {}
501    }
502}
503#[doc = "USB Loopback Test Register"]
504pub mod USB1_LOOPBACK {
505    #[doc = "Setting this bit can enable 1"]
506    pub mod UTMI_TESTSTART {
507        pub const offset: u32 = 0;
508        pub const mask: u32 = 0x01 << offset;
509        pub mod R {}
510        pub mod W {}
511        pub mod RW {}
512    }
513}
514#[doc = "USB Loopback Test Register"]
515pub mod USB1_LOOPBACK_SET {
516    #[doc = "Setting this bit can enable 1"]
517    pub mod UTMI_TESTSTART {
518        pub const offset: u32 = 0;
519        pub const mask: u32 = 0x01 << offset;
520        pub mod R {}
521        pub mod W {}
522        pub mod RW {}
523    }
524}
525#[doc = "USB Loopback Test Register"]
526pub mod USB1_LOOPBACK_CLR {
527    #[doc = "Setting this bit can enable 1"]
528    pub mod UTMI_TESTSTART {
529        pub const offset: u32 = 0;
530        pub const mask: u32 = 0x01 << offset;
531        pub mod R {}
532        pub mod W {}
533        pub mod RW {}
534    }
535}
536#[doc = "USB Loopback Test Register"]
537pub mod USB1_LOOPBACK_TOG {
538    #[doc = "Setting this bit can enable 1"]
539    pub mod UTMI_TESTSTART {
540        pub const offset: u32 = 0;
541        pub const mask: u32 = 0x01 << offset;
542        pub mod R {}
543        pub mod W {}
544        pub mod RW {}
545    }
546}
547#[doc = "USB Misc Register"]
548pub mod USB1_MISC {
549    #[doc = "Use external resistor to generate the current bias for the high speed transmitter"]
550    pub mod HS_USE_EXTERNAL_R {
551        pub const offset: u32 = 0;
552        pub const mask: u32 = 0x01 << offset;
553        pub mod R {}
554        pub mod W {}
555        pub mod RW {}
556    }
557    #[doc = "Enable the deglitching circuit of the USB PLL output."]
558    pub mod EN_DEGLITCH {
559        pub const offset: u32 = 1;
560        pub const mask: u32 = 0x01 << offset;
561        pub mod R {}
562        pub mod W {}
563        pub mod RW {}
564    }
565    #[doc = "Enables the clk to the UTMI block."]
566    pub mod EN_CLK_UTMI {
567        pub const offset: u32 = 30;
568        pub const mask: u32 = 0x01 << offset;
569        pub mod R {}
570        pub mod W {}
571        pub mod RW {}
572    }
573}
574#[doc = "USB Misc Register"]
575pub mod USB1_MISC_SET {
576    #[doc = "Use external resistor to generate the current bias for the high speed transmitter"]
577    pub mod HS_USE_EXTERNAL_R {
578        pub const offset: u32 = 0;
579        pub const mask: u32 = 0x01 << offset;
580        pub mod R {}
581        pub mod W {}
582        pub mod RW {}
583    }
584    #[doc = "Enable the deglitching circuit of the USB PLL output."]
585    pub mod EN_DEGLITCH {
586        pub const offset: u32 = 1;
587        pub const mask: u32 = 0x01 << offset;
588        pub mod R {}
589        pub mod W {}
590        pub mod RW {}
591    }
592    #[doc = "Enables the clk to the UTMI block."]
593    pub mod EN_CLK_UTMI {
594        pub const offset: u32 = 30;
595        pub const mask: u32 = 0x01 << offset;
596        pub mod R {}
597        pub mod W {}
598        pub mod RW {}
599    }
600}
601#[doc = "USB Misc Register"]
602pub mod USB1_MISC_CLR {
603    #[doc = "Use external resistor to generate the current bias for the high speed transmitter"]
604    pub mod HS_USE_EXTERNAL_R {
605        pub const offset: u32 = 0;
606        pub const mask: u32 = 0x01 << offset;
607        pub mod R {}
608        pub mod W {}
609        pub mod RW {}
610    }
611    #[doc = "Enable the deglitching circuit of the USB PLL output."]
612    pub mod EN_DEGLITCH {
613        pub const offset: u32 = 1;
614        pub const mask: u32 = 0x01 << offset;
615        pub mod R {}
616        pub mod W {}
617        pub mod RW {}
618    }
619    #[doc = "Enables the clk to the UTMI block."]
620    pub mod EN_CLK_UTMI {
621        pub const offset: u32 = 30;
622        pub const mask: u32 = 0x01 << offset;
623        pub mod R {}
624        pub mod W {}
625        pub mod RW {}
626    }
627}
628#[doc = "USB Misc Register"]
629pub mod USB1_MISC_TOG {
630    #[doc = "Use external resistor to generate the current bias for the high speed transmitter"]
631    pub mod HS_USE_EXTERNAL_R {
632        pub const offset: u32 = 0;
633        pub const mask: u32 = 0x01 << offset;
634        pub mod R {}
635        pub mod W {}
636        pub mod RW {}
637    }
638    #[doc = "Enable the deglitching circuit of the USB PLL output."]
639    pub mod EN_DEGLITCH {
640        pub const offset: u32 = 1;
641        pub const mask: u32 = 0x01 << offset;
642        pub mod R {}
643        pub mod W {}
644        pub mod RW {}
645    }
646    #[doc = "Enables the clk to the UTMI block."]
647    pub mod EN_CLK_UTMI {
648        pub const offset: u32 = 30;
649        pub const mask: u32 = 0x01 << offset;
650        pub mod R {}
651        pub mod W {}
652        pub mod RW {}
653    }
654}
655#[doc = "Chip Silicon Version"]
656pub mod DIGPROG {
657    #[doc = "Chip silicon revision"]
658    pub mod SILICON_REVISION {
659        pub const offset: u32 = 0;
660        pub const mask: u32 = 0xffff_ffff << offset;
661        pub mod R {}
662        pub mod W {}
663        pub mod RW {
664            #[doc = "Silicon revision 1.0"]
665            pub const SILICON_REVISION_7143424: u32 = 0x006d_0000;
666        }
667    }
668}