efm32gg11b310_pac/emu/
em23pernoretainctrl.rs

1#[doc = "Register `EM23PERNORETAINCTRL` reader"]
2pub struct R(crate::R<EM23PERNORETAINCTRL_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<EM23PERNORETAINCTRL_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<EM23PERNORETAINCTRL_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<EM23PERNORETAINCTRL_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Register `EM23PERNORETAINCTRL` writer"]
17pub struct W(crate::W<EM23PERNORETAINCTRL_SPEC>);
18impl core::ops::Deref for W {
19    type Target = crate::W<EM23PERNORETAINCTRL_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<EM23PERNORETAINCTRL_SPEC>> for W {
32    #[inline(always)]
33    fn from(writer: crate::W<EM23PERNORETAINCTRL_SPEC>) -> Self {
34        W(writer)
35    }
36}
37#[doc = "Field `ACMP0DIS` reader - Allow Power Down of ACMP0 During EM23"]
38pub type ACMP0DIS_R = crate::BitReader<bool>;
39#[doc = "Field `ACMP0DIS` writer - Allow Power Down of ACMP0 During EM23"]
40pub type ACMP0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 0>;
41#[doc = "Field `ACMP1DIS` reader - Allow Power Down of ACMP1 During EM23"]
42pub type ACMP1DIS_R = crate::BitReader<bool>;
43#[doc = "Field `ACMP1DIS` writer - Allow Power Down of ACMP1 During EM23"]
44pub type ACMP1DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 1>;
45#[doc = "Field `PCNT0DIS` reader - Allow Power Down of PCNT0 During EM23"]
46pub type PCNT0DIS_R = crate::BitReader<bool>;
47#[doc = "Field `PCNT0DIS` writer - Allow Power Down of PCNT0 During EM23"]
48pub type PCNT0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 2>;
49#[doc = "Field `PCNT1DIS` reader - Allow Power Down of PCNT1 During EM23"]
50pub type PCNT1DIS_R = crate::BitReader<bool>;
51#[doc = "Field `PCNT1DIS` writer - Allow Power Down of PCNT1 During EM23"]
52pub type PCNT1DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 3>;
53#[doc = "Field `PCNT2DIS` reader - Allow Power Down of PCNT2 During EM23"]
54pub type PCNT2DIS_R = crate::BitReader<bool>;
55#[doc = "Field `PCNT2DIS` writer - Allow Power Down of PCNT2 During EM23"]
56pub type PCNT2DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 4>;
57#[doc = "Field `I2C0DIS` reader - Allow Power Down of I2C0 During EM23"]
58pub type I2C0DIS_R = crate::BitReader<bool>;
59#[doc = "Field `I2C0DIS` writer - Allow Power Down of I2C0 During EM23"]
60pub type I2C0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 5>;
61#[doc = "Field `I2C1DIS` reader - Allow Power Down of I2C1 During EM23"]
62pub type I2C1DIS_R = crate::BitReader<bool>;
63#[doc = "Field `I2C1DIS` writer - Allow Power Down of I2C1 During EM23"]
64pub type I2C1DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 6>;
65#[doc = "Field `VDAC0DIS` reader - Allow Power Down of DAC0 During EM23"]
66pub type VDAC0DIS_R = crate::BitReader<bool>;
67#[doc = "Field `VDAC0DIS` writer - Allow Power Down of DAC0 During EM23"]
68pub type VDAC0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 7>;
69#[doc = "Field `IDAC0DIS` reader - Allow Power Down of IDAC0 During EM23"]
70pub type IDAC0DIS_R = crate::BitReader<bool>;
71#[doc = "Field `IDAC0DIS` writer - Allow Power Down of IDAC0 During EM23"]
72pub type IDAC0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 8>;
73#[doc = "Field `ADC0DIS` reader - Allow Power Down of ADC0 During EM23"]
74pub type ADC0DIS_R = crate::BitReader<bool>;
75#[doc = "Field `ADC0DIS` writer - Allow Power Down of ADC0 During EM23"]
76pub type ADC0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 9>;
77#[doc = "Field `LETIMER0DIS` reader - Allow Power Down of LETIMER0 During EM23"]
78pub type LETIMER0DIS_R = crate::BitReader<bool>;
79#[doc = "Field `LETIMER0DIS` writer - Allow Power Down of LETIMER0 During EM23"]
80pub type LETIMER0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 10>;
81#[doc = "Field `WDOG0DIS` reader - Allow Power Down of WDOG0 During EM23"]
82pub type WDOG0DIS_R = crate::BitReader<bool>;
83#[doc = "Field `WDOG0DIS` writer - Allow Power Down of WDOG0 During EM23"]
84pub type WDOG0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 11>;
85#[doc = "Field `WDOG1DIS` reader - Allow Power Down of WDOG1 During EM23"]
86pub type WDOG1DIS_R = crate::BitReader<bool>;
87#[doc = "Field `WDOG1DIS` writer - Allow Power Down of WDOG1 During EM23"]
88pub type WDOG1DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 12>;
89#[doc = "Field `LESENSE0DIS` reader - Allow Power Down of LESENSE0 During EM23"]
90pub type LESENSE0DIS_R = crate::BitReader<bool>;
91#[doc = "Field `LESENSE0DIS` writer - Allow Power Down of LESENSE0 During EM23"]
92pub type LESENSE0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 13>;
93#[doc = "Field `CSENDIS` reader - Allow Power Down of CSEN During EM23"]
94pub type CSENDIS_R = crate::BitReader<bool>;
95#[doc = "Field `CSENDIS` writer - Allow Power Down of CSEN During EM23"]
96pub type CSENDIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 14>;
97#[doc = "Field `LEUART0DIS` reader - Allow Power Down of LEUART0 During EM23"]
98pub type LEUART0DIS_R = crate::BitReader<bool>;
99#[doc = "Field `LEUART0DIS` writer - Allow Power Down of LEUART0 During EM23"]
100pub type LEUART0DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 15>;
101#[doc = "Field `LEUART1DIS` reader - Allow Power Down of LEUART1 During EM23"]
102pub type LEUART1DIS_R = crate::BitReader<bool>;
103#[doc = "Field `LEUART1DIS` writer - Allow Power Down of LEUART1 During EM23"]
104pub type LEUART1DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 16>;
105#[doc = "Field `LCDDIS` reader - Allow Power Down of LCD During EM23"]
106pub type LCDDIS_R = crate::BitReader<bool>;
107#[doc = "Field `LCDDIS` writer - Allow Power Down of LCD During EM23"]
108pub type LCDDIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 17>;
109#[doc = "Field `LETIMER1DIS` reader - Allow Power Down of LETIMER1 During EM23"]
110pub type LETIMER1DIS_R = crate::BitReader<bool>;
111#[doc = "Field `LETIMER1DIS` writer - Allow Power Down of LETIMER1 During EM23"]
112pub type LETIMER1DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 18>;
113#[doc = "Field `I2C2DIS` reader - Allow Power Down of I2C2 During EM23"]
114pub type I2C2DIS_R = crate::BitReader<bool>;
115#[doc = "Field `I2C2DIS` writer - Allow Power Down of I2C2 During EM23"]
116pub type I2C2DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 19>;
117#[doc = "Field `ADC1DIS` reader - Allow Power Down of ADC1 During EM23"]
118pub type ADC1DIS_R = crate::BitReader<bool>;
119#[doc = "Field `ADC1DIS` writer - Allow Power Down of ADC1 During EM23"]
120pub type ADC1DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 20>;
121#[doc = "Field `ACMP2DIS` reader - Allow Power Down of ACMP2 During EM23"]
122pub type ACMP2DIS_R = crate::BitReader<bool>;
123#[doc = "Field `ACMP2DIS` writer - Allow Power Down of ACMP2 During EM23"]
124pub type ACMP2DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 21>;
125#[doc = "Field `ACMP3DIS` reader - Allow Power Down of ACMP3 During EM23"]
126pub type ACMP3DIS_R = crate::BitReader<bool>;
127#[doc = "Field `ACMP3DIS` writer - Allow Power Down of ACMP3 During EM23"]
128pub type ACMP3DIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 22>;
129#[doc = "Field `RTCDIS` reader - Allow Power Down of RTC During EM23"]
130pub type RTCDIS_R = crate::BitReader<bool>;
131#[doc = "Field `RTCDIS` writer - Allow Power Down of RTC During EM23"]
132pub type RTCDIS_W<'a> = crate::BitWriter<'a, u32, EM23PERNORETAINCTRL_SPEC, bool, 23>;
133impl R {
134    #[doc = "Bit 0 - Allow Power Down of ACMP0 During EM23"]
135    #[inline(always)]
136    pub fn acmp0dis(&self) -> ACMP0DIS_R {
137        ACMP0DIS_R::new((self.bits & 1) != 0)
138    }
139    #[doc = "Bit 1 - Allow Power Down of ACMP1 During EM23"]
140    #[inline(always)]
141    pub fn acmp1dis(&self) -> ACMP1DIS_R {
142        ACMP1DIS_R::new(((self.bits >> 1) & 1) != 0)
143    }
144    #[doc = "Bit 2 - Allow Power Down of PCNT0 During EM23"]
145    #[inline(always)]
146    pub fn pcnt0dis(&self) -> PCNT0DIS_R {
147        PCNT0DIS_R::new(((self.bits >> 2) & 1) != 0)
148    }
149    #[doc = "Bit 3 - Allow Power Down of PCNT1 During EM23"]
150    #[inline(always)]
151    pub fn pcnt1dis(&self) -> PCNT1DIS_R {
152        PCNT1DIS_R::new(((self.bits >> 3) & 1) != 0)
153    }
154    #[doc = "Bit 4 - Allow Power Down of PCNT2 During EM23"]
155    #[inline(always)]
156    pub fn pcnt2dis(&self) -> PCNT2DIS_R {
157        PCNT2DIS_R::new(((self.bits >> 4) & 1) != 0)
158    }
159    #[doc = "Bit 5 - Allow Power Down of I2C0 During EM23"]
160    #[inline(always)]
161    pub fn i2c0dis(&self) -> I2C0DIS_R {
162        I2C0DIS_R::new(((self.bits >> 5) & 1) != 0)
163    }
164    #[doc = "Bit 6 - Allow Power Down of I2C1 During EM23"]
165    #[inline(always)]
166    pub fn i2c1dis(&self) -> I2C1DIS_R {
167        I2C1DIS_R::new(((self.bits >> 6) & 1) != 0)
168    }
169    #[doc = "Bit 7 - Allow Power Down of DAC0 During EM23"]
170    #[inline(always)]
171    pub fn vdac0dis(&self) -> VDAC0DIS_R {
172        VDAC0DIS_R::new(((self.bits >> 7) & 1) != 0)
173    }
174    #[doc = "Bit 8 - Allow Power Down of IDAC0 During EM23"]
175    #[inline(always)]
176    pub fn idac0dis(&self) -> IDAC0DIS_R {
177        IDAC0DIS_R::new(((self.bits >> 8) & 1) != 0)
178    }
179    #[doc = "Bit 9 - Allow Power Down of ADC0 During EM23"]
180    #[inline(always)]
181    pub fn adc0dis(&self) -> ADC0DIS_R {
182        ADC0DIS_R::new(((self.bits >> 9) & 1) != 0)
183    }
184    #[doc = "Bit 10 - Allow Power Down of LETIMER0 During EM23"]
185    #[inline(always)]
186    pub fn letimer0dis(&self) -> LETIMER0DIS_R {
187        LETIMER0DIS_R::new(((self.bits >> 10) & 1) != 0)
188    }
189    #[doc = "Bit 11 - Allow Power Down of WDOG0 During EM23"]
190    #[inline(always)]
191    pub fn wdog0dis(&self) -> WDOG0DIS_R {
192        WDOG0DIS_R::new(((self.bits >> 11) & 1) != 0)
193    }
194    #[doc = "Bit 12 - Allow Power Down of WDOG1 During EM23"]
195    #[inline(always)]
196    pub fn wdog1dis(&self) -> WDOG1DIS_R {
197        WDOG1DIS_R::new(((self.bits >> 12) & 1) != 0)
198    }
199    #[doc = "Bit 13 - Allow Power Down of LESENSE0 During EM23"]
200    #[inline(always)]
201    pub fn lesense0dis(&self) -> LESENSE0DIS_R {
202        LESENSE0DIS_R::new(((self.bits >> 13) & 1) != 0)
203    }
204    #[doc = "Bit 14 - Allow Power Down of CSEN During EM23"]
205    #[inline(always)]
206    pub fn csendis(&self) -> CSENDIS_R {
207        CSENDIS_R::new(((self.bits >> 14) & 1) != 0)
208    }
209    #[doc = "Bit 15 - Allow Power Down of LEUART0 During EM23"]
210    #[inline(always)]
211    pub fn leuart0dis(&self) -> LEUART0DIS_R {
212        LEUART0DIS_R::new(((self.bits >> 15) & 1) != 0)
213    }
214    #[doc = "Bit 16 - Allow Power Down of LEUART1 During EM23"]
215    #[inline(always)]
216    pub fn leuart1dis(&self) -> LEUART1DIS_R {
217        LEUART1DIS_R::new(((self.bits >> 16) & 1) != 0)
218    }
219    #[doc = "Bit 17 - Allow Power Down of LCD During EM23"]
220    #[inline(always)]
221    pub fn lcddis(&self) -> LCDDIS_R {
222        LCDDIS_R::new(((self.bits >> 17) & 1) != 0)
223    }
224    #[doc = "Bit 18 - Allow Power Down of LETIMER1 During EM23"]
225    #[inline(always)]
226    pub fn letimer1dis(&self) -> LETIMER1DIS_R {
227        LETIMER1DIS_R::new(((self.bits >> 18) & 1) != 0)
228    }
229    #[doc = "Bit 19 - Allow Power Down of I2C2 During EM23"]
230    #[inline(always)]
231    pub fn i2c2dis(&self) -> I2C2DIS_R {
232        I2C2DIS_R::new(((self.bits >> 19) & 1) != 0)
233    }
234    #[doc = "Bit 20 - Allow Power Down of ADC1 During EM23"]
235    #[inline(always)]
236    pub fn adc1dis(&self) -> ADC1DIS_R {
237        ADC1DIS_R::new(((self.bits >> 20) & 1) != 0)
238    }
239    #[doc = "Bit 21 - Allow Power Down of ACMP2 During EM23"]
240    #[inline(always)]
241    pub fn acmp2dis(&self) -> ACMP2DIS_R {
242        ACMP2DIS_R::new(((self.bits >> 21) & 1) != 0)
243    }
244    #[doc = "Bit 22 - Allow Power Down of ACMP3 During EM23"]
245    #[inline(always)]
246    pub fn acmp3dis(&self) -> ACMP3DIS_R {
247        ACMP3DIS_R::new(((self.bits >> 22) & 1) != 0)
248    }
249    #[doc = "Bit 23 - Allow Power Down of RTC During EM23"]
250    #[inline(always)]
251    pub fn rtcdis(&self) -> RTCDIS_R {
252        RTCDIS_R::new(((self.bits >> 23) & 1) != 0)
253    }
254}
255impl W {
256    #[doc = "Bit 0 - Allow Power Down of ACMP0 During EM23"]
257    #[inline(always)]
258    pub fn acmp0dis(&mut self) -> ACMP0DIS_W {
259        ACMP0DIS_W::new(self)
260    }
261    #[doc = "Bit 1 - Allow Power Down of ACMP1 During EM23"]
262    #[inline(always)]
263    pub fn acmp1dis(&mut self) -> ACMP1DIS_W {
264        ACMP1DIS_W::new(self)
265    }
266    #[doc = "Bit 2 - Allow Power Down of PCNT0 During EM23"]
267    #[inline(always)]
268    pub fn pcnt0dis(&mut self) -> PCNT0DIS_W {
269        PCNT0DIS_W::new(self)
270    }
271    #[doc = "Bit 3 - Allow Power Down of PCNT1 During EM23"]
272    #[inline(always)]
273    pub fn pcnt1dis(&mut self) -> PCNT1DIS_W {
274        PCNT1DIS_W::new(self)
275    }
276    #[doc = "Bit 4 - Allow Power Down of PCNT2 During EM23"]
277    #[inline(always)]
278    pub fn pcnt2dis(&mut self) -> PCNT2DIS_W {
279        PCNT2DIS_W::new(self)
280    }
281    #[doc = "Bit 5 - Allow Power Down of I2C0 During EM23"]
282    #[inline(always)]
283    pub fn i2c0dis(&mut self) -> I2C0DIS_W {
284        I2C0DIS_W::new(self)
285    }
286    #[doc = "Bit 6 - Allow Power Down of I2C1 During EM23"]
287    #[inline(always)]
288    pub fn i2c1dis(&mut self) -> I2C1DIS_W {
289        I2C1DIS_W::new(self)
290    }
291    #[doc = "Bit 7 - Allow Power Down of DAC0 During EM23"]
292    #[inline(always)]
293    pub fn vdac0dis(&mut self) -> VDAC0DIS_W {
294        VDAC0DIS_W::new(self)
295    }
296    #[doc = "Bit 8 - Allow Power Down of IDAC0 During EM23"]
297    #[inline(always)]
298    pub fn idac0dis(&mut self) -> IDAC0DIS_W {
299        IDAC0DIS_W::new(self)
300    }
301    #[doc = "Bit 9 - Allow Power Down of ADC0 During EM23"]
302    #[inline(always)]
303    pub fn adc0dis(&mut self) -> ADC0DIS_W {
304        ADC0DIS_W::new(self)
305    }
306    #[doc = "Bit 10 - Allow Power Down of LETIMER0 During EM23"]
307    #[inline(always)]
308    pub fn letimer0dis(&mut self) -> LETIMER0DIS_W {
309        LETIMER0DIS_W::new(self)
310    }
311    #[doc = "Bit 11 - Allow Power Down of WDOG0 During EM23"]
312    #[inline(always)]
313    pub fn wdog0dis(&mut self) -> WDOG0DIS_W {
314        WDOG0DIS_W::new(self)
315    }
316    #[doc = "Bit 12 - Allow Power Down of WDOG1 During EM23"]
317    #[inline(always)]
318    pub fn wdog1dis(&mut self) -> WDOG1DIS_W {
319        WDOG1DIS_W::new(self)
320    }
321    #[doc = "Bit 13 - Allow Power Down of LESENSE0 During EM23"]
322    #[inline(always)]
323    pub fn lesense0dis(&mut self) -> LESENSE0DIS_W {
324        LESENSE0DIS_W::new(self)
325    }
326    #[doc = "Bit 14 - Allow Power Down of CSEN During EM23"]
327    #[inline(always)]
328    pub fn csendis(&mut self) -> CSENDIS_W {
329        CSENDIS_W::new(self)
330    }
331    #[doc = "Bit 15 - Allow Power Down of LEUART0 During EM23"]
332    #[inline(always)]
333    pub fn leuart0dis(&mut self) -> LEUART0DIS_W {
334        LEUART0DIS_W::new(self)
335    }
336    #[doc = "Bit 16 - Allow Power Down of LEUART1 During EM23"]
337    #[inline(always)]
338    pub fn leuart1dis(&mut self) -> LEUART1DIS_W {
339        LEUART1DIS_W::new(self)
340    }
341    #[doc = "Bit 17 - Allow Power Down of LCD During EM23"]
342    #[inline(always)]
343    pub fn lcddis(&mut self) -> LCDDIS_W {
344        LCDDIS_W::new(self)
345    }
346    #[doc = "Bit 18 - Allow Power Down of LETIMER1 During EM23"]
347    #[inline(always)]
348    pub fn letimer1dis(&mut self) -> LETIMER1DIS_W {
349        LETIMER1DIS_W::new(self)
350    }
351    #[doc = "Bit 19 - Allow Power Down of I2C2 During EM23"]
352    #[inline(always)]
353    pub fn i2c2dis(&mut self) -> I2C2DIS_W {
354        I2C2DIS_W::new(self)
355    }
356    #[doc = "Bit 20 - Allow Power Down of ADC1 During EM23"]
357    #[inline(always)]
358    pub fn adc1dis(&mut self) -> ADC1DIS_W {
359        ADC1DIS_W::new(self)
360    }
361    #[doc = "Bit 21 - Allow Power Down of ACMP2 During EM23"]
362    #[inline(always)]
363    pub fn acmp2dis(&mut self) -> ACMP2DIS_W {
364        ACMP2DIS_W::new(self)
365    }
366    #[doc = "Bit 22 - Allow Power Down of ACMP3 During EM23"]
367    #[inline(always)]
368    pub fn acmp3dis(&mut self) -> ACMP3DIS_W {
369        ACMP3DIS_W::new(self)
370    }
371    #[doc = "Bit 23 - Allow Power Down of RTC During EM23"]
372    #[inline(always)]
373    pub fn rtcdis(&mut self) -> RTCDIS_W {
374        RTCDIS_W::new(self)
375    }
376    #[doc = "Writes raw bits to the register."]
377    #[inline(always)]
378    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
379        self.0.bits(bits);
380        self
381    }
382}
383#[doc = "When Set Corresponding Peripherals May Get Powered Down in EM23\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 [em23pernoretainctrl](index.html) module"]
384pub struct EM23PERNORETAINCTRL_SPEC;
385impl crate::RegisterSpec for EM23PERNORETAINCTRL_SPEC {
386    type Ux = u32;
387}
388#[doc = "`read()` method returns [em23pernoretainctrl::R](R) reader structure"]
389impl crate::Readable for EM23PERNORETAINCTRL_SPEC {
390    type Reader = R;
391}
392#[doc = "`write(|w| ..)` method takes [em23pernoretainctrl::W](W) writer structure"]
393impl crate::Writable for EM23PERNORETAINCTRL_SPEC {
394    type Writer = W;
395}
396#[doc = "`reset()` method sets EM23PERNORETAINCTRL to value 0"]
397impl crate::Resettable for EM23PERNORETAINCTRL_SPEC {
398    #[inline(always)]
399    fn reset_value() -> Self::Ux {
400        0
401    }
402}