1#[doc = "Register `DPUSR1R` reader"]
2pub struct R(crate::R<DPUSR1R_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<DPUSR1R_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<DPUSR1R_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<DPUSR1R_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `DPUSR1R` writer"]
17pub struct W(crate::W<DPUSR1R_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<DPUSR1R_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<DPUSR1R_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<DPUSR1R_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `DPINTE0` reader - USB DP Interrupt Enable/Clear"]
38pub type DPINTE0_R = crate::BitReader<DPINTE0_A>;
39#[doc = "USB DP Interrupt Enable/Clear\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq, Eq)]
41pub enum DPINTE0_A {
42 #[doc = "0: Disable recovery from Deep Software Standby mode by DP input"]
43 _0 = 0,
44 #[doc = "1: Enable recovery from Deep Software Standby mode by DP input"]
45 _1 = 1,
46}
47impl From<DPINTE0_A> for bool {
48 #[inline(always)]
49 fn from(variant: DPINTE0_A) -> Self {
50 variant as u8 != 0
51 }
52}
53impl DPINTE0_R {
54 #[doc = "Get enumerated values variant"]
55 #[inline(always)]
56 pub fn variant(&self) -> DPINTE0_A {
57 match self.bits {
58 false => DPINTE0_A::_0,
59 true => DPINTE0_A::_1,
60 }
61 }
62 #[doc = "Checks if the value of the field is `_0`"]
63 #[inline(always)]
64 pub fn is_0(&self) -> bool {
65 *self == DPINTE0_A::_0
66 }
67 #[doc = "Checks if the value of the field is `_1`"]
68 #[inline(always)]
69 pub fn is_1(&self) -> bool {
70 *self == DPINTE0_A::_1
71 }
72}
73#[doc = "Field `DPINTE0` writer - USB DP Interrupt Enable/Clear"]
74pub type DPINTE0_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPUSR1R_SPEC, DPINTE0_A, O>;
75impl<'a, const O: u8> DPINTE0_W<'a, O> {
76 #[doc = "Disable recovery from Deep Software Standby mode by DP input"]
77 #[inline(always)]
78 pub fn _0(self) -> &'a mut W {
79 self.variant(DPINTE0_A::_0)
80 }
81 #[doc = "Enable recovery from Deep Software Standby mode by DP input"]
82 #[inline(always)]
83 pub fn _1(self) -> &'a mut W {
84 self.variant(DPINTE0_A::_1)
85 }
86}
87#[doc = "Field `DMINTE0` reader - USB DM Interrupt Enable/Clear"]
88pub type DMINTE0_R = crate::BitReader<DMINTE0_A>;
89#[doc = "USB DM Interrupt Enable/Clear\n\nValue on reset: 0"]
90#[derive(Clone, Copy, Debug, PartialEq, Eq)]
91pub enum DMINTE0_A {
92 #[doc = "0: Disable recovery from Deep Software Standby mode by DM input"]
93 _0 = 0,
94 #[doc = "1: Enable recovery from Deep Software Standby mode by DM input"]
95 _1 = 1,
96}
97impl From<DMINTE0_A> for bool {
98 #[inline(always)]
99 fn from(variant: DMINTE0_A) -> Self {
100 variant as u8 != 0
101 }
102}
103impl DMINTE0_R {
104 #[doc = "Get enumerated values variant"]
105 #[inline(always)]
106 pub fn variant(&self) -> DMINTE0_A {
107 match self.bits {
108 false => DMINTE0_A::_0,
109 true => DMINTE0_A::_1,
110 }
111 }
112 #[doc = "Checks if the value of the field is `_0`"]
113 #[inline(always)]
114 pub fn is_0(&self) -> bool {
115 *self == DMINTE0_A::_0
116 }
117 #[doc = "Checks if the value of the field is `_1`"]
118 #[inline(always)]
119 pub fn is_1(&self) -> bool {
120 *self == DMINTE0_A::_1
121 }
122}
123#[doc = "Field `DMINTE0` writer - USB DM Interrupt Enable/Clear"]
124pub type DMINTE0_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPUSR1R_SPEC, DMINTE0_A, O>;
125impl<'a, const O: u8> DMINTE0_W<'a, O> {
126 #[doc = "Disable recovery from Deep Software Standby mode by DM input"]
127 #[inline(always)]
128 pub fn _0(self) -> &'a mut W {
129 self.variant(DMINTE0_A::_0)
130 }
131 #[doc = "Enable recovery from Deep Software Standby mode by DM input"]
132 #[inline(always)]
133 pub fn _1(self) -> &'a mut W {
134 self.variant(DMINTE0_A::_1)
135 }
136}
137#[doc = "Field `DOVRCRAE0` reader - USB OVRCURA Interrupt Enable/Clear"]
138pub type DOVRCRAE0_R = crate::BitReader<DOVRCRAE0_A>;
139#[doc = "USB OVRCURA Interrupt Enable/Clear\n\nValue on reset: 0"]
140#[derive(Clone, Copy, Debug, PartialEq, Eq)]
141pub enum DOVRCRAE0_A {
142 #[doc = "0: Disable recovery from Deep Software Standby mode by OVRCURA input"]
143 _0 = 0,
144 #[doc = "1: Enable recovery from Deep Software Standby mode by OVRCURA input"]
145 _1 = 1,
146}
147impl From<DOVRCRAE0_A> for bool {
148 #[inline(always)]
149 fn from(variant: DOVRCRAE0_A) -> Self {
150 variant as u8 != 0
151 }
152}
153impl DOVRCRAE0_R {
154 #[doc = "Get enumerated values variant"]
155 #[inline(always)]
156 pub fn variant(&self) -> DOVRCRAE0_A {
157 match self.bits {
158 false => DOVRCRAE0_A::_0,
159 true => DOVRCRAE0_A::_1,
160 }
161 }
162 #[doc = "Checks if the value of the field is `_0`"]
163 #[inline(always)]
164 pub fn is_0(&self) -> bool {
165 *self == DOVRCRAE0_A::_0
166 }
167 #[doc = "Checks if the value of the field is `_1`"]
168 #[inline(always)]
169 pub fn is_1(&self) -> bool {
170 *self == DOVRCRAE0_A::_1
171 }
172}
173#[doc = "Field `DOVRCRAE0` writer - USB OVRCURA Interrupt Enable/Clear"]
174pub type DOVRCRAE0_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPUSR1R_SPEC, DOVRCRAE0_A, O>;
175impl<'a, const O: u8> DOVRCRAE0_W<'a, O> {
176 #[doc = "Disable recovery from Deep Software Standby mode by OVRCURA input"]
177 #[inline(always)]
178 pub fn _0(self) -> &'a mut W {
179 self.variant(DOVRCRAE0_A::_0)
180 }
181 #[doc = "Enable recovery from Deep Software Standby mode by OVRCURA input"]
182 #[inline(always)]
183 pub fn _1(self) -> &'a mut W {
184 self.variant(DOVRCRAE0_A::_1)
185 }
186}
187#[doc = "Field `DOVRCRBE0` reader - USB OVRCURB Interrupt Enable/Clear"]
188pub type DOVRCRBE0_R = crate::BitReader<DOVRCRBE0_A>;
189#[doc = "USB OVRCURB Interrupt Enable/Clear\n\nValue on reset: 0"]
190#[derive(Clone, Copy, Debug, PartialEq, Eq)]
191pub enum DOVRCRBE0_A {
192 #[doc = "0: Disable recovery from Deep Software Standby mode by OVRCURB input"]
193 _0 = 0,
194 #[doc = "1: Enable recovery from Deep Software Standby mode by OVRCURB input"]
195 _1 = 1,
196}
197impl From<DOVRCRBE0_A> for bool {
198 #[inline(always)]
199 fn from(variant: DOVRCRBE0_A) -> Self {
200 variant as u8 != 0
201 }
202}
203impl DOVRCRBE0_R {
204 #[doc = "Get enumerated values variant"]
205 #[inline(always)]
206 pub fn variant(&self) -> DOVRCRBE0_A {
207 match self.bits {
208 false => DOVRCRBE0_A::_0,
209 true => DOVRCRBE0_A::_1,
210 }
211 }
212 #[doc = "Checks if the value of the field is `_0`"]
213 #[inline(always)]
214 pub fn is_0(&self) -> bool {
215 *self == DOVRCRBE0_A::_0
216 }
217 #[doc = "Checks if the value of the field is `_1`"]
218 #[inline(always)]
219 pub fn is_1(&self) -> bool {
220 *self == DOVRCRBE0_A::_1
221 }
222}
223#[doc = "Field `DOVRCRBE0` writer - USB OVRCURB Interrupt Enable/Clear"]
224pub type DOVRCRBE0_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPUSR1R_SPEC, DOVRCRBE0_A, O>;
225impl<'a, const O: u8> DOVRCRBE0_W<'a, O> {
226 #[doc = "Disable recovery from Deep Software Standby mode by OVRCURB input"]
227 #[inline(always)]
228 pub fn _0(self) -> &'a mut W {
229 self.variant(DOVRCRBE0_A::_0)
230 }
231 #[doc = "Enable recovery from Deep Software Standby mode by OVRCURB input"]
232 #[inline(always)]
233 pub fn _1(self) -> &'a mut W {
234 self.variant(DOVRCRBE0_A::_1)
235 }
236}
237#[doc = "Field `DVBSE0` reader - USB VBUS Interrupt Enable/Clear"]
238pub type DVBSE0_R = crate::BitReader<DVBSE0_A>;
239#[doc = "USB VBUS Interrupt Enable/Clear\n\nValue on reset: 0"]
240#[derive(Clone, Copy, Debug, PartialEq, Eq)]
241pub enum DVBSE0_A {
242 #[doc = "0: Disable recovery from Deep Software Standby mode by VBUS input"]
243 _0 = 0,
244 #[doc = "1: Enable recovery from Deep Software Standby mode by VBUS input"]
245 _1 = 1,
246}
247impl From<DVBSE0_A> for bool {
248 #[inline(always)]
249 fn from(variant: DVBSE0_A) -> Self {
250 variant as u8 != 0
251 }
252}
253impl DVBSE0_R {
254 #[doc = "Get enumerated values variant"]
255 #[inline(always)]
256 pub fn variant(&self) -> DVBSE0_A {
257 match self.bits {
258 false => DVBSE0_A::_0,
259 true => DVBSE0_A::_1,
260 }
261 }
262 #[doc = "Checks if the value of the field is `_0`"]
263 #[inline(always)]
264 pub fn is_0(&self) -> bool {
265 *self == DVBSE0_A::_0
266 }
267 #[doc = "Checks if the value of the field is `_1`"]
268 #[inline(always)]
269 pub fn is_1(&self) -> bool {
270 *self == DVBSE0_A::_1
271 }
272}
273#[doc = "Field `DVBSE0` writer - USB VBUS Interrupt Enable/Clear"]
274pub type DVBSE0_W<'a, const O: u8> = crate::BitWriter<'a, u32, DPUSR1R_SPEC, DVBSE0_A, O>;
275impl<'a, const O: u8> DVBSE0_W<'a, O> {
276 #[doc = "Disable recovery from Deep Software Standby mode by VBUS input"]
277 #[inline(always)]
278 pub fn _0(self) -> &'a mut W {
279 self.variant(DVBSE0_A::_0)
280 }
281 #[doc = "Enable recovery from Deep Software Standby mode by VBUS input"]
282 #[inline(always)]
283 pub fn _1(self) -> &'a mut W {
284 self.variant(DVBSE0_A::_1)
285 }
286}
287#[doc = "Field `DPINT0` reader - USB DP Interrupt Source Recovery"]
288pub type DPINT0_R = crate::BitReader<DPINT0_A>;
289#[doc = "USB DP Interrupt Source Recovery\n\nValue on reset: 0"]
290#[derive(Clone, Copy, Debug, PartialEq, Eq)]
291pub enum DPINT0_A {
292 #[doc = "0: System has not recovered from Deep Software Standby mode"]
293 _0 = 0,
294 #[doc = "1: System recovered from Deep Software Standby mode because of DP"]
295 _1 = 1,
296}
297impl From<DPINT0_A> for bool {
298 #[inline(always)]
299 fn from(variant: DPINT0_A) -> Self {
300 variant as u8 != 0
301 }
302}
303impl DPINT0_R {
304 #[doc = "Get enumerated values variant"]
305 #[inline(always)]
306 pub fn variant(&self) -> DPINT0_A {
307 match self.bits {
308 false => DPINT0_A::_0,
309 true => DPINT0_A::_1,
310 }
311 }
312 #[doc = "Checks if the value of the field is `_0`"]
313 #[inline(always)]
314 pub fn is_0(&self) -> bool {
315 *self == DPINT0_A::_0
316 }
317 #[doc = "Checks if the value of the field is `_1`"]
318 #[inline(always)]
319 pub fn is_1(&self) -> bool {
320 *self == DPINT0_A::_1
321 }
322}
323#[doc = "Field `DMINT0` reader - USB DM Interrupt Source Recovery"]
324pub type DMINT0_R = crate::BitReader<DMINT0_A>;
325#[doc = "USB DM Interrupt Source Recovery\n\nValue on reset: 0"]
326#[derive(Clone, Copy, Debug, PartialEq, Eq)]
327pub enum DMINT0_A {
328 #[doc = "0: System has not recovered from Deep Software Standby mode"]
329 _0 = 0,
330 #[doc = "1: System recovered from Deep Software Standby mode because of DM input"]
331 _1 = 1,
332}
333impl From<DMINT0_A> for bool {
334 #[inline(always)]
335 fn from(variant: DMINT0_A) -> Self {
336 variant as u8 != 0
337 }
338}
339impl DMINT0_R {
340 #[doc = "Get enumerated values variant"]
341 #[inline(always)]
342 pub fn variant(&self) -> DMINT0_A {
343 match self.bits {
344 false => DMINT0_A::_0,
345 true => DMINT0_A::_1,
346 }
347 }
348 #[doc = "Checks if the value of the field is `_0`"]
349 #[inline(always)]
350 pub fn is_0(&self) -> bool {
351 *self == DMINT0_A::_0
352 }
353 #[doc = "Checks if the value of the field is `_1`"]
354 #[inline(always)]
355 pub fn is_1(&self) -> bool {
356 *self == DMINT0_A::_1
357 }
358}
359#[doc = "Field `DOVRCRA0` reader - USB OVRCURA Interrupt Source Recovery"]
360pub type DOVRCRA0_R = crate::BitReader<DOVRCRA0_A>;
361#[doc = "USB OVRCURA Interrupt Source Recovery\n\nValue on reset: 0"]
362#[derive(Clone, Copy, Debug, PartialEq, Eq)]
363pub enum DOVRCRA0_A {
364 #[doc = "0: System has not recovered from Deep Software Standby mode"]
365 _0 = 0,
366 #[doc = "1: System recovered from Deep Software Standby mode because of OVRCURA input"]
367 _1 = 1,
368}
369impl From<DOVRCRA0_A> for bool {
370 #[inline(always)]
371 fn from(variant: DOVRCRA0_A) -> Self {
372 variant as u8 != 0
373 }
374}
375impl DOVRCRA0_R {
376 #[doc = "Get enumerated values variant"]
377 #[inline(always)]
378 pub fn variant(&self) -> DOVRCRA0_A {
379 match self.bits {
380 false => DOVRCRA0_A::_0,
381 true => DOVRCRA0_A::_1,
382 }
383 }
384 #[doc = "Checks if the value of the field is `_0`"]
385 #[inline(always)]
386 pub fn is_0(&self) -> bool {
387 *self == DOVRCRA0_A::_0
388 }
389 #[doc = "Checks if the value of the field is `_1`"]
390 #[inline(always)]
391 pub fn is_1(&self) -> bool {
392 *self == DOVRCRA0_A::_1
393 }
394}
395#[doc = "Field `DOVRCRB0` reader - USB OVRCURB Interrupt Source Recovery"]
396pub type DOVRCRB0_R = crate::BitReader<DOVRCRB0_A>;
397#[doc = "USB OVRCURB Interrupt Source Recovery\n\nValue on reset: 0"]
398#[derive(Clone, Copy, Debug, PartialEq, Eq)]
399pub enum DOVRCRB0_A {
400 #[doc = "0: System has not recovered from Deep Software Standby mode"]
401 _0 = 0,
402 #[doc = "1: System recovered from Deep Software Standby mode because of OVRCURB input"]
403 _1 = 1,
404}
405impl From<DOVRCRB0_A> for bool {
406 #[inline(always)]
407 fn from(variant: DOVRCRB0_A) -> Self {
408 variant as u8 != 0
409 }
410}
411impl DOVRCRB0_R {
412 #[doc = "Get enumerated values variant"]
413 #[inline(always)]
414 pub fn variant(&self) -> DOVRCRB0_A {
415 match self.bits {
416 false => DOVRCRB0_A::_0,
417 true => DOVRCRB0_A::_1,
418 }
419 }
420 #[doc = "Checks if the value of the field is `_0`"]
421 #[inline(always)]
422 pub fn is_0(&self) -> bool {
423 *self == DOVRCRB0_A::_0
424 }
425 #[doc = "Checks if the value of the field is `_1`"]
426 #[inline(always)]
427 pub fn is_1(&self) -> bool {
428 *self == DOVRCRB0_A::_1
429 }
430}
431#[doc = "Field `DVBINT0` reader - USB VBUS Interrupt Source Recovery"]
432pub type DVBINT0_R = crate::BitReader<DVBINT0_A>;
433#[doc = "USB VBUS Interrupt Source Recovery\n\nValue on reset: 0"]
434#[derive(Clone, Copy, Debug, PartialEq, Eq)]
435pub enum DVBINT0_A {
436 #[doc = "0: System has not recovered from Deep Software Standby mode"]
437 _0 = 0,
438 #[doc = "1: System recovered from Deep Software Standby mode because of VBUS input"]
439 _1 = 1,
440}
441impl From<DVBINT0_A> for bool {
442 #[inline(always)]
443 fn from(variant: DVBINT0_A) -> Self {
444 variant as u8 != 0
445 }
446}
447impl DVBINT0_R {
448 #[doc = "Get enumerated values variant"]
449 #[inline(always)]
450 pub fn variant(&self) -> DVBINT0_A {
451 match self.bits {
452 false => DVBINT0_A::_0,
453 true => DVBINT0_A::_1,
454 }
455 }
456 #[doc = "Checks if the value of the field is `_0`"]
457 #[inline(always)]
458 pub fn is_0(&self) -> bool {
459 *self == DVBINT0_A::_0
460 }
461 #[doc = "Checks if the value of the field is `_1`"]
462 #[inline(always)]
463 pub fn is_1(&self) -> bool {
464 *self == DVBINT0_A::_1
465 }
466}
467impl R {
468 #[doc = "Bit 0 - USB DP Interrupt Enable/Clear"]
469 #[inline(always)]
470 pub fn dpinte0(&self) -> DPINTE0_R {
471 DPINTE0_R::new((self.bits & 1) != 0)
472 }
473 #[doc = "Bit 1 - USB DM Interrupt Enable/Clear"]
474 #[inline(always)]
475 pub fn dminte0(&self) -> DMINTE0_R {
476 DMINTE0_R::new(((self.bits >> 1) & 1) != 0)
477 }
478 #[doc = "Bit 4 - USB OVRCURA Interrupt Enable/Clear"]
479 #[inline(always)]
480 pub fn dovrcrae0(&self) -> DOVRCRAE0_R {
481 DOVRCRAE0_R::new(((self.bits >> 4) & 1) != 0)
482 }
483 #[doc = "Bit 5 - USB OVRCURB Interrupt Enable/Clear"]
484 #[inline(always)]
485 pub fn dovrcrbe0(&self) -> DOVRCRBE0_R {
486 DOVRCRBE0_R::new(((self.bits >> 5) & 1) != 0)
487 }
488 #[doc = "Bit 7 - USB VBUS Interrupt Enable/Clear"]
489 #[inline(always)]
490 pub fn dvbse0(&self) -> DVBSE0_R {
491 DVBSE0_R::new(((self.bits >> 7) & 1) != 0)
492 }
493 #[doc = "Bit 16 - USB DP Interrupt Source Recovery"]
494 #[inline(always)]
495 pub fn dpint0(&self) -> DPINT0_R {
496 DPINT0_R::new(((self.bits >> 16) & 1) != 0)
497 }
498 #[doc = "Bit 17 - USB DM Interrupt Source Recovery"]
499 #[inline(always)]
500 pub fn dmint0(&self) -> DMINT0_R {
501 DMINT0_R::new(((self.bits >> 17) & 1) != 0)
502 }
503 #[doc = "Bit 20 - USB OVRCURA Interrupt Source Recovery"]
504 #[inline(always)]
505 pub fn dovrcra0(&self) -> DOVRCRA0_R {
506 DOVRCRA0_R::new(((self.bits >> 20) & 1) != 0)
507 }
508 #[doc = "Bit 21 - USB OVRCURB Interrupt Source Recovery"]
509 #[inline(always)]
510 pub fn dovrcrb0(&self) -> DOVRCRB0_R {
511 DOVRCRB0_R::new(((self.bits >> 21) & 1) != 0)
512 }
513 #[doc = "Bit 23 - USB VBUS Interrupt Source Recovery"]
514 #[inline(always)]
515 pub fn dvbint0(&self) -> DVBINT0_R {
516 DVBINT0_R::new(((self.bits >> 23) & 1) != 0)
517 }
518}
519impl W {
520 #[doc = "Bit 0 - USB DP Interrupt Enable/Clear"]
521 #[inline(always)]
522 #[must_use]
523 pub fn dpinte0(&mut self) -> DPINTE0_W<0> {
524 DPINTE0_W::new(self)
525 }
526 #[doc = "Bit 1 - USB DM Interrupt Enable/Clear"]
527 #[inline(always)]
528 #[must_use]
529 pub fn dminte0(&mut self) -> DMINTE0_W<1> {
530 DMINTE0_W::new(self)
531 }
532 #[doc = "Bit 4 - USB OVRCURA Interrupt Enable/Clear"]
533 #[inline(always)]
534 #[must_use]
535 pub fn dovrcrae0(&mut self) -> DOVRCRAE0_W<4> {
536 DOVRCRAE0_W::new(self)
537 }
538 #[doc = "Bit 5 - USB OVRCURB Interrupt Enable/Clear"]
539 #[inline(always)]
540 #[must_use]
541 pub fn dovrcrbe0(&mut self) -> DOVRCRBE0_W<5> {
542 DOVRCRBE0_W::new(self)
543 }
544 #[doc = "Bit 7 - USB VBUS Interrupt Enable/Clear"]
545 #[inline(always)]
546 #[must_use]
547 pub fn dvbse0(&mut self) -> DVBSE0_W<7> {
548 DVBSE0_W::new(self)
549 }
550 #[doc = "Writes raw bits to the register."]
551 #[inline(always)]
552 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
553 self.0.bits(bits);
554 self
555 }
556}
557#[doc = "Deep Software Standby USB Suspend/Resume Interrupt 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 [dpusr1r](index.html) module"]
558pub struct DPUSR1R_SPEC;
559impl crate::RegisterSpec for DPUSR1R_SPEC {
560 type Ux = u32;
561}
562#[doc = "`read()` method returns [dpusr1r::R](R) reader structure"]
563impl crate::Readable for DPUSR1R_SPEC {
564 type Reader = R;
565}
566#[doc = "`write(|w| ..)` method takes [dpusr1r::W](W) writer structure"]
567impl crate::Writable for DPUSR1R_SPEC {
568 type Writer = W;
569 const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
570 const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
571}
572#[doc = "`reset()` method sets DPUSR1R to value 0"]
573impl crate::Resettable for DPUSR1R_SPEC {
574 const RESET_VALUE: Self::Ux = 0;
575}