1#[doc = "Register `IE` reader"]
2pub struct R(crate::R<IE_SPEC>);
3impl core::ops::Deref for R {
4 type Target = crate::R<IE_SPEC>;
5 #[inline(always)]
6 fn deref(&self) -> &Self::Target {
7 &self.0
8 }
9}
10impl From<crate::R<IE_SPEC>> for R {
11 #[inline(always)]
12 fn from(reader: crate::R<IE_SPEC>) -> Self {
13 R(reader)
14 }
15}
16#[doc = "Register `IE` writer"]
17pub struct W(crate::W<IE_SPEC>);
18impl core::ops::Deref for W {
19 type Target = crate::W<IE_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<IE_SPEC>> for W {
32 #[inline(always)]
33 fn from(writer: crate::W<IE_SPEC>) -> Self {
34 W(writer)
35 }
36}
37#[doc = "Field `FWMIE0` reader - FIFO 0 Watermark Interrupt Enable"]
38pub type FWMIE0_R = crate::BitReader<FWMIE0_A>;
39#[doc = "FIFO 0 Watermark Interrupt Enable\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq, Eq)]
41pub enum FWMIE0_A {
42 #[doc = "0: Disabled"]
43 DISABLED = 0,
44 #[doc = "1: Enabled"]
45 ENABLED = 1,
46}
47impl From<FWMIE0_A> for bool {
48 #[inline(always)]
49 fn from(variant: FWMIE0_A) -> Self {
50 variant as u8 != 0
51 }
52}
53impl FWMIE0_R {
54 #[doc = "Get enumerated values variant"]
55 #[inline(always)]
56 pub fn variant(&self) -> FWMIE0_A {
57 match self.bits {
58 false => FWMIE0_A::DISABLED,
59 true => FWMIE0_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 == FWMIE0_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 == FWMIE0_A::ENABLED
71 }
72}
73#[doc = "Field `FWMIE0` writer - FIFO 0 Watermark Interrupt Enable"]
74pub type FWMIE0_W<'a, const O: u8> = crate::BitWriter<'a, u32, IE_SPEC, FWMIE0_A, O>;
75impl<'a, const O: u8> FWMIE0_W<'a, O> {
76 #[doc = "Disabled"]
77 #[inline(always)]
78 pub fn disabled(self) -> &'a mut W {
79 self.variant(FWMIE0_A::DISABLED)
80 }
81 #[doc = "Enabled"]
82 #[inline(always)]
83 pub fn enabled(self) -> &'a mut W {
84 self.variant(FWMIE0_A::ENABLED)
85 }
86}
87#[doc = "Field `FOFIE0` reader - Result FIFO 0 Overflow Interrupt Enable"]
88pub type FOFIE0_R = crate::BitReader<FOFIE0_A>;
89#[doc = "Result FIFO 0 Overflow Interrupt Enable\n\nValue on reset: 0"]
90#[derive(Clone, Copy, Debug, PartialEq, Eq)]
91pub enum FOFIE0_A {
92 #[doc = "0: Disabled"]
93 DISABLED = 0,
94 #[doc = "1: Enabled"]
95 ENABLED = 1,
96}
97impl From<FOFIE0_A> for bool {
98 #[inline(always)]
99 fn from(variant: FOFIE0_A) -> Self {
100 variant as u8 != 0
101 }
102}
103impl FOFIE0_R {
104 #[doc = "Get enumerated values variant"]
105 #[inline(always)]
106 pub fn variant(&self) -> FOFIE0_A {
107 match self.bits {
108 false => FOFIE0_A::DISABLED,
109 true => FOFIE0_A::ENABLED,
110 }
111 }
112 #[doc = "Checks if the value of the field is `DISABLED`"]
113 #[inline(always)]
114 pub fn is_disabled(&self) -> bool {
115 *self == FOFIE0_A::DISABLED
116 }
117 #[doc = "Checks if the value of the field is `ENABLED`"]
118 #[inline(always)]
119 pub fn is_enabled(&self) -> bool {
120 *self == FOFIE0_A::ENABLED
121 }
122}
123#[doc = "Field `FOFIE0` writer - Result FIFO 0 Overflow Interrupt Enable"]
124pub type FOFIE0_W<'a, const O: u8> = crate::BitWriter<'a, u32, IE_SPEC, FOFIE0_A, O>;
125impl<'a, const O: u8> FOFIE0_W<'a, O> {
126 #[doc = "Disabled"]
127 #[inline(always)]
128 pub fn disabled(self) -> &'a mut W {
129 self.variant(FOFIE0_A::DISABLED)
130 }
131 #[doc = "Enabled"]
132 #[inline(always)]
133 pub fn enabled(self) -> &'a mut W {
134 self.variant(FOFIE0_A::ENABLED)
135 }
136}
137#[doc = "Field `FWMIE1` reader - FIFO1 Watermark Interrupt Enable"]
138pub type FWMIE1_R = crate::BitReader<FWMIE1_A>;
139#[doc = "FIFO1 Watermark Interrupt Enable\n\nValue on reset: 0"]
140#[derive(Clone, Copy, Debug, PartialEq, Eq)]
141pub enum FWMIE1_A {
142 #[doc = "0: Disabled"]
143 DISABLED = 0,
144 #[doc = "1: Enabled"]
145 ENABLED = 1,
146}
147impl From<FWMIE1_A> for bool {
148 #[inline(always)]
149 fn from(variant: FWMIE1_A) -> Self {
150 variant as u8 != 0
151 }
152}
153impl FWMIE1_R {
154 #[doc = "Get enumerated values variant"]
155 #[inline(always)]
156 pub fn variant(&self) -> FWMIE1_A {
157 match self.bits {
158 false => FWMIE1_A::DISABLED,
159 true => FWMIE1_A::ENABLED,
160 }
161 }
162 #[doc = "Checks if the value of the field is `DISABLED`"]
163 #[inline(always)]
164 pub fn is_disabled(&self) -> bool {
165 *self == FWMIE1_A::DISABLED
166 }
167 #[doc = "Checks if the value of the field is `ENABLED`"]
168 #[inline(always)]
169 pub fn is_enabled(&self) -> bool {
170 *self == FWMIE1_A::ENABLED
171 }
172}
173#[doc = "Field `FWMIE1` writer - FIFO1 Watermark Interrupt Enable"]
174pub type FWMIE1_W<'a, const O: u8> = crate::BitWriter<'a, u32, IE_SPEC, FWMIE1_A, O>;
175impl<'a, const O: u8> FWMIE1_W<'a, O> {
176 #[doc = "Disabled"]
177 #[inline(always)]
178 pub fn disabled(self) -> &'a mut W {
179 self.variant(FWMIE1_A::DISABLED)
180 }
181 #[doc = "Enabled"]
182 #[inline(always)]
183 pub fn enabled(self) -> &'a mut W {
184 self.variant(FWMIE1_A::ENABLED)
185 }
186}
187#[doc = "Field `FOFIE1` reader - Result FIFO1 Overflow Interrupt Enable"]
188pub type FOFIE1_R = crate::BitReader<FOFIE1_A>;
189#[doc = "Result FIFO1 Overflow Interrupt Enable\n\nValue on reset: 0"]
190#[derive(Clone, Copy, Debug, PartialEq, Eq)]
191pub enum FOFIE1_A {
192 #[doc = "0: Disabled"]
193 DISABLED = 0,
194 #[doc = "1: Enabled"]
195 ENABLED = 1,
196}
197impl From<FOFIE1_A> for bool {
198 #[inline(always)]
199 fn from(variant: FOFIE1_A) -> Self {
200 variant as u8 != 0
201 }
202}
203impl FOFIE1_R {
204 #[doc = "Get enumerated values variant"]
205 #[inline(always)]
206 pub fn variant(&self) -> FOFIE1_A {
207 match self.bits {
208 false => FOFIE1_A::DISABLED,
209 true => FOFIE1_A::ENABLED,
210 }
211 }
212 #[doc = "Checks if the value of the field is `DISABLED`"]
213 #[inline(always)]
214 pub fn is_disabled(&self) -> bool {
215 *self == FOFIE1_A::DISABLED
216 }
217 #[doc = "Checks if the value of the field is `ENABLED`"]
218 #[inline(always)]
219 pub fn is_enabled(&self) -> bool {
220 *self == FOFIE1_A::ENABLED
221 }
222}
223#[doc = "Field `FOFIE1` writer - Result FIFO1 Overflow Interrupt Enable"]
224pub type FOFIE1_W<'a, const O: u8> = crate::BitWriter<'a, u32, IE_SPEC, FOFIE1_A, O>;
225impl<'a, const O: u8> FOFIE1_W<'a, O> {
226 #[doc = "Disabled"]
227 #[inline(always)]
228 pub fn disabled(self) -> &'a mut W {
229 self.variant(FOFIE1_A::DISABLED)
230 }
231 #[doc = "Enabled"]
232 #[inline(always)]
233 pub fn enabled(self) -> &'a mut W {
234 self.variant(FOFIE1_A::ENABLED)
235 }
236}
237#[doc = "Field `TEXC_IE` reader - Trigger Exception Interrupt Enable"]
238pub type TEXC_IE_R = crate::BitReader<TEXC_IE_A>;
239#[doc = "Trigger Exception Interrupt Enable\n\nValue on reset: 0"]
240#[derive(Clone, Copy, Debug, PartialEq, Eq)]
241pub enum TEXC_IE_A {
242 #[doc = "0: Disabled"]
243 DISABLED = 0,
244 #[doc = "1: Enabled"]
245 ENABLED = 1,
246}
247impl From<TEXC_IE_A> for bool {
248 #[inline(always)]
249 fn from(variant: TEXC_IE_A) -> Self {
250 variant as u8 != 0
251 }
252}
253impl TEXC_IE_R {
254 #[doc = "Get enumerated values variant"]
255 #[inline(always)]
256 pub fn variant(&self) -> TEXC_IE_A {
257 match self.bits {
258 false => TEXC_IE_A::DISABLED,
259 true => TEXC_IE_A::ENABLED,
260 }
261 }
262 #[doc = "Checks if the value of the field is `DISABLED`"]
263 #[inline(always)]
264 pub fn is_disabled(&self) -> bool {
265 *self == TEXC_IE_A::DISABLED
266 }
267 #[doc = "Checks if the value of the field is `ENABLED`"]
268 #[inline(always)]
269 pub fn is_enabled(&self) -> bool {
270 *self == TEXC_IE_A::ENABLED
271 }
272}
273#[doc = "Field `TEXC_IE` writer - Trigger Exception Interrupt Enable"]
274pub type TEXC_IE_W<'a, const O: u8> = crate::BitWriter<'a, u32, IE_SPEC, TEXC_IE_A, O>;
275impl<'a, const O: u8> TEXC_IE_W<'a, O> {
276 #[doc = "Disabled"]
277 #[inline(always)]
278 pub fn disabled(self) -> &'a mut W {
279 self.variant(TEXC_IE_A::DISABLED)
280 }
281 #[doc = "Enabled"]
282 #[inline(always)]
283 pub fn enabled(self) -> &'a mut W {
284 self.variant(TEXC_IE_A::ENABLED)
285 }
286}
287#[doc = "Field `TCOMP_IE` reader - Trigger Completion Interrupt Enable"]
288pub type TCOMP_IE_R = crate::FieldReader<u16, TCOMP_IE_A>;
289#[doc = "Trigger Completion Interrupt Enable\n\nValue on reset: 0"]
290#[derive(Clone, Copy, Debug, PartialEq, Eq)]
291#[repr(u16)]
292pub enum TCOMP_IE_A {
293 #[doc = "0: All disabled"]
294 DISABLED = 0,
295 #[doc = "1: Trigger completion interrupts are enabled for trigger source 0 only."]
296 TRIGGER_0_COMPLETE_ENABLED = 1,
297 #[doc = "2: Trigger completion interrupts are enabled for trigger source 1 only."]
298 TRIGGER_1_COMPLETE_ENABLED = 2,
299 #[doc = "3: Associated trigger completion interrupts are enabled."]
300 TRIGGER_X_COMPLETE_ENABLED_3 = 3,
301 #[doc = "4: Associated trigger completion interrupts are enabled."]
302 TRIGGER_X_COMPLETE_ENABLED_4 = 4,
303 #[doc = "5: Associated trigger completion interrupts are enabled."]
304 TRIGGER_X_COMPLETE_ENABLED_5 = 5,
305 #[doc = "6: Associated trigger completion interrupts are enabled."]
306 TRIGGER_X_COMPLETE_ENABLED_6 = 6,
307 #[doc = "7: Associated trigger completion interrupts are enabled."]
308 TRIGGER_X_COMPLETE_ENABLED_7 = 7,
309 #[doc = "8: Associated trigger completion interrupts are enabled."]
310 TRIGGER_X_COMPLETE_ENABLED_8 = 8,
311 #[doc = "9: Associated trigger completion interrupts are enabled."]
312 TRIGGER_X_COMPLETE_ENABLED_9 = 9,
313 #[doc = "65535: All enabled"]
314 ALL_TRIGGER_COMPLETES_ENABLED = 65535,
315}
316impl From<TCOMP_IE_A> for u16 {
317 #[inline(always)]
318 fn from(variant: TCOMP_IE_A) -> Self {
319 variant as _
320 }
321}
322impl TCOMP_IE_R {
323 #[doc = "Get enumerated values variant"]
324 #[inline(always)]
325 pub fn variant(&self) -> Option<TCOMP_IE_A> {
326 match self.bits {
327 0 => Some(TCOMP_IE_A::DISABLED),
328 1 => Some(TCOMP_IE_A::TRIGGER_0_COMPLETE_ENABLED),
329 2 => Some(TCOMP_IE_A::TRIGGER_1_COMPLETE_ENABLED),
330 3 => Some(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_3),
331 4 => Some(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_4),
332 5 => Some(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_5),
333 6 => Some(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_6),
334 7 => Some(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_7),
335 8 => Some(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_8),
336 9 => Some(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_9),
337 65535 => Some(TCOMP_IE_A::ALL_TRIGGER_COMPLETES_ENABLED),
338 _ => None,
339 }
340 }
341 #[doc = "Checks if the value of the field is `DISABLED`"]
342 #[inline(always)]
343 pub fn is_disabled(&self) -> bool {
344 *self == TCOMP_IE_A::DISABLED
345 }
346 #[doc = "Checks if the value of the field is `TRIGGER_0_COMPLETE_ENABLED`"]
347 #[inline(always)]
348 pub fn is_trigger_0_complete_enabled(&self) -> bool {
349 *self == TCOMP_IE_A::TRIGGER_0_COMPLETE_ENABLED
350 }
351 #[doc = "Checks if the value of the field is `TRIGGER_1_COMPLETE_ENABLED`"]
352 #[inline(always)]
353 pub fn is_trigger_1_complete_enabled(&self) -> bool {
354 *self == TCOMP_IE_A::TRIGGER_1_COMPLETE_ENABLED
355 }
356 #[doc = "Checks if the value of the field is `TRIGGER_X_COMPLETE_ENABLED_3`"]
357 #[inline(always)]
358 pub fn is_trigger_x_complete_enabled_3(&self) -> bool {
359 *self == TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_3
360 }
361 #[doc = "Checks if the value of the field is `TRIGGER_X_COMPLETE_ENABLED_4`"]
362 #[inline(always)]
363 pub fn is_trigger_x_complete_enabled_4(&self) -> bool {
364 *self == TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_4
365 }
366 #[doc = "Checks if the value of the field is `TRIGGER_X_COMPLETE_ENABLED_5`"]
367 #[inline(always)]
368 pub fn is_trigger_x_complete_enabled_5(&self) -> bool {
369 *self == TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_5
370 }
371 #[doc = "Checks if the value of the field is `TRIGGER_X_COMPLETE_ENABLED_6`"]
372 #[inline(always)]
373 pub fn is_trigger_x_complete_enabled_6(&self) -> bool {
374 *self == TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_6
375 }
376 #[doc = "Checks if the value of the field is `TRIGGER_X_COMPLETE_ENABLED_7`"]
377 #[inline(always)]
378 pub fn is_trigger_x_complete_enabled_7(&self) -> bool {
379 *self == TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_7
380 }
381 #[doc = "Checks if the value of the field is `TRIGGER_X_COMPLETE_ENABLED_8`"]
382 #[inline(always)]
383 pub fn is_trigger_x_complete_enabled_8(&self) -> bool {
384 *self == TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_8
385 }
386 #[doc = "Checks if the value of the field is `TRIGGER_X_COMPLETE_ENABLED_9`"]
387 #[inline(always)]
388 pub fn is_trigger_x_complete_enabled_9(&self) -> bool {
389 *self == TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_9
390 }
391 #[doc = "Checks if the value of the field is `ALL_TRIGGER_COMPLETES_ENABLED`"]
392 #[inline(always)]
393 pub fn is_all_trigger_completes_enabled(&self) -> bool {
394 *self == TCOMP_IE_A::ALL_TRIGGER_COMPLETES_ENABLED
395 }
396}
397#[doc = "Field `TCOMP_IE` writer - Trigger Completion Interrupt Enable"]
398pub type TCOMP_IE_W<'a, const O: u8> = crate::FieldWriter<'a, u32, IE_SPEC, u16, TCOMP_IE_A, 16, O>;
399impl<'a, const O: u8> TCOMP_IE_W<'a, O> {
400 #[doc = "All disabled"]
401 #[inline(always)]
402 pub fn disabled(self) -> &'a mut W {
403 self.variant(TCOMP_IE_A::DISABLED)
404 }
405 #[doc = "Trigger completion interrupts are enabled for trigger source 0 only."]
406 #[inline(always)]
407 pub fn trigger_0_complete_enabled(self) -> &'a mut W {
408 self.variant(TCOMP_IE_A::TRIGGER_0_COMPLETE_ENABLED)
409 }
410 #[doc = "Trigger completion interrupts are enabled for trigger source 1 only."]
411 #[inline(always)]
412 pub fn trigger_1_complete_enabled(self) -> &'a mut W {
413 self.variant(TCOMP_IE_A::TRIGGER_1_COMPLETE_ENABLED)
414 }
415 #[doc = "Associated trigger completion interrupts are enabled."]
416 #[inline(always)]
417 pub fn trigger_x_complete_enabled_3(self) -> &'a mut W {
418 self.variant(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_3)
419 }
420 #[doc = "Associated trigger completion interrupts are enabled."]
421 #[inline(always)]
422 pub fn trigger_x_complete_enabled_4(self) -> &'a mut W {
423 self.variant(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_4)
424 }
425 #[doc = "Associated trigger completion interrupts are enabled."]
426 #[inline(always)]
427 pub fn trigger_x_complete_enabled_5(self) -> &'a mut W {
428 self.variant(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_5)
429 }
430 #[doc = "Associated trigger completion interrupts are enabled."]
431 #[inline(always)]
432 pub fn trigger_x_complete_enabled_6(self) -> &'a mut W {
433 self.variant(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_6)
434 }
435 #[doc = "Associated trigger completion interrupts are enabled."]
436 #[inline(always)]
437 pub fn trigger_x_complete_enabled_7(self) -> &'a mut W {
438 self.variant(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_7)
439 }
440 #[doc = "Associated trigger completion interrupts are enabled."]
441 #[inline(always)]
442 pub fn trigger_x_complete_enabled_8(self) -> &'a mut W {
443 self.variant(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_8)
444 }
445 #[doc = "Associated trigger completion interrupts are enabled."]
446 #[inline(always)]
447 pub fn trigger_x_complete_enabled_9(self) -> &'a mut W {
448 self.variant(TCOMP_IE_A::TRIGGER_X_COMPLETE_ENABLED_9)
449 }
450 #[doc = "All enabled"]
451 #[inline(always)]
452 pub fn all_trigger_completes_enabled(self) -> &'a mut W {
453 self.variant(TCOMP_IE_A::ALL_TRIGGER_COMPLETES_ENABLED)
454 }
455}
456impl R {
457 #[doc = "Bit 0 - FIFO 0 Watermark Interrupt Enable"]
458 #[inline(always)]
459 pub fn fwmie0(&self) -> FWMIE0_R {
460 FWMIE0_R::new((self.bits & 1) != 0)
461 }
462 #[doc = "Bit 1 - Result FIFO 0 Overflow Interrupt Enable"]
463 #[inline(always)]
464 pub fn fofie0(&self) -> FOFIE0_R {
465 FOFIE0_R::new(((self.bits >> 1) & 1) != 0)
466 }
467 #[doc = "Bit 2 - FIFO1 Watermark Interrupt Enable"]
468 #[inline(always)]
469 pub fn fwmie1(&self) -> FWMIE1_R {
470 FWMIE1_R::new(((self.bits >> 2) & 1) != 0)
471 }
472 #[doc = "Bit 3 - Result FIFO1 Overflow Interrupt Enable"]
473 #[inline(always)]
474 pub fn fofie1(&self) -> FOFIE1_R {
475 FOFIE1_R::new(((self.bits >> 3) & 1) != 0)
476 }
477 #[doc = "Bit 8 - Trigger Exception Interrupt Enable"]
478 #[inline(always)]
479 pub fn texc_ie(&self) -> TEXC_IE_R {
480 TEXC_IE_R::new(((self.bits >> 8) & 1) != 0)
481 }
482 #[doc = "Bits 16:31 - Trigger Completion Interrupt Enable"]
483 #[inline(always)]
484 pub fn tcomp_ie(&self) -> TCOMP_IE_R {
485 TCOMP_IE_R::new(((self.bits >> 16) & 0xffff) as u16)
486 }
487}
488impl W {
489 #[doc = "Bit 0 - FIFO 0 Watermark Interrupt Enable"]
490 #[inline(always)]
491 #[must_use]
492 pub fn fwmie0(&mut self) -> FWMIE0_W<0> {
493 FWMIE0_W::new(self)
494 }
495 #[doc = "Bit 1 - Result FIFO 0 Overflow Interrupt Enable"]
496 #[inline(always)]
497 #[must_use]
498 pub fn fofie0(&mut self) -> FOFIE0_W<1> {
499 FOFIE0_W::new(self)
500 }
501 #[doc = "Bit 2 - FIFO1 Watermark Interrupt Enable"]
502 #[inline(always)]
503 #[must_use]
504 pub fn fwmie1(&mut self) -> FWMIE1_W<2> {
505 FWMIE1_W::new(self)
506 }
507 #[doc = "Bit 3 - Result FIFO1 Overflow Interrupt Enable"]
508 #[inline(always)]
509 #[must_use]
510 pub fn fofie1(&mut self) -> FOFIE1_W<3> {
511 FOFIE1_W::new(self)
512 }
513 #[doc = "Bit 8 - Trigger Exception Interrupt Enable"]
514 #[inline(always)]
515 #[must_use]
516 pub fn texc_ie(&mut self) -> TEXC_IE_W<8> {
517 TEXC_IE_W::new(self)
518 }
519 #[doc = "Bits 16:31 - Trigger Completion Interrupt Enable"]
520 #[inline(always)]
521 #[must_use]
522 pub fn tcomp_ie(&mut self) -> TCOMP_IE_W<16> {
523 TCOMP_IE_W::new(self)
524 }
525 #[doc = "Writes raw bits to the register."]
526 #[inline(always)]
527 pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
528 self.0.bits(bits);
529 self
530 }
531}
532#[doc = "Interrupt Enable Register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ie](index.html) module"]
533pub struct IE_SPEC;
534impl crate::RegisterSpec for IE_SPEC {
535 type Ux = u32;
536}
537#[doc = "`read()` method returns [ie::R](R) reader structure"]
538impl crate::Readable for IE_SPEC {
539 type Reader = R;
540}
541#[doc = "`write(|w| ..)` method takes [ie::W](W) writer structure"]
542impl crate::Writable for IE_SPEC {
543 type Writer = W;
544 const ZERO_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
545 const ONE_TO_MODIFY_FIELDS_BITMAP: Self::Ux = 0;
546}
547#[doc = "`reset()` method sets IE to value 0"]
548impl crate::Resettable for IE_SPEC {
549 const RESET_VALUE: Self::Ux = 0;
550}