efm32tg11b_pac/efm32tg11b540/lesense/
ctrl.rs1#[doc = "Register `CTRL` reader"]
2pub struct R(crate::R<CTRL_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<CTRL_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<CTRL_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<CTRL_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `CTRL` writer"]
17pub struct W(crate::W<CTRL_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<CTRL_SPEC>;
20 #[inline(always)]
21 fn deref(&self) -> &Self::Target {
22 &self.0
23 }
24}
25impl core::ops::DerefMut for W {
26 #[inline(always)]
27 fn deref_mut(&mut self) -> &mut Self::Target {
28 &mut self.0
29 }
30}
31impl From<crate::W<CTRL_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<CTRL_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `SCANMODE` reader - Configure Scan Mode"]
38pub type SCANMODE_R = crate::FieldReader<u8, SCANMODE_A>;
39#[doc = "Configure Scan Mode\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq, Eq)]
41#[repr(u8)]
42pub enum SCANMODE_A {
43 #[doc = "0: A new scan is started each time the period counter overflows"]
44 PERIODIC = 0,
45 #[doc = "1: A single scan is performed when START in CMD is set"]
46 ONESHOT = 1,
47 #[doc = "2: Pulse on PRS channel"]
48 PRS = 2,
49}
50impl From<SCANMODE_A> for u8 {
51 #[inline(always)]
52 fn from(variant: SCANMODE_A) -> Self {
53 variant as _
54 }
55}
56impl SCANMODE_R {
57 #[doc = "Get enumerated values variant"]
58 #[inline(always)]
59 pub fn variant(&self) -> Option<SCANMODE_A> {
60 match self.bits {
61 0 => Some(SCANMODE_A::PERIODIC),
62 1 => Some(SCANMODE_A::ONESHOT),
63 2 => Some(SCANMODE_A::PRS),
64 _ => None,
65 }
66 }
67 #[doc = "Checks if the value of the field is `PERIODIC`"]
68 #[inline(always)]
69 pub fn is_periodic(&self) -> bool {
70 *self == SCANMODE_A::PERIODIC
71 }
72 #[doc = "Checks if the value of the field is `ONESHOT`"]
73 #[inline(always)]
74 pub fn is_oneshot(&self) -> bool {
75 *self == SCANMODE_A::ONESHOT
76 }
77 #[doc = "Checks if the value of the field is `PRS`"]
78 #[inline(always)]
79 pub fn is_prs(&self) -> bool {
80 *self == SCANMODE_A::PRS
81 }
82}
83#[doc = "Field `SCANMODE` writer - Configure Scan Mode"]
84pub type SCANMODE_W<'a, const O: u8> = crate::FieldWriter<'a, u32, CTRL_SPEC, u8, SCANMODE_A, 2, O>;
85impl<'a, const O: u8> SCANMODE_W<'a, O> {
86 #[doc = "A new scan is started each time the period counter overflows"]
87 #[inline(always)]
88 pub fn periodic(self) -> &'a mut W {
89 self.variant(SCANMODE_A::PERIODIC)
90 }
91 #[doc = "A single scan is performed when START in CMD is set"]
92 #[inline(always)]
93 pub fn oneshot(self) -> &'a mut W {
94 self.variant(SCANMODE_A::ONESHOT)
95 }
96 #[doc = "Pulse on PRS channel"]
97 #[inline(always)]
98 pub fn prs(self) -> &'a mut W {
99 self.variant(SCANMODE_A::PRS)
100 }
101}
102#[doc = "Field `PRSSEL` reader - Scan Start PRS Select"]
103pub type PRSSEL_R = crate::FieldReader<u8, PRSSEL_A>;
104#[doc = "Scan Start PRS Select\n\nValue on reset: 0"]
105#[derive(Clone, Copy, Debug, PartialEq, Eq)]
106#[repr(u8)]
107pub enum PRSSEL_A {
108 #[doc = "0: PRS Channel 0 selected as input"]
109 PRSCH0 = 0,
110 #[doc = "1: PRS Channel 1 selected as input"]
111 PRSCH1 = 1,
112 #[doc = "2: PRS Channel 2 selected as input"]
113 PRSCH2 = 2,
114 #[doc = "3: PRS Channel 3 selected as input"]
115 PRSCH3 = 3,
116 #[doc = "4: PRS Channel 4 selected as input"]
117 PRSCH4 = 4,
118 #[doc = "5: PRS Channel 5 selected as input"]
119 PRSCH5 = 5,
120 #[doc = "6: PRS Channel 6 selected as input"]
121 PRSCH6 = 6,
122 #[doc = "7: PRS Channel 7 selected as input"]
123 PRSCH7 = 7,
124}
125impl From<PRSSEL_A> for u8 {
126 #[inline(always)]
127 fn from(variant: PRSSEL_A) -> Self {
128 variant as _
129 }
130}
131impl PRSSEL_R {
132 #[doc = "Get enumerated values variant"]
133 #[inline(always)]
134 pub fn variant(&self) -> PRSSEL_A {
135 match self.bits {
136 0 => PRSSEL_A::PRSCH0,
137 1 => PRSSEL_A::PRSCH1,
138 2 => PRSSEL_A::PRSCH2,
139 3 => PRSSEL_A::PRSCH3,
140 4 => PRSSEL_A::PRSCH4,
141 5 => PRSSEL_A::PRSCH5,
142 6 => PRSSEL_A::PRSCH6,
143 7 => PRSSEL_A::PRSCH7,
144 _ => unreachable!(),
145 }
146 }
147 #[doc = "Checks if the value of the field is `PRSCH0`"]
148 #[inline(always)]
149 pub fn is_prsch0(&self) -> bool {
150 *self == PRSSEL_A::PRSCH0
151 }
152 #[doc = "Checks if the value of the field is `PRSCH1`"]
153 #[inline(always)]
154 pub fn is_prsch1(&self) -> bool {
155 *self == PRSSEL_A::PRSCH1
156 }
157 #[doc = "Checks if the value of the field is `PRSCH2`"]
158 #[inline(always)]
159 pub fn is_prsch2(&self) -> bool {
160 *self == PRSSEL_A::PRSCH2
161 }
162 #[doc = "Checks if the value of the field is `PRSCH3`"]
163 #[inline(always)]
164 pub fn is_prsch3(&self) -> bool {
165 *self == PRSSEL_A::PRSCH3
166 }
167 #[doc = "Checks if the value of the field is `PRSCH4`"]
168 #[inline(always)]
169 pub fn is_prsch4(&self) -> bool {
170 *self == PRSSEL_A::PRSCH4
171 }
172 #[doc = "Checks if the value of the field is `PRSCH5`"]
173 #[inline(always)]
174 pub fn is_prsch5(&self) -> bool {
175 *self == PRSSEL_A::PRSCH5
176 }
177 #[doc = "Checks if the value of the field is `PRSCH6`"]
178 #[inline(always)]
179 pub fn is_prsch6(&self) -> bool {
180 *self == PRSSEL_A::PRSCH6
181 }
182 #[doc = "Checks if the value of the field is `PRSCH7`"]
183 #[inline(always)]
184 pub fn is_prsch7(&self) -> bool {
185 *self == PRSSEL_A::PRSCH7
186 }
187}
188#[doc = "Field `PRSSEL` writer - Scan Start PRS Select"]
189pub type PRSSEL_W<'a, const O: u8> = crate::FieldWriterSafe<'a, u32, CTRL_SPEC, u8, PRSSEL_A, 3, O>;
190impl<'a, const O: u8> PRSSEL_W<'a, O> {
191 #[doc = "PRS Channel 0 selected as input"]
192 #[inline(always)]
193 pub fn prsch0(self) -> &'a mut W {
194 self.variant(PRSSEL_A::PRSCH0)
195 }
196 #[doc = "PRS Channel 1 selected as input"]
197 #[inline(always)]
198 pub fn prsch1(self) -> &'a mut W {
199 self.variant(PRSSEL_A::PRSCH1)
200 }
201 #[doc = "PRS Channel 2 selected as input"]
202 #[inline(always)]
203 pub fn prsch2(self) -> &'a mut W {
204 self.variant(PRSSEL_A::PRSCH2)
205 }
206 #[doc = "PRS Channel 3 selected as input"]
207 #[inline(always)]
208 pub fn prsch3(self) -> &'a mut W {
209 self.variant(PRSSEL_A::PRSCH3)
210 }
211 #[doc = "PRS Channel 4 selected as input"]
212 #[inline(always)]
213 pub fn prsch4(self) -> &'a mut W {
214 self.variant(PRSSEL_A::PRSCH4)
215 }
216 #[doc = "PRS Channel 5 selected as input"]
217 #[inline(always)]
218 pub fn prsch5(self) -> &'a mut W {
219 self.variant(PRSSEL_A::PRSCH5)
220 }
221 #[doc = "PRS Channel 6 selected as input"]
222 #[inline(always)]
223 pub fn prsch6(self) -> &'a mut W {
224 self.variant(PRSSEL_A::PRSCH6)
225 }
226 #[doc = "PRS Channel 7 selected as input"]
227 #[inline(always)]
228 pub fn prsch7(self) -> &'a mut W {
229 self.variant(PRSSEL_A::PRSCH7)
230 }
231}
232#[doc = "Field `SCANCONF` reader - Select Scan Configuration"]
233pub type SCANCONF_R = crate::FieldReader<u8, SCANCONF_A>;
234#[doc = "Select Scan Configuration\n\nValue on reset: 0"]
235#[derive(Clone, Copy, Debug, PartialEq, Eq)]
236#[repr(u8)]
237pub enum SCANCONF_A {
238 #[doc = "0: The channel configuration register registers used are directly mapped to the channel number."]
239 DIRMAP = 0,
240 #[doc = "1: The channel configuration register registers used are CHX+8_CONF for channels 0-7 and CHX-8_CONF for channels 8-15."]
241 INVMAP = 1,
242 #[doc = "2: The channel configuration register registers used toggles between CHX_CONF and CHX+8_CONF when channel x triggers"]
243 TOGGLE = 2,
244 #[doc = "3: The decoder state defines the CONF registers to be used."]
245 DECDEF = 3,
246}
247impl From<SCANCONF_A> for u8 {
248 #[inline(always)]
249 fn from(variant: SCANCONF_A) -> Self {
250 variant as _
251 }
252}
253impl SCANCONF_R {
254 #[doc = "Get enumerated values variant"]
255 #[inline(always)]
256 pub fn variant(&self) -> SCANCONF_A {
257 match self.bits {
258 0 => SCANCONF_A::DIRMAP,
259 1 => SCANCONF_A::INVMAP,
260 2 => SCANCONF_A::TOGGLE,
261 3 => SCANCONF_A::DECDEF,
262 _ => unreachable!(),
263 }
264 }
265 #[doc = "Checks if the value of the field is `DIRMAP`"]
266 #[inline(always)]
267 pub fn is_dirmap(&self) -> bool {
268 *self == SCANCONF_A::DIRMAP
269 }
270 #[doc = "Checks if the value of the field is `INVMAP`"]
271 #[inline(always)]
272 pub fn is_invmap(&self) -> bool {
273 *self == SCANCONF_A::INVMAP
274 }
275 #[doc = "Checks if the value of the field is `TOGGLE`"]
276 #[inline(always)]
277 pub fn is_toggle(&self) -> bool {
278 *self == SCANCONF_A::TOGGLE
279 }
280 #[doc = "Checks if the value of the field is `DECDEF`"]
281 #[inline(always)]
282 pub fn is_decdef(&self) -> bool {
283 *self == SCANCONF_A::DECDEF
284 }
285}
286#[doc = "Field `SCANCONF` writer - Select Scan Configuration"]
287pub type SCANCONF_W<'a, const O: u8> =
288 crate::FieldWriterSafe<'a, u32, CTRL_SPEC, u8, SCANCONF_A, 2, O>;
289impl<'a, const O: u8> SCANCONF_W<'a, O> {
290 #[doc = "The channel configuration register registers used are directly mapped to the channel number."]
291 #[inline(always)]
292 pub fn dirmap(self) -> &'a mut W {
293 self.variant(SCANCONF_A::DIRMAP)
294 }
295 #[doc = "The channel configuration register registers used are CHX+8_CONF for channels 0-7 and CHX-8_CONF for channels 8-15."]
296 #[inline(always)]
297 pub fn invmap(self) -> &'a mut W {
298 self.variant(SCANCONF_A::INVMAP)
299 }
300 #[doc = "The channel configuration register registers used toggles between CHX_CONF and CHX+8_CONF when channel x triggers"]
301 #[inline(always)]
302 pub fn toggle(self) -> &'a mut W {
303 self.variant(SCANCONF_A::TOGGLE)
304 }
305 #[doc = "The decoder state defines the CONF registers to be used."]
306 #[inline(always)]
307 pub fn decdef(self) -> &'a mut W {
308 self.variant(SCANCONF_A::DECDEF)
309 }
310}
311#[doc = "Field `ALTEXMAP` reader - Alternative Excitation Map"]
312pub type ALTEXMAP_R = crate::BitReader<bool>;
313#[doc = "Field `ALTEXMAP` writer - Alternative Excitation Map"]
314pub type ALTEXMAP_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
315#[doc = "Field `DUALSAMPLE` reader - Enable Dual Sample Mode"]
316pub type DUALSAMPLE_R = crate::BitReader<bool>;
317#[doc = "Field `DUALSAMPLE` writer - Enable Dual Sample Mode"]
318pub type DUALSAMPLE_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
319#[doc = "Field `BUFOW` reader - Result Buffer Overwrite"]
320pub type BUFOW_R = crate::BitReader<bool>;
321#[doc = "Field `BUFOW` writer - Result Buffer Overwrite"]
322pub type BUFOW_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
323#[doc = "Field `STRSCANRES` reader - Enable Storing of SCANRES"]
324pub type STRSCANRES_R = crate::BitReader<bool>;
325#[doc = "Field `STRSCANRES` writer - Enable Storing of SCANRES"]
326pub type STRSCANRES_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
327#[doc = "Field `BUFIDL` reader - Result Buffer Interrupt and DMA Trigger Level"]
328pub type BUFIDL_R = crate::BitReader<bool>;
329#[doc = "Field `BUFIDL` writer - Result Buffer Interrupt and DMA Trigger Level"]
330pub type BUFIDL_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
331#[doc = "Field `DMAWU` reader - DMA Wake-up From EM2"]
332pub type DMAWU_R = crate::FieldReader<u8, DMAWU_A>;
333#[doc = "DMA Wake-up From EM2\n\nValue on reset: 0"]
334#[derive(Clone, Copy, Debug, PartialEq, Eq)]
335#[repr(u8)]
336pub enum DMAWU_A {
337 #[doc = "0: No DMA wake-up from EM2"]
338 DISABLE = 0,
339 #[doc = "1: DMA wake-up from EM2 when data is valid in the result buffer"]
340 BUFDATAV = 1,
341 #[doc = "2: DMA wake-up from EM2 when the result buffer is full/half-full depending on BUFIDL configuration"]
342 BUFLEVEL = 2,
343}
344impl From<DMAWU_A> for u8 {
345 #[inline(always)]
346 fn from(variant: DMAWU_A) -> Self {
347 variant as _
348 }
349}
350impl DMAWU_R {
351 #[doc = "Get enumerated values variant"]
352 #[inline(always)]
353 pub fn variant(&self) -> Option<DMAWU_A> {
354 match self.bits {
355 0 => Some(DMAWU_A::DISABLE),
356 1 => Some(DMAWU_A::BUFDATAV),
357 2 => Some(DMAWU_A::BUFLEVEL),
358 _ => None,
359 }
360 }
361 #[doc = "Checks if the value of the field is `DISABLE`"]
362 #[inline(always)]
363 pub fn is_disable(&self) -> bool {
364 *self == DMAWU_A::DISABLE
365 }
366 #[doc = "Checks if the value of the field is `BUFDATAV`"]
367 #[inline(always)]
368 pub fn is_bufdatav(&self) -> bool {
369 *self == DMAWU_A::BUFDATAV
370 }
371 #[doc = "Checks if the value of the field is `BUFLEVEL`"]
372 #[inline(always)]
373 pub fn is_buflevel(&self) -> bool {
374 *self == DMAWU_A::BUFLEVEL
375 }
376}
377#[doc = "Field `DMAWU` writer - DMA Wake-up From EM2"]
378pub type DMAWU_W<'a, const O: u8> = crate::FieldWriter<'a, u32, CTRL_SPEC, u8, DMAWU_A, 2, O>;
379impl<'a, const O: u8> DMAWU_W<'a, O> {
380 #[doc = "No DMA wake-up from EM2"]
381 #[inline(always)]
382 pub fn disable(self) -> &'a mut W {
383 self.variant(DMAWU_A::DISABLE)
384 }
385 #[doc = "DMA wake-up from EM2 when data is valid in the result buffer"]
386 #[inline(always)]
387 pub fn bufdatav(self) -> &'a mut W {
388 self.variant(DMAWU_A::BUFDATAV)
389 }
390 #[doc = "DMA wake-up from EM2 when the result buffer is full/half-full depending on BUFIDL configuration"]
391 #[inline(always)]
392 pub fn buflevel(self) -> &'a mut W {
393 self.variant(DMAWU_A::BUFLEVEL)
394 }
395}
396#[doc = "Field `DEBUGRUN` reader - Debug Mode Run Enable"]
397pub type DEBUGRUN_R = crate::BitReader<bool>;
398#[doc = "Field `DEBUGRUN` writer - Debug Mode Run Enable"]
399pub type DEBUGRUN_W<'a, const O: u8> = crate::BitWriter<'a, u32, CTRL_SPEC, bool, O>;
400impl R {
401 #[doc = "Bits 0:1 - Configure Scan Mode"]
402 #[inline(always)]
403 pub fn scanmode(&self) -> SCANMODE_R {
404 SCANMODE_R::new((self.bits & 3) as u8)
405 }
406 #[doc = "Bits 2:4 - Scan Start PRS Select"]
407 #[inline(always)]
408 pub fn prssel(&self) -> PRSSEL_R {
409 PRSSEL_R::new(((self.bits >> 2) & 7) as u8)
410 }
411 #[doc = "Bits 7:8 - Select Scan Configuration"]
412 #[inline(always)]
413 pub fn scanconf(&self) -> SCANCONF_R {
414 SCANCONF_R::new(((self.bits >> 7) & 3) as u8)
415 }
416 #[doc = "Bit 11 - Alternative Excitation Map"]
417 #[inline(always)]
418 pub fn altexmap(&self) -> ALTEXMAP_R {
419 ALTEXMAP_R::new(((self.bits >> 11) & 1) != 0)
420 }
421 #[doc = "Bit 13 - Enable Dual Sample Mode"]
422 #[inline(always)]
423 pub fn dualsample(&self) -> DUALSAMPLE_R {
424 DUALSAMPLE_R::new(((self.bits >> 13) & 1) != 0)
425 }
426 #[doc = "Bit 16 - Result Buffer Overwrite"]
427 #[inline(always)]
428 pub fn bufow(&self) -> BUFOW_R {
429 BUFOW_R::new(((self.bits >> 16) & 1) != 0)
430 }
431 #[doc = "Bit 17 - Enable Storing of SCANRES"]
432 #[inline(always)]
433 pub fn strscanres(&self) -> STRSCANRES_R {
434 STRSCANRES_R::new(((self.bits >> 17) & 1) != 0)
435 }
436 #[doc = "Bit 19 - Result Buffer Interrupt and DMA Trigger Level"]
437 #[inline(always)]
438 pub fn bufidl(&self) -> BUFIDL_R {
439 BUFIDL_R::new(((self.bits >> 19) & 1) != 0)
440 }
441 #[doc = "Bits 20:21 - DMA Wake-up From EM2"]
442 #[inline(always)]
443 pub fn dmawu(&self) -> DMAWU_R {
444 DMAWU_R::new(((self.bits >> 20) & 3) as u8)
445 }
446 #[doc = "Bit 22 - Debug Mode Run Enable"]
447 #[inline(always)]
448 pub fn debugrun(&self) -> DEBUGRUN_R {
449 DEBUGRUN_R::new(((self.bits >> 22) & 1) != 0)
450 }
451}
452impl W {
453 #[doc = "Bits 0:1 - Configure Scan Mode"]
454 #[inline(always)]
455 #[must_use]
456 pub fn scanmode(&mut self) -> SCANMODE_W<0> {
457 SCANMODE_W::new(self)
458 }
459 #[doc = "Bits 2:4 - Scan Start PRS Select"]
460 #[inline(always)]
461 #[must_use]
462 pub fn prssel(&mut self) -> PRSSEL_W<2> {
463 PRSSEL_W::new(self)
464 }
465 #[doc = "Bits 7:8 - Select Scan Configuration"]
466 #[inline(always)]
467 #[must_use]
468 pub fn scanconf(&mut self) -> SCANCONF_W<7> {
469 SCANCONF_W::new(self)
470 }
471 #[doc = "Bit 11 - Alternative Excitation Map"]
472 #[inline(always)]
473 #[must_use]
474 pub fn altexmap(&mut self) -> ALTEXMAP_W<11> {
475 ALTEXMAP_W::new(self)
476 }
477 #[doc = "Bit 13 - Enable Dual Sample Mode"]
478 #[inline(always)]
479 #[must_use]
480 pub fn dualsample(&mut self) -> DUALSAMPLE_W<13> {
481 DUALSAMPLE_W::new(self)
482 }
483 #[doc = "Bit 16 - Result Buffer Overwrite"]
484 #[inline(always)]
485 #[must_use]
486 pub fn bufow(&mut self) -> BUFOW_W<16> {
487 BUFOW_W::new(self)
488 }
489 #[doc = "Bit 17 - Enable Storing of SCANRES"]
490 #[inline(always)]
491 #[must_use]
492 pub fn strscanres(&mut self) -> STRSCANRES_W<17> {
493 STRSCANRES_W::new(self)
494 }
495 #[doc = "Bit 19 - Result Buffer Interrupt and DMA Trigger Level"]
496 #[inline(always)]
497 #[must_use]
498 pub fn bufidl(&mut self) -> BUFIDL_W<19> {
499 BUFIDL_W::new(self)
500 }
501 #[doc = "Bits 20:21 - DMA Wake-up From EM2"]
502 #[inline(always)]
503 #[must_use]
504 pub fn dmawu(&mut self) -> DMAWU_W<20> {
505 DMAWU_W::new(self)
506 }
507 #[doc = "Bit 22 - Debug Mode Run Enable"]
508 #[inline(always)]
509 #[must_use]
510 pub fn debugrun(&mut self) -> DEBUGRUN_W<22> {
511 DEBUGRUN_W::new(self)
512 }
513 #[doc = "Writes raw bits to the register."]
514 #[inline(always)]
515 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
516 self.0.bits(bits);
517 self
518 }
519}
520#[doc = "Control Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ctrl](index.html) module"]
521pub struct CTRL_SPEC;
522impl crate::RegisterSpec for CTRL_SPEC {
523 type Ux = u32;
524}
525#[doc = "`read()` method returns [ctrl::R](R) reader structure"]
526impl crate::Readable for CTRL_SPEC {
527 type Reader = R;
528}
529#[doc = "`write(|w| ..)` method takes [ctrl::W](W) writer structure"]
530impl crate::Writable for CTRL_SPEC {
531 type Writer = W;
532 const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
533 const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
534}
535#[doc = "`reset()` method sets CTRL to value 0"]
536impl crate::Resettable for CTRL_SPEC {
537 const RESET_VALUE: Self::Ux = 0;
538}