esp32p4/mipi_csi_host/
int_msk_bndry_frame_fatal.rs

1#[doc = "Register `INT_MSK_BNDRY_FRAME_FATAL` reader"]
2pub type R = crate::R<INT_MSK_BNDRY_FRAME_FATAL_SPEC>;
3#[doc = "Register `INT_MSK_BNDRY_FRAME_FATAL` writer"]
4pub type W = crate::W<INT_MSK_BNDRY_FRAME_FATAL_SPEC>;
5#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC0` reader - NA"]
6pub type MASK_ERR_F_BNDRY_MATCH_VC0_R = crate::BitReader;
7#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC0` writer - NA"]
8pub type MASK_ERR_F_BNDRY_MATCH_VC0_W<'a, REG> = crate::BitWriter<'a, REG>;
9#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC1` reader - NA"]
10pub type MASK_ERR_F_BNDRY_MATCH_VC1_R = crate::BitReader;
11#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC1` writer - NA"]
12pub type MASK_ERR_F_BNDRY_MATCH_VC1_W<'a, REG> = crate::BitWriter<'a, REG>;
13#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC2` reader - NA"]
14pub type MASK_ERR_F_BNDRY_MATCH_VC2_R = crate::BitReader;
15#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC2` writer - NA"]
16pub type MASK_ERR_F_BNDRY_MATCH_VC2_W<'a, REG> = crate::BitWriter<'a, REG>;
17#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC3` reader - NA"]
18pub type MASK_ERR_F_BNDRY_MATCH_VC3_R = crate::BitReader;
19#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC3` writer - NA"]
20pub type MASK_ERR_F_BNDRY_MATCH_VC3_W<'a, REG> = crate::BitWriter<'a, REG>;
21#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC4` reader - NA"]
22pub type MASK_ERR_F_BNDRY_MATCH_VC4_R = crate::BitReader;
23#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC4` writer - NA"]
24pub type MASK_ERR_F_BNDRY_MATCH_VC4_W<'a, REG> = crate::BitWriter<'a, REG>;
25#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC5` reader - NA"]
26pub type MASK_ERR_F_BNDRY_MATCH_VC5_R = crate::BitReader;
27#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC5` writer - NA"]
28pub type MASK_ERR_F_BNDRY_MATCH_VC5_W<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC6` reader - NA"]
30pub type MASK_ERR_F_BNDRY_MATCH_VC6_R = crate::BitReader;
31#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC6` writer - NA"]
32pub type MASK_ERR_F_BNDRY_MATCH_VC6_W<'a, REG> = crate::BitWriter<'a, REG>;
33#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC7` reader - NA"]
34pub type MASK_ERR_F_BNDRY_MATCH_VC7_R = crate::BitReader;
35#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC7` writer - NA"]
36pub type MASK_ERR_F_BNDRY_MATCH_VC7_W<'a, REG> = crate::BitWriter<'a, REG>;
37#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC8` reader - NA"]
38pub type MASK_ERR_F_BNDRY_MATCH_VC8_R = crate::BitReader;
39#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC8` writer - NA"]
40pub type MASK_ERR_F_BNDRY_MATCH_VC8_W<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC9` reader - NA"]
42pub type MASK_ERR_F_BNDRY_MATCH_VC9_R = crate::BitReader;
43#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC9` writer - NA"]
44pub type MASK_ERR_F_BNDRY_MATCH_VC9_W<'a, REG> = crate::BitWriter<'a, REG>;
45#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC10` reader - NA"]
46pub type MASK_ERR_F_BNDRY_MATCH_VC10_R = crate::BitReader;
47#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC10` writer - NA"]
48pub type MASK_ERR_F_BNDRY_MATCH_VC10_W<'a, REG> = crate::BitWriter<'a, REG>;
49#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC11` reader - NA"]
50pub type MASK_ERR_F_BNDRY_MATCH_VC11_R = crate::BitReader;
51#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC11` writer - NA"]
52pub type MASK_ERR_F_BNDRY_MATCH_VC11_W<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC12` reader - NA"]
54pub type MASK_ERR_F_BNDRY_MATCH_VC12_R = crate::BitReader;
55#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC12` writer - NA"]
56pub type MASK_ERR_F_BNDRY_MATCH_VC12_W<'a, REG> = crate::BitWriter<'a, REG>;
57#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC13` reader - NA"]
58pub type MASK_ERR_F_BNDRY_MATCH_VC13_R = crate::BitReader;
59#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC13` writer - NA"]
60pub type MASK_ERR_F_BNDRY_MATCH_VC13_W<'a, REG> = crate::BitWriter<'a, REG>;
61#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC14` reader - NA"]
62pub type MASK_ERR_F_BNDRY_MATCH_VC14_R = crate::BitReader;
63#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC14` writer - NA"]
64pub type MASK_ERR_F_BNDRY_MATCH_VC14_W<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC15` reader - NA"]
66pub type MASK_ERR_F_BNDRY_MATCH_VC15_R = crate::BitReader;
67#[doc = "Field `MASK_ERR_F_BNDRY_MATCH_VC15` writer - NA"]
68pub type MASK_ERR_F_BNDRY_MATCH_VC15_W<'a, REG> = crate::BitWriter<'a, REG>;
69impl R {
70    #[doc = "Bit 0 - NA"]
71    #[inline(always)]
72    pub fn mask_err_f_bndry_match_vc0(&self) -> MASK_ERR_F_BNDRY_MATCH_VC0_R {
73        MASK_ERR_F_BNDRY_MATCH_VC0_R::new((self.bits & 1) != 0)
74    }
75    #[doc = "Bit 1 - NA"]
76    #[inline(always)]
77    pub fn mask_err_f_bndry_match_vc1(&self) -> MASK_ERR_F_BNDRY_MATCH_VC1_R {
78        MASK_ERR_F_BNDRY_MATCH_VC1_R::new(((self.bits >> 1) & 1) != 0)
79    }
80    #[doc = "Bit 2 - NA"]
81    #[inline(always)]
82    pub fn mask_err_f_bndry_match_vc2(&self) -> MASK_ERR_F_BNDRY_MATCH_VC2_R {
83        MASK_ERR_F_BNDRY_MATCH_VC2_R::new(((self.bits >> 2) & 1) != 0)
84    }
85    #[doc = "Bit 3 - NA"]
86    #[inline(always)]
87    pub fn mask_err_f_bndry_match_vc3(&self) -> MASK_ERR_F_BNDRY_MATCH_VC3_R {
88        MASK_ERR_F_BNDRY_MATCH_VC3_R::new(((self.bits >> 3) & 1) != 0)
89    }
90    #[doc = "Bit 4 - NA"]
91    #[inline(always)]
92    pub fn mask_err_f_bndry_match_vc4(&self) -> MASK_ERR_F_BNDRY_MATCH_VC4_R {
93        MASK_ERR_F_BNDRY_MATCH_VC4_R::new(((self.bits >> 4) & 1) != 0)
94    }
95    #[doc = "Bit 5 - NA"]
96    #[inline(always)]
97    pub fn mask_err_f_bndry_match_vc5(&self) -> MASK_ERR_F_BNDRY_MATCH_VC5_R {
98        MASK_ERR_F_BNDRY_MATCH_VC5_R::new(((self.bits >> 5) & 1) != 0)
99    }
100    #[doc = "Bit 6 - NA"]
101    #[inline(always)]
102    pub fn mask_err_f_bndry_match_vc6(&self) -> MASK_ERR_F_BNDRY_MATCH_VC6_R {
103        MASK_ERR_F_BNDRY_MATCH_VC6_R::new(((self.bits >> 6) & 1) != 0)
104    }
105    #[doc = "Bit 7 - NA"]
106    #[inline(always)]
107    pub fn mask_err_f_bndry_match_vc7(&self) -> MASK_ERR_F_BNDRY_MATCH_VC7_R {
108        MASK_ERR_F_BNDRY_MATCH_VC7_R::new(((self.bits >> 7) & 1) != 0)
109    }
110    #[doc = "Bit 8 - NA"]
111    #[inline(always)]
112    pub fn mask_err_f_bndry_match_vc8(&self) -> MASK_ERR_F_BNDRY_MATCH_VC8_R {
113        MASK_ERR_F_BNDRY_MATCH_VC8_R::new(((self.bits >> 8) & 1) != 0)
114    }
115    #[doc = "Bit 9 - NA"]
116    #[inline(always)]
117    pub fn mask_err_f_bndry_match_vc9(&self) -> MASK_ERR_F_BNDRY_MATCH_VC9_R {
118        MASK_ERR_F_BNDRY_MATCH_VC9_R::new(((self.bits >> 9) & 1) != 0)
119    }
120    #[doc = "Bit 10 - NA"]
121    #[inline(always)]
122    pub fn mask_err_f_bndry_match_vc10(&self) -> MASK_ERR_F_BNDRY_MATCH_VC10_R {
123        MASK_ERR_F_BNDRY_MATCH_VC10_R::new(((self.bits >> 10) & 1) != 0)
124    }
125    #[doc = "Bit 11 - NA"]
126    #[inline(always)]
127    pub fn mask_err_f_bndry_match_vc11(&self) -> MASK_ERR_F_BNDRY_MATCH_VC11_R {
128        MASK_ERR_F_BNDRY_MATCH_VC11_R::new(((self.bits >> 11) & 1) != 0)
129    }
130    #[doc = "Bit 12 - NA"]
131    #[inline(always)]
132    pub fn mask_err_f_bndry_match_vc12(&self) -> MASK_ERR_F_BNDRY_MATCH_VC12_R {
133        MASK_ERR_F_BNDRY_MATCH_VC12_R::new(((self.bits >> 12) & 1) != 0)
134    }
135    #[doc = "Bit 13 - NA"]
136    #[inline(always)]
137    pub fn mask_err_f_bndry_match_vc13(&self) -> MASK_ERR_F_BNDRY_MATCH_VC13_R {
138        MASK_ERR_F_BNDRY_MATCH_VC13_R::new(((self.bits >> 13) & 1) != 0)
139    }
140    #[doc = "Bit 14 - NA"]
141    #[inline(always)]
142    pub fn mask_err_f_bndry_match_vc14(&self) -> MASK_ERR_F_BNDRY_MATCH_VC14_R {
143        MASK_ERR_F_BNDRY_MATCH_VC14_R::new(((self.bits >> 14) & 1) != 0)
144    }
145    #[doc = "Bit 15 - NA"]
146    #[inline(always)]
147    pub fn mask_err_f_bndry_match_vc15(&self) -> MASK_ERR_F_BNDRY_MATCH_VC15_R {
148        MASK_ERR_F_BNDRY_MATCH_VC15_R::new(((self.bits >> 15) & 1) != 0)
149    }
150}
151#[cfg(feature = "impl-register-debug")]
152impl core::fmt::Debug for R {
153    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
154        f.debug_struct("INT_MSK_BNDRY_FRAME_FATAL")
155            .field(
156                "mask_err_f_bndry_match_vc0",
157                &format_args!("{}", self.mask_err_f_bndry_match_vc0().bit()),
158            )
159            .field(
160                "mask_err_f_bndry_match_vc1",
161                &format_args!("{}", self.mask_err_f_bndry_match_vc1().bit()),
162            )
163            .field(
164                "mask_err_f_bndry_match_vc2",
165                &format_args!("{}", self.mask_err_f_bndry_match_vc2().bit()),
166            )
167            .field(
168                "mask_err_f_bndry_match_vc3",
169                &format_args!("{}", self.mask_err_f_bndry_match_vc3().bit()),
170            )
171            .field(
172                "mask_err_f_bndry_match_vc4",
173                &format_args!("{}", self.mask_err_f_bndry_match_vc4().bit()),
174            )
175            .field(
176                "mask_err_f_bndry_match_vc5",
177                &format_args!("{}", self.mask_err_f_bndry_match_vc5().bit()),
178            )
179            .field(
180                "mask_err_f_bndry_match_vc6",
181                &format_args!("{}", self.mask_err_f_bndry_match_vc6().bit()),
182            )
183            .field(
184                "mask_err_f_bndry_match_vc7",
185                &format_args!("{}", self.mask_err_f_bndry_match_vc7().bit()),
186            )
187            .field(
188                "mask_err_f_bndry_match_vc8",
189                &format_args!("{}", self.mask_err_f_bndry_match_vc8().bit()),
190            )
191            .field(
192                "mask_err_f_bndry_match_vc9",
193                &format_args!("{}", self.mask_err_f_bndry_match_vc9().bit()),
194            )
195            .field(
196                "mask_err_f_bndry_match_vc10",
197                &format_args!("{}", self.mask_err_f_bndry_match_vc10().bit()),
198            )
199            .field(
200                "mask_err_f_bndry_match_vc11",
201                &format_args!("{}", self.mask_err_f_bndry_match_vc11().bit()),
202            )
203            .field(
204                "mask_err_f_bndry_match_vc12",
205                &format_args!("{}", self.mask_err_f_bndry_match_vc12().bit()),
206            )
207            .field(
208                "mask_err_f_bndry_match_vc13",
209                &format_args!("{}", self.mask_err_f_bndry_match_vc13().bit()),
210            )
211            .field(
212                "mask_err_f_bndry_match_vc14",
213                &format_args!("{}", self.mask_err_f_bndry_match_vc14().bit()),
214            )
215            .field(
216                "mask_err_f_bndry_match_vc15",
217                &format_args!("{}", self.mask_err_f_bndry_match_vc15().bit()),
218            )
219            .finish()
220    }
221}
222#[cfg(feature = "impl-register-debug")]
223impl core::fmt::Debug for crate::generic::Reg<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
224    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
225        core::fmt::Debug::fmt(&self.read(), f)
226    }
227}
228impl W {
229    #[doc = "Bit 0 - NA"]
230    #[inline(always)]
231    #[must_use]
232    pub fn mask_err_f_bndry_match_vc0(
233        &mut self,
234    ) -> MASK_ERR_F_BNDRY_MATCH_VC0_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
235        MASK_ERR_F_BNDRY_MATCH_VC0_W::new(self, 0)
236    }
237    #[doc = "Bit 1 - NA"]
238    #[inline(always)]
239    #[must_use]
240    pub fn mask_err_f_bndry_match_vc1(
241        &mut self,
242    ) -> MASK_ERR_F_BNDRY_MATCH_VC1_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
243        MASK_ERR_F_BNDRY_MATCH_VC1_W::new(self, 1)
244    }
245    #[doc = "Bit 2 - NA"]
246    #[inline(always)]
247    #[must_use]
248    pub fn mask_err_f_bndry_match_vc2(
249        &mut self,
250    ) -> MASK_ERR_F_BNDRY_MATCH_VC2_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
251        MASK_ERR_F_BNDRY_MATCH_VC2_W::new(self, 2)
252    }
253    #[doc = "Bit 3 - NA"]
254    #[inline(always)]
255    #[must_use]
256    pub fn mask_err_f_bndry_match_vc3(
257        &mut self,
258    ) -> MASK_ERR_F_BNDRY_MATCH_VC3_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
259        MASK_ERR_F_BNDRY_MATCH_VC3_W::new(self, 3)
260    }
261    #[doc = "Bit 4 - NA"]
262    #[inline(always)]
263    #[must_use]
264    pub fn mask_err_f_bndry_match_vc4(
265        &mut self,
266    ) -> MASK_ERR_F_BNDRY_MATCH_VC4_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
267        MASK_ERR_F_BNDRY_MATCH_VC4_W::new(self, 4)
268    }
269    #[doc = "Bit 5 - NA"]
270    #[inline(always)]
271    #[must_use]
272    pub fn mask_err_f_bndry_match_vc5(
273        &mut self,
274    ) -> MASK_ERR_F_BNDRY_MATCH_VC5_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
275        MASK_ERR_F_BNDRY_MATCH_VC5_W::new(self, 5)
276    }
277    #[doc = "Bit 6 - NA"]
278    #[inline(always)]
279    #[must_use]
280    pub fn mask_err_f_bndry_match_vc6(
281        &mut self,
282    ) -> MASK_ERR_F_BNDRY_MATCH_VC6_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
283        MASK_ERR_F_BNDRY_MATCH_VC6_W::new(self, 6)
284    }
285    #[doc = "Bit 7 - NA"]
286    #[inline(always)]
287    #[must_use]
288    pub fn mask_err_f_bndry_match_vc7(
289        &mut self,
290    ) -> MASK_ERR_F_BNDRY_MATCH_VC7_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
291        MASK_ERR_F_BNDRY_MATCH_VC7_W::new(self, 7)
292    }
293    #[doc = "Bit 8 - NA"]
294    #[inline(always)]
295    #[must_use]
296    pub fn mask_err_f_bndry_match_vc8(
297        &mut self,
298    ) -> MASK_ERR_F_BNDRY_MATCH_VC8_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
299        MASK_ERR_F_BNDRY_MATCH_VC8_W::new(self, 8)
300    }
301    #[doc = "Bit 9 - NA"]
302    #[inline(always)]
303    #[must_use]
304    pub fn mask_err_f_bndry_match_vc9(
305        &mut self,
306    ) -> MASK_ERR_F_BNDRY_MATCH_VC9_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
307        MASK_ERR_F_BNDRY_MATCH_VC9_W::new(self, 9)
308    }
309    #[doc = "Bit 10 - NA"]
310    #[inline(always)]
311    #[must_use]
312    pub fn mask_err_f_bndry_match_vc10(
313        &mut self,
314    ) -> MASK_ERR_F_BNDRY_MATCH_VC10_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
315        MASK_ERR_F_BNDRY_MATCH_VC10_W::new(self, 10)
316    }
317    #[doc = "Bit 11 - NA"]
318    #[inline(always)]
319    #[must_use]
320    pub fn mask_err_f_bndry_match_vc11(
321        &mut self,
322    ) -> MASK_ERR_F_BNDRY_MATCH_VC11_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
323        MASK_ERR_F_BNDRY_MATCH_VC11_W::new(self, 11)
324    }
325    #[doc = "Bit 12 - NA"]
326    #[inline(always)]
327    #[must_use]
328    pub fn mask_err_f_bndry_match_vc12(
329        &mut self,
330    ) -> MASK_ERR_F_BNDRY_MATCH_VC12_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
331        MASK_ERR_F_BNDRY_MATCH_VC12_W::new(self, 12)
332    }
333    #[doc = "Bit 13 - NA"]
334    #[inline(always)]
335    #[must_use]
336    pub fn mask_err_f_bndry_match_vc13(
337        &mut self,
338    ) -> MASK_ERR_F_BNDRY_MATCH_VC13_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
339        MASK_ERR_F_BNDRY_MATCH_VC13_W::new(self, 13)
340    }
341    #[doc = "Bit 14 - NA"]
342    #[inline(always)]
343    #[must_use]
344    pub fn mask_err_f_bndry_match_vc14(
345        &mut self,
346    ) -> MASK_ERR_F_BNDRY_MATCH_VC14_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
347        MASK_ERR_F_BNDRY_MATCH_VC14_W::new(self, 14)
348    }
349    #[doc = "Bit 15 - NA"]
350    #[inline(always)]
351    #[must_use]
352    pub fn mask_err_f_bndry_match_vc15(
353        &mut self,
354    ) -> MASK_ERR_F_BNDRY_MATCH_VC15_W<INT_MSK_BNDRY_FRAME_FATAL_SPEC> {
355        MASK_ERR_F_BNDRY_MATCH_VC15_W::new(self, 15)
356    }
357}
358#[doc = "NA\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`int_msk_bndry_frame_fatal::R`](R).  You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`int_msk_bndry_frame_fatal::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
359pub struct INT_MSK_BNDRY_FRAME_FATAL_SPEC;
360impl crate::RegisterSpec for INT_MSK_BNDRY_FRAME_FATAL_SPEC {
361    type Ux = u32;
362}
363#[doc = "`read()` method returns [`int_msk_bndry_frame_fatal::R`](R) reader structure"]
364impl crate::Readable for INT_MSK_BNDRY_FRAME_FATAL_SPEC {}
365#[doc = "`write(|w| ..)` method takes [`int_msk_bndry_frame_fatal::W`](W) writer structure"]
366impl crate::Writable for INT_MSK_BNDRY_FRAME_FATAL_SPEC {
367    type Safety = crate::Unsafe;
368    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
369    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
370}
371#[doc = "`reset()` method sets INT_MSK_BNDRY_FRAME_FATAL to value 0"]
372impl crate::Resettable for INT_MSK_BNDRY_FRAME_FATAL_SPEC {
373    const RESET_VALUE: u32 = 0;
374}