1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 4usize],
5 #[doc = "0x04 - Chip Control register"]
6 pub chipctl: CHIPCTL,
7 _reserved1: [u8; 4usize],
8 #[doc = "0x0c - FTM Option Register 0"]
9 pub ftmopt0: FTMOPT0,
10 #[doc = "0x10 - LPO Clock Select Register"]
11 pub lpoclks: LPOCLKS,
12 _reserved3: [u8; 4usize],
13 #[doc = "0x18 - ADC Options Register"]
14 pub adcopt: ADCOPT,
15 #[doc = "0x1c - FTM Option Register 1"]
16 pub ftmopt1: FTMOPT1,
17 #[doc = "0x20 - Miscellaneous control register 0"]
18 pub misctrl0: MISCTRL0,
19 #[doc = "0x24 - System Device Identification Register"]
20 pub sdid: SDID,
21 _reserved7: [u8; 24usize],
22 #[doc = "0x40 - Platform Clock Gating Control Register"]
23 pub platcgc: PLATCGC,
24 _reserved8: [u8; 8usize],
25 #[doc = "0x4c - Flash Configuration Register 1"]
26 pub fcfg1: FCFG1,
27 _reserved9: [u8; 4usize],
28 #[doc = "0x54 - Unique Identification Register High"]
29 pub uidh: UIDH,
30 #[doc = "0x58 - Unique Identification Register Mid-High"]
31 pub uidmh: UIDMH,
32 #[doc = "0x5c - Unique Identification Register Mid Low"]
33 pub uidml: UIDML,
34 #[doc = "0x60 - Unique Identification Register Low"]
35 pub uidl: UIDL,
36 _reserved13: [u8; 4usize],
37 #[doc = "0x68 - System Clock Divider Register 4"]
38 pub clkdiv4: CLKDIV4,
39 #[doc = "0x6c - Miscellaneous Control register 1"]
40 pub misctrl1: MISCTRL1,
41}
42#[doc = "Chip Control register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [chipctl](chipctl) module"]
43pub type CHIPCTL = crate::Reg<u32, _CHIPCTL>;
44#[allow(missing_docs)]
45#[doc(hidden)]
46pub struct _CHIPCTL;
47#[doc = "`read()` method returns [chipctl::R](chipctl::R) reader structure"]
48impl crate::Readable for CHIPCTL {}
49#[doc = "`write(|w| ..)` method takes [chipctl::W](chipctl::W) writer structure"]
50impl crate::Writable for CHIPCTL {}
51#[doc = "Chip Control register"]
52pub mod chipctl;
53#[doc = "FTM Option Register 0\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ftmopt0](ftmopt0) module"]
54pub type FTMOPT0 = crate::Reg<u32, _FTMOPT0>;
55#[allow(missing_docs)]
56#[doc(hidden)]
57pub struct _FTMOPT0;
58#[doc = "`read()` method returns [ftmopt0::R](ftmopt0::R) reader structure"]
59impl crate::Readable for FTMOPT0 {}
60#[doc = "`write(|w| ..)` method takes [ftmopt0::W](ftmopt0::W) writer structure"]
61impl crate::Writable for FTMOPT0 {}
62#[doc = "FTM Option Register 0"]
63pub mod ftmopt0;
64#[doc = "LPO Clock Select Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [lpoclks](lpoclks) module"]
65pub type LPOCLKS = crate::Reg<u32, _LPOCLKS>;
66#[allow(missing_docs)]
67#[doc(hidden)]
68pub struct _LPOCLKS;
69#[doc = "`read()` method returns [lpoclks::R](lpoclks::R) reader structure"]
70impl crate::Readable for LPOCLKS {}
71#[doc = "`write(|w| ..)` method takes [lpoclks::W](lpoclks::W) writer structure"]
72impl crate::Writable for LPOCLKS {}
73#[doc = "LPO Clock Select Register"]
74pub mod lpoclks;
75#[doc = "ADC Options Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [adcopt](adcopt) module"]
76pub type ADCOPT = crate::Reg<u32, _ADCOPT>;
77#[allow(missing_docs)]
78#[doc(hidden)]
79pub struct _ADCOPT;
80#[doc = "`read()` method returns [adcopt::R](adcopt::R) reader structure"]
81impl crate::Readable for ADCOPT {}
82#[doc = "`write(|w| ..)` method takes [adcopt::W](adcopt::W) writer structure"]
83impl crate::Writable for ADCOPT {}
84#[doc = "ADC Options Register"]
85pub mod adcopt;
86#[doc = "FTM Option Register 1\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ftmopt1](ftmopt1) module"]
87pub type FTMOPT1 = crate::Reg<u32, _FTMOPT1>;
88#[allow(missing_docs)]
89#[doc(hidden)]
90pub struct _FTMOPT1;
91#[doc = "`read()` method returns [ftmopt1::R](ftmopt1::R) reader structure"]
92impl crate::Readable for FTMOPT1 {}
93#[doc = "`write(|w| ..)` method takes [ftmopt1::W](ftmopt1::W) writer structure"]
94impl crate::Writable for FTMOPT1 {}
95#[doc = "FTM Option Register 1"]
96pub mod ftmopt1;
97#[doc = "Miscellaneous control register 0\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [misctrl0](misctrl0) module"]
98pub type MISCTRL0 = crate::Reg<u32, _MISCTRL0>;
99#[allow(missing_docs)]
100#[doc(hidden)]
101pub struct _MISCTRL0;
102#[doc = "`read()` method returns [misctrl0::R](misctrl0::R) reader structure"]
103impl crate::Readable for MISCTRL0 {}
104#[doc = "`write(|w| ..)` method takes [misctrl0::W](misctrl0::W) writer structure"]
105impl crate::Writable for MISCTRL0 {}
106#[doc = "Miscellaneous control register 0"]
107pub mod misctrl0;
108#[doc = "System Device Identification Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [sdid](sdid) module"]
109pub type SDID = crate::Reg<u32, _SDID>;
110#[allow(missing_docs)]
111#[doc(hidden)]
112pub struct _SDID;
113#[doc = "`read()` method returns [sdid::R](sdid::R) reader structure"]
114impl crate::Readable for SDID {}
115#[doc = "System Device Identification Register"]
116pub mod sdid;
117#[doc = "Platform Clock Gating Control Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [platcgc](platcgc) module"]
118pub type PLATCGC = crate::Reg<u32, _PLATCGC>;
119#[allow(missing_docs)]
120#[doc(hidden)]
121pub struct _PLATCGC;
122#[doc = "`read()` method returns [platcgc::R](platcgc::R) reader structure"]
123impl crate::Readable for PLATCGC {}
124#[doc = "`write(|w| ..)` method takes [platcgc::W](platcgc::W) writer structure"]
125impl crate::Writable for PLATCGC {}
126#[doc = "Platform Clock Gating Control Register"]
127pub mod platcgc;
128#[doc = "Flash Configuration Register 1\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [fcfg1](fcfg1) module"]
129pub type FCFG1 = crate::Reg<u32, _FCFG1>;
130#[allow(missing_docs)]
131#[doc(hidden)]
132pub struct _FCFG1;
133#[doc = "`read()` method returns [fcfg1::R](fcfg1::R) reader structure"]
134impl crate::Readable for FCFG1 {}
135#[doc = "`write(|w| ..)` method takes [fcfg1::W](fcfg1::W) writer structure"]
136impl crate::Writable for FCFG1 {}
137#[doc = "Flash Configuration Register 1"]
138pub mod fcfg1;
139#[doc = "Unique Identification Register High\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [uidh](uidh) module"]
140pub type UIDH = crate::Reg<u32, _UIDH>;
141#[allow(missing_docs)]
142#[doc(hidden)]
143pub struct _UIDH;
144#[doc = "`read()` method returns [uidh::R](uidh::R) reader structure"]
145impl crate::Readable for UIDH {}
146#[doc = "Unique Identification Register High"]
147pub mod uidh;
148#[doc = "Unique Identification Register Mid-High\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [uidmh](uidmh) module"]
149pub type UIDMH = crate::Reg<u32, _UIDMH>;
150#[allow(missing_docs)]
151#[doc(hidden)]
152pub struct _UIDMH;
153#[doc = "`read()` method returns [uidmh::R](uidmh::R) reader structure"]
154impl crate::Readable for UIDMH {}
155#[doc = "Unique Identification Register Mid-High"]
156pub mod uidmh;
157#[doc = "Unique Identification Register Mid Low\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [uidml](uidml) module"]
158pub type UIDML = crate::Reg<u32, _UIDML>;
159#[allow(missing_docs)]
160#[doc(hidden)]
161pub struct _UIDML;
162#[doc = "`read()` method returns [uidml::R](uidml::R) reader structure"]
163impl crate::Readable for UIDML {}
164#[doc = "Unique Identification Register Mid Low"]
165pub mod uidml;
166#[doc = "Unique Identification Register Low\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [uidl](uidl) module"]
167pub type UIDL = crate::Reg<u32, _UIDL>;
168#[allow(missing_docs)]
169#[doc(hidden)]
170pub struct _UIDL;
171#[doc = "`read()` method returns [uidl::R](uidl::R) reader structure"]
172impl crate::Readable for UIDL {}
173#[doc = "Unique Identification Register Low"]
174pub mod uidl;
175#[doc = "System Clock Divider Register 4\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [clkdiv4](clkdiv4) module"]
176pub type CLKDIV4 = crate::Reg<u32, _CLKDIV4>;
177#[allow(missing_docs)]
178#[doc(hidden)]
179pub struct _CLKDIV4;
180#[doc = "`read()` method returns [clkdiv4::R](clkdiv4::R) reader structure"]
181impl crate::Readable for CLKDIV4 {}
182#[doc = "`write(|w| ..)` method takes [clkdiv4::W](clkdiv4::W) writer structure"]
183impl crate::Writable for CLKDIV4 {}
184#[doc = "System Clock Divider Register 4"]
185pub mod clkdiv4;
186#[doc = "Miscellaneous Control register 1\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [misctrl1](misctrl1) module"]
187pub type MISCTRL1 = crate::Reg<u32, _MISCTRL1>;
188#[allow(missing_docs)]
189#[doc(hidden)]
190pub struct _MISCTRL1;
191#[doc = "`read()` method returns [misctrl1::R](misctrl1::R) reader structure"]
192impl crate::Readable for MISCTRL1 {}
193#[doc = "`write(|w| ..)` method takes [misctrl1::W](misctrl1::W) writer structure"]
194impl crate::Writable for MISCTRL1 {}
195#[doc = "Miscellaneous Control register 1"]
196pub mod misctrl1;