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