1#[repr(C)]
2#[cfg_attr(feature = "debug", derive(Debug))]
3#[doc = "Register block"]
4pub struct RegisterBlock {
5 verid: Verid,
6 param: Param,
7 _reserved2: [u8; 0x08],
8 ctrl: Ctrl,
9 stat: Stat,
10 ie: Ie,
11 de: De,
12 cfg: Cfg,
13 pause: Pause,
14 _reserved8: [u8; 0x0c],
15 swtrig: Swtrig,
16 tstat: Tstat,
17 _reserved10: [u8; 0x04],
18 ofstrim: Ofstrim,
19 _reserved11: [u8; 0x04],
20 hstrim: Hstrim,
21 _reserved12: [u8; 0x54],
22 tctrl: [Tctrl; 4],
23 _reserved13: [u8; 0x30],
24 fctrl0: Fctrl0,
25 _reserved14: [u8; 0x0c],
26 gcc0: Gcc0,
27 _reserved15: [u8; 0x04],
28 gcr0: Gcr0,
29 _reserved16: [u8; 0x04],
30 cmdl1: Cmdl1,
31 cmdh1: Cmdh1,
32 cmdl2: Cmdl2,
33 cmdh2: Cmdh2,
34 cmdl3: Cmdl3,
35 cmdh3: Cmdh3,
36 cmdl4: Cmdl4,
37 cmdh4: Cmdh4,
38 cmdl5: Cmdl5,
39 cmdh5: Cmdh5,
40 cmdl6: Cmdl6,
41 cmdh6: Cmdh6,
42 cmdl7: Cmdl7,
43 cmdh7: Cmdh7,
44 _reserved30: [u8; 0xc8],
45 cv: [Cv; 7],
46 _reserved31: [u8; 0xe4],
47 resfifo0: Resfifo0,
48 _reserved32: [u8; 0xfc],
49 cal_gar: [CalGar; 34],
50 _reserved33: [u8; 0x0b70],
51 cfg2: Cfg2,
52}
53impl RegisterBlock {
54 #[doc = "0x00 - Version ID Register"]
55 #[inline(always)]
56 pub const fn verid(&self) -> &Verid {
57 &self.verid
58 }
59 #[doc = "0x04 - Parameter Register"]
60 #[inline(always)]
61 pub const fn param(&self) -> &Param {
62 &self.param
63 }
64 #[doc = "0x10 - Control Register"]
65 #[inline(always)]
66 pub const fn ctrl(&self) -> &Ctrl {
67 &self.ctrl
68 }
69 #[doc = "0x14 - Status Register"]
70 #[inline(always)]
71 pub const fn stat(&self) -> &Stat {
72 &self.stat
73 }
74 #[doc = "0x18 - Interrupt Enable Register"]
75 #[inline(always)]
76 pub const fn ie(&self) -> &Ie {
77 &self.ie
78 }
79 #[doc = "0x1c - DMA Enable Register"]
80 #[inline(always)]
81 pub const fn de(&self) -> &De {
82 &self.de
83 }
84 #[doc = "0x20 - Configuration Register"]
85 #[inline(always)]
86 pub const fn cfg(&self) -> &Cfg {
87 &self.cfg
88 }
89 #[doc = "0x24 - Pause Register"]
90 #[inline(always)]
91 pub const fn pause(&self) -> &Pause {
92 &self.pause
93 }
94 #[doc = "0x34 - Software Trigger Register"]
95 #[inline(always)]
96 pub const fn swtrig(&self) -> &Swtrig {
97 &self.swtrig
98 }
99 #[doc = "0x38 - Trigger Status Register"]
100 #[inline(always)]
101 pub const fn tstat(&self) -> &Tstat {
102 &self.tstat
103 }
104 #[doc = "0x40 - Offset Trim Register"]
105 #[inline(always)]
106 pub const fn ofstrim(&self) -> &Ofstrim {
107 &self.ofstrim
108 }
109 #[doc = "0x48 - High Speed Trim Register"]
110 #[inline(always)]
111 pub const fn hstrim(&self) -> &Hstrim {
112 &self.hstrim
113 }
114 #[doc = "0xa0..0xb0 - Trigger Control Register"]
115 #[inline(always)]
116 pub const fn tctrl(&self, n: usize) -> &Tctrl {
117 &self.tctrl[n]
118 }
119 #[doc = "Iterator for array of:"]
120 #[doc = "0xa0..0xb0 - Trigger Control Register"]
121 #[inline(always)]
122 pub fn tctrl_iter(&self) -> impl Iterator<Item = &Tctrl> {
123 self.tctrl.iter()
124 }
125 #[doc = "0xe0 - FIFO Control Register"]
126 #[inline(always)]
127 pub const fn fctrl0(&self) -> &Fctrl0 {
128 &self.fctrl0
129 }
130 #[doc = "0xf0 - Gain Calibration Control"]
131 #[inline(always)]
132 pub const fn gcc0(&self) -> &Gcc0 {
133 &self.gcc0
134 }
135 #[doc = "0xf8 - Gain Calculation Result"]
136 #[inline(always)]
137 pub const fn gcr0(&self) -> &Gcr0 {
138 &self.gcr0
139 }
140 #[doc = "0x100 - Command Low Buffer Register"]
141 #[inline(always)]
142 pub const fn cmdl1(&self) -> &Cmdl1 {
143 &self.cmdl1
144 }
145 #[doc = "0x104 - Command High Buffer Register"]
146 #[inline(always)]
147 pub const fn cmdh1(&self) -> &Cmdh1 {
148 &self.cmdh1
149 }
150 #[doc = "0x108 - Command Low Buffer Register"]
151 #[inline(always)]
152 pub const fn cmdl2(&self) -> &Cmdl2 {
153 &self.cmdl2
154 }
155 #[doc = "0x10c - Command High Buffer Register"]
156 #[inline(always)]
157 pub const fn cmdh2(&self) -> &Cmdh2 {
158 &self.cmdh2
159 }
160 #[doc = "0x110 - Command Low Buffer Register"]
161 #[inline(always)]
162 pub const fn cmdl3(&self) -> &Cmdl3 {
163 &self.cmdl3
164 }
165 #[doc = "0x114 - Command High Buffer Register"]
166 #[inline(always)]
167 pub const fn cmdh3(&self) -> &Cmdh3 {
168 &self.cmdh3
169 }
170 #[doc = "0x118 - Command Low Buffer Register"]
171 #[inline(always)]
172 pub const fn cmdl4(&self) -> &Cmdl4 {
173 &self.cmdl4
174 }
175 #[doc = "0x11c - Command High Buffer Register"]
176 #[inline(always)]
177 pub const fn cmdh4(&self) -> &Cmdh4 {
178 &self.cmdh4
179 }
180 #[doc = "0x120 - Command Low Buffer Register"]
181 #[inline(always)]
182 pub const fn cmdl5(&self) -> &Cmdl5 {
183 &self.cmdl5
184 }
185 #[doc = "0x124 - Command High Buffer Register"]
186 #[inline(always)]
187 pub const fn cmdh5(&self) -> &Cmdh5 {
188 &self.cmdh5
189 }
190 #[doc = "0x128 - Command Low Buffer Register"]
191 #[inline(always)]
192 pub const fn cmdl6(&self) -> &Cmdl6 {
193 &self.cmdl6
194 }
195 #[doc = "0x12c - Command High Buffer Register"]
196 #[inline(always)]
197 pub const fn cmdh6(&self) -> &Cmdh6 {
198 &self.cmdh6
199 }
200 #[doc = "0x130 - Command Low Buffer Register"]
201 #[inline(always)]
202 pub const fn cmdl7(&self) -> &Cmdl7 {
203 &self.cmdl7
204 }
205 #[doc = "0x134 - Command High Buffer Register"]
206 #[inline(always)]
207 pub const fn cmdh7(&self) -> &Cmdh7 {
208 &self.cmdh7
209 }
210 #[doc = "0x200..0x21c - Compare Value Register"]
211 #[doc = ""]
212 #[doc = "<div class=\"warning\">`n` is the index of register in the array. `n == 0` corresponds to `CV1` register.</div>"]
213 #[inline(always)]
214 pub const fn cv(&self, n: usize) -> &Cv {
215 &self.cv[n]
216 }
217 #[doc = "Iterator for array of:"]
218 #[doc = "0x200..0x21c - Compare Value Register"]
219 #[inline(always)]
220 pub fn cv_iter(&self) -> impl Iterator<Item = &Cv> {
221 self.cv.iter()
222 }
223 #[doc = "0x200 - Compare Value Register"]
224 #[inline(always)]
225 pub const fn cv1(&self) -> &Cv {
226 self.cv(0)
227 }
228 #[doc = "0x204 - Compare Value Register"]
229 #[inline(always)]
230 pub const fn cv2(&self) -> &Cv {
231 self.cv(1)
232 }
233 #[doc = "0x208 - Compare Value Register"]
234 #[inline(always)]
235 pub const fn cv3(&self) -> &Cv {
236 self.cv(2)
237 }
238 #[doc = "0x20c - Compare Value Register"]
239 #[inline(always)]
240 pub const fn cv4(&self) -> &Cv {
241 self.cv(3)
242 }
243 #[doc = "0x210 - Compare Value Register"]
244 #[inline(always)]
245 pub const fn cv5(&self) -> &Cv {
246 self.cv(4)
247 }
248 #[doc = "0x214 - Compare Value Register"]
249 #[inline(always)]
250 pub const fn cv6(&self) -> &Cv {
251 self.cv(5)
252 }
253 #[doc = "0x218 - Compare Value Register"]
254 #[inline(always)]
255 pub const fn cv7(&self) -> &Cv {
256 self.cv(6)
257 }
258 #[doc = "0x300 - Data Result FIFO Register"]
259 #[inline(always)]
260 pub const fn resfifo0(&self) -> &Resfifo0 {
261 &self.resfifo0
262 }
263 #[doc = "0x400..0x488 - Calibration General A-Side Registers"]
264 #[inline(always)]
265 pub const fn cal_gar(&self, n: usize) -> &CalGar {
266 &self.cal_gar[n]
267 }
268 #[doc = "Iterator for array of:"]
269 #[doc = "0x400..0x488 - Calibration General A-Side Registers"]
270 #[inline(always)]
271 pub fn cal_gar_iter(&self) -> impl Iterator<Item = &CalGar> {
272 self.cal_gar.iter()
273 }
274 #[doc = "0xff8 - Configuration 2 Register"]
275 #[inline(always)]
276 pub const fn cfg2(&self) -> &Cfg2 {
277 &self.cfg2
278 }
279}
280#[doc = "VERID (r) register accessor: Version ID Register\n\nYou can [`read`](crate::Reg::read) this register and get [`verid::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@verid`] module"]
281#[doc(alias = "VERID")]
282pub type Verid = crate::Reg<verid::VeridSpec>;
283#[doc = "Version ID Register"]
284pub mod verid;
285#[doc = "PARAM (r) register accessor: Parameter Register\n\nYou can [`read`](crate::Reg::read) this register and get [`param::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@param`] module"]
286#[doc(alias = "PARAM")]
287pub type Param = crate::Reg<param::ParamSpec>;
288#[doc = "Parameter Register"]
289pub mod param;
290#[doc = "CTRL (rw) register accessor: Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`ctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ctrl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ctrl`] module"]
291#[doc(alias = "CTRL")]
292pub type Ctrl = crate::Reg<ctrl::CtrlSpec>;
293#[doc = "Control Register"]
294pub mod ctrl;
295#[doc = "STAT (rw) register accessor: Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`stat::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`stat::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@stat`] module"]
296#[doc(alias = "STAT")]
297pub type Stat = crate::Reg<stat::StatSpec>;
298#[doc = "Status Register"]
299pub mod stat;
300#[doc = "IE (rw) register accessor: Interrupt Enable Register\n\nYou can [`read`](crate::Reg::read) this register and get [`ie::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ie::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ie`] module"]
301#[doc(alias = "IE")]
302pub type Ie = crate::Reg<ie::IeSpec>;
303#[doc = "Interrupt Enable Register"]
304pub mod ie;
305#[doc = "DE (rw) register accessor: DMA Enable Register\n\nYou can [`read`](crate::Reg::read) this register and get [`de::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`de::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@de`] module"]
306#[doc(alias = "DE")]
307pub type De = crate::Reg<de::DeSpec>;
308#[doc = "DMA Enable Register"]
309pub mod de;
310#[doc = "CFG (rw) register accessor: Configuration Register\n\nYou can [`read`](crate::Reg::read) this register and get [`cfg::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cfg::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cfg`] module"]
311#[doc(alias = "CFG")]
312pub type Cfg = crate::Reg<cfg::CfgSpec>;
313#[doc = "Configuration Register"]
314pub mod cfg;
315#[doc = "PAUSE (rw) register accessor: Pause Register\n\nYou can [`read`](crate::Reg::read) this register and get [`pause::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pause::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@pause`] module"]
316#[doc(alias = "PAUSE")]
317pub type Pause = crate::Reg<pause::PauseSpec>;
318#[doc = "Pause Register"]
319pub mod pause;
320#[doc = "SWTRIG (rw) register accessor: Software Trigger Register\n\nYou can [`read`](crate::Reg::read) this register and get [`swtrig::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`swtrig::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@swtrig`] module"]
321#[doc(alias = "SWTRIG")]
322pub type Swtrig = crate::Reg<swtrig::SwtrigSpec>;
323#[doc = "Software Trigger Register"]
324pub mod swtrig;
325#[doc = "TSTAT (rw) register accessor: Trigger Status Register\n\nYou can [`read`](crate::Reg::read) this register and get [`tstat::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tstat::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tstat`] module"]
326#[doc(alias = "TSTAT")]
327pub type Tstat = crate::Reg<tstat::TstatSpec>;
328#[doc = "Trigger Status Register"]
329pub mod tstat;
330#[doc = "OFSTRIM (rw) register accessor: Offset Trim Register\n\nYou can [`read`](crate::Reg::read) this register and get [`ofstrim::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ofstrim::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@ofstrim`] module"]
331#[doc(alias = "OFSTRIM")]
332pub type Ofstrim = crate::Reg<ofstrim::OfstrimSpec>;
333#[doc = "Offset Trim Register"]
334pub mod ofstrim;
335#[doc = "HSTRIM (rw) register accessor: High Speed Trim Register\n\nYou can [`read`](crate::Reg::read) this register and get [`hstrim::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hstrim::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@hstrim`] module"]
336#[doc(alias = "HSTRIM")]
337pub type Hstrim = crate::Reg<hstrim::HstrimSpec>;
338#[doc = "High Speed Trim Register"]
339pub mod hstrim;
340#[doc = "TCTRL (rw) register accessor: Trigger Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`tctrl::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`tctrl::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@tctrl`] module"]
341#[doc(alias = "TCTRL")]
342pub type Tctrl = crate::Reg<tctrl::TctrlSpec>;
343#[doc = "Trigger Control Register"]
344pub mod tctrl;
345#[doc = "FCTRL0 (rw) register accessor: FIFO Control Register\n\nYou can [`read`](crate::Reg::read) this register and get [`fctrl0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fctrl0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fctrl0`] module"]
346#[doc(alias = "FCTRL0")]
347pub type Fctrl0 = crate::Reg<fctrl0::Fctrl0Spec>;
348#[doc = "FIFO Control Register"]
349pub mod fctrl0;
350#[doc = "GCC0 (r) register accessor: Gain Calibration Control\n\nYou can [`read`](crate::Reg::read) this register and get [`gcc0::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gcc0`] module"]
351#[doc(alias = "GCC0")]
352pub type Gcc0 = crate::Reg<gcc0::Gcc0Spec>;
353#[doc = "Gain Calibration Control"]
354pub mod gcc0;
355#[doc = "GCR0 (rw) register accessor: Gain Calculation Result\n\nYou can [`read`](crate::Reg::read) this register and get [`gcr0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`gcr0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@gcr0`] module"]
356#[doc(alias = "GCR0")]
357pub type Gcr0 = crate::Reg<gcr0::Gcr0Spec>;
358#[doc = "Gain Calculation Result"]
359pub mod gcr0;
360#[doc = "CMDL1 (rw) register accessor: Command Low Buffer Register\n\nYou can [`read`](crate::Reg::read) this register and get [`cmdl1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cmdl1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cmdl1`] module"]
361#[doc(alias = "CMDL1")]
362pub type Cmdl1 = crate::Reg<cmdl1::Cmdl1Spec>;
363#[doc = "Command Low Buffer Register"]
364pub mod cmdl1;
365#[doc = "CMDH1 (rw) register accessor: Command High Buffer Register\n\nYou can [`read`](crate::Reg::read) this register and get [`cmdh1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cmdh1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cmdh1`] module"]
366#[doc(alias = "CMDH1")]
367pub type Cmdh1 = crate::Reg<cmdh1::Cmdh1Spec>;
368#[doc = "Command High Buffer Register"]
369pub mod cmdh1;
370pub use cmdh1 as cmdh2;
371pub use cmdh1 as cmdh3;
372pub use cmdh1 as cmdh4;
373pub use cmdh1 as cmdh5;
374pub use cmdh1 as cmdh6;
375pub use cmdh1 as cmdh7;
376pub use cmdl1 as cmdl2;
377pub use cmdl1 as cmdl3;
378pub use cmdl1 as cmdl4;
379pub use cmdl1 as cmdl5;
380pub use cmdl1 as cmdl6;
381pub use cmdl1 as cmdl7;
382pub use Cmdh1 as Cmdh2;
383pub use Cmdh1 as Cmdh3;
384pub use Cmdh1 as Cmdh4;
385pub use Cmdh1 as Cmdh5;
386pub use Cmdh1 as Cmdh6;
387pub use Cmdh1 as Cmdh7;
388pub use Cmdl1 as Cmdl2;
389pub use Cmdl1 as Cmdl3;
390pub use Cmdl1 as Cmdl4;
391pub use Cmdl1 as Cmdl5;
392pub use Cmdl1 as Cmdl6;
393pub use Cmdl1 as Cmdl7;
394#[doc = "CV (rw) register accessor: Compare Value Register\n\nYou can [`read`](crate::Reg::read) this register and get [`cv::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cv::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cv`] module"]
395#[doc(alias = "CV")]
396pub type Cv = crate::Reg<cv::CvSpec>;
397#[doc = "Compare Value Register"]
398pub mod cv;
399#[doc = "RESFIFO0 (r) register accessor: Data Result FIFO Register\n\nYou can [`read`](crate::Reg::read) this register and get [`resfifo0::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@resfifo0`] module"]
400#[doc(alias = "RESFIFO0")]
401pub type Resfifo0 = crate::Reg<resfifo0::Resfifo0Spec>;
402#[doc = "Data Result FIFO Register"]
403pub mod resfifo0;
404#[doc = "CAL_GAR (rw) register accessor: Calibration General A-Side Registers\n\nYou can [`read`](crate::Reg::read) this register and get [`cal_gar::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cal_gar::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cal_gar`] module"]
405#[doc(alias = "CAL_GAR")]
406pub type CalGar = crate::Reg<cal_gar::CalGarSpec>;
407#[doc = "Calibration General A-Side Registers"]
408pub mod cal_gar;
409#[doc = "CFG2 (rw) register accessor: Configuration 2 Register\n\nYou can [`read`](crate::Reg::read) this register and get [`cfg2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cfg2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@cfg2`] module"]
410#[doc(alias = "CFG2")]
411pub type Cfg2 = crate::Reg<cfg2::Cfg2Spec>;
412#[doc = "Configuration 2 Register"]
413pub mod cfg2;