eos_s3/intr_ctrl/
ffe_intr_en_ap.rs

1#[doc = "Register `FFE_INTR_EN_AP` reader"]
2pub struct R(crate::R<FFE_INTR_EN_AP_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<FFE_INTR_EN_AP_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<FFE_INTR_EN_AP_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<FFE_INTR_EN_AP_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Register `FFE_INTR_EN_AP` writer"]
17pub struct W(crate::W<FFE_INTR_EN_AP_SPEC>);
18impl core::ops::Deref for W {
19    type Target = crate::W<FFE_INTR_EN_AP_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<FFE_INTR_EN_AP_SPEC>> for W {
32    #[inline(always)]
33    fn from(writer: crate::W<FFE_INTR_EN_AP_SPEC>) -> Self {
34        W(writer)
35    }
36}
37#[doc = "FFE0_0 interrupt enable for AP\n\nValue on reset: 0"]
38#[derive(Clone, Copy, Debug, PartialEq)]
39pub enum FFE0_0_INTR_EN_AP_A {
40    #[doc = "0: Disable the interrupt for the power domain"]
41    ENABLE = 0,
42    #[doc = "1: Enable the interrupt for the power domain"]
43    DISABLE = 1,
44}
45impl From<FFE0_0_INTR_EN_AP_A> for bool {
46    #[inline(always)]
47    fn from(variant: FFE0_0_INTR_EN_AP_A) -> Self {
48        variant as u8 != 0
49    }
50}
51#[doc = "Field `FFE0_0_INTR_EN_AP` reader - FFE0_0 interrupt enable for AP"]
52pub struct FFE0_0_INTR_EN_AP_R(crate::FieldReader<bool, FFE0_0_INTR_EN_AP_A>);
53impl FFE0_0_INTR_EN_AP_R {
54    #[inline(always)]
55    pub(crate) fn new(bits: bool) -> Self {
56        FFE0_0_INTR_EN_AP_R(crate::FieldReader::new(bits))
57    }
58    #[doc = r"Get enumerated values variant"]
59    #[inline(always)]
60    pub fn variant(&self) -> FFE0_0_INTR_EN_AP_A {
61        match self.bits {
62            false => FFE0_0_INTR_EN_AP_A::ENABLE,
63            true => FFE0_0_INTR_EN_AP_A::DISABLE,
64        }
65    }
66    #[doc = "Checks if the value of the field is `ENABLE`"]
67    #[inline(always)]
68    pub fn is_enable(&self) -> bool {
69        **self == FFE0_0_INTR_EN_AP_A::ENABLE
70    }
71    #[doc = "Checks if the value of the field is `DISABLE`"]
72    #[inline(always)]
73    pub fn is_disable(&self) -> bool {
74        **self == FFE0_0_INTR_EN_AP_A::DISABLE
75    }
76}
77impl core::ops::Deref for FFE0_0_INTR_EN_AP_R {
78    type Target = crate::FieldReader<bool, FFE0_0_INTR_EN_AP_A>;
79    #[inline(always)]
80    fn deref(&self) -> &Self::Target {
81        &self.0
82    }
83}
84#[doc = "Field `FFE0_0_INTR_EN_AP` writer - FFE0_0 interrupt enable for AP"]
85pub struct FFE0_0_INTR_EN_AP_W<'a> {
86    w: &'a mut W,
87}
88impl<'a> FFE0_0_INTR_EN_AP_W<'a> {
89    #[doc = r"Writes `variant` to the field"]
90    #[inline(always)]
91    pub fn variant(self, variant: FFE0_0_INTR_EN_AP_A) -> &'a mut W {
92        self.bit(variant.into())
93    }
94    #[doc = "Disable the interrupt for the power domain"]
95    #[inline(always)]
96    pub fn enable(self) -> &'a mut W {
97        self.variant(FFE0_0_INTR_EN_AP_A::ENABLE)
98    }
99    #[doc = "Enable the interrupt for the power domain"]
100    #[inline(always)]
101    pub fn disable(self) -> &'a mut W {
102        self.variant(FFE0_0_INTR_EN_AP_A::DISABLE)
103    }
104    #[doc = r"Sets the field bit"]
105    #[inline(always)]
106    pub fn set_bit(self) -> &'a mut W {
107        self.bit(true)
108    }
109    #[doc = r"Clears the field bit"]
110    #[inline(always)]
111    pub fn clear_bit(self) -> &'a mut W {
112        self.bit(false)
113    }
114    #[doc = r"Writes raw bits to the field"]
115    #[inline(always)]
116    pub fn bit(self, value: bool) -> &'a mut W {
117        self.w.bits = (self.w.bits & !0x01) | (value as u32 & 0x01);
118        self.w
119    }
120}
121#[doc = "FFE0_1 interrupt enable for AP"]
122pub type FFE0_1_INTR_EN_AP_A = FFE0_0_INTR_EN_AP_A;
123#[doc = "Field `FFE0_1_INTR_EN_AP` reader - FFE0_1 interrupt enable for AP"]
124pub type FFE0_1_INTR_EN_AP_R = FFE0_0_INTR_EN_AP_R;
125#[doc = "Field `FFE0_1_INTR_EN_AP` writer - FFE0_1 interrupt enable for AP"]
126pub struct FFE0_1_INTR_EN_AP_W<'a> {
127    w: &'a mut W,
128}
129impl<'a> FFE0_1_INTR_EN_AP_W<'a> {
130    #[doc = r"Writes `variant` to the field"]
131    #[inline(always)]
132    pub fn variant(self, variant: FFE0_1_INTR_EN_AP_A) -> &'a mut W {
133        self.bit(variant.into())
134    }
135    #[doc = "Disable the interrupt for the power domain"]
136    #[inline(always)]
137    pub fn enable(self) -> &'a mut W {
138        self.variant(FFE0_1_INTR_EN_AP_A::ENABLE)
139    }
140    #[doc = "Enable the interrupt for the power domain"]
141    #[inline(always)]
142    pub fn disable(self) -> &'a mut W {
143        self.variant(FFE0_1_INTR_EN_AP_A::DISABLE)
144    }
145    #[doc = r"Sets the field bit"]
146    #[inline(always)]
147    pub fn set_bit(self) -> &'a mut W {
148        self.bit(true)
149    }
150    #[doc = r"Clears the field bit"]
151    #[inline(always)]
152    pub fn clear_bit(self) -> &'a mut W {
153        self.bit(false)
154    }
155    #[doc = r"Writes raw bits to the field"]
156    #[inline(always)]
157    pub fn bit(self, value: bool) -> &'a mut W {
158        self.w.bits =
159            (self.w.bits & !(0x01 << 1)) | ((value as u32 & 0x01) << 1);
160        self.w
161    }
162}
163#[doc = "FFE0_2 interrupt enable for AP"]
164pub type FFE0_2_INTR_EN_AP_A = FFE0_0_INTR_EN_AP_A;
165#[doc = "Field `FFE0_2_INTR_EN_AP` reader - FFE0_2 interrupt enable for AP"]
166pub type FFE0_2_INTR_EN_AP_R = FFE0_0_INTR_EN_AP_R;
167#[doc = "Field `FFE0_2_INTR_EN_AP` writer - FFE0_2 interrupt enable for AP"]
168pub struct FFE0_2_INTR_EN_AP_W<'a> {
169    w: &'a mut W,
170}
171impl<'a> FFE0_2_INTR_EN_AP_W<'a> {
172    #[doc = r"Writes `variant` to the field"]
173    #[inline(always)]
174    pub fn variant(self, variant: FFE0_2_INTR_EN_AP_A) -> &'a mut W {
175        self.bit(variant.into())
176    }
177    #[doc = "Disable the interrupt for the power domain"]
178    #[inline(always)]
179    pub fn enable(self) -> &'a mut W {
180        self.variant(FFE0_2_INTR_EN_AP_A::ENABLE)
181    }
182    #[doc = "Enable the interrupt for the power domain"]
183    #[inline(always)]
184    pub fn disable(self) -> &'a mut W {
185        self.variant(FFE0_2_INTR_EN_AP_A::DISABLE)
186    }
187    #[doc = r"Sets the field bit"]
188    #[inline(always)]
189    pub fn set_bit(self) -> &'a mut W {
190        self.bit(true)
191    }
192    #[doc = r"Clears the field bit"]
193    #[inline(always)]
194    pub fn clear_bit(self) -> &'a mut W {
195        self.bit(false)
196    }
197    #[doc = r"Writes raw bits to the field"]
198    #[inline(always)]
199    pub fn bit(self, value: bool) -> &'a mut W {
200        self.w.bits =
201            (self.w.bits & !(0x01 << 2)) | ((value as u32 & 0x01) << 2);
202        self.w
203    }
204}
205#[doc = "FFE0_3 interrupt enable for AP"]
206pub type FFE0_3_INTR_EN_AP_A = FFE0_0_INTR_EN_AP_A;
207#[doc = "Field `FFE0_3_INTR_EN_AP` reader - FFE0_3 interrupt enable for AP"]
208pub type FFE0_3_INTR_EN_AP_R = FFE0_0_INTR_EN_AP_R;
209#[doc = "Field `FFE0_3_INTR_EN_AP` writer - FFE0_3 interrupt enable for AP"]
210pub struct FFE0_3_INTR_EN_AP_W<'a> {
211    w: &'a mut W,
212}
213impl<'a> FFE0_3_INTR_EN_AP_W<'a> {
214    #[doc = r"Writes `variant` to the field"]
215    #[inline(always)]
216    pub fn variant(self, variant: FFE0_3_INTR_EN_AP_A) -> &'a mut W {
217        self.bit(variant.into())
218    }
219    #[doc = "Disable the interrupt for the power domain"]
220    #[inline(always)]
221    pub fn enable(self) -> &'a mut W {
222        self.variant(FFE0_3_INTR_EN_AP_A::ENABLE)
223    }
224    #[doc = "Enable the interrupt for the power domain"]
225    #[inline(always)]
226    pub fn disable(self) -> &'a mut W {
227        self.variant(FFE0_3_INTR_EN_AP_A::DISABLE)
228    }
229    #[doc = r"Sets the field bit"]
230    #[inline(always)]
231    pub fn set_bit(self) -> &'a mut W {
232        self.bit(true)
233    }
234    #[doc = r"Clears the field bit"]
235    #[inline(always)]
236    pub fn clear_bit(self) -> &'a mut W {
237        self.bit(false)
238    }
239    #[doc = r"Writes raw bits to the field"]
240    #[inline(always)]
241    pub fn bit(self, value: bool) -> &'a mut W {
242        self.w.bits =
243            (self.w.bits & !(0x01 << 3)) | ((value as u32 & 0x01) << 3);
244        self.w
245    }
246}
247#[doc = "FFE0_4 interrupt enable for AP"]
248pub type FFE0_4_INTR_EN_AP_A = FFE0_0_INTR_EN_AP_A;
249#[doc = "Field `FFE0_4_INTR_EN_AP` reader - FFE0_4 interrupt enable for AP"]
250pub type FFE0_4_INTR_EN_AP_R = FFE0_0_INTR_EN_AP_R;
251#[doc = "Field `FFE0_4_INTR_EN_AP` writer - FFE0_4 interrupt enable for AP"]
252pub struct FFE0_4_INTR_EN_AP_W<'a> {
253    w: &'a mut W,
254}
255impl<'a> FFE0_4_INTR_EN_AP_W<'a> {
256    #[doc = r"Writes `variant` to the field"]
257    #[inline(always)]
258    pub fn variant(self, variant: FFE0_4_INTR_EN_AP_A) -> &'a mut W {
259        self.bit(variant.into())
260    }
261    #[doc = "Disable the interrupt for the power domain"]
262    #[inline(always)]
263    pub fn enable(self) -> &'a mut W {
264        self.variant(FFE0_4_INTR_EN_AP_A::ENABLE)
265    }
266    #[doc = "Enable the interrupt for the power domain"]
267    #[inline(always)]
268    pub fn disable(self) -> &'a mut W {
269        self.variant(FFE0_4_INTR_EN_AP_A::DISABLE)
270    }
271    #[doc = r"Sets the field bit"]
272    #[inline(always)]
273    pub fn set_bit(self) -> &'a mut W {
274        self.bit(true)
275    }
276    #[doc = r"Clears the field bit"]
277    #[inline(always)]
278    pub fn clear_bit(self) -> &'a mut W {
279        self.bit(false)
280    }
281    #[doc = r"Writes raw bits to the field"]
282    #[inline(always)]
283    pub fn bit(self, value: bool) -> &'a mut W {
284        self.w.bits =
285            (self.w.bits & !(0x01 << 4)) | ((value as u32 & 0x01) << 4);
286        self.w
287    }
288}
289#[doc = "FFE0_5 interrupt enable for AP"]
290pub type FFE0_5_INTR_EN_AP_A = FFE0_0_INTR_EN_AP_A;
291#[doc = "Field `FFE0_5_INTR_EN_AP` reader - FFE0_5 interrupt enable for AP"]
292pub type FFE0_5_INTR_EN_AP_R = FFE0_0_INTR_EN_AP_R;
293#[doc = "Field `FFE0_5_INTR_EN_AP` writer - FFE0_5 interrupt enable for AP"]
294pub struct FFE0_5_INTR_EN_AP_W<'a> {
295    w: &'a mut W,
296}
297impl<'a> FFE0_5_INTR_EN_AP_W<'a> {
298    #[doc = r"Writes `variant` to the field"]
299    #[inline(always)]
300    pub fn variant(self, variant: FFE0_5_INTR_EN_AP_A) -> &'a mut W {
301        self.bit(variant.into())
302    }
303    #[doc = "Disable the interrupt for the power domain"]
304    #[inline(always)]
305    pub fn enable(self) -> &'a mut W {
306        self.variant(FFE0_5_INTR_EN_AP_A::ENABLE)
307    }
308    #[doc = "Enable the interrupt for the power domain"]
309    #[inline(always)]
310    pub fn disable(self) -> &'a mut W {
311        self.variant(FFE0_5_INTR_EN_AP_A::DISABLE)
312    }
313    #[doc = r"Sets the field bit"]
314    #[inline(always)]
315    pub fn set_bit(self) -> &'a mut W {
316        self.bit(true)
317    }
318    #[doc = r"Clears the field bit"]
319    #[inline(always)]
320    pub fn clear_bit(self) -> &'a mut W {
321        self.bit(false)
322    }
323    #[doc = r"Writes raw bits to the field"]
324    #[inline(always)]
325    pub fn bit(self, value: bool) -> &'a mut W {
326        self.w.bits =
327            (self.w.bits & !(0x01 << 5)) | ((value as u32 & 0x01) << 5);
328        self.w
329    }
330}
331#[doc = "FFE0_6 interrupt enable for AP"]
332pub type FFE0_6_INTR_EN_AP_A = FFE0_0_INTR_EN_AP_A;
333#[doc = "Field `FFE0_6_INTR_EN_AP` reader - FFE0_6 interrupt enable for AP"]
334pub type FFE0_6_INTR_EN_AP_R = FFE0_0_INTR_EN_AP_R;
335#[doc = "Field `FFE0_6_INTR_EN_AP` writer - FFE0_6 interrupt enable for AP"]
336pub struct FFE0_6_INTR_EN_AP_W<'a> {
337    w: &'a mut W,
338}
339impl<'a> FFE0_6_INTR_EN_AP_W<'a> {
340    #[doc = r"Writes `variant` to the field"]
341    #[inline(always)]
342    pub fn variant(self, variant: FFE0_6_INTR_EN_AP_A) -> &'a mut W {
343        self.bit(variant.into())
344    }
345    #[doc = "Disable the interrupt for the power domain"]
346    #[inline(always)]
347    pub fn enable(self) -> &'a mut W {
348        self.variant(FFE0_6_INTR_EN_AP_A::ENABLE)
349    }
350    #[doc = "Enable the interrupt for the power domain"]
351    #[inline(always)]
352    pub fn disable(self) -> &'a mut W {
353        self.variant(FFE0_6_INTR_EN_AP_A::DISABLE)
354    }
355    #[doc = r"Sets the field bit"]
356    #[inline(always)]
357    pub fn set_bit(self) -> &'a mut W {
358        self.bit(true)
359    }
360    #[doc = r"Clears the field bit"]
361    #[inline(always)]
362    pub fn clear_bit(self) -> &'a mut W {
363        self.bit(false)
364    }
365    #[doc = r"Writes raw bits to the field"]
366    #[inline(always)]
367    pub fn bit(self, value: bool) -> &'a mut W {
368        self.w.bits =
369            (self.w.bits & !(0x01 << 6)) | ((value as u32 & 0x01) << 6);
370        self.w
371    }
372}
373#[doc = "FFE0_7 interrupt enable for AP"]
374pub type FFE0_7_INTR_EN_AP_A = FFE0_0_INTR_EN_AP_A;
375#[doc = "Field `FFE0_7_INTR_EN_AP` reader - FFE0_7 interrupt enable for AP"]
376pub type FFE0_7_INTR_EN_AP_R = FFE0_0_INTR_EN_AP_R;
377#[doc = "Field `FFE0_7_INTR_EN_AP` writer - FFE0_7 interrupt enable for AP"]
378pub struct FFE0_7_INTR_EN_AP_W<'a> {
379    w: &'a mut W,
380}
381impl<'a> FFE0_7_INTR_EN_AP_W<'a> {
382    #[doc = r"Writes `variant` to the field"]
383    #[inline(always)]
384    pub fn variant(self, variant: FFE0_7_INTR_EN_AP_A) -> &'a mut W {
385        self.bit(variant.into())
386    }
387    #[doc = "Disable the interrupt for the power domain"]
388    #[inline(always)]
389    pub fn enable(self) -> &'a mut W {
390        self.variant(FFE0_7_INTR_EN_AP_A::ENABLE)
391    }
392    #[doc = "Enable the interrupt for the power domain"]
393    #[inline(always)]
394    pub fn disable(self) -> &'a mut W {
395        self.variant(FFE0_7_INTR_EN_AP_A::DISABLE)
396    }
397    #[doc = r"Sets the field bit"]
398    #[inline(always)]
399    pub fn set_bit(self) -> &'a mut W {
400        self.bit(true)
401    }
402    #[doc = r"Clears the field bit"]
403    #[inline(always)]
404    pub fn clear_bit(self) -> &'a mut W {
405        self.bit(false)
406    }
407    #[doc = r"Writes raw bits to the field"]
408    #[inline(always)]
409    pub fn bit(self, value: bool) -> &'a mut W {
410        self.w.bits =
411            (self.w.bits & !(0x01 << 7)) | ((value as u32 & 0x01) << 7);
412        self.w
413    }
414}
415impl R {
416    #[doc = "Bit 0 - FFE0_0 interrupt enable for AP"]
417    #[inline(always)]
418    pub fn ffe0_0_intr_en_ap(&self) -> FFE0_0_INTR_EN_AP_R {
419        FFE0_0_INTR_EN_AP_R::new((self.bits & 0x01) != 0)
420    }
421    #[doc = "Bit 1 - FFE0_1 interrupt enable for AP"]
422    #[inline(always)]
423    pub fn ffe0_1_intr_en_ap(&self) -> FFE0_1_INTR_EN_AP_R {
424        FFE0_1_INTR_EN_AP_R::new(((self.bits >> 1) & 0x01) != 0)
425    }
426    #[doc = "Bit 2 - FFE0_2 interrupt enable for AP"]
427    #[inline(always)]
428    pub fn ffe0_2_intr_en_ap(&self) -> FFE0_2_INTR_EN_AP_R {
429        FFE0_2_INTR_EN_AP_R::new(((self.bits >> 2) & 0x01) != 0)
430    }
431    #[doc = "Bit 3 - FFE0_3 interrupt enable for AP"]
432    #[inline(always)]
433    pub fn ffe0_3_intr_en_ap(&self) -> FFE0_3_INTR_EN_AP_R {
434        FFE0_3_INTR_EN_AP_R::new(((self.bits >> 3) & 0x01) != 0)
435    }
436    #[doc = "Bit 4 - FFE0_4 interrupt enable for AP"]
437    #[inline(always)]
438    pub fn ffe0_4_intr_en_ap(&self) -> FFE0_4_INTR_EN_AP_R {
439        FFE0_4_INTR_EN_AP_R::new(((self.bits >> 4) & 0x01) != 0)
440    }
441    #[doc = "Bit 5 - FFE0_5 interrupt enable for AP"]
442    #[inline(always)]
443    pub fn ffe0_5_intr_en_ap(&self) -> FFE0_5_INTR_EN_AP_R {
444        FFE0_5_INTR_EN_AP_R::new(((self.bits >> 5) & 0x01) != 0)
445    }
446    #[doc = "Bit 6 - FFE0_6 interrupt enable for AP"]
447    #[inline(always)]
448    pub fn ffe0_6_intr_en_ap(&self) -> FFE0_6_INTR_EN_AP_R {
449        FFE0_6_INTR_EN_AP_R::new(((self.bits >> 6) & 0x01) != 0)
450    }
451    #[doc = "Bit 7 - FFE0_7 interrupt enable for AP"]
452    #[inline(always)]
453    pub fn ffe0_7_intr_en_ap(&self) -> FFE0_7_INTR_EN_AP_R {
454        FFE0_7_INTR_EN_AP_R::new(((self.bits >> 7) & 0x01) != 0)
455    }
456}
457impl W {
458    #[doc = "Bit 0 - FFE0_0 interrupt enable for AP"]
459    #[inline(always)]
460    pub fn ffe0_0_intr_en_ap(&mut self) -> FFE0_0_INTR_EN_AP_W {
461        FFE0_0_INTR_EN_AP_W { w: self }
462    }
463    #[doc = "Bit 1 - FFE0_1 interrupt enable for AP"]
464    #[inline(always)]
465    pub fn ffe0_1_intr_en_ap(&mut self) -> FFE0_1_INTR_EN_AP_W {
466        FFE0_1_INTR_EN_AP_W { w: self }
467    }
468    #[doc = "Bit 2 - FFE0_2 interrupt enable for AP"]
469    #[inline(always)]
470    pub fn ffe0_2_intr_en_ap(&mut self) -> FFE0_2_INTR_EN_AP_W {
471        FFE0_2_INTR_EN_AP_W { w: self }
472    }
473    #[doc = "Bit 3 - FFE0_3 interrupt enable for AP"]
474    #[inline(always)]
475    pub fn ffe0_3_intr_en_ap(&mut self) -> FFE0_3_INTR_EN_AP_W {
476        FFE0_3_INTR_EN_AP_W { w: self }
477    }
478    #[doc = "Bit 4 - FFE0_4 interrupt enable for AP"]
479    #[inline(always)]
480    pub fn ffe0_4_intr_en_ap(&mut self) -> FFE0_4_INTR_EN_AP_W {
481        FFE0_4_INTR_EN_AP_W { w: self }
482    }
483    #[doc = "Bit 5 - FFE0_5 interrupt enable for AP"]
484    #[inline(always)]
485    pub fn ffe0_5_intr_en_ap(&mut self) -> FFE0_5_INTR_EN_AP_W {
486        FFE0_5_INTR_EN_AP_W { w: self }
487    }
488    #[doc = "Bit 6 - FFE0_6 interrupt enable for AP"]
489    #[inline(always)]
490    pub fn ffe0_6_intr_en_ap(&mut self) -> FFE0_6_INTR_EN_AP_W {
491        FFE0_6_INTR_EN_AP_W { w: self }
492    }
493    #[doc = "Bit 7 - FFE0_7 interrupt enable for AP"]
494    #[inline(always)]
495    pub fn ffe0_7_intr_en_ap(&mut self) -> FFE0_7_INTR_EN_AP_W {
496        FFE0_7_INTR_EN_AP_W { w: self }
497    }
498    #[doc = "Writes raw bits to the register."]
499    #[inline(always)]
500    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
501        self.0.bits(bits);
502        self
503    }
504}
505#[doc = "FFE0 interrupt enable for AP\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 [ffe_intr_en_ap](index.html) module"]
506pub struct FFE_INTR_EN_AP_SPEC;
507impl crate::RegisterSpec for FFE_INTR_EN_AP_SPEC {
508    type Ux = u32;
509}
510#[doc = "`read()` method returns [ffe_intr_en_ap::R](R) reader structure"]
511impl crate::Readable for FFE_INTR_EN_AP_SPEC {
512    type Reader = R;
513}
514#[doc = "`write(|w| ..)` method takes [ffe_intr_en_ap::W](W) writer structure"]
515impl crate::Writable for FFE_INTR_EN_AP_SPEC {
516    type Writer = W;
517}
518#[doc = "`reset()` method sets FFE_INTR_EN_AP to value 0"]
519impl crate::Resettable for FFE_INTR_EN_AP_SPEC {
520    #[inline(always)]
521    fn reset_value() -> Self::Ux {
522        0
523    }
524}