nrf52840_pac/usbd/
epinen.rs

1#[doc = "Register `EPINEN` reader"]
2pub struct R(crate::R<EPINEN_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<EPINEN_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<EPINEN_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<EPINEN_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Register `EPINEN` writer"]
17pub struct W(crate::W<EPINEN_SPEC>);
18impl core::ops::Deref for W {
19    type Target = crate::W<EPINEN_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<EPINEN_SPEC>> for W {
32    #[inline(always)]
33    fn from(writer: crate::W<EPINEN_SPEC>) -> Self {
34        W(writer)
35    }
36}
37#[doc = "Field `IN0` reader - Enable IN endpoint 0"]
38pub type IN0_R = crate::BitReader<IN0_A>;
39#[doc = "Enable IN endpoint 0\n\nValue on reset: 1"]
40#[derive(Clone, Copy, Debug, PartialEq)]
41pub enum IN0_A {
42    #[doc = "0: Disable endpoint IN 0 (no response to IN tokens)"]
43    DISABLE = 0,
44    #[doc = "1: Enable endpoint IN 0 (response to IN tokens)"]
45    ENABLE = 1,
46}
47impl From<IN0_A> for bool {
48    #[inline(always)]
49    fn from(variant: IN0_A) -> Self {
50        variant as u8 != 0
51    }
52}
53impl IN0_R {
54    #[doc = "Get enumerated values variant"]
55    #[inline(always)]
56    pub fn variant(&self) -> IN0_A {
57        match self.bits {
58            false => IN0_A::DISABLE,
59            true => IN0_A::ENABLE,
60        }
61    }
62    #[doc = "Checks if the value of the field is `DISABLE`"]
63    #[inline(always)]
64    pub fn is_disable(&self) -> bool {
65        *self == IN0_A::DISABLE
66    }
67    #[doc = "Checks if the value of the field is `ENABLE`"]
68    #[inline(always)]
69    pub fn is_enable(&self) -> bool {
70        *self == IN0_A::ENABLE
71    }
72}
73#[doc = "Field `IN0` writer - Enable IN endpoint 0"]
74pub type IN0_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN0_A, O>;
75impl<'a, const O: u8> IN0_W<'a, O> {
76    #[doc = "Disable endpoint IN 0 (no response to IN tokens)"]
77    #[inline(always)]
78    pub fn disable(self) -> &'a mut W {
79        self.variant(IN0_A::DISABLE)
80    }
81    #[doc = "Enable endpoint IN 0 (response to IN tokens)"]
82    #[inline(always)]
83    pub fn enable(self) -> &'a mut W {
84        self.variant(IN0_A::ENABLE)
85    }
86}
87#[doc = "Field `IN1` reader - Enable IN endpoint 1"]
88pub type IN1_R = crate::BitReader<IN1_A>;
89#[doc = "Enable IN endpoint 1\n\nValue on reset: 0"]
90#[derive(Clone, Copy, Debug, PartialEq)]
91pub enum IN1_A {
92    #[doc = "0: Disable endpoint IN 1 (no response to IN tokens)"]
93    DISABLE = 0,
94    #[doc = "1: Enable endpoint IN 1 (response to IN tokens)"]
95    ENABLE = 1,
96}
97impl From<IN1_A> for bool {
98    #[inline(always)]
99    fn from(variant: IN1_A) -> Self {
100        variant as u8 != 0
101    }
102}
103impl IN1_R {
104    #[doc = "Get enumerated values variant"]
105    #[inline(always)]
106    pub fn variant(&self) -> IN1_A {
107        match self.bits {
108            false => IN1_A::DISABLE,
109            true => IN1_A::ENABLE,
110        }
111    }
112    #[doc = "Checks if the value of the field is `DISABLE`"]
113    #[inline(always)]
114    pub fn is_disable(&self) -> bool {
115        *self == IN1_A::DISABLE
116    }
117    #[doc = "Checks if the value of the field is `ENABLE`"]
118    #[inline(always)]
119    pub fn is_enable(&self) -> bool {
120        *self == IN1_A::ENABLE
121    }
122}
123#[doc = "Field `IN1` writer - Enable IN endpoint 1"]
124pub type IN1_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN1_A, O>;
125impl<'a, const O: u8> IN1_W<'a, O> {
126    #[doc = "Disable endpoint IN 1 (no response to IN tokens)"]
127    #[inline(always)]
128    pub fn disable(self) -> &'a mut W {
129        self.variant(IN1_A::DISABLE)
130    }
131    #[doc = "Enable endpoint IN 1 (response to IN tokens)"]
132    #[inline(always)]
133    pub fn enable(self) -> &'a mut W {
134        self.variant(IN1_A::ENABLE)
135    }
136}
137#[doc = "Field `IN2` reader - Enable IN endpoint 2"]
138pub type IN2_R = crate::BitReader<IN2_A>;
139#[doc = "Enable IN endpoint 2\n\nValue on reset: 0"]
140#[derive(Clone, Copy, Debug, PartialEq)]
141pub enum IN2_A {
142    #[doc = "0: Disable endpoint IN 2 (no response to IN tokens)"]
143    DISABLE = 0,
144    #[doc = "1: Enable endpoint IN 2 (response to IN tokens)"]
145    ENABLE = 1,
146}
147impl From<IN2_A> for bool {
148    #[inline(always)]
149    fn from(variant: IN2_A) -> Self {
150        variant as u8 != 0
151    }
152}
153impl IN2_R {
154    #[doc = "Get enumerated values variant"]
155    #[inline(always)]
156    pub fn variant(&self) -> IN2_A {
157        match self.bits {
158            false => IN2_A::DISABLE,
159            true => IN2_A::ENABLE,
160        }
161    }
162    #[doc = "Checks if the value of the field is `DISABLE`"]
163    #[inline(always)]
164    pub fn is_disable(&self) -> bool {
165        *self == IN2_A::DISABLE
166    }
167    #[doc = "Checks if the value of the field is `ENABLE`"]
168    #[inline(always)]
169    pub fn is_enable(&self) -> bool {
170        *self == IN2_A::ENABLE
171    }
172}
173#[doc = "Field `IN2` writer - Enable IN endpoint 2"]
174pub type IN2_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN2_A, O>;
175impl<'a, const O: u8> IN2_W<'a, O> {
176    #[doc = "Disable endpoint IN 2 (no response to IN tokens)"]
177    #[inline(always)]
178    pub fn disable(self) -> &'a mut W {
179        self.variant(IN2_A::DISABLE)
180    }
181    #[doc = "Enable endpoint IN 2 (response to IN tokens)"]
182    #[inline(always)]
183    pub fn enable(self) -> &'a mut W {
184        self.variant(IN2_A::ENABLE)
185    }
186}
187#[doc = "Field `IN3` reader - Enable IN endpoint 3"]
188pub type IN3_R = crate::BitReader<IN3_A>;
189#[doc = "Enable IN endpoint 3\n\nValue on reset: 0"]
190#[derive(Clone, Copy, Debug, PartialEq)]
191pub enum IN3_A {
192    #[doc = "0: Disable endpoint IN 3 (no response to IN tokens)"]
193    DISABLE = 0,
194    #[doc = "1: Enable endpoint IN 3 (response to IN tokens)"]
195    ENABLE = 1,
196}
197impl From<IN3_A> for bool {
198    #[inline(always)]
199    fn from(variant: IN3_A) -> Self {
200        variant as u8 != 0
201    }
202}
203impl IN3_R {
204    #[doc = "Get enumerated values variant"]
205    #[inline(always)]
206    pub fn variant(&self) -> IN3_A {
207        match self.bits {
208            false => IN3_A::DISABLE,
209            true => IN3_A::ENABLE,
210        }
211    }
212    #[doc = "Checks if the value of the field is `DISABLE`"]
213    #[inline(always)]
214    pub fn is_disable(&self) -> bool {
215        *self == IN3_A::DISABLE
216    }
217    #[doc = "Checks if the value of the field is `ENABLE`"]
218    #[inline(always)]
219    pub fn is_enable(&self) -> bool {
220        *self == IN3_A::ENABLE
221    }
222}
223#[doc = "Field `IN3` writer - Enable IN endpoint 3"]
224pub type IN3_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN3_A, O>;
225impl<'a, const O: u8> IN3_W<'a, O> {
226    #[doc = "Disable endpoint IN 3 (no response to IN tokens)"]
227    #[inline(always)]
228    pub fn disable(self) -> &'a mut W {
229        self.variant(IN3_A::DISABLE)
230    }
231    #[doc = "Enable endpoint IN 3 (response to IN tokens)"]
232    #[inline(always)]
233    pub fn enable(self) -> &'a mut W {
234        self.variant(IN3_A::ENABLE)
235    }
236}
237#[doc = "Field `IN4` reader - Enable IN endpoint 4"]
238pub type IN4_R = crate::BitReader<IN4_A>;
239#[doc = "Enable IN endpoint 4\n\nValue on reset: 0"]
240#[derive(Clone, Copy, Debug, PartialEq)]
241pub enum IN4_A {
242    #[doc = "0: Disable endpoint IN 4 (no response to IN tokens)"]
243    DISABLE = 0,
244    #[doc = "1: Enable endpoint IN 4 (response to IN tokens)"]
245    ENABLE = 1,
246}
247impl From<IN4_A> for bool {
248    #[inline(always)]
249    fn from(variant: IN4_A) -> Self {
250        variant as u8 != 0
251    }
252}
253impl IN4_R {
254    #[doc = "Get enumerated values variant"]
255    #[inline(always)]
256    pub fn variant(&self) -> IN4_A {
257        match self.bits {
258            false => IN4_A::DISABLE,
259            true => IN4_A::ENABLE,
260        }
261    }
262    #[doc = "Checks if the value of the field is `DISABLE`"]
263    #[inline(always)]
264    pub fn is_disable(&self) -> bool {
265        *self == IN4_A::DISABLE
266    }
267    #[doc = "Checks if the value of the field is `ENABLE`"]
268    #[inline(always)]
269    pub fn is_enable(&self) -> bool {
270        *self == IN4_A::ENABLE
271    }
272}
273#[doc = "Field `IN4` writer - Enable IN endpoint 4"]
274pub type IN4_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN4_A, O>;
275impl<'a, const O: u8> IN4_W<'a, O> {
276    #[doc = "Disable endpoint IN 4 (no response to IN tokens)"]
277    #[inline(always)]
278    pub fn disable(self) -> &'a mut W {
279        self.variant(IN4_A::DISABLE)
280    }
281    #[doc = "Enable endpoint IN 4 (response to IN tokens)"]
282    #[inline(always)]
283    pub fn enable(self) -> &'a mut W {
284        self.variant(IN4_A::ENABLE)
285    }
286}
287#[doc = "Field `IN5` reader - Enable IN endpoint 5"]
288pub type IN5_R = crate::BitReader<IN5_A>;
289#[doc = "Enable IN endpoint 5\n\nValue on reset: 0"]
290#[derive(Clone, Copy, Debug, PartialEq)]
291pub enum IN5_A {
292    #[doc = "0: Disable endpoint IN 5 (no response to IN tokens)"]
293    DISABLE = 0,
294    #[doc = "1: Enable endpoint IN 5 (response to IN tokens)"]
295    ENABLE = 1,
296}
297impl From<IN5_A> for bool {
298    #[inline(always)]
299    fn from(variant: IN5_A) -> Self {
300        variant as u8 != 0
301    }
302}
303impl IN5_R {
304    #[doc = "Get enumerated values variant"]
305    #[inline(always)]
306    pub fn variant(&self) -> IN5_A {
307        match self.bits {
308            false => IN5_A::DISABLE,
309            true => IN5_A::ENABLE,
310        }
311    }
312    #[doc = "Checks if the value of the field is `DISABLE`"]
313    #[inline(always)]
314    pub fn is_disable(&self) -> bool {
315        *self == IN5_A::DISABLE
316    }
317    #[doc = "Checks if the value of the field is `ENABLE`"]
318    #[inline(always)]
319    pub fn is_enable(&self) -> bool {
320        *self == IN5_A::ENABLE
321    }
322}
323#[doc = "Field `IN5` writer - Enable IN endpoint 5"]
324pub type IN5_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN5_A, O>;
325impl<'a, const O: u8> IN5_W<'a, O> {
326    #[doc = "Disable endpoint IN 5 (no response to IN tokens)"]
327    #[inline(always)]
328    pub fn disable(self) -> &'a mut W {
329        self.variant(IN5_A::DISABLE)
330    }
331    #[doc = "Enable endpoint IN 5 (response to IN tokens)"]
332    #[inline(always)]
333    pub fn enable(self) -> &'a mut W {
334        self.variant(IN5_A::ENABLE)
335    }
336}
337#[doc = "Field `IN6` reader - Enable IN endpoint 6"]
338pub type IN6_R = crate::BitReader<IN6_A>;
339#[doc = "Enable IN endpoint 6\n\nValue on reset: 0"]
340#[derive(Clone, Copy, Debug, PartialEq)]
341pub enum IN6_A {
342    #[doc = "0: Disable endpoint IN 6 (no response to IN tokens)"]
343    DISABLE = 0,
344    #[doc = "1: Enable endpoint IN 6 (response to IN tokens)"]
345    ENABLE = 1,
346}
347impl From<IN6_A> for bool {
348    #[inline(always)]
349    fn from(variant: IN6_A) -> Self {
350        variant as u8 != 0
351    }
352}
353impl IN6_R {
354    #[doc = "Get enumerated values variant"]
355    #[inline(always)]
356    pub fn variant(&self) -> IN6_A {
357        match self.bits {
358            false => IN6_A::DISABLE,
359            true => IN6_A::ENABLE,
360        }
361    }
362    #[doc = "Checks if the value of the field is `DISABLE`"]
363    #[inline(always)]
364    pub fn is_disable(&self) -> bool {
365        *self == IN6_A::DISABLE
366    }
367    #[doc = "Checks if the value of the field is `ENABLE`"]
368    #[inline(always)]
369    pub fn is_enable(&self) -> bool {
370        *self == IN6_A::ENABLE
371    }
372}
373#[doc = "Field `IN6` writer - Enable IN endpoint 6"]
374pub type IN6_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN6_A, O>;
375impl<'a, const O: u8> IN6_W<'a, O> {
376    #[doc = "Disable endpoint IN 6 (no response to IN tokens)"]
377    #[inline(always)]
378    pub fn disable(self) -> &'a mut W {
379        self.variant(IN6_A::DISABLE)
380    }
381    #[doc = "Enable endpoint IN 6 (response to IN tokens)"]
382    #[inline(always)]
383    pub fn enable(self) -> &'a mut W {
384        self.variant(IN6_A::ENABLE)
385    }
386}
387#[doc = "Field `IN7` reader - Enable IN endpoint 7"]
388pub type IN7_R = crate::BitReader<IN7_A>;
389#[doc = "Enable IN endpoint 7\n\nValue on reset: 0"]
390#[derive(Clone, Copy, Debug, PartialEq)]
391pub enum IN7_A {
392    #[doc = "0: Disable endpoint IN 7 (no response to IN tokens)"]
393    DISABLE = 0,
394    #[doc = "1: Enable endpoint IN 7 (response to IN tokens)"]
395    ENABLE = 1,
396}
397impl From<IN7_A> for bool {
398    #[inline(always)]
399    fn from(variant: IN7_A) -> Self {
400        variant as u8 != 0
401    }
402}
403impl IN7_R {
404    #[doc = "Get enumerated values variant"]
405    #[inline(always)]
406    pub fn variant(&self) -> IN7_A {
407        match self.bits {
408            false => IN7_A::DISABLE,
409            true => IN7_A::ENABLE,
410        }
411    }
412    #[doc = "Checks if the value of the field is `DISABLE`"]
413    #[inline(always)]
414    pub fn is_disable(&self) -> bool {
415        *self == IN7_A::DISABLE
416    }
417    #[doc = "Checks if the value of the field is `ENABLE`"]
418    #[inline(always)]
419    pub fn is_enable(&self) -> bool {
420        *self == IN7_A::ENABLE
421    }
422}
423#[doc = "Field `IN7` writer - Enable IN endpoint 7"]
424pub type IN7_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, IN7_A, O>;
425impl<'a, const O: u8> IN7_W<'a, O> {
426    #[doc = "Disable endpoint IN 7 (no response to IN tokens)"]
427    #[inline(always)]
428    pub fn disable(self) -> &'a mut W {
429        self.variant(IN7_A::DISABLE)
430    }
431    #[doc = "Enable endpoint IN 7 (response to IN tokens)"]
432    #[inline(always)]
433    pub fn enable(self) -> &'a mut W {
434        self.variant(IN7_A::ENABLE)
435    }
436}
437#[doc = "Field `ISOIN` reader - Enable ISO IN endpoint"]
438pub type ISOIN_R = crate::BitReader<ISOIN_A>;
439#[doc = "Enable ISO IN endpoint\n\nValue on reset: 0"]
440#[derive(Clone, Copy, Debug, PartialEq)]
441pub enum ISOIN_A {
442    #[doc = "0: Disable ISO IN endpoint 8"]
443    DISABLE = 0,
444    #[doc = "1: Enable ISO IN endpoint 8"]
445    ENABLE = 1,
446}
447impl From<ISOIN_A> for bool {
448    #[inline(always)]
449    fn from(variant: ISOIN_A) -> Self {
450        variant as u8 != 0
451    }
452}
453impl ISOIN_R {
454    #[doc = "Get enumerated values variant"]
455    #[inline(always)]
456    pub fn variant(&self) -> ISOIN_A {
457        match self.bits {
458            false => ISOIN_A::DISABLE,
459            true => ISOIN_A::ENABLE,
460        }
461    }
462    #[doc = "Checks if the value of the field is `DISABLE`"]
463    #[inline(always)]
464    pub fn is_disable(&self) -> bool {
465        *self == ISOIN_A::DISABLE
466    }
467    #[doc = "Checks if the value of the field is `ENABLE`"]
468    #[inline(always)]
469    pub fn is_enable(&self) -> bool {
470        *self == ISOIN_A::ENABLE
471    }
472}
473#[doc = "Field `ISOIN` writer - Enable ISO IN endpoint"]
474pub type ISOIN_W<'a, const O: u8> = crate::BitWriter<'a, u32, EPINEN_SPEC, ISOIN_A, O>;
475impl<'a, const O: u8> ISOIN_W<'a, O> {
476    #[doc = "Disable ISO IN endpoint 8"]
477    #[inline(always)]
478    pub fn disable(self) -> &'a mut W {
479        self.variant(ISOIN_A::DISABLE)
480    }
481    #[doc = "Enable ISO IN endpoint 8"]
482    #[inline(always)]
483    pub fn enable(self) -> &'a mut W {
484        self.variant(ISOIN_A::ENABLE)
485    }
486}
487impl R {
488    #[doc = "Bit 0 - Enable IN endpoint 0"]
489    #[inline(always)]
490    pub fn in0(&self) -> IN0_R {
491        IN0_R::new((self.bits & 1) != 0)
492    }
493    #[doc = "Bit 1 - Enable IN endpoint 1"]
494    #[inline(always)]
495    pub fn in1(&self) -> IN1_R {
496        IN1_R::new(((self.bits >> 1) & 1) != 0)
497    }
498    #[doc = "Bit 2 - Enable IN endpoint 2"]
499    #[inline(always)]
500    pub fn in2(&self) -> IN2_R {
501        IN2_R::new(((self.bits >> 2) & 1) != 0)
502    }
503    #[doc = "Bit 3 - Enable IN endpoint 3"]
504    #[inline(always)]
505    pub fn in3(&self) -> IN3_R {
506        IN3_R::new(((self.bits >> 3) & 1) != 0)
507    }
508    #[doc = "Bit 4 - Enable IN endpoint 4"]
509    #[inline(always)]
510    pub fn in4(&self) -> IN4_R {
511        IN4_R::new(((self.bits >> 4) & 1) != 0)
512    }
513    #[doc = "Bit 5 - Enable IN endpoint 5"]
514    #[inline(always)]
515    pub fn in5(&self) -> IN5_R {
516        IN5_R::new(((self.bits >> 5) & 1) != 0)
517    }
518    #[doc = "Bit 6 - Enable IN endpoint 6"]
519    #[inline(always)]
520    pub fn in6(&self) -> IN6_R {
521        IN6_R::new(((self.bits >> 6) & 1) != 0)
522    }
523    #[doc = "Bit 7 - Enable IN endpoint 7"]
524    #[inline(always)]
525    pub fn in7(&self) -> IN7_R {
526        IN7_R::new(((self.bits >> 7) & 1) != 0)
527    }
528    #[doc = "Bit 8 - Enable ISO IN endpoint"]
529    #[inline(always)]
530    pub fn isoin(&self) -> ISOIN_R {
531        ISOIN_R::new(((self.bits >> 8) & 1) != 0)
532    }
533}
534impl W {
535    #[doc = "Bit 0 - Enable IN endpoint 0"]
536    #[inline(always)]
537    pub fn in0(&mut self) -> IN0_W<0> {
538        IN0_W::new(self)
539    }
540    #[doc = "Bit 1 - Enable IN endpoint 1"]
541    #[inline(always)]
542    pub fn in1(&mut self) -> IN1_W<1> {
543        IN1_W::new(self)
544    }
545    #[doc = "Bit 2 - Enable IN endpoint 2"]
546    #[inline(always)]
547    pub fn in2(&mut self) -> IN2_W<2> {
548        IN2_W::new(self)
549    }
550    #[doc = "Bit 3 - Enable IN endpoint 3"]
551    #[inline(always)]
552    pub fn in3(&mut self) -> IN3_W<3> {
553        IN3_W::new(self)
554    }
555    #[doc = "Bit 4 - Enable IN endpoint 4"]
556    #[inline(always)]
557    pub fn in4(&mut self) -> IN4_W<4> {
558        IN4_W::new(self)
559    }
560    #[doc = "Bit 5 - Enable IN endpoint 5"]
561    #[inline(always)]
562    pub fn in5(&mut self) -> IN5_W<5> {
563        IN5_W::new(self)
564    }
565    #[doc = "Bit 6 - Enable IN endpoint 6"]
566    #[inline(always)]
567    pub fn in6(&mut self) -> IN6_W<6> {
568        IN6_W::new(self)
569    }
570    #[doc = "Bit 7 - Enable IN endpoint 7"]
571    #[inline(always)]
572    pub fn in7(&mut self) -> IN7_W<7> {
573        IN7_W::new(self)
574    }
575    #[doc = "Bit 8 - Enable ISO IN endpoint"]
576    #[inline(always)]
577    pub fn isoin(&mut self) -> ISOIN_W<8> {
578        ISOIN_W::new(self)
579    }
580    #[doc = "Writes raw bits to the register."]
581    #[inline(always)]
582    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
583        self.0.bits(bits);
584        self
585    }
586}
587#[doc = "Endpoint IN enable\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 [epinen](index.html) module"]
588pub struct EPINEN_SPEC;
589impl crate::RegisterSpec for EPINEN_SPEC {
590    type Ux = u32;
591}
592#[doc = "`read()` method returns [epinen::R](R) reader structure"]
593impl crate::Readable for EPINEN_SPEC {
594    type Reader = R;
595}
596#[doc = "`write(|w| ..)` method takes [epinen::W](W) writer structure"]
597impl crate::Writable for EPINEN_SPEC {
598    type Writer = W;
599}
600#[doc = "`reset()` method sets EPINEN to value 0x01"]
601impl crate::Resettable for EPINEN_SPEC {
602    #[inline(always)]
603    fn reset_value() -> Self::Ux {
604        0x01
605    }
606}