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 `IN0` reader - Write '1' to disable interrupt for event IN\\[0\\]"]
38pub type IN0_R = crate::BitReader<IN0_A>;
39#[doc = "Write '1' to disable interrupt for event IN\\[0\\]\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq)]
41pub enum IN0_A {
42 #[doc = "0: Read: Disabled"]
43 DISABLED = 0,
44 #[doc = "1: Read: Enabled"]
45 ENABLED = 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::DISABLED,
59 true => IN0_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 == IN0_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 == IN0_A::ENABLED
71 }
72}
73#[doc = "Write '1' to disable interrupt for event IN\\[0\\]\n\nValue on reset: 0"]
74#[derive(Clone, Copy, Debug, PartialEq)]
75pub enum IN0_AW {
76 #[doc = "1: Disable"]
77 CLEAR = 1,
78}
79impl From<IN0_AW> for bool {
80 #[inline(always)]
81 fn from(variant: IN0_AW) -> Self {
82 variant as u8 != 0
83 }
84}
85#[doc = "Field `IN0` writer - Write '1' to disable interrupt for event IN\\[0\\]"]
86pub type IN0_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN0_AW, O>;
87impl<'a, const O: u8> IN0_W<'a, O> {
88 #[doc = "Disable"]
89 #[inline(always)]
90 pub fn clear(self) -> &'a mut W {
91 self.variant(IN0_AW::CLEAR)
92 }
93}
94#[doc = "Field `IN1` reader - Write '1' to disable interrupt for event IN\\[1\\]"]
95pub type IN1_R = crate::BitReader<IN1_A>;
96#[doc = "Write '1' to disable interrupt for event IN\\[1\\]\n\nValue on reset: 0"]
97#[derive(Clone, Copy, Debug, PartialEq)]
98pub enum IN1_A {
99 #[doc = "0: Read: Disabled"]
100 DISABLED = 0,
101 #[doc = "1: Read: Enabled"]
102 ENABLED = 1,
103}
104impl From<IN1_A> for bool {
105 #[inline(always)]
106 fn from(variant: IN1_A) -> Self {
107 variant as u8 != 0
108 }
109}
110impl IN1_R {
111 #[doc = "Get enumerated values variant"]
112 #[inline(always)]
113 pub fn variant(&self) -> IN1_A {
114 match self.bits {
115 false => IN1_A::DISABLED,
116 true => IN1_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 == IN1_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 == IN1_A::ENABLED
128 }
129}
130#[doc = "Write '1' to disable interrupt for event IN\\[1\\]\n\nValue on reset: 0"]
131#[derive(Clone, Copy, Debug, PartialEq)]
132pub enum IN1_AW {
133 #[doc = "1: Disable"]
134 CLEAR = 1,
135}
136impl From<IN1_AW> for bool {
137 #[inline(always)]
138 fn from(variant: IN1_AW) -> Self {
139 variant as u8 != 0
140 }
141}
142#[doc = "Field `IN1` writer - Write '1' to disable interrupt for event IN\\[1\\]"]
143pub type IN1_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN1_AW, O>;
144impl<'a, const O: u8> IN1_W<'a, O> {
145 #[doc = "Disable"]
146 #[inline(always)]
147 pub fn clear(self) -> &'a mut W {
148 self.variant(IN1_AW::CLEAR)
149 }
150}
151#[doc = "Field `IN2` reader - Write '1' to disable interrupt for event IN\\[2\\]"]
152pub type IN2_R = crate::BitReader<IN2_A>;
153#[doc = "Write '1' to disable interrupt for event IN\\[2\\]\n\nValue on reset: 0"]
154#[derive(Clone, Copy, Debug, PartialEq)]
155pub enum IN2_A {
156 #[doc = "0: Read: Disabled"]
157 DISABLED = 0,
158 #[doc = "1: Read: Enabled"]
159 ENABLED = 1,
160}
161impl From<IN2_A> for bool {
162 #[inline(always)]
163 fn from(variant: IN2_A) -> Self {
164 variant as u8 != 0
165 }
166}
167impl IN2_R {
168 #[doc = "Get enumerated values variant"]
169 #[inline(always)]
170 pub fn variant(&self) -> IN2_A {
171 match self.bits {
172 false => IN2_A::DISABLED,
173 true => IN2_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 == IN2_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 == IN2_A::ENABLED
185 }
186}
187#[doc = "Write '1' to disable interrupt for event IN\\[2\\]\n\nValue on reset: 0"]
188#[derive(Clone, Copy, Debug, PartialEq)]
189pub enum IN2_AW {
190 #[doc = "1: Disable"]
191 CLEAR = 1,
192}
193impl From<IN2_AW> for bool {
194 #[inline(always)]
195 fn from(variant: IN2_AW) -> Self {
196 variant as u8 != 0
197 }
198}
199#[doc = "Field `IN2` writer - Write '1' to disable interrupt for event IN\\[2\\]"]
200pub type IN2_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN2_AW, O>;
201impl<'a, const O: u8> IN2_W<'a, O> {
202 #[doc = "Disable"]
203 #[inline(always)]
204 pub fn clear(self) -> &'a mut W {
205 self.variant(IN2_AW::CLEAR)
206 }
207}
208#[doc = "Field `IN3` reader - Write '1' to disable interrupt for event IN\\[3\\]"]
209pub type IN3_R = crate::BitReader<IN3_A>;
210#[doc = "Write '1' to disable interrupt for event IN\\[3\\]\n\nValue on reset: 0"]
211#[derive(Clone, Copy, Debug, PartialEq)]
212pub enum IN3_A {
213 #[doc = "0: Read: Disabled"]
214 DISABLED = 0,
215 #[doc = "1: Read: Enabled"]
216 ENABLED = 1,
217}
218impl From<IN3_A> for bool {
219 #[inline(always)]
220 fn from(variant: IN3_A) -> Self {
221 variant as u8 != 0
222 }
223}
224impl IN3_R {
225 #[doc = "Get enumerated values variant"]
226 #[inline(always)]
227 pub fn variant(&self) -> IN3_A {
228 match self.bits {
229 false => IN3_A::DISABLED,
230 true => IN3_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 == IN3_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 == IN3_A::ENABLED
242 }
243}
244#[doc = "Write '1' to disable interrupt for event IN\\[3\\]\n\nValue on reset: 0"]
245#[derive(Clone, Copy, Debug, PartialEq)]
246pub enum IN3_AW {
247 #[doc = "1: Disable"]
248 CLEAR = 1,
249}
250impl From<IN3_AW> for bool {
251 #[inline(always)]
252 fn from(variant: IN3_AW) -> Self {
253 variant as u8 != 0
254 }
255}
256#[doc = "Field `IN3` writer - Write '1' to disable interrupt for event IN\\[3\\]"]
257pub type IN3_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN3_AW, O>;
258impl<'a, const O: u8> IN3_W<'a, O> {
259 #[doc = "Disable"]
260 #[inline(always)]
261 pub fn clear(self) -> &'a mut W {
262 self.variant(IN3_AW::CLEAR)
263 }
264}
265#[doc = "Field `IN4` reader - Write '1' to disable interrupt for event IN\\[4\\]"]
266pub type IN4_R = crate::BitReader<IN4_A>;
267#[doc = "Write '1' to disable interrupt for event IN\\[4\\]\n\nValue on reset: 0"]
268#[derive(Clone, Copy, Debug, PartialEq)]
269pub enum IN4_A {
270 #[doc = "0: Read: Disabled"]
271 DISABLED = 0,
272 #[doc = "1: Read: Enabled"]
273 ENABLED = 1,
274}
275impl From<IN4_A> for bool {
276 #[inline(always)]
277 fn from(variant: IN4_A) -> Self {
278 variant as u8 != 0
279 }
280}
281impl IN4_R {
282 #[doc = "Get enumerated values variant"]
283 #[inline(always)]
284 pub fn variant(&self) -> IN4_A {
285 match self.bits {
286 false => IN4_A::DISABLED,
287 true => IN4_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 == IN4_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 == IN4_A::ENABLED
299 }
300}
301#[doc = "Write '1' to disable interrupt for event IN\\[4\\]\n\nValue on reset: 0"]
302#[derive(Clone, Copy, Debug, PartialEq)]
303pub enum IN4_AW {
304 #[doc = "1: Disable"]
305 CLEAR = 1,
306}
307impl From<IN4_AW> for bool {
308 #[inline(always)]
309 fn from(variant: IN4_AW) -> Self {
310 variant as u8 != 0
311 }
312}
313#[doc = "Field `IN4` writer - Write '1' to disable interrupt for event IN\\[4\\]"]
314pub type IN4_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN4_AW, O>;
315impl<'a, const O: u8> IN4_W<'a, O> {
316 #[doc = "Disable"]
317 #[inline(always)]
318 pub fn clear(self) -> &'a mut W {
319 self.variant(IN4_AW::CLEAR)
320 }
321}
322#[doc = "Field `IN5` reader - Write '1' to disable interrupt for event IN\\[5\\]"]
323pub type IN5_R = crate::BitReader<IN5_A>;
324#[doc = "Write '1' to disable interrupt for event IN\\[5\\]\n\nValue on reset: 0"]
325#[derive(Clone, Copy, Debug, PartialEq)]
326pub enum IN5_A {
327 #[doc = "0: Read: Disabled"]
328 DISABLED = 0,
329 #[doc = "1: Read: Enabled"]
330 ENABLED = 1,
331}
332impl From<IN5_A> for bool {
333 #[inline(always)]
334 fn from(variant: IN5_A) -> Self {
335 variant as u8 != 0
336 }
337}
338impl IN5_R {
339 #[doc = "Get enumerated values variant"]
340 #[inline(always)]
341 pub fn variant(&self) -> IN5_A {
342 match self.bits {
343 false => IN5_A::DISABLED,
344 true => IN5_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 == IN5_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 == IN5_A::ENABLED
356 }
357}
358#[doc = "Write '1' to disable interrupt for event IN\\[5\\]\n\nValue on reset: 0"]
359#[derive(Clone, Copy, Debug, PartialEq)]
360pub enum IN5_AW {
361 #[doc = "1: Disable"]
362 CLEAR = 1,
363}
364impl From<IN5_AW> for bool {
365 #[inline(always)]
366 fn from(variant: IN5_AW) -> Self {
367 variant as u8 != 0
368 }
369}
370#[doc = "Field `IN5` writer - Write '1' to disable interrupt for event IN\\[5\\]"]
371pub type IN5_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN5_AW, O>;
372impl<'a, const O: u8> IN5_W<'a, O> {
373 #[doc = "Disable"]
374 #[inline(always)]
375 pub fn clear(self) -> &'a mut W {
376 self.variant(IN5_AW::CLEAR)
377 }
378}
379#[doc = "Field `IN6` reader - Write '1' to disable interrupt for event IN\\[6\\]"]
380pub type IN6_R = crate::BitReader<IN6_A>;
381#[doc = "Write '1' to disable interrupt for event IN\\[6\\]\n\nValue on reset: 0"]
382#[derive(Clone, Copy, Debug, PartialEq)]
383pub enum IN6_A {
384 #[doc = "0: Read: Disabled"]
385 DISABLED = 0,
386 #[doc = "1: Read: Enabled"]
387 ENABLED = 1,
388}
389impl From<IN6_A> for bool {
390 #[inline(always)]
391 fn from(variant: IN6_A) -> Self {
392 variant as u8 != 0
393 }
394}
395impl IN6_R {
396 #[doc = "Get enumerated values variant"]
397 #[inline(always)]
398 pub fn variant(&self) -> IN6_A {
399 match self.bits {
400 false => IN6_A::DISABLED,
401 true => IN6_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 == IN6_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 == IN6_A::ENABLED
413 }
414}
415#[doc = "Write '1' to disable interrupt for event IN\\[6\\]\n\nValue on reset: 0"]
416#[derive(Clone, Copy, Debug, PartialEq)]
417pub enum IN6_AW {
418 #[doc = "1: Disable"]
419 CLEAR = 1,
420}
421impl From<IN6_AW> for bool {
422 #[inline(always)]
423 fn from(variant: IN6_AW) -> Self {
424 variant as u8 != 0
425 }
426}
427#[doc = "Field `IN6` writer - Write '1' to disable interrupt for event IN\\[6\\]"]
428pub type IN6_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN6_AW, O>;
429impl<'a, const O: u8> IN6_W<'a, O> {
430 #[doc = "Disable"]
431 #[inline(always)]
432 pub fn clear(self) -> &'a mut W {
433 self.variant(IN6_AW::CLEAR)
434 }
435}
436#[doc = "Field `IN7` reader - Write '1' to disable interrupt for event IN\\[7\\]"]
437pub type IN7_R = crate::BitReader<IN7_A>;
438#[doc = "Write '1' to disable interrupt for event IN\\[7\\]\n\nValue on reset: 0"]
439#[derive(Clone, Copy, Debug, PartialEq)]
440pub enum IN7_A {
441 #[doc = "0: Read: Disabled"]
442 DISABLED = 0,
443 #[doc = "1: Read: Enabled"]
444 ENABLED = 1,
445}
446impl From<IN7_A> for bool {
447 #[inline(always)]
448 fn from(variant: IN7_A) -> Self {
449 variant as u8 != 0
450 }
451}
452impl IN7_R {
453 #[doc = "Get enumerated values variant"]
454 #[inline(always)]
455 pub fn variant(&self) -> IN7_A {
456 match self.bits {
457 false => IN7_A::DISABLED,
458 true => IN7_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 == IN7_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 == IN7_A::ENABLED
470 }
471}
472#[doc = "Write '1' to disable interrupt for event IN\\[7\\]\n\nValue on reset: 0"]
473#[derive(Clone, Copy, Debug, PartialEq)]
474pub enum IN7_AW {
475 #[doc = "1: Disable"]
476 CLEAR = 1,
477}
478impl From<IN7_AW> for bool {
479 #[inline(always)]
480 fn from(variant: IN7_AW) -> Self {
481 variant as u8 != 0
482 }
483}
484#[doc = "Field `IN7` writer - Write '1' to disable interrupt for event IN\\[7\\]"]
485pub type IN7_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, IN7_AW, O>;
486impl<'a, const O: u8> IN7_W<'a, O> {
487 #[doc = "Disable"]
488 #[inline(always)]
489 pub fn clear(self) -> &'a mut W {
490 self.variant(IN7_AW::CLEAR)
491 }
492}
493#[doc = "Field `PORT` reader - Write '1' to disable interrupt for event PORT"]
494pub type PORT_R = crate::BitReader<PORT_A>;
495#[doc = "Write '1' to disable interrupt for event PORT\n\nValue on reset: 0"]
496#[derive(Clone, Copy, Debug, PartialEq)]
497pub enum PORT_A {
498 #[doc = "0: Read: Disabled"]
499 DISABLED = 0,
500 #[doc = "1: Read: Enabled"]
501 ENABLED = 1,
502}
503impl From<PORT_A> for bool {
504 #[inline(always)]
505 fn from(variant: PORT_A) -> Self {
506 variant as u8 != 0
507 }
508}
509impl PORT_R {
510 #[doc = "Get enumerated values variant"]
511 #[inline(always)]
512 pub fn variant(&self) -> PORT_A {
513 match self.bits {
514 false => PORT_A::DISABLED,
515 true => PORT_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 == PORT_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 == PORT_A::ENABLED
527 }
528}
529#[doc = "Write '1' to disable interrupt for event PORT\n\nValue on reset: 0"]
530#[derive(Clone, Copy, Debug, PartialEq)]
531pub enum PORT_AW {
532 #[doc = "1: Disable"]
533 CLEAR = 1,
534}
535impl From<PORT_AW> for bool {
536 #[inline(always)]
537 fn from(variant: PORT_AW) -> Self {
538 variant as u8 != 0
539 }
540}
541#[doc = "Field `PORT` writer - Write '1' to disable interrupt for event PORT"]
542pub type PORT_W<'a, const O: u8> = crate::BitWriter<'a, u32, INTENCLR_SPEC, PORT_AW, O>;
543impl<'a, const O: u8> PORT_W<'a, O> {
544 #[doc = "Disable"]
545 #[inline(always)]
546 pub fn clear(self) -> &'a mut W {
547 self.variant(PORT_AW::CLEAR)
548 }
549}
550impl R {
551 #[doc = "Bit 0 - Write '1' to disable interrupt for event IN\\[0\\]"]
552 #[inline(always)]
553 pub fn in0(&self) -> IN0_R {
554 IN0_R::new((self.bits & 1) != 0)
555 }
556 #[doc = "Bit 1 - Write '1' to disable interrupt for event IN\\[1\\]"]
557 #[inline(always)]
558 pub fn in1(&self) -> IN1_R {
559 IN1_R::new(((self.bits >> 1) & 1) != 0)
560 }
561 #[doc = "Bit 2 - Write '1' to disable interrupt for event IN\\[2\\]"]
562 #[inline(always)]
563 pub fn in2(&self) -> IN2_R {
564 IN2_R::new(((self.bits >> 2) & 1) != 0)
565 }
566 #[doc = "Bit 3 - Write '1' to disable interrupt for event IN\\[3\\]"]
567 #[inline(always)]
568 pub fn in3(&self) -> IN3_R {
569 IN3_R::new(((self.bits >> 3) & 1) != 0)
570 }
571 #[doc = "Bit 4 - Write '1' to disable interrupt for event IN\\[4\\]"]
572 #[inline(always)]
573 pub fn in4(&self) -> IN4_R {
574 IN4_R::new(((self.bits >> 4) & 1) != 0)
575 }
576 #[doc = "Bit 5 - Write '1' to disable interrupt for event IN\\[5\\]"]
577 #[inline(always)]
578 pub fn in5(&self) -> IN5_R {
579 IN5_R::new(((self.bits >> 5) & 1) != 0)
580 }
581 #[doc = "Bit 6 - Write '1' to disable interrupt for event IN\\[6\\]"]
582 #[inline(always)]
583 pub fn in6(&self) -> IN6_R {
584 IN6_R::new(((self.bits >> 6) & 1) != 0)
585 }
586 #[doc = "Bit 7 - Write '1' to disable interrupt for event IN\\[7\\]"]
587 #[inline(always)]
588 pub fn in7(&self) -> IN7_R {
589 IN7_R::new(((self.bits >> 7) & 1) != 0)
590 }
591 #[doc = "Bit 31 - Write '1' to disable interrupt for event PORT"]
592 #[inline(always)]
593 pub fn port(&self) -> PORT_R {
594 PORT_R::new(((self.bits >> 31) & 1) != 0)
595 }
596}
597impl W {
598 #[doc = "Bit 0 - Write '1' to disable interrupt for event IN\\[0\\]"]
599 #[inline(always)]
600 pub fn in0(&mut self) -> IN0_W<0> {
601 IN0_W::new(self)
602 }
603 #[doc = "Bit 1 - Write '1' to disable interrupt for event IN\\[1\\]"]
604 #[inline(always)]
605 pub fn in1(&mut self) -> IN1_W<1> {
606 IN1_W::new(self)
607 }
608 #[doc = "Bit 2 - Write '1' to disable interrupt for event IN\\[2\\]"]
609 #[inline(always)]
610 pub fn in2(&mut self) -> IN2_W<2> {
611 IN2_W::new(self)
612 }
613 #[doc = "Bit 3 - Write '1' to disable interrupt for event IN\\[3\\]"]
614 #[inline(always)]
615 pub fn in3(&mut self) -> IN3_W<3> {
616 IN3_W::new(self)
617 }
618 #[doc = "Bit 4 - Write '1' to disable interrupt for event IN\\[4\\]"]
619 #[inline(always)]
620 pub fn in4(&mut self) -> IN4_W<4> {
621 IN4_W::new(self)
622 }
623 #[doc = "Bit 5 - Write '1' to disable interrupt for event IN\\[5\\]"]
624 #[inline(always)]
625 pub fn in5(&mut self) -> IN5_W<5> {
626 IN5_W::new(self)
627 }
628 #[doc = "Bit 6 - Write '1' to disable interrupt for event IN\\[6\\]"]
629 #[inline(always)]
630 pub fn in6(&mut self) -> IN6_W<6> {
631 IN6_W::new(self)
632 }
633 #[doc = "Bit 7 - Write '1' to disable interrupt for event IN\\[7\\]"]
634 #[inline(always)]
635 pub fn in7(&mut self) -> IN7_W<7> {
636 IN7_W::new(self)
637 }
638 #[doc = "Bit 31 - Write '1' to disable interrupt for event PORT"]
639 #[inline(always)]
640 pub fn port(&mut self) -> PORT_W<31> {
641 PORT_W::new(self)
642 }
643 #[doc = "Writes raw bits to the register."]
644 #[inline(always)]
645 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
646 self.0.bits(bits);
647 self
648 }
649}
650#[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"]
651pub struct INTENCLR_SPEC;
652impl crate::RegisterSpec for INTENCLR_SPEC {
653 type Ux = u32;
654}
655#[doc = "`read()` method returns [intenclr::R](R) reader structure"]
656impl crate::Readable for INTENCLR_SPEC {
657 type Reader = R;
658}
659#[doc = "`write(|w| ..)` method takes [intenclr::W](W) writer structure"]
660impl crate::Writable for INTENCLR_SPEC {
661 type Writer = W;
662}
663#[doc = "`reset()` method sets INTENCLR to value 0"]
664impl crate::Resettable for INTENCLR_SPEC {
665 #[inline(always)]
666 fn reset_value() -> Self::Ux {
667 0
668 }
669}