1#[doc = "Register `EPSTATUS` reader"]
2pub struct R(crate::R<EPSTATUS_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<EPSTATUS_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<EPSTATUS_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<EPSTATUS_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `EPSTATUS` writer"]
17pub struct W(crate::W<EPSTATUS_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<EPSTATUS_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<EPSTATUS_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<EPSTATUS_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `EPIN0` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
38pub type EPIN0_R = crate::BitReader<EPIN0_A>;
39#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq)]
41pub enum EPIN0_A {
42 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
43 NO_DATA = 0,
44 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
45 DATA_DONE = 1,
46}
47impl From<EPIN0_A> for bool {
48 #[inline(always)]
49 fn from(variant: EPIN0_A) -> Self {
50 variant as u8 != 0
51 }
52}
53impl EPIN0_R {
54 #[doc = "Get enumerated values variant"]
55 #[inline(always)]
56 pub fn variant(&self) -> EPIN0_A {
57 match self.bits {
58 false => EPIN0_A::NO_DATA,
59 true => EPIN0_A::DATA_DONE,
60 }
61 }
62 #[doc = "Checks if the value of the field is `NO_DATA`"]
63 #[inline(always)]
64 pub fn is_no_data(&self) -> bool {
65 *self == EPIN0_A::NO_DATA
66 }
67 #[doc = "Checks if the value of the field is `DATA_DONE`"]
68 #[inline(always)]
69 pub fn is_data_done(&self) -> bool {
70 *self == EPIN0_A::DATA_DONE
71 }
72}
73#[doc = "Field `EPIN0` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
74pub type EPIN0_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN0_A, O>;
75impl<'a, const O: u8> EPIN0_W<'a, O> {
76 #[doc = "EasyDMA registers have not been captured for this endpoint"]
77 #[inline(always)]
78 pub fn no_data(self) -> &'a mut W {
79 self.variant(EPIN0_A::NO_DATA)
80 }
81 #[doc = "EasyDMA registers have been captured for this endpoint"]
82 #[inline(always)]
83 pub fn data_done(self) -> &'a mut W {
84 self.variant(EPIN0_A::DATA_DONE)
85 }
86}
87#[doc = "Field `EPIN1` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
88pub type EPIN1_R = crate::BitReader<EPIN1_A>;
89#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
90#[derive(Clone, Copy, Debug, PartialEq)]
91pub enum EPIN1_A {
92 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
93 NO_DATA = 0,
94 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
95 DATA_DONE = 1,
96}
97impl From<EPIN1_A> for bool {
98 #[inline(always)]
99 fn from(variant: EPIN1_A) -> Self {
100 variant as u8 != 0
101 }
102}
103impl EPIN1_R {
104 #[doc = "Get enumerated values variant"]
105 #[inline(always)]
106 pub fn variant(&self) -> EPIN1_A {
107 match self.bits {
108 false => EPIN1_A::NO_DATA,
109 true => EPIN1_A::DATA_DONE,
110 }
111 }
112 #[doc = "Checks if the value of the field is `NO_DATA`"]
113 #[inline(always)]
114 pub fn is_no_data(&self) -> bool {
115 *self == EPIN1_A::NO_DATA
116 }
117 #[doc = "Checks if the value of the field is `DATA_DONE`"]
118 #[inline(always)]
119 pub fn is_data_done(&self) -> bool {
120 *self == EPIN1_A::DATA_DONE
121 }
122}
123#[doc = "Field `EPIN1` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
124pub type EPIN1_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN1_A, O>;
125impl<'a, const O: u8> EPIN1_W<'a, O> {
126 #[doc = "EasyDMA registers have not been captured for this endpoint"]
127 #[inline(always)]
128 pub fn no_data(self) -> &'a mut W {
129 self.variant(EPIN1_A::NO_DATA)
130 }
131 #[doc = "EasyDMA registers have been captured for this endpoint"]
132 #[inline(always)]
133 pub fn data_done(self) -> &'a mut W {
134 self.variant(EPIN1_A::DATA_DONE)
135 }
136}
137#[doc = "Field `EPIN2` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
138pub type EPIN2_R = crate::BitReader<EPIN2_A>;
139#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
140#[derive(Clone, Copy, Debug, PartialEq)]
141pub enum EPIN2_A {
142 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
143 NO_DATA = 0,
144 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
145 DATA_DONE = 1,
146}
147impl From<EPIN2_A> for bool {
148 #[inline(always)]
149 fn from(variant: EPIN2_A) -> Self {
150 variant as u8 != 0
151 }
152}
153impl EPIN2_R {
154 #[doc = "Get enumerated values variant"]
155 #[inline(always)]
156 pub fn variant(&self) -> EPIN2_A {
157 match self.bits {
158 false => EPIN2_A::NO_DATA,
159 true => EPIN2_A::DATA_DONE,
160 }
161 }
162 #[doc = "Checks if the value of the field is `NO_DATA`"]
163 #[inline(always)]
164 pub fn is_no_data(&self) -> bool {
165 *self == EPIN2_A::NO_DATA
166 }
167 #[doc = "Checks if the value of the field is `DATA_DONE`"]
168 #[inline(always)]
169 pub fn is_data_done(&self) -> bool {
170 *self == EPIN2_A::DATA_DONE
171 }
172}
173#[doc = "Field `EPIN2` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
174pub type EPIN2_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN2_A, O>;
175impl<'a, const O: u8> EPIN2_W<'a, O> {
176 #[doc = "EasyDMA registers have not been captured for this endpoint"]
177 #[inline(always)]
178 pub fn no_data(self) -> &'a mut W {
179 self.variant(EPIN2_A::NO_DATA)
180 }
181 #[doc = "EasyDMA registers have been captured for this endpoint"]
182 #[inline(always)]
183 pub fn data_done(self) -> &'a mut W {
184 self.variant(EPIN2_A::DATA_DONE)
185 }
186}
187#[doc = "Field `EPIN3` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
188pub type EPIN3_R = crate::BitReader<EPIN3_A>;
189#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
190#[derive(Clone, Copy, Debug, PartialEq)]
191pub enum EPIN3_A {
192 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
193 NO_DATA = 0,
194 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
195 DATA_DONE = 1,
196}
197impl From<EPIN3_A> for bool {
198 #[inline(always)]
199 fn from(variant: EPIN3_A) -> Self {
200 variant as u8 != 0
201 }
202}
203impl EPIN3_R {
204 #[doc = "Get enumerated values variant"]
205 #[inline(always)]
206 pub fn variant(&self) -> EPIN3_A {
207 match self.bits {
208 false => EPIN3_A::NO_DATA,
209 true => EPIN3_A::DATA_DONE,
210 }
211 }
212 #[doc = "Checks if the value of the field is `NO_DATA`"]
213 #[inline(always)]
214 pub fn is_no_data(&self) -> bool {
215 *self == EPIN3_A::NO_DATA
216 }
217 #[doc = "Checks if the value of the field is `DATA_DONE`"]
218 #[inline(always)]
219 pub fn is_data_done(&self) -> bool {
220 *self == EPIN3_A::DATA_DONE
221 }
222}
223#[doc = "Field `EPIN3` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
224pub type EPIN3_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN3_A, O>;
225impl<'a, const O: u8> EPIN3_W<'a, O> {
226 #[doc = "EasyDMA registers have not been captured for this endpoint"]
227 #[inline(always)]
228 pub fn no_data(self) -> &'a mut W {
229 self.variant(EPIN3_A::NO_DATA)
230 }
231 #[doc = "EasyDMA registers have been captured for this endpoint"]
232 #[inline(always)]
233 pub fn data_done(self) -> &'a mut W {
234 self.variant(EPIN3_A::DATA_DONE)
235 }
236}
237#[doc = "Field `EPIN4` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
238pub type EPIN4_R = crate::BitReader<EPIN4_A>;
239#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
240#[derive(Clone, Copy, Debug, PartialEq)]
241pub enum EPIN4_A {
242 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
243 NO_DATA = 0,
244 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
245 DATA_DONE = 1,
246}
247impl From<EPIN4_A> for bool {
248 #[inline(always)]
249 fn from(variant: EPIN4_A) -> Self {
250 variant as u8 != 0
251 }
252}
253impl EPIN4_R {
254 #[doc = "Get enumerated values variant"]
255 #[inline(always)]
256 pub fn variant(&self) -> EPIN4_A {
257 match self.bits {
258 false => EPIN4_A::NO_DATA,
259 true => EPIN4_A::DATA_DONE,
260 }
261 }
262 #[doc = "Checks if the value of the field is `NO_DATA`"]
263 #[inline(always)]
264 pub fn is_no_data(&self) -> bool {
265 *self == EPIN4_A::NO_DATA
266 }
267 #[doc = "Checks if the value of the field is `DATA_DONE`"]
268 #[inline(always)]
269 pub fn is_data_done(&self) -> bool {
270 *self == EPIN4_A::DATA_DONE
271 }
272}
273#[doc = "Field `EPIN4` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
274pub type EPIN4_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN4_A, O>;
275impl<'a, const O: u8> EPIN4_W<'a, O> {
276 #[doc = "EasyDMA registers have not been captured for this endpoint"]
277 #[inline(always)]
278 pub fn no_data(self) -> &'a mut W {
279 self.variant(EPIN4_A::NO_DATA)
280 }
281 #[doc = "EasyDMA registers have been captured for this endpoint"]
282 #[inline(always)]
283 pub fn data_done(self) -> &'a mut W {
284 self.variant(EPIN4_A::DATA_DONE)
285 }
286}
287#[doc = "Field `EPIN5` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
288pub type EPIN5_R = crate::BitReader<EPIN5_A>;
289#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
290#[derive(Clone, Copy, Debug, PartialEq)]
291pub enum EPIN5_A {
292 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
293 NO_DATA = 0,
294 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
295 DATA_DONE = 1,
296}
297impl From<EPIN5_A> for bool {
298 #[inline(always)]
299 fn from(variant: EPIN5_A) -> Self {
300 variant as u8 != 0
301 }
302}
303impl EPIN5_R {
304 #[doc = "Get enumerated values variant"]
305 #[inline(always)]
306 pub fn variant(&self) -> EPIN5_A {
307 match self.bits {
308 false => EPIN5_A::NO_DATA,
309 true => EPIN5_A::DATA_DONE,
310 }
311 }
312 #[doc = "Checks if the value of the field is `NO_DATA`"]
313 #[inline(always)]
314 pub fn is_no_data(&self) -> bool {
315 *self == EPIN5_A::NO_DATA
316 }
317 #[doc = "Checks if the value of the field is `DATA_DONE`"]
318 #[inline(always)]
319 pub fn is_data_done(&self) -> bool {
320 *self == EPIN5_A::DATA_DONE
321 }
322}
323#[doc = "Field `EPIN5` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
324pub type EPIN5_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN5_A, O>;
325impl<'a, const O: u8> EPIN5_W<'a, O> {
326 #[doc = "EasyDMA registers have not been captured for this endpoint"]
327 #[inline(always)]
328 pub fn no_data(self) -> &'a mut W {
329 self.variant(EPIN5_A::NO_DATA)
330 }
331 #[doc = "EasyDMA registers have been captured for this endpoint"]
332 #[inline(always)]
333 pub fn data_done(self) -> &'a mut W {
334 self.variant(EPIN5_A::DATA_DONE)
335 }
336}
337#[doc = "Field `EPIN6` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
338pub type EPIN6_R = crate::BitReader<EPIN6_A>;
339#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
340#[derive(Clone, Copy, Debug, PartialEq)]
341pub enum EPIN6_A {
342 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
343 NO_DATA = 0,
344 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
345 DATA_DONE = 1,
346}
347impl From<EPIN6_A> for bool {
348 #[inline(always)]
349 fn from(variant: EPIN6_A) -> Self {
350 variant as u8 != 0
351 }
352}
353impl EPIN6_R {
354 #[doc = "Get enumerated values variant"]
355 #[inline(always)]
356 pub fn variant(&self) -> EPIN6_A {
357 match self.bits {
358 false => EPIN6_A::NO_DATA,
359 true => EPIN6_A::DATA_DONE,
360 }
361 }
362 #[doc = "Checks if the value of the field is `NO_DATA`"]
363 #[inline(always)]
364 pub fn is_no_data(&self) -> bool {
365 *self == EPIN6_A::NO_DATA
366 }
367 #[doc = "Checks if the value of the field is `DATA_DONE`"]
368 #[inline(always)]
369 pub fn is_data_done(&self) -> bool {
370 *self == EPIN6_A::DATA_DONE
371 }
372}
373#[doc = "Field `EPIN6` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
374pub type EPIN6_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN6_A, O>;
375impl<'a, const O: u8> EPIN6_W<'a, O> {
376 #[doc = "EasyDMA registers have not been captured for this endpoint"]
377 #[inline(always)]
378 pub fn no_data(self) -> &'a mut W {
379 self.variant(EPIN6_A::NO_DATA)
380 }
381 #[doc = "EasyDMA registers have been captured for this endpoint"]
382 #[inline(always)]
383 pub fn data_done(self) -> &'a mut W {
384 self.variant(EPIN6_A::DATA_DONE)
385 }
386}
387#[doc = "Field `EPIN7` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
388pub type EPIN7_R = crate::BitReader<EPIN7_A>;
389#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
390#[derive(Clone, Copy, Debug, PartialEq)]
391pub enum EPIN7_A {
392 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
393 NO_DATA = 0,
394 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
395 DATA_DONE = 1,
396}
397impl From<EPIN7_A> for bool {
398 #[inline(always)]
399 fn from(variant: EPIN7_A) -> Self {
400 variant as u8 != 0
401 }
402}
403impl EPIN7_R {
404 #[doc = "Get enumerated values variant"]
405 #[inline(always)]
406 pub fn variant(&self) -> EPIN7_A {
407 match self.bits {
408 false => EPIN7_A::NO_DATA,
409 true => EPIN7_A::DATA_DONE,
410 }
411 }
412 #[doc = "Checks if the value of the field is `NO_DATA`"]
413 #[inline(always)]
414 pub fn is_no_data(&self) -> bool {
415 *self == EPIN7_A::NO_DATA
416 }
417 #[doc = "Checks if the value of the field is `DATA_DONE`"]
418 #[inline(always)]
419 pub fn is_data_done(&self) -> bool {
420 *self == EPIN7_A::DATA_DONE
421 }
422}
423#[doc = "Field `EPIN7` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
424pub type EPIN7_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN7_A, O>;
425impl<'a, const O: u8> EPIN7_W<'a, O> {
426 #[doc = "EasyDMA registers have not been captured for this endpoint"]
427 #[inline(always)]
428 pub fn no_data(self) -> &'a mut W {
429 self.variant(EPIN7_A::NO_DATA)
430 }
431 #[doc = "EasyDMA registers have been captured for this endpoint"]
432 #[inline(always)]
433 pub fn data_done(self) -> &'a mut W {
434 self.variant(EPIN7_A::DATA_DONE)
435 }
436}
437#[doc = "Field `EPIN8` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
438pub type EPIN8_R = crate::BitReader<EPIN8_A>;
439#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
440#[derive(Clone, Copy, Debug, PartialEq)]
441pub enum EPIN8_A {
442 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
443 NO_DATA = 0,
444 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
445 DATA_DONE = 1,
446}
447impl From<EPIN8_A> for bool {
448 #[inline(always)]
449 fn from(variant: EPIN8_A) -> Self {
450 variant as u8 != 0
451 }
452}
453impl EPIN8_R {
454 #[doc = "Get enumerated values variant"]
455 #[inline(always)]
456 pub fn variant(&self) -> EPIN8_A {
457 match self.bits {
458 false => EPIN8_A::NO_DATA,
459 true => EPIN8_A::DATA_DONE,
460 }
461 }
462 #[doc = "Checks if the value of the field is `NO_DATA`"]
463 #[inline(always)]
464 pub fn is_no_data(&self) -> bool {
465 *self == EPIN8_A::NO_DATA
466 }
467 #[doc = "Checks if the value of the field is `DATA_DONE`"]
468 #[inline(always)]
469 pub fn is_data_done(&self) -> bool {
470 *self == EPIN8_A::DATA_DONE
471 }
472}
473#[doc = "Field `EPIN8` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
474pub type EPIN8_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPIN8_A, O>;
475impl<'a, const O: u8> EPIN8_W<'a, O> {
476 #[doc = "EasyDMA registers have not been captured for this endpoint"]
477 #[inline(always)]
478 pub fn no_data(self) -> &'a mut W {
479 self.variant(EPIN8_A::NO_DATA)
480 }
481 #[doc = "EasyDMA registers have been captured for this endpoint"]
482 #[inline(always)]
483 pub fn data_done(self) -> &'a mut W {
484 self.variant(EPIN8_A::DATA_DONE)
485 }
486}
487#[doc = "Field `EPOUT0` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
488pub type EPOUT0_R = crate::BitReader<EPOUT0_A>;
489#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
490#[derive(Clone, Copy, Debug, PartialEq)]
491pub enum EPOUT0_A {
492 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
493 NO_DATA = 0,
494 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
495 DATA_DONE = 1,
496}
497impl From<EPOUT0_A> for bool {
498 #[inline(always)]
499 fn from(variant: EPOUT0_A) -> Self {
500 variant as u8 != 0
501 }
502}
503impl EPOUT0_R {
504 #[doc = "Get enumerated values variant"]
505 #[inline(always)]
506 pub fn variant(&self) -> EPOUT0_A {
507 match self.bits {
508 false => EPOUT0_A::NO_DATA,
509 true => EPOUT0_A::DATA_DONE,
510 }
511 }
512 #[doc = "Checks if the value of the field is `NO_DATA`"]
513 #[inline(always)]
514 pub fn is_no_data(&self) -> bool {
515 *self == EPOUT0_A::NO_DATA
516 }
517 #[doc = "Checks if the value of the field is `DATA_DONE`"]
518 #[inline(always)]
519 pub fn is_data_done(&self) -> bool {
520 *self == EPOUT0_A::DATA_DONE
521 }
522}
523#[doc = "Field `EPOUT0` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
524pub type EPOUT0_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT0_A, O>;
525impl<'a, const O: u8> EPOUT0_W<'a, O> {
526 #[doc = "EasyDMA registers have not been captured for this endpoint"]
527 #[inline(always)]
528 pub fn no_data(self) -> &'a mut W {
529 self.variant(EPOUT0_A::NO_DATA)
530 }
531 #[doc = "EasyDMA registers have been captured for this endpoint"]
532 #[inline(always)]
533 pub fn data_done(self) -> &'a mut W {
534 self.variant(EPOUT0_A::DATA_DONE)
535 }
536}
537#[doc = "Field `EPOUT1` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
538pub type EPOUT1_R = crate::BitReader<EPOUT1_A>;
539#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
540#[derive(Clone, Copy, Debug, PartialEq)]
541pub enum EPOUT1_A {
542 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
543 NO_DATA = 0,
544 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
545 DATA_DONE = 1,
546}
547impl From<EPOUT1_A> for bool {
548 #[inline(always)]
549 fn from(variant: EPOUT1_A) -> Self {
550 variant as u8 != 0
551 }
552}
553impl EPOUT1_R {
554 #[doc = "Get enumerated values variant"]
555 #[inline(always)]
556 pub fn variant(&self) -> EPOUT1_A {
557 match self.bits {
558 false => EPOUT1_A::NO_DATA,
559 true => EPOUT1_A::DATA_DONE,
560 }
561 }
562 #[doc = "Checks if the value of the field is `NO_DATA`"]
563 #[inline(always)]
564 pub fn is_no_data(&self) -> bool {
565 *self == EPOUT1_A::NO_DATA
566 }
567 #[doc = "Checks if the value of the field is `DATA_DONE`"]
568 #[inline(always)]
569 pub fn is_data_done(&self) -> bool {
570 *self == EPOUT1_A::DATA_DONE
571 }
572}
573#[doc = "Field `EPOUT1` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
574pub type EPOUT1_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT1_A, O>;
575impl<'a, const O: u8> EPOUT1_W<'a, O> {
576 #[doc = "EasyDMA registers have not been captured for this endpoint"]
577 #[inline(always)]
578 pub fn no_data(self) -> &'a mut W {
579 self.variant(EPOUT1_A::NO_DATA)
580 }
581 #[doc = "EasyDMA registers have been captured for this endpoint"]
582 #[inline(always)]
583 pub fn data_done(self) -> &'a mut W {
584 self.variant(EPOUT1_A::DATA_DONE)
585 }
586}
587#[doc = "Field `EPOUT2` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
588pub type EPOUT2_R = crate::BitReader<EPOUT2_A>;
589#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
590#[derive(Clone, Copy, Debug, PartialEq)]
591pub enum EPOUT2_A {
592 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
593 NO_DATA = 0,
594 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
595 DATA_DONE = 1,
596}
597impl From<EPOUT2_A> for bool {
598 #[inline(always)]
599 fn from(variant: EPOUT2_A) -> Self {
600 variant as u8 != 0
601 }
602}
603impl EPOUT2_R {
604 #[doc = "Get enumerated values variant"]
605 #[inline(always)]
606 pub fn variant(&self) -> EPOUT2_A {
607 match self.bits {
608 false => EPOUT2_A::NO_DATA,
609 true => EPOUT2_A::DATA_DONE,
610 }
611 }
612 #[doc = "Checks if the value of the field is `NO_DATA`"]
613 #[inline(always)]
614 pub fn is_no_data(&self) -> bool {
615 *self == EPOUT2_A::NO_DATA
616 }
617 #[doc = "Checks if the value of the field is `DATA_DONE`"]
618 #[inline(always)]
619 pub fn is_data_done(&self) -> bool {
620 *self == EPOUT2_A::DATA_DONE
621 }
622}
623#[doc = "Field `EPOUT2` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
624pub type EPOUT2_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT2_A, O>;
625impl<'a, const O: u8> EPOUT2_W<'a, O> {
626 #[doc = "EasyDMA registers have not been captured for this endpoint"]
627 #[inline(always)]
628 pub fn no_data(self) -> &'a mut W {
629 self.variant(EPOUT2_A::NO_DATA)
630 }
631 #[doc = "EasyDMA registers have been captured for this endpoint"]
632 #[inline(always)]
633 pub fn data_done(self) -> &'a mut W {
634 self.variant(EPOUT2_A::DATA_DONE)
635 }
636}
637#[doc = "Field `EPOUT3` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
638pub type EPOUT3_R = crate::BitReader<EPOUT3_A>;
639#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
640#[derive(Clone, Copy, Debug, PartialEq)]
641pub enum EPOUT3_A {
642 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
643 NO_DATA = 0,
644 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
645 DATA_DONE = 1,
646}
647impl From<EPOUT3_A> for bool {
648 #[inline(always)]
649 fn from(variant: EPOUT3_A) -> Self {
650 variant as u8 != 0
651 }
652}
653impl EPOUT3_R {
654 #[doc = "Get enumerated values variant"]
655 #[inline(always)]
656 pub fn variant(&self) -> EPOUT3_A {
657 match self.bits {
658 false => EPOUT3_A::NO_DATA,
659 true => EPOUT3_A::DATA_DONE,
660 }
661 }
662 #[doc = "Checks if the value of the field is `NO_DATA`"]
663 #[inline(always)]
664 pub fn is_no_data(&self) -> bool {
665 *self == EPOUT3_A::NO_DATA
666 }
667 #[doc = "Checks if the value of the field is `DATA_DONE`"]
668 #[inline(always)]
669 pub fn is_data_done(&self) -> bool {
670 *self == EPOUT3_A::DATA_DONE
671 }
672}
673#[doc = "Field `EPOUT3` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
674pub type EPOUT3_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT3_A, O>;
675impl<'a, const O: u8> EPOUT3_W<'a, O> {
676 #[doc = "EasyDMA registers have not been captured for this endpoint"]
677 #[inline(always)]
678 pub fn no_data(self) -> &'a mut W {
679 self.variant(EPOUT3_A::NO_DATA)
680 }
681 #[doc = "EasyDMA registers have been captured for this endpoint"]
682 #[inline(always)]
683 pub fn data_done(self) -> &'a mut W {
684 self.variant(EPOUT3_A::DATA_DONE)
685 }
686}
687#[doc = "Field `EPOUT4` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
688pub type EPOUT4_R = crate::BitReader<EPOUT4_A>;
689#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
690#[derive(Clone, Copy, Debug, PartialEq)]
691pub enum EPOUT4_A {
692 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
693 NO_DATA = 0,
694 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
695 DATA_DONE = 1,
696}
697impl From<EPOUT4_A> for bool {
698 #[inline(always)]
699 fn from(variant: EPOUT4_A) -> Self {
700 variant as u8 != 0
701 }
702}
703impl EPOUT4_R {
704 #[doc = "Get enumerated values variant"]
705 #[inline(always)]
706 pub fn variant(&self) -> EPOUT4_A {
707 match self.bits {
708 false => EPOUT4_A::NO_DATA,
709 true => EPOUT4_A::DATA_DONE,
710 }
711 }
712 #[doc = "Checks if the value of the field is `NO_DATA`"]
713 #[inline(always)]
714 pub fn is_no_data(&self) -> bool {
715 *self == EPOUT4_A::NO_DATA
716 }
717 #[doc = "Checks if the value of the field is `DATA_DONE`"]
718 #[inline(always)]
719 pub fn is_data_done(&self) -> bool {
720 *self == EPOUT4_A::DATA_DONE
721 }
722}
723#[doc = "Field `EPOUT4` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
724pub type EPOUT4_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT4_A, O>;
725impl<'a, const O: u8> EPOUT4_W<'a, O> {
726 #[doc = "EasyDMA registers have not been captured for this endpoint"]
727 #[inline(always)]
728 pub fn no_data(self) -> &'a mut W {
729 self.variant(EPOUT4_A::NO_DATA)
730 }
731 #[doc = "EasyDMA registers have been captured for this endpoint"]
732 #[inline(always)]
733 pub fn data_done(self) -> &'a mut W {
734 self.variant(EPOUT4_A::DATA_DONE)
735 }
736}
737#[doc = "Field `EPOUT5` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
738pub type EPOUT5_R = crate::BitReader<EPOUT5_A>;
739#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
740#[derive(Clone, Copy, Debug, PartialEq)]
741pub enum EPOUT5_A {
742 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
743 NO_DATA = 0,
744 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
745 DATA_DONE = 1,
746}
747impl From<EPOUT5_A> for bool {
748 #[inline(always)]
749 fn from(variant: EPOUT5_A) -> Self {
750 variant as u8 != 0
751 }
752}
753impl EPOUT5_R {
754 #[doc = "Get enumerated values variant"]
755 #[inline(always)]
756 pub fn variant(&self) -> EPOUT5_A {
757 match self.bits {
758 false => EPOUT5_A::NO_DATA,
759 true => EPOUT5_A::DATA_DONE,
760 }
761 }
762 #[doc = "Checks if the value of the field is `NO_DATA`"]
763 #[inline(always)]
764 pub fn is_no_data(&self) -> bool {
765 *self == EPOUT5_A::NO_DATA
766 }
767 #[doc = "Checks if the value of the field is `DATA_DONE`"]
768 #[inline(always)]
769 pub fn is_data_done(&self) -> bool {
770 *self == EPOUT5_A::DATA_DONE
771 }
772}
773#[doc = "Field `EPOUT5` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
774pub type EPOUT5_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT5_A, O>;
775impl<'a, const O: u8> EPOUT5_W<'a, O> {
776 #[doc = "EasyDMA registers have not been captured for this endpoint"]
777 #[inline(always)]
778 pub fn no_data(self) -> &'a mut W {
779 self.variant(EPOUT5_A::NO_DATA)
780 }
781 #[doc = "EasyDMA registers have been captured for this endpoint"]
782 #[inline(always)]
783 pub fn data_done(self) -> &'a mut W {
784 self.variant(EPOUT5_A::DATA_DONE)
785 }
786}
787#[doc = "Field `EPOUT6` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
788pub type EPOUT6_R = crate::BitReader<EPOUT6_A>;
789#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
790#[derive(Clone, Copy, Debug, PartialEq)]
791pub enum EPOUT6_A {
792 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
793 NO_DATA = 0,
794 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
795 DATA_DONE = 1,
796}
797impl From<EPOUT6_A> for bool {
798 #[inline(always)]
799 fn from(variant: EPOUT6_A) -> Self {
800 variant as u8 != 0
801 }
802}
803impl EPOUT6_R {
804 #[doc = "Get enumerated values variant"]
805 #[inline(always)]
806 pub fn variant(&self) -> EPOUT6_A {
807 match self.bits {
808 false => EPOUT6_A::NO_DATA,
809 true => EPOUT6_A::DATA_DONE,
810 }
811 }
812 #[doc = "Checks if the value of the field is `NO_DATA`"]
813 #[inline(always)]
814 pub fn is_no_data(&self) -> bool {
815 *self == EPOUT6_A::NO_DATA
816 }
817 #[doc = "Checks if the value of the field is `DATA_DONE`"]
818 #[inline(always)]
819 pub fn is_data_done(&self) -> bool {
820 *self == EPOUT6_A::DATA_DONE
821 }
822}
823#[doc = "Field `EPOUT6` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
824pub type EPOUT6_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT6_A, O>;
825impl<'a, const O: u8> EPOUT6_W<'a, O> {
826 #[doc = "EasyDMA registers have not been captured for this endpoint"]
827 #[inline(always)]
828 pub fn no_data(self) -> &'a mut W {
829 self.variant(EPOUT6_A::NO_DATA)
830 }
831 #[doc = "EasyDMA registers have been captured for this endpoint"]
832 #[inline(always)]
833 pub fn data_done(self) -> &'a mut W {
834 self.variant(EPOUT6_A::DATA_DONE)
835 }
836}
837#[doc = "Field `EPOUT7` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
838pub type EPOUT7_R = crate::BitReader<EPOUT7_A>;
839#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
840#[derive(Clone, Copy, Debug, PartialEq)]
841pub enum EPOUT7_A {
842 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
843 NO_DATA = 0,
844 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
845 DATA_DONE = 1,
846}
847impl From<EPOUT7_A> for bool {
848 #[inline(always)]
849 fn from(variant: EPOUT7_A) -> Self {
850 variant as u8 != 0
851 }
852}
853impl EPOUT7_R {
854 #[doc = "Get enumerated values variant"]
855 #[inline(always)]
856 pub fn variant(&self) -> EPOUT7_A {
857 match self.bits {
858 false => EPOUT7_A::NO_DATA,
859 true => EPOUT7_A::DATA_DONE,
860 }
861 }
862 #[doc = "Checks if the value of the field is `NO_DATA`"]
863 #[inline(always)]
864 pub fn is_no_data(&self) -> bool {
865 *self == EPOUT7_A::NO_DATA
866 }
867 #[doc = "Checks if the value of the field is `DATA_DONE`"]
868 #[inline(always)]
869 pub fn is_data_done(&self) -> bool {
870 *self == EPOUT7_A::DATA_DONE
871 }
872}
873#[doc = "Field `EPOUT7` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
874pub type EPOUT7_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT7_A, O>;
875impl<'a, const O: u8> EPOUT7_W<'a, O> {
876 #[doc = "EasyDMA registers have not been captured for this endpoint"]
877 #[inline(always)]
878 pub fn no_data(self) -> &'a mut W {
879 self.variant(EPOUT7_A::NO_DATA)
880 }
881 #[doc = "EasyDMA registers have been captured for this endpoint"]
882 #[inline(always)]
883 pub fn data_done(self) -> &'a mut W {
884 self.variant(EPOUT7_A::DATA_DONE)
885 }
886}
887#[doc = "Field `EPOUT8` reader - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
888pub type EPOUT8_R = crate::BitReader<EPOUT8_A>;
889#[doc = "Captured state of endpoint's EasyDMA registers. Write '1' to clear.\n\nValue on reset: 0"]
890#[derive(Clone, Copy, Debug, PartialEq)]
891pub enum EPOUT8_A {
892 #[doc = "0: EasyDMA registers have not been captured for this endpoint"]
893 NO_DATA = 0,
894 #[doc = "1: EasyDMA registers have been captured for this endpoint"]
895 DATA_DONE = 1,
896}
897impl From<EPOUT8_A> for bool {
898 #[inline(always)]
899 fn from(variant: EPOUT8_A) -> Self {
900 variant as u8 != 0
901 }
902}
903impl EPOUT8_R {
904 #[doc = "Get enumerated values variant"]
905 #[inline(always)]
906 pub fn variant(&self) -> EPOUT8_A {
907 match self.bits {
908 false => EPOUT8_A::NO_DATA,
909 true => EPOUT8_A::DATA_DONE,
910 }
911 }
912 #[doc = "Checks if the value of the field is `NO_DATA`"]
913 #[inline(always)]
914 pub fn is_no_data(&self) -> bool {
915 *self == EPOUT8_A::NO_DATA
916 }
917 #[doc = "Checks if the value of the field is `DATA_DONE`"]
918 #[inline(always)]
919 pub fn is_data_done(&self) -> bool {
920 *self == EPOUT8_A::DATA_DONE
921 }
922}
923#[doc = "Field `EPOUT8` writer - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
924pub type EPOUT8_W<'a, const O: u8> = crate::BitWriter1C<'a, u32, EPSTATUS_SPEC, EPOUT8_A, O>;
925impl<'a, const O: u8> EPOUT8_W<'a, O> {
926 #[doc = "EasyDMA registers have not been captured for this endpoint"]
927 #[inline(always)]
928 pub fn no_data(self) -> &'a mut W {
929 self.variant(EPOUT8_A::NO_DATA)
930 }
931 #[doc = "EasyDMA registers have been captured for this endpoint"]
932 #[inline(always)]
933 pub fn data_done(self) -> &'a mut W {
934 self.variant(EPOUT8_A::DATA_DONE)
935 }
936}
937impl R {
938 #[doc = "Bit 0 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
939 #[inline(always)]
940 pub fn epin0(&self) -> EPIN0_R {
941 EPIN0_R::new((self.bits & 1) != 0)
942 }
943 #[doc = "Bit 1 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
944 #[inline(always)]
945 pub fn epin1(&self) -> EPIN1_R {
946 EPIN1_R::new(((self.bits >> 1) & 1) != 0)
947 }
948 #[doc = "Bit 2 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
949 #[inline(always)]
950 pub fn epin2(&self) -> EPIN2_R {
951 EPIN2_R::new(((self.bits >> 2) & 1) != 0)
952 }
953 #[doc = "Bit 3 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
954 #[inline(always)]
955 pub fn epin3(&self) -> EPIN3_R {
956 EPIN3_R::new(((self.bits >> 3) & 1) != 0)
957 }
958 #[doc = "Bit 4 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
959 #[inline(always)]
960 pub fn epin4(&self) -> EPIN4_R {
961 EPIN4_R::new(((self.bits >> 4) & 1) != 0)
962 }
963 #[doc = "Bit 5 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
964 #[inline(always)]
965 pub fn epin5(&self) -> EPIN5_R {
966 EPIN5_R::new(((self.bits >> 5) & 1) != 0)
967 }
968 #[doc = "Bit 6 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
969 #[inline(always)]
970 pub fn epin6(&self) -> EPIN6_R {
971 EPIN6_R::new(((self.bits >> 6) & 1) != 0)
972 }
973 #[doc = "Bit 7 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
974 #[inline(always)]
975 pub fn epin7(&self) -> EPIN7_R {
976 EPIN7_R::new(((self.bits >> 7) & 1) != 0)
977 }
978 #[doc = "Bit 8 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
979 #[inline(always)]
980 pub fn epin8(&self) -> EPIN8_R {
981 EPIN8_R::new(((self.bits >> 8) & 1) != 0)
982 }
983 #[doc = "Bit 16 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
984 #[inline(always)]
985 pub fn epout0(&self) -> EPOUT0_R {
986 EPOUT0_R::new(((self.bits >> 16) & 1) != 0)
987 }
988 #[doc = "Bit 17 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
989 #[inline(always)]
990 pub fn epout1(&self) -> EPOUT1_R {
991 EPOUT1_R::new(((self.bits >> 17) & 1) != 0)
992 }
993 #[doc = "Bit 18 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
994 #[inline(always)]
995 pub fn epout2(&self) -> EPOUT2_R {
996 EPOUT2_R::new(((self.bits >> 18) & 1) != 0)
997 }
998 #[doc = "Bit 19 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
999 #[inline(always)]
1000 pub fn epout3(&self) -> EPOUT3_R {
1001 EPOUT3_R::new(((self.bits >> 19) & 1) != 0)
1002 }
1003 #[doc = "Bit 20 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1004 #[inline(always)]
1005 pub fn epout4(&self) -> EPOUT4_R {
1006 EPOUT4_R::new(((self.bits >> 20) & 1) != 0)
1007 }
1008 #[doc = "Bit 21 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1009 #[inline(always)]
1010 pub fn epout5(&self) -> EPOUT5_R {
1011 EPOUT5_R::new(((self.bits >> 21) & 1) != 0)
1012 }
1013 #[doc = "Bit 22 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1014 #[inline(always)]
1015 pub fn epout6(&self) -> EPOUT6_R {
1016 EPOUT6_R::new(((self.bits >> 22) & 1) != 0)
1017 }
1018 #[doc = "Bit 23 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1019 #[inline(always)]
1020 pub fn epout7(&self) -> EPOUT7_R {
1021 EPOUT7_R::new(((self.bits >> 23) & 1) != 0)
1022 }
1023 #[doc = "Bit 24 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1024 #[inline(always)]
1025 pub fn epout8(&self) -> EPOUT8_R {
1026 EPOUT8_R::new(((self.bits >> 24) & 1) != 0)
1027 }
1028}
1029impl W {
1030 #[doc = "Bit 0 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1031 #[inline(always)]
1032 pub fn epin0(&mut self) -> EPIN0_W<0> {
1033 EPIN0_W::new(self)
1034 }
1035 #[doc = "Bit 1 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1036 #[inline(always)]
1037 pub fn epin1(&mut self) -> EPIN1_W<1> {
1038 EPIN1_W::new(self)
1039 }
1040 #[doc = "Bit 2 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1041 #[inline(always)]
1042 pub fn epin2(&mut self) -> EPIN2_W<2> {
1043 EPIN2_W::new(self)
1044 }
1045 #[doc = "Bit 3 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1046 #[inline(always)]
1047 pub fn epin3(&mut self) -> EPIN3_W<3> {
1048 EPIN3_W::new(self)
1049 }
1050 #[doc = "Bit 4 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1051 #[inline(always)]
1052 pub fn epin4(&mut self) -> EPIN4_W<4> {
1053 EPIN4_W::new(self)
1054 }
1055 #[doc = "Bit 5 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1056 #[inline(always)]
1057 pub fn epin5(&mut self) -> EPIN5_W<5> {
1058 EPIN5_W::new(self)
1059 }
1060 #[doc = "Bit 6 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1061 #[inline(always)]
1062 pub fn epin6(&mut self) -> EPIN6_W<6> {
1063 EPIN6_W::new(self)
1064 }
1065 #[doc = "Bit 7 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1066 #[inline(always)]
1067 pub fn epin7(&mut self) -> EPIN7_W<7> {
1068 EPIN7_W::new(self)
1069 }
1070 #[doc = "Bit 8 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1071 #[inline(always)]
1072 pub fn epin8(&mut self) -> EPIN8_W<8> {
1073 EPIN8_W::new(self)
1074 }
1075 #[doc = "Bit 16 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1076 #[inline(always)]
1077 pub fn epout0(&mut self) -> EPOUT0_W<16> {
1078 EPOUT0_W::new(self)
1079 }
1080 #[doc = "Bit 17 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1081 #[inline(always)]
1082 pub fn epout1(&mut self) -> EPOUT1_W<17> {
1083 EPOUT1_W::new(self)
1084 }
1085 #[doc = "Bit 18 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1086 #[inline(always)]
1087 pub fn epout2(&mut self) -> EPOUT2_W<18> {
1088 EPOUT2_W::new(self)
1089 }
1090 #[doc = "Bit 19 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1091 #[inline(always)]
1092 pub fn epout3(&mut self) -> EPOUT3_W<19> {
1093 EPOUT3_W::new(self)
1094 }
1095 #[doc = "Bit 20 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1096 #[inline(always)]
1097 pub fn epout4(&mut self) -> EPOUT4_W<20> {
1098 EPOUT4_W::new(self)
1099 }
1100 #[doc = "Bit 21 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1101 #[inline(always)]
1102 pub fn epout5(&mut self) -> EPOUT5_W<21> {
1103 EPOUT5_W::new(self)
1104 }
1105 #[doc = "Bit 22 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1106 #[inline(always)]
1107 pub fn epout6(&mut self) -> EPOUT6_W<22> {
1108 EPOUT6_W::new(self)
1109 }
1110 #[doc = "Bit 23 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1111 #[inline(always)]
1112 pub fn epout7(&mut self) -> EPOUT7_W<23> {
1113 EPOUT7_W::new(self)
1114 }
1115 #[doc = "Bit 24 - Captured state of endpoint's EasyDMA registers. Write '1' to clear."]
1116 #[inline(always)]
1117 pub fn epout8(&mut self) -> EPOUT8_W<24> {
1118 EPOUT8_W::new(self)
1119 }
1120 #[doc = "Writes raw bits to the register."]
1121 #[inline(always)]
1122 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
1123 self.0.bits(bits);
1124 self
1125 }
1126}
1127#[doc = "Provides information on which endpoint's EasyDMA registers have been captured\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 [epstatus](index.html) module"]
1128pub struct EPSTATUS_SPEC;
1129impl crate::RegisterSpec for EPSTATUS_SPEC {
1130 type Ux = u32;
1131}
1132#[doc = "`read()` method returns [epstatus::R](R) reader structure"]
1133impl crate::Readable for EPSTATUS_SPEC {
1134 type Reader = R;
1135}
1136#[doc = "`write(|w| ..)` method takes [epstatus::W](W) writer structure"]
1137impl crate::Writable for EPSTATUS_SPEC {
1138 type Writer = W;
1139}
1140#[doc = "`reset()` method sets EPSTATUS to value 0"]
1141impl crate::Resettable for EPSTATUS_SPEC {
1142 #[inline(always)]
1143 fn reset_value() -> Self::Ux {
1144 0
1145 }
1146}