Skip to main content

ra4e1_pac/
can0.rs

1/*
2DISCLAIMER
3This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products.
4No other uses are authorized. This software is owned by Renesas Electronics Corporation and is protected under all
5applicable laws, including copyright laws.
6THIS SOFTWARE IS PROVIDED "AS IS" AND RENESAS MAKES NO WARRANTIES REGARDING THIS SOFTWARE, WHETHER EXPRESS, IMPLIED
7OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
8NON-INFRINGEMENT.  ALL SUCH WARRANTIES ARE EXPRESSLY DISCLAIMED.TO THE MAXIMUM EXTENT PERMITTED NOT PROHIBITED BY
9LAW, NEITHER RENESAS ELECTRONICS CORPORATION NOR ANY OF ITS AFFILIATED COMPANIES SHALL BE LIABLE FOR ANY DIRECT,
10INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON RELATED TO THIS SOFTWARE, EVEN IF RENESAS OR
11ITS AFFILIATES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
12Renesas reserves the right, without notice, to make changes to this software and to discontinue the availability
13of this software. By using this software, you agree to the additional terms and conditions found by accessing the
14following link:
15http://www.renesas.com/disclaimer
16
17*/
18// Generated from SVD 1.20.00, with svd2pac 0.6.1 on Sun, 15 Mar 2026 07:04:18 +0000
19
20#![allow(clippy::identity_op)]
21#![allow(clippy::module_inception)]
22#![allow(clippy::derivable_impls)]
23#[allow(unused_imports)]
24use crate::common::sealed;
25#[allow(unused_imports)]
26use crate::common::*;
27#[doc = r"Controller Area Network"]
28unsafe impl ::core::marker::Send for super::Can0 {}
29unsafe impl ::core::marker::Sync for super::Can0 {}
30impl super::Can0 {
31    #[allow(unused)]
32    #[inline(always)]
33    pub(crate) const fn _svd2pac_as_ptr(&self) -> *mut u8 {
34        self.ptr
35    }
36
37    #[doc = "Mailbox ID Register %s"]
38    #[inline(always)]
39    pub const fn mb_id(
40        &self,
41    ) -> &'static crate::common::ClusterRegisterArray<
42        crate::common::Reg<self::MbId_SPEC, crate::common::RW>,
43        32,
44        0x10,
45    > {
46        unsafe {
47            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x200usize))
48        }
49    }
50    #[inline(always)]
51    pub const fn mb0_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
52        unsafe {
53            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
54                self._svd2pac_as_ptr().add(0x200usize),
55            )
56        }
57    }
58    #[inline(always)]
59    pub const fn mb1_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
60        unsafe {
61            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
62                self._svd2pac_as_ptr().add(0x210usize),
63            )
64        }
65    }
66    #[inline(always)]
67    pub const fn mb2_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
68        unsafe {
69            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
70                self._svd2pac_as_ptr().add(0x220usize),
71            )
72        }
73    }
74    #[inline(always)]
75    pub const fn mb3_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
76        unsafe {
77            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
78                self._svd2pac_as_ptr().add(0x230usize),
79            )
80        }
81    }
82    #[inline(always)]
83    pub const fn mb4_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
84        unsafe {
85            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
86                self._svd2pac_as_ptr().add(0x240usize),
87            )
88        }
89    }
90    #[inline(always)]
91    pub const fn mb5_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
92        unsafe {
93            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
94                self._svd2pac_as_ptr().add(0x250usize),
95            )
96        }
97    }
98    #[inline(always)]
99    pub const fn mb6_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
100        unsafe {
101            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
102                self._svd2pac_as_ptr().add(0x260usize),
103            )
104        }
105    }
106    #[inline(always)]
107    pub const fn mb7_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
108        unsafe {
109            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
110                self._svd2pac_as_ptr().add(0x270usize),
111            )
112        }
113    }
114    #[inline(always)]
115    pub const fn mb8_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
116        unsafe {
117            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
118                self._svd2pac_as_ptr().add(0x280usize),
119            )
120        }
121    }
122    #[inline(always)]
123    pub const fn mb9_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
124        unsafe {
125            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
126                self._svd2pac_as_ptr().add(0x290usize),
127            )
128        }
129    }
130    #[inline(always)]
131    pub const fn mb10_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
132        unsafe {
133            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
134                self._svd2pac_as_ptr().add(0x2a0usize),
135            )
136        }
137    }
138    #[inline(always)]
139    pub const fn mb11_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
140        unsafe {
141            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
142                self._svd2pac_as_ptr().add(0x2b0usize),
143            )
144        }
145    }
146    #[inline(always)]
147    pub const fn mb12_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
148        unsafe {
149            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
150                self._svd2pac_as_ptr().add(0x2c0usize),
151            )
152        }
153    }
154    #[inline(always)]
155    pub const fn mb13_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
156        unsafe {
157            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
158                self._svd2pac_as_ptr().add(0x2d0usize),
159            )
160        }
161    }
162    #[inline(always)]
163    pub const fn mb14_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
164        unsafe {
165            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
166                self._svd2pac_as_ptr().add(0x2e0usize),
167            )
168        }
169    }
170    #[inline(always)]
171    pub const fn mb15_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
172        unsafe {
173            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
174                self._svd2pac_as_ptr().add(0x2f0usize),
175            )
176        }
177    }
178    #[inline(always)]
179    pub const fn mb16_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
180        unsafe {
181            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
182                self._svd2pac_as_ptr().add(0x300usize),
183            )
184        }
185    }
186    #[inline(always)]
187    pub const fn mb17_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
188        unsafe {
189            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
190                self._svd2pac_as_ptr().add(0x310usize),
191            )
192        }
193    }
194    #[inline(always)]
195    pub const fn mb18_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
196        unsafe {
197            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
198                self._svd2pac_as_ptr().add(0x320usize),
199            )
200        }
201    }
202    #[inline(always)]
203    pub const fn mb19_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
204        unsafe {
205            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
206                self._svd2pac_as_ptr().add(0x330usize),
207            )
208        }
209    }
210    #[inline(always)]
211    pub const fn mb20_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
212        unsafe {
213            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
214                self._svd2pac_as_ptr().add(0x340usize),
215            )
216        }
217    }
218    #[inline(always)]
219    pub const fn mb21_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
220        unsafe {
221            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
222                self._svd2pac_as_ptr().add(0x350usize),
223            )
224        }
225    }
226    #[inline(always)]
227    pub const fn mb22_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
228        unsafe {
229            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
230                self._svd2pac_as_ptr().add(0x360usize),
231            )
232        }
233    }
234    #[inline(always)]
235    pub const fn mb23_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
236        unsafe {
237            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
238                self._svd2pac_as_ptr().add(0x370usize),
239            )
240        }
241    }
242    #[inline(always)]
243    pub const fn mb24_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
244        unsafe {
245            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
246                self._svd2pac_as_ptr().add(0x380usize),
247            )
248        }
249    }
250    #[inline(always)]
251    pub const fn mb25_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
252        unsafe {
253            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
254                self._svd2pac_as_ptr().add(0x390usize),
255            )
256        }
257    }
258    #[inline(always)]
259    pub const fn mb26_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
260        unsafe {
261            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
262                self._svd2pac_as_ptr().add(0x3a0usize),
263            )
264        }
265    }
266    #[inline(always)]
267    pub const fn mb27_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
268        unsafe {
269            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
270                self._svd2pac_as_ptr().add(0x3b0usize),
271            )
272        }
273    }
274    #[inline(always)]
275    pub const fn mb28_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
276        unsafe {
277            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
278                self._svd2pac_as_ptr().add(0x3c0usize),
279            )
280        }
281    }
282    #[inline(always)]
283    pub const fn mb29_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
284        unsafe {
285            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
286                self._svd2pac_as_ptr().add(0x3d0usize),
287            )
288        }
289    }
290    #[inline(always)]
291    pub const fn mb30_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
292        unsafe {
293            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
294                self._svd2pac_as_ptr().add(0x3e0usize),
295            )
296        }
297    }
298    #[inline(always)]
299    pub const fn mb31_id(&self) -> &'static crate::common::Reg<self::MbId_SPEC, crate::common::RW> {
300        unsafe {
301            crate::common::Reg::<self::MbId_SPEC, crate::common::RW>::from_ptr(
302                self._svd2pac_as_ptr().add(0x3f0usize),
303            )
304        }
305    }
306
307    #[doc = "Mailbox Data Length Register %s"]
308    #[inline(always)]
309    pub const fn mb_dl(
310        &self,
311    ) -> &'static crate::common::ClusterRegisterArray<
312        crate::common::Reg<self::MbDl_SPEC, crate::common::RW>,
313        32,
314        0x10,
315    > {
316        unsafe {
317            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x204usize))
318        }
319    }
320    #[inline(always)]
321    pub const fn mb0_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
322        unsafe {
323            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
324                self._svd2pac_as_ptr().add(0x204usize),
325            )
326        }
327    }
328    #[inline(always)]
329    pub const fn mb1_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
330        unsafe {
331            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
332                self._svd2pac_as_ptr().add(0x214usize),
333            )
334        }
335    }
336    #[inline(always)]
337    pub const fn mb2_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
338        unsafe {
339            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
340                self._svd2pac_as_ptr().add(0x224usize),
341            )
342        }
343    }
344    #[inline(always)]
345    pub const fn mb3_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
346        unsafe {
347            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
348                self._svd2pac_as_ptr().add(0x234usize),
349            )
350        }
351    }
352    #[inline(always)]
353    pub const fn mb4_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
354        unsafe {
355            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
356                self._svd2pac_as_ptr().add(0x244usize),
357            )
358        }
359    }
360    #[inline(always)]
361    pub const fn mb5_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
362        unsafe {
363            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
364                self._svd2pac_as_ptr().add(0x254usize),
365            )
366        }
367    }
368    #[inline(always)]
369    pub const fn mb6_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
370        unsafe {
371            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
372                self._svd2pac_as_ptr().add(0x264usize),
373            )
374        }
375    }
376    #[inline(always)]
377    pub const fn mb7_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
378        unsafe {
379            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
380                self._svd2pac_as_ptr().add(0x274usize),
381            )
382        }
383    }
384    #[inline(always)]
385    pub const fn mb8_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
386        unsafe {
387            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
388                self._svd2pac_as_ptr().add(0x284usize),
389            )
390        }
391    }
392    #[inline(always)]
393    pub const fn mb9_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
394        unsafe {
395            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
396                self._svd2pac_as_ptr().add(0x294usize),
397            )
398        }
399    }
400    #[inline(always)]
401    pub const fn mb10_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
402        unsafe {
403            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
404                self._svd2pac_as_ptr().add(0x2a4usize),
405            )
406        }
407    }
408    #[inline(always)]
409    pub const fn mb11_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
410        unsafe {
411            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
412                self._svd2pac_as_ptr().add(0x2b4usize),
413            )
414        }
415    }
416    #[inline(always)]
417    pub const fn mb12_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
418        unsafe {
419            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
420                self._svd2pac_as_ptr().add(0x2c4usize),
421            )
422        }
423    }
424    #[inline(always)]
425    pub const fn mb13_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
426        unsafe {
427            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
428                self._svd2pac_as_ptr().add(0x2d4usize),
429            )
430        }
431    }
432    #[inline(always)]
433    pub const fn mb14_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
434        unsafe {
435            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
436                self._svd2pac_as_ptr().add(0x2e4usize),
437            )
438        }
439    }
440    #[inline(always)]
441    pub const fn mb15_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
442        unsafe {
443            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
444                self._svd2pac_as_ptr().add(0x2f4usize),
445            )
446        }
447    }
448    #[inline(always)]
449    pub const fn mb16_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
450        unsafe {
451            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
452                self._svd2pac_as_ptr().add(0x304usize),
453            )
454        }
455    }
456    #[inline(always)]
457    pub const fn mb17_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
458        unsafe {
459            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
460                self._svd2pac_as_ptr().add(0x314usize),
461            )
462        }
463    }
464    #[inline(always)]
465    pub const fn mb18_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
466        unsafe {
467            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
468                self._svd2pac_as_ptr().add(0x324usize),
469            )
470        }
471    }
472    #[inline(always)]
473    pub const fn mb19_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
474        unsafe {
475            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
476                self._svd2pac_as_ptr().add(0x334usize),
477            )
478        }
479    }
480    #[inline(always)]
481    pub const fn mb20_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
482        unsafe {
483            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
484                self._svd2pac_as_ptr().add(0x344usize),
485            )
486        }
487    }
488    #[inline(always)]
489    pub const fn mb21_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
490        unsafe {
491            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
492                self._svd2pac_as_ptr().add(0x354usize),
493            )
494        }
495    }
496    #[inline(always)]
497    pub const fn mb22_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
498        unsafe {
499            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
500                self._svd2pac_as_ptr().add(0x364usize),
501            )
502        }
503    }
504    #[inline(always)]
505    pub const fn mb23_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
506        unsafe {
507            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
508                self._svd2pac_as_ptr().add(0x374usize),
509            )
510        }
511    }
512    #[inline(always)]
513    pub const fn mb24_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
514        unsafe {
515            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
516                self._svd2pac_as_ptr().add(0x384usize),
517            )
518        }
519    }
520    #[inline(always)]
521    pub const fn mb25_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
522        unsafe {
523            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
524                self._svd2pac_as_ptr().add(0x394usize),
525            )
526        }
527    }
528    #[inline(always)]
529    pub const fn mb26_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
530        unsafe {
531            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
532                self._svd2pac_as_ptr().add(0x3a4usize),
533            )
534        }
535    }
536    #[inline(always)]
537    pub const fn mb27_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
538        unsafe {
539            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
540                self._svd2pac_as_ptr().add(0x3b4usize),
541            )
542        }
543    }
544    #[inline(always)]
545    pub const fn mb28_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
546        unsafe {
547            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
548                self._svd2pac_as_ptr().add(0x3c4usize),
549            )
550        }
551    }
552    #[inline(always)]
553    pub const fn mb29_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
554        unsafe {
555            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
556                self._svd2pac_as_ptr().add(0x3d4usize),
557            )
558        }
559    }
560    #[inline(always)]
561    pub const fn mb30_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
562        unsafe {
563            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
564                self._svd2pac_as_ptr().add(0x3e4usize),
565            )
566        }
567    }
568    #[inline(always)]
569    pub const fn mb31_dl(&self) -> &'static crate::common::Reg<self::MbDl_SPEC, crate::common::RW> {
570        unsafe {
571            crate::common::Reg::<self::MbDl_SPEC, crate::common::RW>::from_ptr(
572                self._svd2pac_as_ptr().add(0x3f4usize),
573            )
574        }
575    }
576
577    #[doc = "Mailbox Data Register %s"]
578    #[inline(always)]
579    pub const fn mb_d0(
580        &self,
581    ) -> &'static crate::common::ClusterRegisterArray<
582        crate::common::Reg<self::MbD0_SPEC, crate::common::RW>,
583        32,
584        0x10,
585    > {
586        unsafe {
587            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x206usize))
588        }
589    }
590    #[inline(always)]
591    pub const fn mb0_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
592        unsafe {
593            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
594                self._svd2pac_as_ptr().add(0x206usize),
595            )
596        }
597    }
598    #[inline(always)]
599    pub const fn mb1_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
600        unsafe {
601            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
602                self._svd2pac_as_ptr().add(0x216usize),
603            )
604        }
605    }
606    #[inline(always)]
607    pub const fn mb2_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
608        unsafe {
609            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
610                self._svd2pac_as_ptr().add(0x226usize),
611            )
612        }
613    }
614    #[inline(always)]
615    pub const fn mb3_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
616        unsafe {
617            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
618                self._svd2pac_as_ptr().add(0x236usize),
619            )
620        }
621    }
622    #[inline(always)]
623    pub const fn mb4_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
624        unsafe {
625            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
626                self._svd2pac_as_ptr().add(0x246usize),
627            )
628        }
629    }
630    #[inline(always)]
631    pub const fn mb5_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
632        unsafe {
633            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
634                self._svd2pac_as_ptr().add(0x256usize),
635            )
636        }
637    }
638    #[inline(always)]
639    pub const fn mb6_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
640        unsafe {
641            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
642                self._svd2pac_as_ptr().add(0x266usize),
643            )
644        }
645    }
646    #[inline(always)]
647    pub const fn mb7_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
648        unsafe {
649            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
650                self._svd2pac_as_ptr().add(0x276usize),
651            )
652        }
653    }
654    #[inline(always)]
655    pub const fn mb8_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
656        unsafe {
657            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
658                self._svd2pac_as_ptr().add(0x286usize),
659            )
660        }
661    }
662    #[inline(always)]
663    pub const fn mb9_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
664        unsafe {
665            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
666                self._svd2pac_as_ptr().add(0x296usize),
667            )
668        }
669    }
670    #[inline(always)]
671    pub const fn mb10_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
672        unsafe {
673            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
674                self._svd2pac_as_ptr().add(0x2a6usize),
675            )
676        }
677    }
678    #[inline(always)]
679    pub const fn mb11_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
680        unsafe {
681            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
682                self._svd2pac_as_ptr().add(0x2b6usize),
683            )
684        }
685    }
686    #[inline(always)]
687    pub const fn mb12_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
688        unsafe {
689            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
690                self._svd2pac_as_ptr().add(0x2c6usize),
691            )
692        }
693    }
694    #[inline(always)]
695    pub const fn mb13_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
696        unsafe {
697            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
698                self._svd2pac_as_ptr().add(0x2d6usize),
699            )
700        }
701    }
702    #[inline(always)]
703    pub const fn mb14_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
704        unsafe {
705            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
706                self._svd2pac_as_ptr().add(0x2e6usize),
707            )
708        }
709    }
710    #[inline(always)]
711    pub const fn mb15_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
712        unsafe {
713            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
714                self._svd2pac_as_ptr().add(0x2f6usize),
715            )
716        }
717    }
718    #[inline(always)]
719    pub const fn mb16_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
720        unsafe {
721            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
722                self._svd2pac_as_ptr().add(0x306usize),
723            )
724        }
725    }
726    #[inline(always)]
727    pub const fn mb17_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
728        unsafe {
729            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
730                self._svd2pac_as_ptr().add(0x316usize),
731            )
732        }
733    }
734    #[inline(always)]
735    pub const fn mb18_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
736        unsafe {
737            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
738                self._svd2pac_as_ptr().add(0x326usize),
739            )
740        }
741    }
742    #[inline(always)]
743    pub const fn mb19_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
744        unsafe {
745            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
746                self._svd2pac_as_ptr().add(0x336usize),
747            )
748        }
749    }
750    #[inline(always)]
751    pub const fn mb20_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
752        unsafe {
753            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
754                self._svd2pac_as_ptr().add(0x346usize),
755            )
756        }
757    }
758    #[inline(always)]
759    pub const fn mb21_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
760        unsafe {
761            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
762                self._svd2pac_as_ptr().add(0x356usize),
763            )
764        }
765    }
766    #[inline(always)]
767    pub const fn mb22_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
768        unsafe {
769            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
770                self._svd2pac_as_ptr().add(0x366usize),
771            )
772        }
773    }
774    #[inline(always)]
775    pub const fn mb23_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
776        unsafe {
777            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
778                self._svd2pac_as_ptr().add(0x376usize),
779            )
780        }
781    }
782    #[inline(always)]
783    pub const fn mb24_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
784        unsafe {
785            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
786                self._svd2pac_as_ptr().add(0x386usize),
787            )
788        }
789    }
790    #[inline(always)]
791    pub const fn mb25_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
792        unsafe {
793            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
794                self._svd2pac_as_ptr().add(0x396usize),
795            )
796        }
797    }
798    #[inline(always)]
799    pub const fn mb26_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
800        unsafe {
801            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
802                self._svd2pac_as_ptr().add(0x3a6usize),
803            )
804        }
805    }
806    #[inline(always)]
807    pub const fn mb27_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
808        unsafe {
809            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
810                self._svd2pac_as_ptr().add(0x3b6usize),
811            )
812        }
813    }
814    #[inline(always)]
815    pub const fn mb28_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
816        unsafe {
817            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
818                self._svd2pac_as_ptr().add(0x3c6usize),
819            )
820        }
821    }
822    #[inline(always)]
823    pub const fn mb29_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
824        unsafe {
825            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
826                self._svd2pac_as_ptr().add(0x3d6usize),
827            )
828        }
829    }
830    #[inline(always)]
831    pub const fn mb30_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
832        unsafe {
833            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
834                self._svd2pac_as_ptr().add(0x3e6usize),
835            )
836        }
837    }
838    #[inline(always)]
839    pub const fn mb31_d0(&self) -> &'static crate::common::Reg<self::MbD0_SPEC, crate::common::RW> {
840        unsafe {
841            crate::common::Reg::<self::MbD0_SPEC, crate::common::RW>::from_ptr(
842                self._svd2pac_as_ptr().add(0x3f6usize),
843            )
844        }
845    }
846
847    #[doc = "Mailbox Data Register %s"]
848    #[inline(always)]
849    pub const fn mb_d1(
850        &self,
851    ) -> &'static crate::common::ClusterRegisterArray<
852        crate::common::Reg<self::MbD1_SPEC, crate::common::RW>,
853        32,
854        0x10,
855    > {
856        unsafe {
857            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x207usize))
858        }
859    }
860    #[inline(always)]
861    pub const fn mb0_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
862        unsafe {
863            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
864                self._svd2pac_as_ptr().add(0x207usize),
865            )
866        }
867    }
868    #[inline(always)]
869    pub const fn mb1_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
870        unsafe {
871            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
872                self._svd2pac_as_ptr().add(0x217usize),
873            )
874        }
875    }
876    #[inline(always)]
877    pub const fn mb2_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
878        unsafe {
879            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
880                self._svd2pac_as_ptr().add(0x227usize),
881            )
882        }
883    }
884    #[inline(always)]
885    pub const fn mb3_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
886        unsafe {
887            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
888                self._svd2pac_as_ptr().add(0x237usize),
889            )
890        }
891    }
892    #[inline(always)]
893    pub const fn mb4_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
894        unsafe {
895            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
896                self._svd2pac_as_ptr().add(0x247usize),
897            )
898        }
899    }
900    #[inline(always)]
901    pub const fn mb5_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
902        unsafe {
903            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
904                self._svd2pac_as_ptr().add(0x257usize),
905            )
906        }
907    }
908    #[inline(always)]
909    pub const fn mb6_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
910        unsafe {
911            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
912                self._svd2pac_as_ptr().add(0x267usize),
913            )
914        }
915    }
916    #[inline(always)]
917    pub const fn mb7_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
918        unsafe {
919            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
920                self._svd2pac_as_ptr().add(0x277usize),
921            )
922        }
923    }
924    #[inline(always)]
925    pub const fn mb8_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
926        unsafe {
927            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
928                self._svd2pac_as_ptr().add(0x287usize),
929            )
930        }
931    }
932    #[inline(always)]
933    pub const fn mb9_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
934        unsafe {
935            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
936                self._svd2pac_as_ptr().add(0x297usize),
937            )
938        }
939    }
940    #[inline(always)]
941    pub const fn mb10_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
942        unsafe {
943            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
944                self._svd2pac_as_ptr().add(0x2a7usize),
945            )
946        }
947    }
948    #[inline(always)]
949    pub const fn mb11_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
950        unsafe {
951            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
952                self._svd2pac_as_ptr().add(0x2b7usize),
953            )
954        }
955    }
956    #[inline(always)]
957    pub const fn mb12_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
958        unsafe {
959            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
960                self._svd2pac_as_ptr().add(0x2c7usize),
961            )
962        }
963    }
964    #[inline(always)]
965    pub const fn mb13_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
966        unsafe {
967            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
968                self._svd2pac_as_ptr().add(0x2d7usize),
969            )
970        }
971    }
972    #[inline(always)]
973    pub const fn mb14_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
974        unsafe {
975            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
976                self._svd2pac_as_ptr().add(0x2e7usize),
977            )
978        }
979    }
980    #[inline(always)]
981    pub const fn mb15_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
982        unsafe {
983            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
984                self._svd2pac_as_ptr().add(0x2f7usize),
985            )
986        }
987    }
988    #[inline(always)]
989    pub const fn mb16_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
990        unsafe {
991            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
992                self._svd2pac_as_ptr().add(0x307usize),
993            )
994        }
995    }
996    #[inline(always)]
997    pub const fn mb17_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
998        unsafe {
999            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1000                self._svd2pac_as_ptr().add(0x317usize),
1001            )
1002        }
1003    }
1004    #[inline(always)]
1005    pub const fn mb18_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1006        unsafe {
1007            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1008                self._svd2pac_as_ptr().add(0x327usize),
1009            )
1010        }
1011    }
1012    #[inline(always)]
1013    pub const fn mb19_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1014        unsafe {
1015            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1016                self._svd2pac_as_ptr().add(0x337usize),
1017            )
1018        }
1019    }
1020    #[inline(always)]
1021    pub const fn mb20_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1022        unsafe {
1023            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1024                self._svd2pac_as_ptr().add(0x347usize),
1025            )
1026        }
1027    }
1028    #[inline(always)]
1029    pub const fn mb21_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1030        unsafe {
1031            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1032                self._svd2pac_as_ptr().add(0x357usize),
1033            )
1034        }
1035    }
1036    #[inline(always)]
1037    pub const fn mb22_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1038        unsafe {
1039            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1040                self._svd2pac_as_ptr().add(0x367usize),
1041            )
1042        }
1043    }
1044    #[inline(always)]
1045    pub const fn mb23_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1046        unsafe {
1047            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1048                self._svd2pac_as_ptr().add(0x377usize),
1049            )
1050        }
1051    }
1052    #[inline(always)]
1053    pub const fn mb24_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1054        unsafe {
1055            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1056                self._svd2pac_as_ptr().add(0x387usize),
1057            )
1058        }
1059    }
1060    #[inline(always)]
1061    pub const fn mb25_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1062        unsafe {
1063            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1064                self._svd2pac_as_ptr().add(0x397usize),
1065            )
1066        }
1067    }
1068    #[inline(always)]
1069    pub const fn mb26_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1070        unsafe {
1071            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1072                self._svd2pac_as_ptr().add(0x3a7usize),
1073            )
1074        }
1075    }
1076    #[inline(always)]
1077    pub const fn mb27_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1078        unsafe {
1079            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1080                self._svd2pac_as_ptr().add(0x3b7usize),
1081            )
1082        }
1083    }
1084    #[inline(always)]
1085    pub const fn mb28_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1086        unsafe {
1087            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1088                self._svd2pac_as_ptr().add(0x3c7usize),
1089            )
1090        }
1091    }
1092    #[inline(always)]
1093    pub const fn mb29_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1094        unsafe {
1095            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1096                self._svd2pac_as_ptr().add(0x3d7usize),
1097            )
1098        }
1099    }
1100    #[inline(always)]
1101    pub const fn mb30_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1102        unsafe {
1103            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1104                self._svd2pac_as_ptr().add(0x3e7usize),
1105            )
1106        }
1107    }
1108    #[inline(always)]
1109    pub const fn mb31_d1(&self) -> &'static crate::common::Reg<self::MbD1_SPEC, crate::common::RW> {
1110        unsafe {
1111            crate::common::Reg::<self::MbD1_SPEC, crate::common::RW>::from_ptr(
1112                self._svd2pac_as_ptr().add(0x3f7usize),
1113            )
1114        }
1115    }
1116
1117    #[doc = "Mailbox Data Register %s"]
1118    #[inline(always)]
1119    pub const fn mb_d2(
1120        &self,
1121    ) -> &'static crate::common::ClusterRegisterArray<
1122        crate::common::Reg<self::MbD2_SPEC, crate::common::RW>,
1123        32,
1124        0x10,
1125    > {
1126        unsafe {
1127            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x208usize))
1128        }
1129    }
1130    #[inline(always)]
1131    pub const fn mb0_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1132        unsafe {
1133            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1134                self._svd2pac_as_ptr().add(0x208usize),
1135            )
1136        }
1137    }
1138    #[inline(always)]
1139    pub const fn mb1_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1140        unsafe {
1141            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1142                self._svd2pac_as_ptr().add(0x218usize),
1143            )
1144        }
1145    }
1146    #[inline(always)]
1147    pub const fn mb2_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1148        unsafe {
1149            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1150                self._svd2pac_as_ptr().add(0x228usize),
1151            )
1152        }
1153    }
1154    #[inline(always)]
1155    pub const fn mb3_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1156        unsafe {
1157            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1158                self._svd2pac_as_ptr().add(0x238usize),
1159            )
1160        }
1161    }
1162    #[inline(always)]
1163    pub const fn mb4_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1164        unsafe {
1165            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1166                self._svd2pac_as_ptr().add(0x248usize),
1167            )
1168        }
1169    }
1170    #[inline(always)]
1171    pub const fn mb5_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1172        unsafe {
1173            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1174                self._svd2pac_as_ptr().add(0x258usize),
1175            )
1176        }
1177    }
1178    #[inline(always)]
1179    pub const fn mb6_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1180        unsafe {
1181            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1182                self._svd2pac_as_ptr().add(0x268usize),
1183            )
1184        }
1185    }
1186    #[inline(always)]
1187    pub const fn mb7_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1188        unsafe {
1189            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1190                self._svd2pac_as_ptr().add(0x278usize),
1191            )
1192        }
1193    }
1194    #[inline(always)]
1195    pub const fn mb8_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1196        unsafe {
1197            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1198                self._svd2pac_as_ptr().add(0x288usize),
1199            )
1200        }
1201    }
1202    #[inline(always)]
1203    pub const fn mb9_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1204        unsafe {
1205            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1206                self._svd2pac_as_ptr().add(0x298usize),
1207            )
1208        }
1209    }
1210    #[inline(always)]
1211    pub const fn mb10_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1212        unsafe {
1213            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1214                self._svd2pac_as_ptr().add(0x2a8usize),
1215            )
1216        }
1217    }
1218    #[inline(always)]
1219    pub const fn mb11_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1220        unsafe {
1221            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1222                self._svd2pac_as_ptr().add(0x2b8usize),
1223            )
1224        }
1225    }
1226    #[inline(always)]
1227    pub const fn mb12_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1228        unsafe {
1229            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1230                self._svd2pac_as_ptr().add(0x2c8usize),
1231            )
1232        }
1233    }
1234    #[inline(always)]
1235    pub const fn mb13_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1236        unsafe {
1237            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1238                self._svd2pac_as_ptr().add(0x2d8usize),
1239            )
1240        }
1241    }
1242    #[inline(always)]
1243    pub const fn mb14_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1244        unsafe {
1245            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1246                self._svd2pac_as_ptr().add(0x2e8usize),
1247            )
1248        }
1249    }
1250    #[inline(always)]
1251    pub const fn mb15_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1252        unsafe {
1253            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1254                self._svd2pac_as_ptr().add(0x2f8usize),
1255            )
1256        }
1257    }
1258    #[inline(always)]
1259    pub const fn mb16_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1260        unsafe {
1261            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1262                self._svd2pac_as_ptr().add(0x308usize),
1263            )
1264        }
1265    }
1266    #[inline(always)]
1267    pub const fn mb17_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1268        unsafe {
1269            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1270                self._svd2pac_as_ptr().add(0x318usize),
1271            )
1272        }
1273    }
1274    #[inline(always)]
1275    pub const fn mb18_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1276        unsafe {
1277            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1278                self._svd2pac_as_ptr().add(0x328usize),
1279            )
1280        }
1281    }
1282    #[inline(always)]
1283    pub const fn mb19_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1284        unsafe {
1285            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1286                self._svd2pac_as_ptr().add(0x338usize),
1287            )
1288        }
1289    }
1290    #[inline(always)]
1291    pub const fn mb20_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1292        unsafe {
1293            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1294                self._svd2pac_as_ptr().add(0x348usize),
1295            )
1296        }
1297    }
1298    #[inline(always)]
1299    pub const fn mb21_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1300        unsafe {
1301            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1302                self._svd2pac_as_ptr().add(0x358usize),
1303            )
1304        }
1305    }
1306    #[inline(always)]
1307    pub const fn mb22_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1308        unsafe {
1309            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1310                self._svd2pac_as_ptr().add(0x368usize),
1311            )
1312        }
1313    }
1314    #[inline(always)]
1315    pub const fn mb23_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1316        unsafe {
1317            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1318                self._svd2pac_as_ptr().add(0x378usize),
1319            )
1320        }
1321    }
1322    #[inline(always)]
1323    pub const fn mb24_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1324        unsafe {
1325            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1326                self._svd2pac_as_ptr().add(0x388usize),
1327            )
1328        }
1329    }
1330    #[inline(always)]
1331    pub const fn mb25_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1332        unsafe {
1333            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1334                self._svd2pac_as_ptr().add(0x398usize),
1335            )
1336        }
1337    }
1338    #[inline(always)]
1339    pub const fn mb26_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1340        unsafe {
1341            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1342                self._svd2pac_as_ptr().add(0x3a8usize),
1343            )
1344        }
1345    }
1346    #[inline(always)]
1347    pub const fn mb27_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1348        unsafe {
1349            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1350                self._svd2pac_as_ptr().add(0x3b8usize),
1351            )
1352        }
1353    }
1354    #[inline(always)]
1355    pub const fn mb28_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1356        unsafe {
1357            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1358                self._svd2pac_as_ptr().add(0x3c8usize),
1359            )
1360        }
1361    }
1362    #[inline(always)]
1363    pub const fn mb29_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1364        unsafe {
1365            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1366                self._svd2pac_as_ptr().add(0x3d8usize),
1367            )
1368        }
1369    }
1370    #[inline(always)]
1371    pub const fn mb30_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1372        unsafe {
1373            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1374                self._svd2pac_as_ptr().add(0x3e8usize),
1375            )
1376        }
1377    }
1378    #[inline(always)]
1379    pub const fn mb31_d2(&self) -> &'static crate::common::Reg<self::MbD2_SPEC, crate::common::RW> {
1380        unsafe {
1381            crate::common::Reg::<self::MbD2_SPEC, crate::common::RW>::from_ptr(
1382                self._svd2pac_as_ptr().add(0x3f8usize),
1383            )
1384        }
1385    }
1386
1387    #[doc = "Mailbox Data Register %s"]
1388    #[inline(always)]
1389    pub const fn mb_d3(
1390        &self,
1391    ) -> &'static crate::common::ClusterRegisterArray<
1392        crate::common::Reg<self::MbD3_SPEC, crate::common::RW>,
1393        32,
1394        0x10,
1395    > {
1396        unsafe {
1397            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x209usize))
1398        }
1399    }
1400    #[inline(always)]
1401    pub const fn mb0_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1402        unsafe {
1403            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1404                self._svd2pac_as_ptr().add(0x209usize),
1405            )
1406        }
1407    }
1408    #[inline(always)]
1409    pub const fn mb1_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1410        unsafe {
1411            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1412                self._svd2pac_as_ptr().add(0x219usize),
1413            )
1414        }
1415    }
1416    #[inline(always)]
1417    pub const fn mb2_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1418        unsafe {
1419            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1420                self._svd2pac_as_ptr().add(0x229usize),
1421            )
1422        }
1423    }
1424    #[inline(always)]
1425    pub const fn mb3_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1426        unsafe {
1427            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1428                self._svd2pac_as_ptr().add(0x239usize),
1429            )
1430        }
1431    }
1432    #[inline(always)]
1433    pub const fn mb4_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1434        unsafe {
1435            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1436                self._svd2pac_as_ptr().add(0x249usize),
1437            )
1438        }
1439    }
1440    #[inline(always)]
1441    pub const fn mb5_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1442        unsafe {
1443            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1444                self._svd2pac_as_ptr().add(0x259usize),
1445            )
1446        }
1447    }
1448    #[inline(always)]
1449    pub const fn mb6_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1450        unsafe {
1451            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1452                self._svd2pac_as_ptr().add(0x269usize),
1453            )
1454        }
1455    }
1456    #[inline(always)]
1457    pub const fn mb7_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1458        unsafe {
1459            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1460                self._svd2pac_as_ptr().add(0x279usize),
1461            )
1462        }
1463    }
1464    #[inline(always)]
1465    pub const fn mb8_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1466        unsafe {
1467            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1468                self._svd2pac_as_ptr().add(0x289usize),
1469            )
1470        }
1471    }
1472    #[inline(always)]
1473    pub const fn mb9_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1474        unsafe {
1475            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1476                self._svd2pac_as_ptr().add(0x299usize),
1477            )
1478        }
1479    }
1480    #[inline(always)]
1481    pub const fn mb10_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1482        unsafe {
1483            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1484                self._svd2pac_as_ptr().add(0x2a9usize),
1485            )
1486        }
1487    }
1488    #[inline(always)]
1489    pub const fn mb11_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1490        unsafe {
1491            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1492                self._svd2pac_as_ptr().add(0x2b9usize),
1493            )
1494        }
1495    }
1496    #[inline(always)]
1497    pub const fn mb12_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1498        unsafe {
1499            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1500                self._svd2pac_as_ptr().add(0x2c9usize),
1501            )
1502        }
1503    }
1504    #[inline(always)]
1505    pub const fn mb13_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1506        unsafe {
1507            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1508                self._svd2pac_as_ptr().add(0x2d9usize),
1509            )
1510        }
1511    }
1512    #[inline(always)]
1513    pub const fn mb14_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1514        unsafe {
1515            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1516                self._svd2pac_as_ptr().add(0x2e9usize),
1517            )
1518        }
1519    }
1520    #[inline(always)]
1521    pub const fn mb15_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1522        unsafe {
1523            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1524                self._svd2pac_as_ptr().add(0x2f9usize),
1525            )
1526        }
1527    }
1528    #[inline(always)]
1529    pub const fn mb16_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1530        unsafe {
1531            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1532                self._svd2pac_as_ptr().add(0x309usize),
1533            )
1534        }
1535    }
1536    #[inline(always)]
1537    pub const fn mb17_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1538        unsafe {
1539            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1540                self._svd2pac_as_ptr().add(0x319usize),
1541            )
1542        }
1543    }
1544    #[inline(always)]
1545    pub const fn mb18_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1546        unsafe {
1547            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1548                self._svd2pac_as_ptr().add(0x329usize),
1549            )
1550        }
1551    }
1552    #[inline(always)]
1553    pub const fn mb19_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1554        unsafe {
1555            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1556                self._svd2pac_as_ptr().add(0x339usize),
1557            )
1558        }
1559    }
1560    #[inline(always)]
1561    pub const fn mb20_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1562        unsafe {
1563            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1564                self._svd2pac_as_ptr().add(0x349usize),
1565            )
1566        }
1567    }
1568    #[inline(always)]
1569    pub const fn mb21_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1570        unsafe {
1571            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1572                self._svd2pac_as_ptr().add(0x359usize),
1573            )
1574        }
1575    }
1576    #[inline(always)]
1577    pub const fn mb22_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1578        unsafe {
1579            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1580                self._svd2pac_as_ptr().add(0x369usize),
1581            )
1582        }
1583    }
1584    #[inline(always)]
1585    pub const fn mb23_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1586        unsafe {
1587            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1588                self._svd2pac_as_ptr().add(0x379usize),
1589            )
1590        }
1591    }
1592    #[inline(always)]
1593    pub const fn mb24_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1594        unsafe {
1595            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1596                self._svd2pac_as_ptr().add(0x389usize),
1597            )
1598        }
1599    }
1600    #[inline(always)]
1601    pub const fn mb25_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1602        unsafe {
1603            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1604                self._svd2pac_as_ptr().add(0x399usize),
1605            )
1606        }
1607    }
1608    #[inline(always)]
1609    pub const fn mb26_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1610        unsafe {
1611            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1612                self._svd2pac_as_ptr().add(0x3a9usize),
1613            )
1614        }
1615    }
1616    #[inline(always)]
1617    pub const fn mb27_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1618        unsafe {
1619            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1620                self._svd2pac_as_ptr().add(0x3b9usize),
1621            )
1622        }
1623    }
1624    #[inline(always)]
1625    pub const fn mb28_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1626        unsafe {
1627            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1628                self._svd2pac_as_ptr().add(0x3c9usize),
1629            )
1630        }
1631    }
1632    #[inline(always)]
1633    pub const fn mb29_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1634        unsafe {
1635            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1636                self._svd2pac_as_ptr().add(0x3d9usize),
1637            )
1638        }
1639    }
1640    #[inline(always)]
1641    pub const fn mb30_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1642        unsafe {
1643            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1644                self._svd2pac_as_ptr().add(0x3e9usize),
1645            )
1646        }
1647    }
1648    #[inline(always)]
1649    pub const fn mb31_d3(&self) -> &'static crate::common::Reg<self::MbD3_SPEC, crate::common::RW> {
1650        unsafe {
1651            crate::common::Reg::<self::MbD3_SPEC, crate::common::RW>::from_ptr(
1652                self._svd2pac_as_ptr().add(0x3f9usize),
1653            )
1654        }
1655    }
1656
1657    #[doc = "Mailbox Data Register %s"]
1658    #[inline(always)]
1659    pub const fn mb_d4(
1660        &self,
1661    ) -> &'static crate::common::ClusterRegisterArray<
1662        crate::common::Reg<self::MbD4_SPEC, crate::common::RW>,
1663        32,
1664        0x10,
1665    > {
1666        unsafe {
1667            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x20ausize))
1668        }
1669    }
1670    #[inline(always)]
1671    pub const fn mb0_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1672        unsafe {
1673            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1674                self._svd2pac_as_ptr().add(0x20ausize),
1675            )
1676        }
1677    }
1678    #[inline(always)]
1679    pub const fn mb1_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1680        unsafe {
1681            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1682                self._svd2pac_as_ptr().add(0x21ausize),
1683            )
1684        }
1685    }
1686    #[inline(always)]
1687    pub const fn mb2_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1688        unsafe {
1689            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1690                self._svd2pac_as_ptr().add(0x22ausize),
1691            )
1692        }
1693    }
1694    #[inline(always)]
1695    pub const fn mb3_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1696        unsafe {
1697            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1698                self._svd2pac_as_ptr().add(0x23ausize),
1699            )
1700        }
1701    }
1702    #[inline(always)]
1703    pub const fn mb4_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1704        unsafe {
1705            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1706                self._svd2pac_as_ptr().add(0x24ausize),
1707            )
1708        }
1709    }
1710    #[inline(always)]
1711    pub const fn mb5_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1712        unsafe {
1713            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1714                self._svd2pac_as_ptr().add(0x25ausize),
1715            )
1716        }
1717    }
1718    #[inline(always)]
1719    pub const fn mb6_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1720        unsafe {
1721            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1722                self._svd2pac_as_ptr().add(0x26ausize),
1723            )
1724        }
1725    }
1726    #[inline(always)]
1727    pub const fn mb7_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1728        unsafe {
1729            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1730                self._svd2pac_as_ptr().add(0x27ausize),
1731            )
1732        }
1733    }
1734    #[inline(always)]
1735    pub const fn mb8_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1736        unsafe {
1737            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1738                self._svd2pac_as_ptr().add(0x28ausize),
1739            )
1740        }
1741    }
1742    #[inline(always)]
1743    pub const fn mb9_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1744        unsafe {
1745            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1746                self._svd2pac_as_ptr().add(0x29ausize),
1747            )
1748        }
1749    }
1750    #[inline(always)]
1751    pub const fn mb10_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1752        unsafe {
1753            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1754                self._svd2pac_as_ptr().add(0x2aausize),
1755            )
1756        }
1757    }
1758    #[inline(always)]
1759    pub const fn mb11_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1760        unsafe {
1761            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1762                self._svd2pac_as_ptr().add(0x2bausize),
1763            )
1764        }
1765    }
1766    #[inline(always)]
1767    pub const fn mb12_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1768        unsafe {
1769            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1770                self._svd2pac_as_ptr().add(0x2causize),
1771            )
1772        }
1773    }
1774    #[inline(always)]
1775    pub const fn mb13_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1776        unsafe {
1777            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1778                self._svd2pac_as_ptr().add(0x2dausize),
1779            )
1780        }
1781    }
1782    #[inline(always)]
1783    pub const fn mb14_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1784        unsafe {
1785            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1786                self._svd2pac_as_ptr().add(0x2eausize),
1787            )
1788        }
1789    }
1790    #[inline(always)]
1791    pub const fn mb15_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1792        unsafe {
1793            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1794                self._svd2pac_as_ptr().add(0x2fausize),
1795            )
1796        }
1797    }
1798    #[inline(always)]
1799    pub const fn mb16_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1800        unsafe {
1801            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1802                self._svd2pac_as_ptr().add(0x30ausize),
1803            )
1804        }
1805    }
1806    #[inline(always)]
1807    pub const fn mb17_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1808        unsafe {
1809            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1810                self._svd2pac_as_ptr().add(0x31ausize),
1811            )
1812        }
1813    }
1814    #[inline(always)]
1815    pub const fn mb18_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1816        unsafe {
1817            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1818                self._svd2pac_as_ptr().add(0x32ausize),
1819            )
1820        }
1821    }
1822    #[inline(always)]
1823    pub const fn mb19_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1824        unsafe {
1825            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1826                self._svd2pac_as_ptr().add(0x33ausize),
1827            )
1828        }
1829    }
1830    #[inline(always)]
1831    pub const fn mb20_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1832        unsafe {
1833            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1834                self._svd2pac_as_ptr().add(0x34ausize),
1835            )
1836        }
1837    }
1838    #[inline(always)]
1839    pub const fn mb21_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1840        unsafe {
1841            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1842                self._svd2pac_as_ptr().add(0x35ausize),
1843            )
1844        }
1845    }
1846    #[inline(always)]
1847    pub const fn mb22_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1848        unsafe {
1849            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1850                self._svd2pac_as_ptr().add(0x36ausize),
1851            )
1852        }
1853    }
1854    #[inline(always)]
1855    pub const fn mb23_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1856        unsafe {
1857            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1858                self._svd2pac_as_ptr().add(0x37ausize),
1859            )
1860        }
1861    }
1862    #[inline(always)]
1863    pub const fn mb24_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1864        unsafe {
1865            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1866                self._svd2pac_as_ptr().add(0x38ausize),
1867            )
1868        }
1869    }
1870    #[inline(always)]
1871    pub const fn mb25_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1872        unsafe {
1873            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1874                self._svd2pac_as_ptr().add(0x39ausize),
1875            )
1876        }
1877    }
1878    #[inline(always)]
1879    pub const fn mb26_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1880        unsafe {
1881            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1882                self._svd2pac_as_ptr().add(0x3aausize),
1883            )
1884        }
1885    }
1886    #[inline(always)]
1887    pub const fn mb27_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1888        unsafe {
1889            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1890                self._svd2pac_as_ptr().add(0x3bausize),
1891            )
1892        }
1893    }
1894    #[inline(always)]
1895    pub const fn mb28_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1896        unsafe {
1897            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1898                self._svd2pac_as_ptr().add(0x3causize),
1899            )
1900        }
1901    }
1902    #[inline(always)]
1903    pub const fn mb29_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1904        unsafe {
1905            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1906                self._svd2pac_as_ptr().add(0x3dausize),
1907            )
1908        }
1909    }
1910    #[inline(always)]
1911    pub const fn mb30_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1912        unsafe {
1913            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1914                self._svd2pac_as_ptr().add(0x3eausize),
1915            )
1916        }
1917    }
1918    #[inline(always)]
1919    pub const fn mb31_d4(&self) -> &'static crate::common::Reg<self::MbD4_SPEC, crate::common::RW> {
1920        unsafe {
1921            crate::common::Reg::<self::MbD4_SPEC, crate::common::RW>::from_ptr(
1922                self._svd2pac_as_ptr().add(0x3fausize),
1923            )
1924        }
1925    }
1926
1927    #[doc = "Mailbox Data Register %s"]
1928    #[inline(always)]
1929    pub const fn mb_d5(
1930        &self,
1931    ) -> &'static crate::common::ClusterRegisterArray<
1932        crate::common::Reg<self::MbD5_SPEC, crate::common::RW>,
1933        32,
1934        0x10,
1935    > {
1936        unsafe {
1937            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x20busize))
1938        }
1939    }
1940    #[inline(always)]
1941    pub const fn mb0_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1942        unsafe {
1943            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
1944                self._svd2pac_as_ptr().add(0x20busize),
1945            )
1946        }
1947    }
1948    #[inline(always)]
1949    pub const fn mb1_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1950        unsafe {
1951            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
1952                self._svd2pac_as_ptr().add(0x21busize),
1953            )
1954        }
1955    }
1956    #[inline(always)]
1957    pub const fn mb2_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1958        unsafe {
1959            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
1960                self._svd2pac_as_ptr().add(0x22busize),
1961            )
1962        }
1963    }
1964    #[inline(always)]
1965    pub const fn mb3_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1966        unsafe {
1967            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
1968                self._svd2pac_as_ptr().add(0x23busize),
1969            )
1970        }
1971    }
1972    #[inline(always)]
1973    pub const fn mb4_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1974        unsafe {
1975            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
1976                self._svd2pac_as_ptr().add(0x24busize),
1977            )
1978        }
1979    }
1980    #[inline(always)]
1981    pub const fn mb5_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1982        unsafe {
1983            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
1984                self._svd2pac_as_ptr().add(0x25busize),
1985            )
1986        }
1987    }
1988    #[inline(always)]
1989    pub const fn mb6_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1990        unsafe {
1991            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
1992                self._svd2pac_as_ptr().add(0x26busize),
1993            )
1994        }
1995    }
1996    #[inline(always)]
1997    pub const fn mb7_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
1998        unsafe {
1999            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2000                self._svd2pac_as_ptr().add(0x27busize),
2001            )
2002        }
2003    }
2004    #[inline(always)]
2005    pub const fn mb8_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2006        unsafe {
2007            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2008                self._svd2pac_as_ptr().add(0x28busize),
2009            )
2010        }
2011    }
2012    #[inline(always)]
2013    pub const fn mb9_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2014        unsafe {
2015            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2016                self._svd2pac_as_ptr().add(0x29busize),
2017            )
2018        }
2019    }
2020    #[inline(always)]
2021    pub const fn mb10_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2022        unsafe {
2023            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2024                self._svd2pac_as_ptr().add(0x2abusize),
2025            )
2026        }
2027    }
2028    #[inline(always)]
2029    pub const fn mb11_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2030        unsafe {
2031            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2032                self._svd2pac_as_ptr().add(0x2bbusize),
2033            )
2034        }
2035    }
2036    #[inline(always)]
2037    pub const fn mb12_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2038        unsafe {
2039            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2040                self._svd2pac_as_ptr().add(0x2cbusize),
2041            )
2042        }
2043    }
2044    #[inline(always)]
2045    pub const fn mb13_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2046        unsafe {
2047            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2048                self._svd2pac_as_ptr().add(0x2dbusize),
2049            )
2050        }
2051    }
2052    #[inline(always)]
2053    pub const fn mb14_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2054        unsafe {
2055            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2056                self._svd2pac_as_ptr().add(0x2ebusize),
2057            )
2058        }
2059    }
2060    #[inline(always)]
2061    pub const fn mb15_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2062        unsafe {
2063            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2064                self._svd2pac_as_ptr().add(0x2fbusize),
2065            )
2066        }
2067    }
2068    #[inline(always)]
2069    pub const fn mb16_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2070        unsafe {
2071            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2072                self._svd2pac_as_ptr().add(0x30busize),
2073            )
2074        }
2075    }
2076    #[inline(always)]
2077    pub const fn mb17_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2078        unsafe {
2079            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2080                self._svd2pac_as_ptr().add(0x31busize),
2081            )
2082        }
2083    }
2084    #[inline(always)]
2085    pub const fn mb18_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2086        unsafe {
2087            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2088                self._svd2pac_as_ptr().add(0x32busize),
2089            )
2090        }
2091    }
2092    #[inline(always)]
2093    pub const fn mb19_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2094        unsafe {
2095            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2096                self._svd2pac_as_ptr().add(0x33busize),
2097            )
2098        }
2099    }
2100    #[inline(always)]
2101    pub const fn mb20_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2102        unsafe {
2103            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2104                self._svd2pac_as_ptr().add(0x34busize),
2105            )
2106        }
2107    }
2108    #[inline(always)]
2109    pub const fn mb21_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2110        unsafe {
2111            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2112                self._svd2pac_as_ptr().add(0x35busize),
2113            )
2114        }
2115    }
2116    #[inline(always)]
2117    pub const fn mb22_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2118        unsafe {
2119            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2120                self._svd2pac_as_ptr().add(0x36busize),
2121            )
2122        }
2123    }
2124    #[inline(always)]
2125    pub const fn mb23_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2126        unsafe {
2127            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2128                self._svd2pac_as_ptr().add(0x37busize),
2129            )
2130        }
2131    }
2132    #[inline(always)]
2133    pub const fn mb24_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2134        unsafe {
2135            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2136                self._svd2pac_as_ptr().add(0x38busize),
2137            )
2138        }
2139    }
2140    #[inline(always)]
2141    pub const fn mb25_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2142        unsafe {
2143            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2144                self._svd2pac_as_ptr().add(0x39busize),
2145            )
2146        }
2147    }
2148    #[inline(always)]
2149    pub const fn mb26_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2150        unsafe {
2151            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2152                self._svd2pac_as_ptr().add(0x3abusize),
2153            )
2154        }
2155    }
2156    #[inline(always)]
2157    pub const fn mb27_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2158        unsafe {
2159            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2160                self._svd2pac_as_ptr().add(0x3bbusize),
2161            )
2162        }
2163    }
2164    #[inline(always)]
2165    pub const fn mb28_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2166        unsafe {
2167            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2168                self._svd2pac_as_ptr().add(0x3cbusize),
2169            )
2170        }
2171    }
2172    #[inline(always)]
2173    pub const fn mb29_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2174        unsafe {
2175            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2176                self._svd2pac_as_ptr().add(0x3dbusize),
2177            )
2178        }
2179    }
2180    #[inline(always)]
2181    pub const fn mb30_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2182        unsafe {
2183            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2184                self._svd2pac_as_ptr().add(0x3ebusize),
2185            )
2186        }
2187    }
2188    #[inline(always)]
2189    pub const fn mb31_d5(&self) -> &'static crate::common::Reg<self::MbD5_SPEC, crate::common::RW> {
2190        unsafe {
2191            crate::common::Reg::<self::MbD5_SPEC, crate::common::RW>::from_ptr(
2192                self._svd2pac_as_ptr().add(0x3fbusize),
2193            )
2194        }
2195    }
2196
2197    #[doc = "Mailbox Data Register %s"]
2198    #[inline(always)]
2199    pub const fn mb_d6(
2200        &self,
2201    ) -> &'static crate::common::ClusterRegisterArray<
2202        crate::common::Reg<self::MbD6_SPEC, crate::common::RW>,
2203        32,
2204        0x10,
2205    > {
2206        unsafe {
2207            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x20cusize))
2208        }
2209    }
2210    #[inline(always)]
2211    pub const fn mb0_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2212        unsafe {
2213            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2214                self._svd2pac_as_ptr().add(0x20cusize),
2215            )
2216        }
2217    }
2218    #[inline(always)]
2219    pub const fn mb1_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2220        unsafe {
2221            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2222                self._svd2pac_as_ptr().add(0x21cusize),
2223            )
2224        }
2225    }
2226    #[inline(always)]
2227    pub const fn mb2_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2228        unsafe {
2229            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2230                self._svd2pac_as_ptr().add(0x22cusize),
2231            )
2232        }
2233    }
2234    #[inline(always)]
2235    pub const fn mb3_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2236        unsafe {
2237            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2238                self._svd2pac_as_ptr().add(0x23cusize),
2239            )
2240        }
2241    }
2242    #[inline(always)]
2243    pub const fn mb4_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2244        unsafe {
2245            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2246                self._svd2pac_as_ptr().add(0x24cusize),
2247            )
2248        }
2249    }
2250    #[inline(always)]
2251    pub const fn mb5_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2252        unsafe {
2253            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2254                self._svd2pac_as_ptr().add(0x25cusize),
2255            )
2256        }
2257    }
2258    #[inline(always)]
2259    pub const fn mb6_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2260        unsafe {
2261            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2262                self._svd2pac_as_ptr().add(0x26cusize),
2263            )
2264        }
2265    }
2266    #[inline(always)]
2267    pub const fn mb7_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2268        unsafe {
2269            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2270                self._svd2pac_as_ptr().add(0x27cusize),
2271            )
2272        }
2273    }
2274    #[inline(always)]
2275    pub const fn mb8_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2276        unsafe {
2277            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2278                self._svd2pac_as_ptr().add(0x28cusize),
2279            )
2280        }
2281    }
2282    #[inline(always)]
2283    pub const fn mb9_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2284        unsafe {
2285            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2286                self._svd2pac_as_ptr().add(0x29cusize),
2287            )
2288        }
2289    }
2290    #[inline(always)]
2291    pub const fn mb10_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2292        unsafe {
2293            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2294                self._svd2pac_as_ptr().add(0x2acusize),
2295            )
2296        }
2297    }
2298    #[inline(always)]
2299    pub const fn mb11_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2300        unsafe {
2301            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2302                self._svd2pac_as_ptr().add(0x2bcusize),
2303            )
2304        }
2305    }
2306    #[inline(always)]
2307    pub const fn mb12_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2308        unsafe {
2309            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2310                self._svd2pac_as_ptr().add(0x2ccusize),
2311            )
2312        }
2313    }
2314    #[inline(always)]
2315    pub const fn mb13_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2316        unsafe {
2317            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2318                self._svd2pac_as_ptr().add(0x2dcusize),
2319            )
2320        }
2321    }
2322    #[inline(always)]
2323    pub const fn mb14_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2324        unsafe {
2325            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2326                self._svd2pac_as_ptr().add(0x2ecusize),
2327            )
2328        }
2329    }
2330    #[inline(always)]
2331    pub const fn mb15_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2332        unsafe {
2333            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2334                self._svd2pac_as_ptr().add(0x2fcusize),
2335            )
2336        }
2337    }
2338    #[inline(always)]
2339    pub const fn mb16_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2340        unsafe {
2341            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2342                self._svd2pac_as_ptr().add(0x30cusize),
2343            )
2344        }
2345    }
2346    #[inline(always)]
2347    pub const fn mb17_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2348        unsafe {
2349            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2350                self._svd2pac_as_ptr().add(0x31cusize),
2351            )
2352        }
2353    }
2354    #[inline(always)]
2355    pub const fn mb18_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2356        unsafe {
2357            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2358                self._svd2pac_as_ptr().add(0x32cusize),
2359            )
2360        }
2361    }
2362    #[inline(always)]
2363    pub const fn mb19_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2364        unsafe {
2365            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2366                self._svd2pac_as_ptr().add(0x33cusize),
2367            )
2368        }
2369    }
2370    #[inline(always)]
2371    pub const fn mb20_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2372        unsafe {
2373            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2374                self._svd2pac_as_ptr().add(0x34cusize),
2375            )
2376        }
2377    }
2378    #[inline(always)]
2379    pub const fn mb21_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2380        unsafe {
2381            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2382                self._svd2pac_as_ptr().add(0x35cusize),
2383            )
2384        }
2385    }
2386    #[inline(always)]
2387    pub const fn mb22_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2388        unsafe {
2389            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2390                self._svd2pac_as_ptr().add(0x36cusize),
2391            )
2392        }
2393    }
2394    #[inline(always)]
2395    pub const fn mb23_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2396        unsafe {
2397            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2398                self._svd2pac_as_ptr().add(0x37cusize),
2399            )
2400        }
2401    }
2402    #[inline(always)]
2403    pub const fn mb24_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2404        unsafe {
2405            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2406                self._svd2pac_as_ptr().add(0x38cusize),
2407            )
2408        }
2409    }
2410    #[inline(always)]
2411    pub const fn mb25_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2412        unsafe {
2413            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2414                self._svd2pac_as_ptr().add(0x39cusize),
2415            )
2416        }
2417    }
2418    #[inline(always)]
2419    pub const fn mb26_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2420        unsafe {
2421            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2422                self._svd2pac_as_ptr().add(0x3acusize),
2423            )
2424        }
2425    }
2426    #[inline(always)]
2427    pub const fn mb27_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2428        unsafe {
2429            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2430                self._svd2pac_as_ptr().add(0x3bcusize),
2431            )
2432        }
2433    }
2434    #[inline(always)]
2435    pub const fn mb28_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2436        unsafe {
2437            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2438                self._svd2pac_as_ptr().add(0x3ccusize),
2439            )
2440        }
2441    }
2442    #[inline(always)]
2443    pub const fn mb29_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2444        unsafe {
2445            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2446                self._svd2pac_as_ptr().add(0x3dcusize),
2447            )
2448        }
2449    }
2450    #[inline(always)]
2451    pub const fn mb30_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2452        unsafe {
2453            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2454                self._svd2pac_as_ptr().add(0x3ecusize),
2455            )
2456        }
2457    }
2458    #[inline(always)]
2459    pub const fn mb31_d6(&self) -> &'static crate::common::Reg<self::MbD6_SPEC, crate::common::RW> {
2460        unsafe {
2461            crate::common::Reg::<self::MbD6_SPEC, crate::common::RW>::from_ptr(
2462                self._svd2pac_as_ptr().add(0x3fcusize),
2463            )
2464        }
2465    }
2466
2467    #[doc = "Mailbox Data Register %s"]
2468    #[inline(always)]
2469    pub const fn mb_d7(
2470        &self,
2471    ) -> &'static crate::common::ClusterRegisterArray<
2472        crate::common::Reg<self::MbD7_SPEC, crate::common::RW>,
2473        32,
2474        0x10,
2475    > {
2476        unsafe {
2477            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x20dusize))
2478        }
2479    }
2480    #[inline(always)]
2481    pub const fn mb0_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2482        unsafe {
2483            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2484                self._svd2pac_as_ptr().add(0x20dusize),
2485            )
2486        }
2487    }
2488    #[inline(always)]
2489    pub const fn mb1_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2490        unsafe {
2491            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2492                self._svd2pac_as_ptr().add(0x21dusize),
2493            )
2494        }
2495    }
2496    #[inline(always)]
2497    pub const fn mb2_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2498        unsafe {
2499            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2500                self._svd2pac_as_ptr().add(0x22dusize),
2501            )
2502        }
2503    }
2504    #[inline(always)]
2505    pub const fn mb3_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2506        unsafe {
2507            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2508                self._svd2pac_as_ptr().add(0x23dusize),
2509            )
2510        }
2511    }
2512    #[inline(always)]
2513    pub const fn mb4_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2514        unsafe {
2515            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2516                self._svd2pac_as_ptr().add(0x24dusize),
2517            )
2518        }
2519    }
2520    #[inline(always)]
2521    pub const fn mb5_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2522        unsafe {
2523            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2524                self._svd2pac_as_ptr().add(0x25dusize),
2525            )
2526        }
2527    }
2528    #[inline(always)]
2529    pub const fn mb6_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2530        unsafe {
2531            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2532                self._svd2pac_as_ptr().add(0x26dusize),
2533            )
2534        }
2535    }
2536    #[inline(always)]
2537    pub const fn mb7_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2538        unsafe {
2539            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2540                self._svd2pac_as_ptr().add(0x27dusize),
2541            )
2542        }
2543    }
2544    #[inline(always)]
2545    pub const fn mb8_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2546        unsafe {
2547            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2548                self._svd2pac_as_ptr().add(0x28dusize),
2549            )
2550        }
2551    }
2552    #[inline(always)]
2553    pub const fn mb9_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2554        unsafe {
2555            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2556                self._svd2pac_as_ptr().add(0x29dusize),
2557            )
2558        }
2559    }
2560    #[inline(always)]
2561    pub const fn mb10_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2562        unsafe {
2563            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2564                self._svd2pac_as_ptr().add(0x2adusize),
2565            )
2566        }
2567    }
2568    #[inline(always)]
2569    pub const fn mb11_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2570        unsafe {
2571            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2572                self._svd2pac_as_ptr().add(0x2bdusize),
2573            )
2574        }
2575    }
2576    #[inline(always)]
2577    pub const fn mb12_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2578        unsafe {
2579            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2580                self._svd2pac_as_ptr().add(0x2cdusize),
2581            )
2582        }
2583    }
2584    #[inline(always)]
2585    pub const fn mb13_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2586        unsafe {
2587            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2588                self._svd2pac_as_ptr().add(0x2ddusize),
2589            )
2590        }
2591    }
2592    #[inline(always)]
2593    pub const fn mb14_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2594        unsafe {
2595            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2596                self._svd2pac_as_ptr().add(0x2edusize),
2597            )
2598        }
2599    }
2600    #[inline(always)]
2601    pub const fn mb15_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2602        unsafe {
2603            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2604                self._svd2pac_as_ptr().add(0x2fdusize),
2605            )
2606        }
2607    }
2608    #[inline(always)]
2609    pub const fn mb16_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2610        unsafe {
2611            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2612                self._svd2pac_as_ptr().add(0x30dusize),
2613            )
2614        }
2615    }
2616    #[inline(always)]
2617    pub const fn mb17_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2618        unsafe {
2619            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2620                self._svd2pac_as_ptr().add(0x31dusize),
2621            )
2622        }
2623    }
2624    #[inline(always)]
2625    pub const fn mb18_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2626        unsafe {
2627            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2628                self._svd2pac_as_ptr().add(0x32dusize),
2629            )
2630        }
2631    }
2632    #[inline(always)]
2633    pub const fn mb19_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2634        unsafe {
2635            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2636                self._svd2pac_as_ptr().add(0x33dusize),
2637            )
2638        }
2639    }
2640    #[inline(always)]
2641    pub const fn mb20_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2642        unsafe {
2643            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2644                self._svd2pac_as_ptr().add(0x34dusize),
2645            )
2646        }
2647    }
2648    #[inline(always)]
2649    pub const fn mb21_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2650        unsafe {
2651            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2652                self._svd2pac_as_ptr().add(0x35dusize),
2653            )
2654        }
2655    }
2656    #[inline(always)]
2657    pub const fn mb22_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2658        unsafe {
2659            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2660                self._svd2pac_as_ptr().add(0x36dusize),
2661            )
2662        }
2663    }
2664    #[inline(always)]
2665    pub const fn mb23_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2666        unsafe {
2667            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2668                self._svd2pac_as_ptr().add(0x37dusize),
2669            )
2670        }
2671    }
2672    #[inline(always)]
2673    pub const fn mb24_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2674        unsafe {
2675            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2676                self._svd2pac_as_ptr().add(0x38dusize),
2677            )
2678        }
2679    }
2680    #[inline(always)]
2681    pub const fn mb25_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2682        unsafe {
2683            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2684                self._svd2pac_as_ptr().add(0x39dusize),
2685            )
2686        }
2687    }
2688    #[inline(always)]
2689    pub const fn mb26_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2690        unsafe {
2691            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2692                self._svd2pac_as_ptr().add(0x3adusize),
2693            )
2694        }
2695    }
2696    #[inline(always)]
2697    pub const fn mb27_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2698        unsafe {
2699            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2700                self._svd2pac_as_ptr().add(0x3bdusize),
2701            )
2702        }
2703    }
2704    #[inline(always)]
2705    pub const fn mb28_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2706        unsafe {
2707            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2708                self._svd2pac_as_ptr().add(0x3cdusize),
2709            )
2710        }
2711    }
2712    #[inline(always)]
2713    pub const fn mb29_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2714        unsafe {
2715            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2716                self._svd2pac_as_ptr().add(0x3ddusize),
2717            )
2718        }
2719    }
2720    #[inline(always)]
2721    pub const fn mb30_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2722        unsafe {
2723            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2724                self._svd2pac_as_ptr().add(0x3edusize),
2725            )
2726        }
2727    }
2728    #[inline(always)]
2729    pub const fn mb31_d7(&self) -> &'static crate::common::Reg<self::MbD7_SPEC, crate::common::RW> {
2730        unsafe {
2731            crate::common::Reg::<self::MbD7_SPEC, crate::common::RW>::from_ptr(
2732                self._svd2pac_as_ptr().add(0x3fdusize),
2733            )
2734        }
2735    }
2736
2737    #[doc = "Mailbox Time Stamp Register %s"]
2738    #[inline(always)]
2739    pub const fn mb_ts(
2740        &self,
2741    ) -> &'static crate::common::ClusterRegisterArray<
2742        crate::common::Reg<self::MbTs_SPEC, crate::common::RW>,
2743        32,
2744        0x10,
2745    > {
2746        unsafe {
2747            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x20eusize))
2748        }
2749    }
2750    #[inline(always)]
2751    pub const fn mb0_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2752        unsafe {
2753            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2754                self._svd2pac_as_ptr().add(0x20eusize),
2755            )
2756        }
2757    }
2758    #[inline(always)]
2759    pub const fn mb1_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2760        unsafe {
2761            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2762                self._svd2pac_as_ptr().add(0x21eusize),
2763            )
2764        }
2765    }
2766    #[inline(always)]
2767    pub const fn mb2_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2768        unsafe {
2769            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2770                self._svd2pac_as_ptr().add(0x22eusize),
2771            )
2772        }
2773    }
2774    #[inline(always)]
2775    pub const fn mb3_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2776        unsafe {
2777            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2778                self._svd2pac_as_ptr().add(0x23eusize),
2779            )
2780        }
2781    }
2782    #[inline(always)]
2783    pub const fn mb4_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2784        unsafe {
2785            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2786                self._svd2pac_as_ptr().add(0x24eusize),
2787            )
2788        }
2789    }
2790    #[inline(always)]
2791    pub const fn mb5_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2792        unsafe {
2793            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2794                self._svd2pac_as_ptr().add(0x25eusize),
2795            )
2796        }
2797    }
2798    #[inline(always)]
2799    pub const fn mb6_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2800        unsafe {
2801            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2802                self._svd2pac_as_ptr().add(0x26eusize),
2803            )
2804        }
2805    }
2806    #[inline(always)]
2807    pub const fn mb7_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2808        unsafe {
2809            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2810                self._svd2pac_as_ptr().add(0x27eusize),
2811            )
2812        }
2813    }
2814    #[inline(always)]
2815    pub const fn mb8_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2816        unsafe {
2817            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2818                self._svd2pac_as_ptr().add(0x28eusize),
2819            )
2820        }
2821    }
2822    #[inline(always)]
2823    pub const fn mb9_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2824        unsafe {
2825            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2826                self._svd2pac_as_ptr().add(0x29eusize),
2827            )
2828        }
2829    }
2830    #[inline(always)]
2831    pub const fn mb10_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2832        unsafe {
2833            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2834                self._svd2pac_as_ptr().add(0x2aeusize),
2835            )
2836        }
2837    }
2838    #[inline(always)]
2839    pub const fn mb11_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2840        unsafe {
2841            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2842                self._svd2pac_as_ptr().add(0x2beusize),
2843            )
2844        }
2845    }
2846    #[inline(always)]
2847    pub const fn mb12_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2848        unsafe {
2849            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2850                self._svd2pac_as_ptr().add(0x2ceusize),
2851            )
2852        }
2853    }
2854    #[inline(always)]
2855    pub const fn mb13_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2856        unsafe {
2857            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2858                self._svd2pac_as_ptr().add(0x2deusize),
2859            )
2860        }
2861    }
2862    #[inline(always)]
2863    pub const fn mb14_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2864        unsafe {
2865            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2866                self._svd2pac_as_ptr().add(0x2eeusize),
2867            )
2868        }
2869    }
2870    #[inline(always)]
2871    pub const fn mb15_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2872        unsafe {
2873            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2874                self._svd2pac_as_ptr().add(0x2feusize),
2875            )
2876        }
2877    }
2878    #[inline(always)]
2879    pub const fn mb16_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2880        unsafe {
2881            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2882                self._svd2pac_as_ptr().add(0x30eusize),
2883            )
2884        }
2885    }
2886    #[inline(always)]
2887    pub const fn mb17_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2888        unsafe {
2889            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2890                self._svd2pac_as_ptr().add(0x31eusize),
2891            )
2892        }
2893    }
2894    #[inline(always)]
2895    pub const fn mb18_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2896        unsafe {
2897            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2898                self._svd2pac_as_ptr().add(0x32eusize),
2899            )
2900        }
2901    }
2902    #[inline(always)]
2903    pub const fn mb19_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2904        unsafe {
2905            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2906                self._svd2pac_as_ptr().add(0x33eusize),
2907            )
2908        }
2909    }
2910    #[inline(always)]
2911    pub const fn mb20_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2912        unsafe {
2913            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2914                self._svd2pac_as_ptr().add(0x34eusize),
2915            )
2916        }
2917    }
2918    #[inline(always)]
2919    pub const fn mb21_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2920        unsafe {
2921            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2922                self._svd2pac_as_ptr().add(0x35eusize),
2923            )
2924        }
2925    }
2926    #[inline(always)]
2927    pub const fn mb22_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2928        unsafe {
2929            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2930                self._svd2pac_as_ptr().add(0x36eusize),
2931            )
2932        }
2933    }
2934    #[inline(always)]
2935    pub const fn mb23_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2936        unsafe {
2937            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2938                self._svd2pac_as_ptr().add(0x37eusize),
2939            )
2940        }
2941    }
2942    #[inline(always)]
2943    pub const fn mb24_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2944        unsafe {
2945            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2946                self._svd2pac_as_ptr().add(0x38eusize),
2947            )
2948        }
2949    }
2950    #[inline(always)]
2951    pub const fn mb25_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2952        unsafe {
2953            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2954                self._svd2pac_as_ptr().add(0x39eusize),
2955            )
2956        }
2957    }
2958    #[inline(always)]
2959    pub const fn mb26_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2960        unsafe {
2961            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2962                self._svd2pac_as_ptr().add(0x3aeusize),
2963            )
2964        }
2965    }
2966    #[inline(always)]
2967    pub const fn mb27_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2968        unsafe {
2969            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2970                self._svd2pac_as_ptr().add(0x3beusize),
2971            )
2972        }
2973    }
2974    #[inline(always)]
2975    pub const fn mb28_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2976        unsafe {
2977            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2978                self._svd2pac_as_ptr().add(0x3ceusize),
2979            )
2980        }
2981    }
2982    #[inline(always)]
2983    pub const fn mb29_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2984        unsafe {
2985            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2986                self._svd2pac_as_ptr().add(0x3deusize),
2987            )
2988        }
2989    }
2990    #[inline(always)]
2991    pub const fn mb30_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
2992        unsafe {
2993            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
2994                self._svd2pac_as_ptr().add(0x3eeusize),
2995            )
2996        }
2997    }
2998    #[inline(always)]
2999    pub const fn mb31_ts(&self) -> &'static crate::common::Reg<self::MbTs_SPEC, crate::common::RW> {
3000        unsafe {
3001            crate::common::Reg::<self::MbTs_SPEC, crate::common::RW>::from_ptr(
3002                self._svd2pac_as_ptr().add(0x3feusize),
3003            )
3004        }
3005    }
3006
3007    #[doc = "Mask Register %s"]
3008    #[inline(always)]
3009    pub const fn mkr(
3010        &self,
3011    ) -> &'static crate::common::ClusterRegisterArray<
3012        crate::common::Reg<self::Mkr_SPEC, crate::common::RW>,
3013        8,
3014        0x4,
3015    > {
3016        unsafe {
3017            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x400usize))
3018        }
3019    }
3020
3021    #[doc = "FIFO Received ID Compare Register %s"]
3022    #[inline(always)]
3023    pub const fn fidcr(
3024        &self,
3025    ) -> &'static crate::common::ClusterRegisterArray<
3026        crate::common::Reg<self::Fidcr_SPEC, crate::common::RW>,
3027        2,
3028        0x4,
3029    > {
3030        unsafe {
3031            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x420usize))
3032        }
3033    }
3034    #[inline(always)]
3035    pub const fn fidcr0(&self) -> &'static crate::common::Reg<self::Fidcr_SPEC, crate::common::RW> {
3036        unsafe {
3037            crate::common::Reg::<self::Fidcr_SPEC, crate::common::RW>::from_ptr(
3038                self._svd2pac_as_ptr().add(0x420usize),
3039            )
3040        }
3041    }
3042    #[inline(always)]
3043    pub const fn fidcr1(&self) -> &'static crate::common::Reg<self::Fidcr_SPEC, crate::common::RW> {
3044        unsafe {
3045            crate::common::Reg::<self::Fidcr_SPEC, crate::common::RW>::from_ptr(
3046                self._svd2pac_as_ptr().add(0x424usize),
3047            )
3048        }
3049    }
3050
3051    #[doc = "Mask Invalid Register"]
3052    #[inline(always)]
3053    pub const fn mkivlr(
3054        &self,
3055    ) -> &'static crate::common::Reg<self::Mkivlr_SPEC, crate::common::RW> {
3056        unsafe {
3057            crate::common::Reg::<self::Mkivlr_SPEC, crate::common::RW>::from_ptr(
3058                self._svd2pac_as_ptr().add(1064usize),
3059            )
3060        }
3061    }
3062
3063    #[doc = "Mailbox Interrupt Enable Register"]
3064    #[inline(always)]
3065    pub const fn mier(&self) -> &'static crate::common::Reg<self::Mier_SPEC, crate::common::RW> {
3066        unsafe {
3067            crate::common::Reg::<self::Mier_SPEC, crate::common::RW>::from_ptr(
3068                self._svd2pac_as_ptr().add(1068usize),
3069            )
3070        }
3071    }
3072
3073    #[doc = "Mailbox Interrupt Enable Register for FIFO Mailbox Mode"]
3074    #[inline(always)]
3075    pub const fn mier_fifo(
3076        &self,
3077    ) -> &'static crate::common::Reg<self::MierFifo_SPEC, crate::common::RW> {
3078        unsafe {
3079            crate::common::Reg::<self::MierFifo_SPEC, crate::common::RW>::from_ptr(
3080                self._svd2pac_as_ptr().add(1068usize),
3081            )
3082        }
3083    }
3084
3085    #[doc = "Message Control Register for Receive"]
3086    #[inline(always)]
3087    pub const fn mctl_rx(
3088        &self,
3089    ) -> &'static crate::common::ClusterRegisterArray<
3090        crate::common::Reg<self::MctlRx_SPEC, crate::common::RW>,
3091        32,
3092        0x1,
3093    > {
3094        unsafe {
3095            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x820usize))
3096        }
3097    }
3098
3099    #[doc = "Message Control Register for Transmit"]
3100    #[inline(always)]
3101    pub const fn mctl_tx(
3102        &self,
3103    ) -> &'static crate::common::ClusterRegisterArray<
3104        crate::common::Reg<self::MctlTx_SPEC, crate::common::RW>,
3105        32,
3106        0x1,
3107    > {
3108        unsafe {
3109            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x820usize))
3110        }
3111    }
3112
3113    #[doc = "Control Register"]
3114    #[inline(always)]
3115    pub const fn ctlr(&self) -> &'static crate::common::Reg<self::Ctlr_SPEC, crate::common::RW> {
3116        unsafe {
3117            crate::common::Reg::<self::Ctlr_SPEC, crate::common::RW>::from_ptr(
3118                self._svd2pac_as_ptr().add(2112usize),
3119            )
3120        }
3121    }
3122
3123    #[doc = "Status Register"]
3124    #[inline(always)]
3125    pub const fn str(&self) -> &'static crate::common::Reg<self::Str_SPEC, crate::common::R> {
3126        unsafe {
3127            crate::common::Reg::<self::Str_SPEC, crate::common::R>::from_ptr(
3128                self._svd2pac_as_ptr().add(2114usize),
3129            )
3130        }
3131    }
3132
3133    #[doc = "Bit Configuration Register"]
3134    #[inline(always)]
3135    pub const fn bcr(&self) -> &'static crate::common::Reg<self::Bcr_SPEC, crate::common::RW> {
3136        unsafe {
3137            crate::common::Reg::<self::Bcr_SPEC, crate::common::RW>::from_ptr(
3138                self._svd2pac_as_ptr().add(2116usize),
3139            )
3140        }
3141    }
3142
3143    #[doc = "Receive FIFO Control Register"]
3144    #[inline(always)]
3145    pub const fn rfcr(&self) -> &'static crate::common::Reg<self::Rfcr_SPEC, crate::common::RW> {
3146        unsafe {
3147            crate::common::Reg::<self::Rfcr_SPEC, crate::common::RW>::from_ptr(
3148                self._svd2pac_as_ptr().add(2120usize),
3149            )
3150        }
3151    }
3152
3153    #[doc = "Receive FIFO Pointer Control Register"]
3154    #[inline(always)]
3155    pub const fn rfpcr(&self) -> &'static crate::common::Reg<self::Rfpcr_SPEC, crate::common::W> {
3156        unsafe {
3157            crate::common::Reg::<self::Rfpcr_SPEC, crate::common::W>::from_ptr(
3158                self._svd2pac_as_ptr().add(2121usize),
3159            )
3160        }
3161    }
3162
3163    #[doc = "Transmit FIFO Control Register"]
3164    #[inline(always)]
3165    pub const fn tfcr(&self) -> &'static crate::common::Reg<self::Tfcr_SPEC, crate::common::RW> {
3166        unsafe {
3167            crate::common::Reg::<self::Tfcr_SPEC, crate::common::RW>::from_ptr(
3168                self._svd2pac_as_ptr().add(2122usize),
3169            )
3170        }
3171    }
3172
3173    #[doc = "Transmit FIFO Pointer Control Register"]
3174    #[inline(always)]
3175    pub const fn tfpcr(&self) -> &'static crate::common::Reg<self::Tfpcr_SPEC, crate::common::W> {
3176        unsafe {
3177            crate::common::Reg::<self::Tfpcr_SPEC, crate::common::W>::from_ptr(
3178                self._svd2pac_as_ptr().add(2123usize),
3179            )
3180        }
3181    }
3182
3183    #[doc = "Error Interrupt Enable Register"]
3184    #[inline(always)]
3185    pub const fn eier(&self) -> &'static crate::common::Reg<self::Eier_SPEC, crate::common::RW> {
3186        unsafe {
3187            crate::common::Reg::<self::Eier_SPEC, crate::common::RW>::from_ptr(
3188                self._svd2pac_as_ptr().add(2124usize),
3189            )
3190        }
3191    }
3192
3193    #[doc = "Error Interrupt Factor Judge Register"]
3194    #[inline(always)]
3195    pub const fn eifr(&self) -> &'static crate::common::Reg<self::Eifr_SPEC, crate::common::RW> {
3196        unsafe {
3197            crate::common::Reg::<self::Eifr_SPEC, crate::common::RW>::from_ptr(
3198                self._svd2pac_as_ptr().add(2125usize),
3199            )
3200        }
3201    }
3202
3203    #[doc = "Receive Error Count Register"]
3204    #[inline(always)]
3205    pub const fn recr(&self) -> &'static crate::common::Reg<self::Recr_SPEC, crate::common::R> {
3206        unsafe {
3207            crate::common::Reg::<self::Recr_SPEC, crate::common::R>::from_ptr(
3208                self._svd2pac_as_ptr().add(2126usize),
3209            )
3210        }
3211    }
3212
3213    #[doc = "Transmit Error Count Register"]
3214    #[inline(always)]
3215    pub const fn tecr(&self) -> &'static crate::common::Reg<self::Tecr_SPEC, crate::common::R> {
3216        unsafe {
3217            crate::common::Reg::<self::Tecr_SPEC, crate::common::R>::from_ptr(
3218                self._svd2pac_as_ptr().add(2127usize),
3219            )
3220        }
3221    }
3222
3223    #[doc = "Error Code Store Register"]
3224    #[inline(always)]
3225    pub const fn ecsr(&self) -> &'static crate::common::Reg<self::Ecsr_SPEC, crate::common::RW> {
3226        unsafe {
3227            crate::common::Reg::<self::Ecsr_SPEC, crate::common::RW>::from_ptr(
3228                self._svd2pac_as_ptr().add(2128usize),
3229            )
3230        }
3231    }
3232
3233    #[doc = "Channel Search Support Register"]
3234    #[inline(always)]
3235    pub const fn cssr(&self) -> &'static crate::common::Reg<self::Cssr_SPEC, crate::common::RW> {
3236        unsafe {
3237            crate::common::Reg::<self::Cssr_SPEC, crate::common::RW>::from_ptr(
3238                self._svd2pac_as_ptr().add(2129usize),
3239            )
3240        }
3241    }
3242
3243    #[doc = "Mailbox Search Status Register"]
3244    #[inline(always)]
3245    pub const fn mssr(&self) -> &'static crate::common::Reg<self::Mssr_SPEC, crate::common::R> {
3246        unsafe {
3247            crate::common::Reg::<self::Mssr_SPEC, crate::common::R>::from_ptr(
3248                self._svd2pac_as_ptr().add(2130usize),
3249            )
3250        }
3251    }
3252
3253    #[doc = "Mailbox Search Mode Register"]
3254    #[inline(always)]
3255    pub const fn msmr(&self) -> &'static crate::common::Reg<self::Msmr_SPEC, crate::common::RW> {
3256        unsafe {
3257            crate::common::Reg::<self::Msmr_SPEC, crate::common::RW>::from_ptr(
3258                self._svd2pac_as_ptr().add(2131usize),
3259            )
3260        }
3261    }
3262
3263    #[doc = "Time Stamp Register"]
3264    #[inline(always)]
3265    pub const fn tsr(&self) -> &'static crate::common::Reg<self::Tsr_SPEC, crate::common::R> {
3266        unsafe {
3267            crate::common::Reg::<self::Tsr_SPEC, crate::common::R>::from_ptr(
3268                self._svd2pac_as_ptr().add(2132usize),
3269            )
3270        }
3271    }
3272
3273    #[doc = "Acceptance Filter Support Register"]
3274    #[inline(always)]
3275    pub const fn afsr(&self) -> &'static crate::common::Reg<self::Afsr_SPEC, crate::common::RW> {
3276        unsafe {
3277            crate::common::Reg::<self::Afsr_SPEC, crate::common::RW>::from_ptr(
3278                self._svd2pac_as_ptr().add(2134usize),
3279            )
3280        }
3281    }
3282
3283    #[doc = "Test Control Register"]
3284    #[inline(always)]
3285    pub const fn tcr(&self) -> &'static crate::common::Reg<self::Tcr_SPEC, crate::common::RW> {
3286        unsafe {
3287            crate::common::Reg::<self::Tcr_SPEC, crate::common::RW>::from_ptr(
3288                self._svd2pac_as_ptr().add(2136usize),
3289            )
3290        }
3291    }
3292}
3293#[doc(hidden)]
3294#[derive(Copy, Clone, Eq, PartialEq)]
3295pub struct MbId_SPEC;
3296impl crate::sealed::RegSpec for MbId_SPEC {
3297    type DataType = u32;
3298}
3299
3300#[doc = "Mailbox ID Register %s"]
3301pub type MbId = crate::RegValueT<MbId_SPEC>;
3302
3303impl MbId {
3304    #[doc = "Extended ID of data and remote frames"]
3305    #[inline(always)]
3306    pub fn eid(
3307        self,
3308    ) -> crate::common::RegisterField<0, 0x3ffff, 1, 0, u32, u32, MbId_SPEC, crate::common::RW>
3309    {
3310        crate::common::RegisterField::<0,0x3ffff,1,0,u32,u32,MbId_SPEC,crate::common::RW>::from_register(self,0)
3311    }
3312
3313    #[doc = "Standard ID of data and remote frames"]
3314    #[inline(always)]
3315    pub fn sid(
3316        self,
3317    ) -> crate::common::RegisterField<18, 0x7ff, 1, 0, u16, u16, MbId_SPEC, crate::common::RW> {
3318        crate::common::RegisterField::<18,0x7ff,1,0,u16,u16,MbId_SPEC,crate::common::RW>::from_register(self,0)
3319    }
3320
3321    #[doc = "Remote Transmission Request"]
3322    #[inline(always)]
3323    pub fn rtr(
3324        self,
3325    ) -> crate::common::RegisterField<
3326        30,
3327        0x1,
3328        1,
3329        0,
3330        mb_id::Rtr,
3331        mb_id::Rtr,
3332        MbId_SPEC,
3333        crate::common::RW,
3334    > {
3335        crate::common::RegisterField::<
3336            30,
3337            0x1,
3338            1,
3339            0,
3340            mb_id::Rtr,
3341            mb_id::Rtr,
3342            MbId_SPEC,
3343            crate::common::RW,
3344        >::from_register(self, 0)
3345    }
3346
3347    #[doc = "ID Extension"]
3348    #[inline(always)]
3349    pub fn ide(
3350        self,
3351    ) -> crate::common::RegisterField<
3352        31,
3353        0x1,
3354        1,
3355        0,
3356        mb_id::Ide,
3357        mb_id::Ide,
3358        MbId_SPEC,
3359        crate::common::RW,
3360    > {
3361        crate::common::RegisterField::<
3362            31,
3363            0x1,
3364            1,
3365            0,
3366            mb_id::Ide,
3367            mb_id::Ide,
3368            MbId_SPEC,
3369            crate::common::RW,
3370        >::from_register(self, 0)
3371    }
3372}
3373impl ::core::default::Default for MbId {
3374    #[inline(always)]
3375    fn default() -> MbId {
3376        <crate::RegValueT<MbId_SPEC> as RegisterValue<_>>::new(0)
3377    }
3378}
3379pub mod mb_id {
3380
3381    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3382    pub struct Rtr_SPEC;
3383    pub type Rtr = crate::EnumBitfieldStruct<u8, Rtr_SPEC>;
3384    impl Rtr {
3385        #[doc = "Data frame"]
3386        pub const _0: Self = Self::new(0);
3387
3388        #[doc = "Remote frame"]
3389        pub const _1: Self = Self::new(1);
3390    }
3391    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3392    pub struct Ide_SPEC;
3393    pub type Ide = crate::EnumBitfieldStruct<u8, Ide_SPEC>;
3394    impl Ide {
3395        #[doc = "Standard ID"]
3396        pub const _0: Self = Self::new(0);
3397
3398        #[doc = "Extended ID"]
3399        pub const _1: Self = Self::new(1);
3400    }
3401}
3402#[doc(hidden)]
3403#[derive(Copy, Clone, Eq, PartialEq)]
3404pub struct MbDl_SPEC;
3405impl crate::sealed::RegSpec for MbDl_SPEC {
3406    type DataType = u16;
3407}
3408
3409#[doc = "Mailbox Data Length Register %s"]
3410pub type MbDl = crate::RegValueT<MbDl_SPEC>;
3411
3412impl MbDl {
3413    #[doc = "Data Length Code"]
3414    #[inline(always)]
3415    pub fn dlc(
3416        self,
3417    ) -> crate::common::RegisterField<
3418        0,
3419        0xf,
3420        1,
3421        0,
3422        mb_dl::Dlc,
3423        mb_dl::Dlc,
3424        MbDl_SPEC,
3425        crate::common::RW,
3426    > {
3427        crate::common::RegisterField::<
3428            0,
3429            0xf,
3430            1,
3431            0,
3432            mb_dl::Dlc,
3433            mb_dl::Dlc,
3434            MbDl_SPEC,
3435            crate::common::RW,
3436        >::from_register(self, 0)
3437    }
3438}
3439impl ::core::default::Default for MbDl {
3440    #[inline(always)]
3441    fn default() -> MbDl {
3442        <crate::RegValueT<MbDl_SPEC> as RegisterValue<_>>::new(0)
3443    }
3444}
3445pub mod mb_dl {
3446
3447    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3448    pub struct Dlc_SPEC;
3449    pub type Dlc = crate::EnumBitfieldStruct<u8, Dlc_SPEC>;
3450    impl Dlc {
3451        #[doc = "Data length = 0 byte"]
3452        pub const _0_X_0: Self = Self::new(0);
3453
3454        #[doc = "Data length = 1 byte"]
3455        pub const _0_X_1: Self = Self::new(1);
3456
3457        #[doc = "Data length = 2 bytes"]
3458        pub const _0_X_2: Self = Self::new(2);
3459
3460        #[doc = "Data length = 3 bytes"]
3461        pub const _0_X_3: Self = Self::new(3);
3462
3463        #[doc = "Data length = 4 bytes"]
3464        pub const _0_X_4: Self = Self::new(4);
3465
3466        #[doc = "Data length = 5 bytes"]
3467        pub const _0_X_5: Self = Self::new(5);
3468
3469        #[doc = "Data length = 6 bytes"]
3470        pub const _0_X_6: Self = Self::new(6);
3471
3472        #[doc = "Data length = 7 bytes"]
3473        pub const _0_X_7: Self = Self::new(7);
3474    }
3475}
3476#[doc(hidden)]
3477#[derive(Copy, Clone, Eq, PartialEq)]
3478pub struct MbD0_SPEC;
3479impl crate::sealed::RegSpec for MbD0_SPEC {
3480    type DataType = u8;
3481}
3482
3483#[doc = "Mailbox Data Register %s"]
3484pub type MbD0 = crate::RegValueT<MbD0_SPEC>;
3485
3486impl MbD0 {
3487    #[doc = "Data Bytes 0"]
3488    #[inline(always)]
3489    pub fn data0(
3490        self,
3491    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD0_SPEC, crate::common::RW> {
3492        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD0_SPEC,crate::common::RW>::from_register(self,0)
3493    }
3494}
3495impl ::core::default::Default for MbD0 {
3496    #[inline(always)]
3497    fn default() -> MbD0 {
3498        <crate::RegValueT<MbD0_SPEC> as RegisterValue<_>>::new(0)
3499    }
3500}
3501
3502#[doc(hidden)]
3503#[derive(Copy, Clone, Eq, PartialEq)]
3504pub struct MbD1_SPEC;
3505impl crate::sealed::RegSpec for MbD1_SPEC {
3506    type DataType = u8;
3507}
3508
3509#[doc = "Mailbox Data Register %s"]
3510pub type MbD1 = crate::RegValueT<MbD1_SPEC>;
3511
3512impl MbD1 {
3513    #[doc = "Data Bytes 1"]
3514    #[inline(always)]
3515    pub fn data1(
3516        self,
3517    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD1_SPEC, crate::common::RW> {
3518        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD1_SPEC,crate::common::RW>::from_register(self,0)
3519    }
3520}
3521impl ::core::default::Default for MbD1 {
3522    #[inline(always)]
3523    fn default() -> MbD1 {
3524        <crate::RegValueT<MbD1_SPEC> as RegisterValue<_>>::new(0)
3525    }
3526}
3527
3528#[doc(hidden)]
3529#[derive(Copy, Clone, Eq, PartialEq)]
3530pub struct MbD2_SPEC;
3531impl crate::sealed::RegSpec for MbD2_SPEC {
3532    type DataType = u8;
3533}
3534
3535#[doc = "Mailbox Data Register %s"]
3536pub type MbD2 = crate::RegValueT<MbD2_SPEC>;
3537
3538impl MbD2 {
3539    #[doc = "Data Bytes 2"]
3540    #[inline(always)]
3541    pub fn data2(
3542        self,
3543    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD2_SPEC, crate::common::RW> {
3544        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD2_SPEC,crate::common::RW>::from_register(self,0)
3545    }
3546}
3547impl ::core::default::Default for MbD2 {
3548    #[inline(always)]
3549    fn default() -> MbD2 {
3550        <crate::RegValueT<MbD2_SPEC> as RegisterValue<_>>::new(0)
3551    }
3552}
3553
3554#[doc(hidden)]
3555#[derive(Copy, Clone, Eq, PartialEq)]
3556pub struct MbD3_SPEC;
3557impl crate::sealed::RegSpec for MbD3_SPEC {
3558    type DataType = u8;
3559}
3560
3561#[doc = "Mailbox Data Register %s"]
3562pub type MbD3 = crate::RegValueT<MbD3_SPEC>;
3563
3564impl MbD3 {
3565    #[doc = "Data Bytes 3"]
3566    #[inline(always)]
3567    pub fn data3(
3568        self,
3569    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD3_SPEC, crate::common::RW> {
3570        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD3_SPEC,crate::common::RW>::from_register(self,0)
3571    }
3572}
3573impl ::core::default::Default for MbD3 {
3574    #[inline(always)]
3575    fn default() -> MbD3 {
3576        <crate::RegValueT<MbD3_SPEC> as RegisterValue<_>>::new(0)
3577    }
3578}
3579
3580#[doc(hidden)]
3581#[derive(Copy, Clone, Eq, PartialEq)]
3582pub struct MbD4_SPEC;
3583impl crate::sealed::RegSpec for MbD4_SPEC {
3584    type DataType = u8;
3585}
3586
3587#[doc = "Mailbox Data Register %s"]
3588pub type MbD4 = crate::RegValueT<MbD4_SPEC>;
3589
3590impl MbD4 {
3591    #[doc = "Data Bytes 4"]
3592    #[inline(always)]
3593    pub fn data4(
3594        self,
3595    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD4_SPEC, crate::common::RW> {
3596        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD4_SPEC,crate::common::RW>::from_register(self,0)
3597    }
3598}
3599impl ::core::default::Default for MbD4 {
3600    #[inline(always)]
3601    fn default() -> MbD4 {
3602        <crate::RegValueT<MbD4_SPEC> as RegisterValue<_>>::new(0)
3603    }
3604}
3605
3606#[doc(hidden)]
3607#[derive(Copy, Clone, Eq, PartialEq)]
3608pub struct MbD5_SPEC;
3609impl crate::sealed::RegSpec for MbD5_SPEC {
3610    type DataType = u8;
3611}
3612
3613#[doc = "Mailbox Data Register %s"]
3614pub type MbD5 = crate::RegValueT<MbD5_SPEC>;
3615
3616impl MbD5 {
3617    #[doc = "Data Bytes 5"]
3618    #[inline(always)]
3619    pub fn data5(
3620        self,
3621    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD5_SPEC, crate::common::RW> {
3622        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD5_SPEC,crate::common::RW>::from_register(self,0)
3623    }
3624}
3625impl ::core::default::Default for MbD5 {
3626    #[inline(always)]
3627    fn default() -> MbD5 {
3628        <crate::RegValueT<MbD5_SPEC> as RegisterValue<_>>::new(0)
3629    }
3630}
3631
3632#[doc(hidden)]
3633#[derive(Copy, Clone, Eq, PartialEq)]
3634pub struct MbD6_SPEC;
3635impl crate::sealed::RegSpec for MbD6_SPEC {
3636    type DataType = u8;
3637}
3638
3639#[doc = "Mailbox Data Register %s"]
3640pub type MbD6 = crate::RegValueT<MbD6_SPEC>;
3641
3642impl MbD6 {
3643    #[doc = "Data Bytes 6"]
3644    #[inline(always)]
3645    pub fn data6(
3646        self,
3647    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD6_SPEC, crate::common::RW> {
3648        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD6_SPEC,crate::common::RW>::from_register(self,0)
3649    }
3650}
3651impl ::core::default::Default for MbD6 {
3652    #[inline(always)]
3653    fn default() -> MbD6 {
3654        <crate::RegValueT<MbD6_SPEC> as RegisterValue<_>>::new(0)
3655    }
3656}
3657
3658#[doc(hidden)]
3659#[derive(Copy, Clone, Eq, PartialEq)]
3660pub struct MbD7_SPEC;
3661impl crate::sealed::RegSpec for MbD7_SPEC {
3662    type DataType = u8;
3663}
3664
3665#[doc = "Mailbox Data Register %s"]
3666pub type MbD7 = crate::RegValueT<MbD7_SPEC>;
3667
3668impl MbD7 {
3669    #[doc = "Data Bytes 7"]
3670    #[inline(always)]
3671    pub fn data7(
3672        self,
3673    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD7_SPEC, crate::common::RW> {
3674        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD7_SPEC,crate::common::RW>::from_register(self,0)
3675    }
3676}
3677impl ::core::default::Default for MbD7 {
3678    #[inline(always)]
3679    fn default() -> MbD7 {
3680        <crate::RegValueT<MbD7_SPEC> as RegisterValue<_>>::new(0)
3681    }
3682}
3683
3684#[doc(hidden)]
3685#[derive(Copy, Clone, Eq, PartialEq)]
3686pub struct MbTs_SPEC;
3687impl crate::sealed::RegSpec for MbTs_SPEC {
3688    type DataType = u16;
3689}
3690
3691#[doc = "Mailbox Time Stamp Register %s"]
3692pub type MbTs = crate::RegValueT<MbTs_SPEC>;
3693
3694impl MbTs {
3695    #[doc = "Time Stamp Lower Byte"]
3696    #[inline(always)]
3697    pub fn tsl(
3698        self,
3699    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbTs_SPEC, crate::common::RW> {
3700        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbTs_SPEC,crate::common::RW>::from_register(self,0)
3701    }
3702
3703    #[doc = "Time Stamp Higher Byte"]
3704    #[inline(always)]
3705    pub fn tsh(
3706        self,
3707    ) -> crate::common::RegisterField<8, 0xff, 1, 0, u8, u8, MbTs_SPEC, crate::common::RW> {
3708        crate::common::RegisterField::<8,0xff,1,0,u8,u8,MbTs_SPEC,crate::common::RW>::from_register(self,0)
3709    }
3710}
3711impl ::core::default::Default for MbTs {
3712    #[inline(always)]
3713    fn default() -> MbTs {
3714        <crate::RegValueT<MbTs_SPEC> as RegisterValue<_>>::new(0)
3715    }
3716}
3717
3718#[doc(hidden)]
3719#[derive(Copy, Clone, Eq, PartialEq)]
3720pub struct Mkr_SPEC;
3721impl crate::sealed::RegSpec for Mkr_SPEC {
3722    type DataType = u32;
3723}
3724
3725#[doc = "Mask Register %s"]
3726pub type Mkr = crate::RegValueT<Mkr_SPEC>;
3727
3728impl Mkr {
3729    #[doc = "Extended ID"]
3730    #[inline(always)]
3731    pub fn eid(
3732        self,
3733    ) -> crate::common::RegisterField<
3734        0,
3735        0x3ffff,
3736        1,
3737        0,
3738        mkr::Eid,
3739        mkr::Eid,
3740        Mkr_SPEC,
3741        crate::common::RW,
3742    > {
3743        crate::common::RegisterField::<
3744            0,
3745            0x3ffff,
3746            1,
3747            0,
3748            mkr::Eid,
3749            mkr::Eid,
3750            Mkr_SPEC,
3751            crate::common::RW,
3752        >::from_register(self, 0)
3753    }
3754
3755    #[doc = "Standard ID"]
3756    #[inline(always)]
3757    pub fn sid(
3758        self,
3759    ) -> crate::common::RegisterField<
3760        18,
3761        0x7ff,
3762        1,
3763        0,
3764        mkr::Sid,
3765        mkr::Sid,
3766        Mkr_SPEC,
3767        crate::common::RW,
3768    > {
3769        crate::common::RegisterField::<
3770            18,
3771            0x7ff,
3772            1,
3773            0,
3774            mkr::Sid,
3775            mkr::Sid,
3776            Mkr_SPEC,
3777            crate::common::RW,
3778        >::from_register(self, 0)
3779    }
3780}
3781impl ::core::default::Default for Mkr {
3782    #[inline(always)]
3783    fn default() -> Mkr {
3784        <crate::RegValueT<Mkr_SPEC> as RegisterValue<_>>::new(0)
3785    }
3786}
3787pub mod mkr {
3788
3789    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3790    pub struct Eid_SPEC;
3791    pub type Eid = crate::EnumBitfieldStruct<u8, Eid_SPEC>;
3792    impl Eid {
3793        #[doc = "Do not compare associated EID\\[17:0\\] bits"]
3794        pub const _0: Self = Self::new(0);
3795
3796        #[doc = "Compare associated EID\\[17:0\\] bits"]
3797        pub const _1: Self = Self::new(1);
3798    }
3799    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3800    pub struct Sid_SPEC;
3801    pub type Sid = crate::EnumBitfieldStruct<u8, Sid_SPEC>;
3802    impl Sid {
3803        #[doc = "Do not compare associated SID\\[10:0\\] bits"]
3804        pub const _0: Self = Self::new(0);
3805
3806        #[doc = "Compare associated SID\\[10:0\\] bits"]
3807        pub const _1: Self = Self::new(1);
3808    }
3809}
3810#[doc(hidden)]
3811#[derive(Copy, Clone, Eq, PartialEq)]
3812pub struct Fidcr_SPEC;
3813impl crate::sealed::RegSpec for Fidcr_SPEC {
3814    type DataType = u32;
3815}
3816
3817#[doc = "FIFO Received ID Compare Register %s"]
3818pub type Fidcr = crate::RegValueT<Fidcr_SPEC>;
3819
3820impl Fidcr {
3821    #[doc = "Extended ID of data and remote frames"]
3822    #[inline(always)]
3823    pub fn eid(
3824        self,
3825    ) -> crate::common::RegisterField<0, 0x3ffff, 1, 0, u32, u32, Fidcr_SPEC, crate::common::RW>
3826    {
3827        crate::common::RegisterField::<0,0x3ffff,1,0,u32,u32,Fidcr_SPEC,crate::common::RW>::from_register(self,0)
3828    }
3829
3830    #[doc = "Standard ID of data and remote frames"]
3831    #[inline(always)]
3832    pub fn sid(
3833        self,
3834    ) -> crate::common::RegisterField<18, 0x7ff, 1, 0, u16, u16, Fidcr_SPEC, crate::common::RW>
3835    {
3836        crate::common::RegisterField::<18,0x7ff,1,0,u16,u16,Fidcr_SPEC,crate::common::RW>::from_register(self,0)
3837    }
3838
3839    #[doc = "Remote Transmission Request"]
3840    #[inline(always)]
3841    pub fn rtr(
3842        self,
3843    ) -> crate::common::RegisterField<
3844        30,
3845        0x1,
3846        1,
3847        0,
3848        fidcr::Rtr,
3849        fidcr::Rtr,
3850        Fidcr_SPEC,
3851        crate::common::RW,
3852    > {
3853        crate::common::RegisterField::<
3854            30,
3855            0x1,
3856            1,
3857            0,
3858            fidcr::Rtr,
3859            fidcr::Rtr,
3860            Fidcr_SPEC,
3861            crate::common::RW,
3862        >::from_register(self, 0)
3863    }
3864
3865    #[doc = "ID Extension"]
3866    #[inline(always)]
3867    pub fn ide(
3868        self,
3869    ) -> crate::common::RegisterField<
3870        31,
3871        0x1,
3872        1,
3873        0,
3874        fidcr::Ide,
3875        fidcr::Ide,
3876        Fidcr_SPEC,
3877        crate::common::RW,
3878    > {
3879        crate::common::RegisterField::<
3880            31,
3881            0x1,
3882            1,
3883            0,
3884            fidcr::Ide,
3885            fidcr::Ide,
3886            Fidcr_SPEC,
3887            crate::common::RW,
3888        >::from_register(self, 0)
3889    }
3890}
3891impl ::core::default::Default for Fidcr {
3892    #[inline(always)]
3893    fn default() -> Fidcr {
3894        <crate::RegValueT<Fidcr_SPEC> as RegisterValue<_>>::new(0)
3895    }
3896}
3897pub mod fidcr {
3898
3899    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3900    pub struct Rtr_SPEC;
3901    pub type Rtr = crate::EnumBitfieldStruct<u8, Rtr_SPEC>;
3902    impl Rtr {
3903        #[doc = "Data frame"]
3904        pub const _0: Self = Self::new(0);
3905
3906        #[doc = "Remote frame"]
3907        pub const _1: Self = Self::new(1);
3908    }
3909    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
3910    pub struct Ide_SPEC;
3911    pub type Ide = crate::EnumBitfieldStruct<u8, Ide_SPEC>;
3912    impl Ide {
3913        #[doc = "Standard ID"]
3914        pub const _0: Self = Self::new(0);
3915
3916        #[doc = "Extended ID"]
3917        pub const _1: Self = Self::new(1);
3918    }
3919}
3920#[doc(hidden)]
3921#[derive(Copy, Clone, Eq, PartialEq)]
3922pub struct Mkivlr_SPEC;
3923impl crate::sealed::RegSpec for Mkivlr_SPEC {
3924    type DataType = u32;
3925}
3926
3927#[doc = "Mask Invalid Register"]
3928pub type Mkivlr = crate::RegValueT<Mkivlr_SPEC>;
3929
3930impl Mkivlr {
3931    #[doc = "Mask Invalid"]
3932    #[inline(always)]
3933    pub fn mb00(
3934        self,
3935    ) -> crate::common::RegisterField<
3936        0,
3937        0x1,
3938        1,
3939        0,
3940        mkivlr::Mb00,
3941        mkivlr::Mb00,
3942        Mkivlr_SPEC,
3943        crate::common::RW,
3944    > {
3945        crate::common::RegisterField::<
3946            0,
3947            0x1,
3948            1,
3949            0,
3950            mkivlr::Mb00,
3951            mkivlr::Mb00,
3952            Mkivlr_SPEC,
3953            crate::common::RW,
3954        >::from_register(self, 0)
3955    }
3956
3957    #[doc = "Mask Invalid"]
3958    #[inline(always)]
3959    pub fn mb01(
3960        self,
3961    ) -> crate::common::RegisterField<
3962        1,
3963        0x1,
3964        1,
3965        0,
3966        mkivlr::Mb01,
3967        mkivlr::Mb01,
3968        Mkivlr_SPEC,
3969        crate::common::RW,
3970    > {
3971        crate::common::RegisterField::<
3972            1,
3973            0x1,
3974            1,
3975            0,
3976            mkivlr::Mb01,
3977            mkivlr::Mb01,
3978            Mkivlr_SPEC,
3979            crate::common::RW,
3980        >::from_register(self, 0)
3981    }
3982
3983    #[doc = "Mask Invalid"]
3984    #[inline(always)]
3985    pub fn mb02(
3986        self,
3987    ) -> crate::common::RegisterField<
3988        2,
3989        0x1,
3990        1,
3991        0,
3992        mkivlr::Mb02,
3993        mkivlr::Mb02,
3994        Mkivlr_SPEC,
3995        crate::common::RW,
3996    > {
3997        crate::common::RegisterField::<
3998            2,
3999            0x1,
4000            1,
4001            0,
4002            mkivlr::Mb02,
4003            mkivlr::Mb02,
4004            Mkivlr_SPEC,
4005            crate::common::RW,
4006        >::from_register(self, 0)
4007    }
4008
4009    #[doc = "Mask Invalid"]
4010    #[inline(always)]
4011    pub fn mb03(
4012        self,
4013    ) -> crate::common::RegisterField<
4014        3,
4015        0x1,
4016        1,
4017        0,
4018        mkivlr::Mb03,
4019        mkivlr::Mb03,
4020        Mkivlr_SPEC,
4021        crate::common::RW,
4022    > {
4023        crate::common::RegisterField::<
4024            3,
4025            0x1,
4026            1,
4027            0,
4028            mkivlr::Mb03,
4029            mkivlr::Mb03,
4030            Mkivlr_SPEC,
4031            crate::common::RW,
4032        >::from_register(self, 0)
4033    }
4034
4035    #[doc = "Mask Invalid"]
4036    #[inline(always)]
4037    pub fn mb04(
4038        self,
4039    ) -> crate::common::RegisterField<
4040        4,
4041        0x1,
4042        1,
4043        0,
4044        mkivlr::Mb04,
4045        mkivlr::Mb04,
4046        Mkivlr_SPEC,
4047        crate::common::RW,
4048    > {
4049        crate::common::RegisterField::<
4050            4,
4051            0x1,
4052            1,
4053            0,
4054            mkivlr::Mb04,
4055            mkivlr::Mb04,
4056            Mkivlr_SPEC,
4057            crate::common::RW,
4058        >::from_register(self, 0)
4059    }
4060
4061    #[doc = "Mask Invalid"]
4062    #[inline(always)]
4063    pub fn mb05(
4064        self,
4065    ) -> crate::common::RegisterField<
4066        5,
4067        0x1,
4068        1,
4069        0,
4070        mkivlr::Mb05,
4071        mkivlr::Mb05,
4072        Mkivlr_SPEC,
4073        crate::common::RW,
4074    > {
4075        crate::common::RegisterField::<
4076            5,
4077            0x1,
4078            1,
4079            0,
4080            mkivlr::Mb05,
4081            mkivlr::Mb05,
4082            Mkivlr_SPEC,
4083            crate::common::RW,
4084        >::from_register(self, 0)
4085    }
4086
4087    #[doc = "Mask Invalid"]
4088    #[inline(always)]
4089    pub fn mb06(
4090        self,
4091    ) -> crate::common::RegisterField<
4092        6,
4093        0x1,
4094        1,
4095        0,
4096        mkivlr::Mb06,
4097        mkivlr::Mb06,
4098        Mkivlr_SPEC,
4099        crate::common::RW,
4100    > {
4101        crate::common::RegisterField::<
4102            6,
4103            0x1,
4104            1,
4105            0,
4106            mkivlr::Mb06,
4107            mkivlr::Mb06,
4108            Mkivlr_SPEC,
4109            crate::common::RW,
4110        >::from_register(self, 0)
4111    }
4112
4113    #[doc = "Mask Invalid"]
4114    #[inline(always)]
4115    pub fn mb07(
4116        self,
4117    ) -> crate::common::RegisterField<
4118        7,
4119        0x1,
4120        1,
4121        0,
4122        mkivlr::Mb07,
4123        mkivlr::Mb07,
4124        Mkivlr_SPEC,
4125        crate::common::RW,
4126    > {
4127        crate::common::RegisterField::<
4128            7,
4129            0x1,
4130            1,
4131            0,
4132            mkivlr::Mb07,
4133            mkivlr::Mb07,
4134            Mkivlr_SPEC,
4135            crate::common::RW,
4136        >::from_register(self, 0)
4137    }
4138
4139    #[doc = "Mask Invalid"]
4140    #[inline(always)]
4141    pub fn mb08(
4142        self,
4143    ) -> crate::common::RegisterField<
4144        8,
4145        0x1,
4146        1,
4147        0,
4148        mkivlr::Mb08,
4149        mkivlr::Mb08,
4150        Mkivlr_SPEC,
4151        crate::common::RW,
4152    > {
4153        crate::common::RegisterField::<
4154            8,
4155            0x1,
4156            1,
4157            0,
4158            mkivlr::Mb08,
4159            mkivlr::Mb08,
4160            Mkivlr_SPEC,
4161            crate::common::RW,
4162        >::from_register(self, 0)
4163    }
4164
4165    #[doc = "Mask Invalid"]
4166    #[inline(always)]
4167    pub fn mb09(
4168        self,
4169    ) -> crate::common::RegisterField<
4170        9,
4171        0x1,
4172        1,
4173        0,
4174        mkivlr::Mb09,
4175        mkivlr::Mb09,
4176        Mkivlr_SPEC,
4177        crate::common::RW,
4178    > {
4179        crate::common::RegisterField::<
4180            9,
4181            0x1,
4182            1,
4183            0,
4184            mkivlr::Mb09,
4185            mkivlr::Mb09,
4186            Mkivlr_SPEC,
4187            crate::common::RW,
4188        >::from_register(self, 0)
4189    }
4190
4191    #[doc = "Mask Invalid"]
4192    #[inline(always)]
4193    pub fn mb10(
4194        self,
4195    ) -> crate::common::RegisterField<
4196        10,
4197        0x1,
4198        1,
4199        0,
4200        mkivlr::Mb10,
4201        mkivlr::Mb10,
4202        Mkivlr_SPEC,
4203        crate::common::RW,
4204    > {
4205        crate::common::RegisterField::<
4206            10,
4207            0x1,
4208            1,
4209            0,
4210            mkivlr::Mb10,
4211            mkivlr::Mb10,
4212            Mkivlr_SPEC,
4213            crate::common::RW,
4214        >::from_register(self, 0)
4215    }
4216
4217    #[doc = "Mask Invalid"]
4218    #[inline(always)]
4219    pub fn mb11(
4220        self,
4221    ) -> crate::common::RegisterField<
4222        11,
4223        0x1,
4224        1,
4225        0,
4226        mkivlr::Mb11,
4227        mkivlr::Mb11,
4228        Mkivlr_SPEC,
4229        crate::common::RW,
4230    > {
4231        crate::common::RegisterField::<
4232            11,
4233            0x1,
4234            1,
4235            0,
4236            mkivlr::Mb11,
4237            mkivlr::Mb11,
4238            Mkivlr_SPEC,
4239            crate::common::RW,
4240        >::from_register(self, 0)
4241    }
4242
4243    #[doc = "Mask Invalid"]
4244    #[inline(always)]
4245    pub fn mb12(
4246        self,
4247    ) -> crate::common::RegisterField<
4248        12,
4249        0x1,
4250        1,
4251        0,
4252        mkivlr::Mb12,
4253        mkivlr::Mb12,
4254        Mkivlr_SPEC,
4255        crate::common::RW,
4256    > {
4257        crate::common::RegisterField::<
4258            12,
4259            0x1,
4260            1,
4261            0,
4262            mkivlr::Mb12,
4263            mkivlr::Mb12,
4264            Mkivlr_SPEC,
4265            crate::common::RW,
4266        >::from_register(self, 0)
4267    }
4268
4269    #[doc = "Mask Invalid"]
4270    #[inline(always)]
4271    pub fn mb13(
4272        self,
4273    ) -> crate::common::RegisterField<
4274        13,
4275        0x1,
4276        1,
4277        0,
4278        mkivlr::Mb13,
4279        mkivlr::Mb13,
4280        Mkivlr_SPEC,
4281        crate::common::RW,
4282    > {
4283        crate::common::RegisterField::<
4284            13,
4285            0x1,
4286            1,
4287            0,
4288            mkivlr::Mb13,
4289            mkivlr::Mb13,
4290            Mkivlr_SPEC,
4291            crate::common::RW,
4292        >::from_register(self, 0)
4293    }
4294
4295    #[doc = "Mask Invalid"]
4296    #[inline(always)]
4297    pub fn mb14(
4298        self,
4299    ) -> crate::common::RegisterField<
4300        14,
4301        0x1,
4302        1,
4303        0,
4304        mkivlr::Mb14,
4305        mkivlr::Mb14,
4306        Mkivlr_SPEC,
4307        crate::common::RW,
4308    > {
4309        crate::common::RegisterField::<
4310            14,
4311            0x1,
4312            1,
4313            0,
4314            mkivlr::Mb14,
4315            mkivlr::Mb14,
4316            Mkivlr_SPEC,
4317            crate::common::RW,
4318        >::from_register(self, 0)
4319    }
4320
4321    #[doc = "Mask Invalid"]
4322    #[inline(always)]
4323    pub fn mb15(
4324        self,
4325    ) -> crate::common::RegisterField<
4326        15,
4327        0x1,
4328        1,
4329        0,
4330        mkivlr::Mb15,
4331        mkivlr::Mb15,
4332        Mkivlr_SPEC,
4333        crate::common::RW,
4334    > {
4335        crate::common::RegisterField::<
4336            15,
4337            0x1,
4338            1,
4339            0,
4340            mkivlr::Mb15,
4341            mkivlr::Mb15,
4342            Mkivlr_SPEC,
4343            crate::common::RW,
4344        >::from_register(self, 0)
4345    }
4346
4347    #[doc = "Mask Invalid"]
4348    #[inline(always)]
4349    pub fn mb16(
4350        self,
4351    ) -> crate::common::RegisterField<
4352        16,
4353        0x1,
4354        1,
4355        0,
4356        mkivlr::Mb16,
4357        mkivlr::Mb16,
4358        Mkivlr_SPEC,
4359        crate::common::RW,
4360    > {
4361        crate::common::RegisterField::<
4362            16,
4363            0x1,
4364            1,
4365            0,
4366            mkivlr::Mb16,
4367            mkivlr::Mb16,
4368            Mkivlr_SPEC,
4369            crate::common::RW,
4370        >::from_register(self, 0)
4371    }
4372
4373    #[doc = "Mask Invalid"]
4374    #[inline(always)]
4375    pub fn mb17(
4376        self,
4377    ) -> crate::common::RegisterField<
4378        17,
4379        0x1,
4380        1,
4381        0,
4382        mkivlr::Mb17,
4383        mkivlr::Mb17,
4384        Mkivlr_SPEC,
4385        crate::common::RW,
4386    > {
4387        crate::common::RegisterField::<
4388            17,
4389            0x1,
4390            1,
4391            0,
4392            mkivlr::Mb17,
4393            mkivlr::Mb17,
4394            Mkivlr_SPEC,
4395            crate::common::RW,
4396        >::from_register(self, 0)
4397    }
4398
4399    #[doc = "Mask Invalid"]
4400    #[inline(always)]
4401    pub fn mb18(
4402        self,
4403    ) -> crate::common::RegisterField<
4404        18,
4405        0x1,
4406        1,
4407        0,
4408        mkivlr::Mb18,
4409        mkivlr::Mb18,
4410        Mkivlr_SPEC,
4411        crate::common::RW,
4412    > {
4413        crate::common::RegisterField::<
4414            18,
4415            0x1,
4416            1,
4417            0,
4418            mkivlr::Mb18,
4419            mkivlr::Mb18,
4420            Mkivlr_SPEC,
4421            crate::common::RW,
4422        >::from_register(self, 0)
4423    }
4424
4425    #[doc = "Mask Invalid"]
4426    #[inline(always)]
4427    pub fn mb19(
4428        self,
4429    ) -> crate::common::RegisterField<
4430        19,
4431        0x1,
4432        1,
4433        0,
4434        mkivlr::Mb19,
4435        mkivlr::Mb19,
4436        Mkivlr_SPEC,
4437        crate::common::RW,
4438    > {
4439        crate::common::RegisterField::<
4440            19,
4441            0x1,
4442            1,
4443            0,
4444            mkivlr::Mb19,
4445            mkivlr::Mb19,
4446            Mkivlr_SPEC,
4447            crate::common::RW,
4448        >::from_register(self, 0)
4449    }
4450
4451    #[doc = "Mask Invalid"]
4452    #[inline(always)]
4453    pub fn mb20(
4454        self,
4455    ) -> crate::common::RegisterField<
4456        20,
4457        0x1,
4458        1,
4459        0,
4460        mkivlr::Mb20,
4461        mkivlr::Mb20,
4462        Mkivlr_SPEC,
4463        crate::common::RW,
4464    > {
4465        crate::common::RegisterField::<
4466            20,
4467            0x1,
4468            1,
4469            0,
4470            mkivlr::Mb20,
4471            mkivlr::Mb20,
4472            Mkivlr_SPEC,
4473            crate::common::RW,
4474        >::from_register(self, 0)
4475    }
4476
4477    #[doc = "Mask Invalid"]
4478    #[inline(always)]
4479    pub fn mb21(
4480        self,
4481    ) -> crate::common::RegisterField<
4482        21,
4483        0x1,
4484        1,
4485        0,
4486        mkivlr::Mb21,
4487        mkivlr::Mb21,
4488        Mkivlr_SPEC,
4489        crate::common::RW,
4490    > {
4491        crate::common::RegisterField::<
4492            21,
4493            0x1,
4494            1,
4495            0,
4496            mkivlr::Mb21,
4497            mkivlr::Mb21,
4498            Mkivlr_SPEC,
4499            crate::common::RW,
4500        >::from_register(self, 0)
4501    }
4502
4503    #[doc = "Mask Invalid"]
4504    #[inline(always)]
4505    pub fn mb22(
4506        self,
4507    ) -> crate::common::RegisterField<
4508        22,
4509        0x1,
4510        1,
4511        0,
4512        mkivlr::Mb22,
4513        mkivlr::Mb22,
4514        Mkivlr_SPEC,
4515        crate::common::RW,
4516    > {
4517        crate::common::RegisterField::<
4518            22,
4519            0x1,
4520            1,
4521            0,
4522            mkivlr::Mb22,
4523            mkivlr::Mb22,
4524            Mkivlr_SPEC,
4525            crate::common::RW,
4526        >::from_register(self, 0)
4527    }
4528
4529    #[doc = "Mask Invalid"]
4530    #[inline(always)]
4531    pub fn mb23(
4532        self,
4533    ) -> crate::common::RegisterField<
4534        23,
4535        0x1,
4536        1,
4537        0,
4538        mkivlr::Mb23,
4539        mkivlr::Mb23,
4540        Mkivlr_SPEC,
4541        crate::common::RW,
4542    > {
4543        crate::common::RegisterField::<
4544            23,
4545            0x1,
4546            1,
4547            0,
4548            mkivlr::Mb23,
4549            mkivlr::Mb23,
4550            Mkivlr_SPEC,
4551            crate::common::RW,
4552        >::from_register(self, 0)
4553    }
4554
4555    #[doc = "Mask Invalid"]
4556    #[inline(always)]
4557    pub fn mb24(
4558        self,
4559    ) -> crate::common::RegisterField<
4560        24,
4561        0x1,
4562        1,
4563        0,
4564        mkivlr::Mb24,
4565        mkivlr::Mb24,
4566        Mkivlr_SPEC,
4567        crate::common::RW,
4568    > {
4569        crate::common::RegisterField::<
4570            24,
4571            0x1,
4572            1,
4573            0,
4574            mkivlr::Mb24,
4575            mkivlr::Mb24,
4576            Mkivlr_SPEC,
4577            crate::common::RW,
4578        >::from_register(self, 0)
4579    }
4580
4581    #[doc = "Mask Invalid"]
4582    #[inline(always)]
4583    pub fn mb25(
4584        self,
4585    ) -> crate::common::RegisterField<
4586        25,
4587        0x1,
4588        1,
4589        0,
4590        mkivlr::Mb25,
4591        mkivlr::Mb25,
4592        Mkivlr_SPEC,
4593        crate::common::RW,
4594    > {
4595        crate::common::RegisterField::<
4596            25,
4597            0x1,
4598            1,
4599            0,
4600            mkivlr::Mb25,
4601            mkivlr::Mb25,
4602            Mkivlr_SPEC,
4603            crate::common::RW,
4604        >::from_register(self, 0)
4605    }
4606
4607    #[doc = "Mask Invalid"]
4608    #[inline(always)]
4609    pub fn mb26(
4610        self,
4611    ) -> crate::common::RegisterField<
4612        26,
4613        0x1,
4614        1,
4615        0,
4616        mkivlr::Mb26,
4617        mkivlr::Mb26,
4618        Mkivlr_SPEC,
4619        crate::common::RW,
4620    > {
4621        crate::common::RegisterField::<
4622            26,
4623            0x1,
4624            1,
4625            0,
4626            mkivlr::Mb26,
4627            mkivlr::Mb26,
4628            Mkivlr_SPEC,
4629            crate::common::RW,
4630        >::from_register(self, 0)
4631    }
4632
4633    #[doc = "Mask Invalid"]
4634    #[inline(always)]
4635    pub fn mb27(
4636        self,
4637    ) -> crate::common::RegisterField<
4638        27,
4639        0x1,
4640        1,
4641        0,
4642        mkivlr::Mb27,
4643        mkivlr::Mb27,
4644        Mkivlr_SPEC,
4645        crate::common::RW,
4646    > {
4647        crate::common::RegisterField::<
4648            27,
4649            0x1,
4650            1,
4651            0,
4652            mkivlr::Mb27,
4653            mkivlr::Mb27,
4654            Mkivlr_SPEC,
4655            crate::common::RW,
4656        >::from_register(self, 0)
4657    }
4658
4659    #[doc = "Mask Invalid"]
4660    #[inline(always)]
4661    pub fn mb28(
4662        self,
4663    ) -> crate::common::RegisterField<
4664        28,
4665        0x1,
4666        1,
4667        0,
4668        mkivlr::Mb28,
4669        mkivlr::Mb28,
4670        Mkivlr_SPEC,
4671        crate::common::RW,
4672    > {
4673        crate::common::RegisterField::<
4674            28,
4675            0x1,
4676            1,
4677            0,
4678            mkivlr::Mb28,
4679            mkivlr::Mb28,
4680            Mkivlr_SPEC,
4681            crate::common::RW,
4682        >::from_register(self, 0)
4683    }
4684
4685    #[doc = "Mask Invalid"]
4686    #[inline(always)]
4687    pub fn mb29(
4688        self,
4689    ) -> crate::common::RegisterField<
4690        29,
4691        0x1,
4692        1,
4693        0,
4694        mkivlr::Mb29,
4695        mkivlr::Mb29,
4696        Mkivlr_SPEC,
4697        crate::common::RW,
4698    > {
4699        crate::common::RegisterField::<
4700            29,
4701            0x1,
4702            1,
4703            0,
4704            mkivlr::Mb29,
4705            mkivlr::Mb29,
4706            Mkivlr_SPEC,
4707            crate::common::RW,
4708        >::from_register(self, 0)
4709    }
4710
4711    #[doc = "Mask Invalid"]
4712    #[inline(always)]
4713    pub fn mb30(
4714        self,
4715    ) -> crate::common::RegisterField<
4716        30,
4717        0x1,
4718        1,
4719        0,
4720        mkivlr::Mb30,
4721        mkivlr::Mb30,
4722        Mkivlr_SPEC,
4723        crate::common::RW,
4724    > {
4725        crate::common::RegisterField::<
4726            30,
4727            0x1,
4728            1,
4729            0,
4730            mkivlr::Mb30,
4731            mkivlr::Mb30,
4732            Mkivlr_SPEC,
4733            crate::common::RW,
4734        >::from_register(self, 0)
4735    }
4736
4737    #[doc = "Mask Invalid"]
4738    #[inline(always)]
4739    pub fn mb31(
4740        self,
4741    ) -> crate::common::RegisterField<
4742        31,
4743        0x1,
4744        1,
4745        0,
4746        mkivlr::Mb31,
4747        mkivlr::Mb31,
4748        Mkivlr_SPEC,
4749        crate::common::RW,
4750    > {
4751        crate::common::RegisterField::<
4752            31,
4753            0x1,
4754            1,
4755            0,
4756            mkivlr::Mb31,
4757            mkivlr::Mb31,
4758            Mkivlr_SPEC,
4759            crate::common::RW,
4760        >::from_register(self, 0)
4761    }
4762}
4763impl ::core::default::Default for Mkivlr {
4764    #[inline(always)]
4765    fn default() -> Mkivlr {
4766        <crate::RegValueT<Mkivlr_SPEC> as RegisterValue<_>>::new(0)
4767    }
4768}
4769pub mod mkivlr {
4770
4771    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4772    pub struct Mb00_SPEC;
4773    pub type Mb00 = crate::EnumBitfieldStruct<u8, Mb00_SPEC>;
4774    impl Mb00 {
4775        #[doc = "Mask valid"]
4776        pub const _0: Self = Self::new(0);
4777
4778        #[doc = "Mask invalid"]
4779        pub const _1: Self = Self::new(1);
4780    }
4781    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4782    pub struct Mb01_SPEC;
4783    pub type Mb01 = crate::EnumBitfieldStruct<u8, Mb01_SPEC>;
4784    impl Mb01 {
4785        #[doc = "Mask valid"]
4786        pub const _0: Self = Self::new(0);
4787
4788        #[doc = "Mask invalid"]
4789        pub const _1: Self = Self::new(1);
4790    }
4791    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4792    pub struct Mb02_SPEC;
4793    pub type Mb02 = crate::EnumBitfieldStruct<u8, Mb02_SPEC>;
4794    impl Mb02 {
4795        #[doc = "Mask valid"]
4796        pub const _0: Self = Self::new(0);
4797
4798        #[doc = "Mask invalid"]
4799        pub const _1: Self = Self::new(1);
4800    }
4801    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4802    pub struct Mb03_SPEC;
4803    pub type Mb03 = crate::EnumBitfieldStruct<u8, Mb03_SPEC>;
4804    impl Mb03 {
4805        #[doc = "Mask valid"]
4806        pub const _0: Self = Self::new(0);
4807
4808        #[doc = "Mask invalid"]
4809        pub const _1: Self = Self::new(1);
4810    }
4811    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4812    pub struct Mb04_SPEC;
4813    pub type Mb04 = crate::EnumBitfieldStruct<u8, Mb04_SPEC>;
4814    impl Mb04 {
4815        #[doc = "Mask valid"]
4816        pub const _0: Self = Self::new(0);
4817
4818        #[doc = "Mask invalid"]
4819        pub const _1: Self = Self::new(1);
4820    }
4821    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4822    pub struct Mb05_SPEC;
4823    pub type Mb05 = crate::EnumBitfieldStruct<u8, Mb05_SPEC>;
4824    impl Mb05 {
4825        #[doc = "Mask valid"]
4826        pub const _0: Self = Self::new(0);
4827
4828        #[doc = "Mask invalid"]
4829        pub const _1: Self = Self::new(1);
4830    }
4831    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4832    pub struct Mb06_SPEC;
4833    pub type Mb06 = crate::EnumBitfieldStruct<u8, Mb06_SPEC>;
4834    impl Mb06 {
4835        #[doc = "Mask valid"]
4836        pub const _0: Self = Self::new(0);
4837
4838        #[doc = "Mask invalid"]
4839        pub const _1: Self = Self::new(1);
4840    }
4841    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4842    pub struct Mb07_SPEC;
4843    pub type Mb07 = crate::EnumBitfieldStruct<u8, Mb07_SPEC>;
4844    impl Mb07 {
4845        #[doc = "Mask valid"]
4846        pub const _0: Self = Self::new(0);
4847
4848        #[doc = "Mask invalid"]
4849        pub const _1: Self = Self::new(1);
4850    }
4851    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4852    pub struct Mb08_SPEC;
4853    pub type Mb08 = crate::EnumBitfieldStruct<u8, Mb08_SPEC>;
4854    impl Mb08 {
4855        #[doc = "Mask valid"]
4856        pub const _0: Self = Self::new(0);
4857
4858        #[doc = "Mask invalid"]
4859        pub const _1: Self = Self::new(1);
4860    }
4861    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4862    pub struct Mb09_SPEC;
4863    pub type Mb09 = crate::EnumBitfieldStruct<u8, Mb09_SPEC>;
4864    impl Mb09 {
4865        #[doc = "Mask valid"]
4866        pub const _0: Self = Self::new(0);
4867
4868        #[doc = "Mask invalid"]
4869        pub const _1: Self = Self::new(1);
4870    }
4871    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4872    pub struct Mb10_SPEC;
4873    pub type Mb10 = crate::EnumBitfieldStruct<u8, Mb10_SPEC>;
4874    impl Mb10 {
4875        #[doc = "Mask valid"]
4876        pub const _0: Self = Self::new(0);
4877
4878        #[doc = "Mask invalid"]
4879        pub const _1: Self = Self::new(1);
4880    }
4881    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4882    pub struct Mb11_SPEC;
4883    pub type Mb11 = crate::EnumBitfieldStruct<u8, Mb11_SPEC>;
4884    impl Mb11 {
4885        #[doc = "Mask valid"]
4886        pub const _0: Self = Self::new(0);
4887
4888        #[doc = "Mask invalid"]
4889        pub const _1: Self = Self::new(1);
4890    }
4891    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4892    pub struct Mb12_SPEC;
4893    pub type Mb12 = crate::EnumBitfieldStruct<u8, Mb12_SPEC>;
4894    impl Mb12 {
4895        #[doc = "Mask valid"]
4896        pub const _0: Self = Self::new(0);
4897
4898        #[doc = "Mask invalid"]
4899        pub const _1: Self = Self::new(1);
4900    }
4901    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4902    pub struct Mb13_SPEC;
4903    pub type Mb13 = crate::EnumBitfieldStruct<u8, Mb13_SPEC>;
4904    impl Mb13 {
4905        #[doc = "Mask valid"]
4906        pub const _0: Self = Self::new(0);
4907
4908        #[doc = "Mask invalid"]
4909        pub const _1: Self = Self::new(1);
4910    }
4911    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4912    pub struct Mb14_SPEC;
4913    pub type Mb14 = crate::EnumBitfieldStruct<u8, Mb14_SPEC>;
4914    impl Mb14 {
4915        #[doc = "Mask valid"]
4916        pub const _0: Self = Self::new(0);
4917
4918        #[doc = "Mask invalid"]
4919        pub const _1: Self = Self::new(1);
4920    }
4921    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4922    pub struct Mb15_SPEC;
4923    pub type Mb15 = crate::EnumBitfieldStruct<u8, Mb15_SPEC>;
4924    impl Mb15 {
4925        #[doc = "Mask valid"]
4926        pub const _0: Self = Self::new(0);
4927
4928        #[doc = "Mask invalid"]
4929        pub const _1: Self = Self::new(1);
4930    }
4931    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4932    pub struct Mb16_SPEC;
4933    pub type Mb16 = crate::EnumBitfieldStruct<u8, Mb16_SPEC>;
4934    impl Mb16 {
4935        #[doc = "Mask valid"]
4936        pub const _0: Self = Self::new(0);
4937
4938        #[doc = "Mask invalid"]
4939        pub const _1: Self = Self::new(1);
4940    }
4941    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4942    pub struct Mb17_SPEC;
4943    pub type Mb17 = crate::EnumBitfieldStruct<u8, Mb17_SPEC>;
4944    impl Mb17 {
4945        #[doc = "Mask valid"]
4946        pub const _0: Self = Self::new(0);
4947
4948        #[doc = "Mask invalid"]
4949        pub const _1: Self = Self::new(1);
4950    }
4951    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4952    pub struct Mb18_SPEC;
4953    pub type Mb18 = crate::EnumBitfieldStruct<u8, Mb18_SPEC>;
4954    impl Mb18 {
4955        #[doc = "Mask valid"]
4956        pub const _0: Self = Self::new(0);
4957
4958        #[doc = "Mask invalid"]
4959        pub const _1: Self = Self::new(1);
4960    }
4961    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4962    pub struct Mb19_SPEC;
4963    pub type Mb19 = crate::EnumBitfieldStruct<u8, Mb19_SPEC>;
4964    impl Mb19 {
4965        #[doc = "Mask valid"]
4966        pub const _0: Self = Self::new(0);
4967
4968        #[doc = "Mask invalid"]
4969        pub const _1: Self = Self::new(1);
4970    }
4971    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4972    pub struct Mb20_SPEC;
4973    pub type Mb20 = crate::EnumBitfieldStruct<u8, Mb20_SPEC>;
4974    impl Mb20 {
4975        #[doc = "Mask valid"]
4976        pub const _0: Self = Self::new(0);
4977
4978        #[doc = "Mask invalid"]
4979        pub const _1: Self = Self::new(1);
4980    }
4981    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4982    pub struct Mb21_SPEC;
4983    pub type Mb21 = crate::EnumBitfieldStruct<u8, Mb21_SPEC>;
4984    impl Mb21 {
4985        #[doc = "Mask valid"]
4986        pub const _0: Self = Self::new(0);
4987
4988        #[doc = "Mask invalid"]
4989        pub const _1: Self = Self::new(1);
4990    }
4991    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4992    pub struct Mb22_SPEC;
4993    pub type Mb22 = crate::EnumBitfieldStruct<u8, Mb22_SPEC>;
4994    impl Mb22 {
4995        #[doc = "Mask valid"]
4996        pub const _0: Self = Self::new(0);
4997
4998        #[doc = "Mask invalid"]
4999        pub const _1: Self = Self::new(1);
5000    }
5001    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5002    pub struct Mb23_SPEC;
5003    pub type Mb23 = crate::EnumBitfieldStruct<u8, Mb23_SPEC>;
5004    impl Mb23 {
5005        #[doc = "Mask valid"]
5006        pub const _0: Self = Self::new(0);
5007
5008        #[doc = "Mask invalid"]
5009        pub const _1: Self = Self::new(1);
5010    }
5011    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5012    pub struct Mb24_SPEC;
5013    pub type Mb24 = crate::EnumBitfieldStruct<u8, Mb24_SPEC>;
5014    impl Mb24 {
5015        #[doc = "Mask valid"]
5016        pub const _0: Self = Self::new(0);
5017
5018        #[doc = "Mask invalid"]
5019        pub const _1: Self = Self::new(1);
5020    }
5021    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5022    pub struct Mb25_SPEC;
5023    pub type Mb25 = crate::EnumBitfieldStruct<u8, Mb25_SPEC>;
5024    impl Mb25 {
5025        #[doc = "Mask valid"]
5026        pub const _0: Self = Self::new(0);
5027
5028        #[doc = "Mask invalid"]
5029        pub const _1: Self = Self::new(1);
5030    }
5031    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5032    pub struct Mb26_SPEC;
5033    pub type Mb26 = crate::EnumBitfieldStruct<u8, Mb26_SPEC>;
5034    impl Mb26 {
5035        #[doc = "Mask valid"]
5036        pub const _0: Self = Self::new(0);
5037
5038        #[doc = "Mask invalid"]
5039        pub const _1: Self = Self::new(1);
5040    }
5041    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5042    pub struct Mb27_SPEC;
5043    pub type Mb27 = crate::EnumBitfieldStruct<u8, Mb27_SPEC>;
5044    impl Mb27 {
5045        #[doc = "Mask valid"]
5046        pub const _0: Self = Self::new(0);
5047
5048        #[doc = "Mask invalid"]
5049        pub const _1: Self = Self::new(1);
5050    }
5051    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5052    pub struct Mb28_SPEC;
5053    pub type Mb28 = crate::EnumBitfieldStruct<u8, Mb28_SPEC>;
5054    impl Mb28 {
5055        #[doc = "Mask valid"]
5056        pub const _0: Self = Self::new(0);
5057
5058        #[doc = "Mask invalid"]
5059        pub const _1: Self = Self::new(1);
5060    }
5061    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5062    pub struct Mb29_SPEC;
5063    pub type Mb29 = crate::EnumBitfieldStruct<u8, Mb29_SPEC>;
5064    impl Mb29 {
5065        #[doc = "Mask valid"]
5066        pub const _0: Self = Self::new(0);
5067
5068        #[doc = "Mask invalid"]
5069        pub const _1: Self = Self::new(1);
5070    }
5071    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5072    pub struct Mb30_SPEC;
5073    pub type Mb30 = crate::EnumBitfieldStruct<u8, Mb30_SPEC>;
5074    impl Mb30 {
5075        #[doc = "Mask valid"]
5076        pub const _0: Self = Self::new(0);
5077
5078        #[doc = "Mask invalid"]
5079        pub const _1: Self = Self::new(1);
5080    }
5081    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5082    pub struct Mb31_SPEC;
5083    pub type Mb31 = crate::EnumBitfieldStruct<u8, Mb31_SPEC>;
5084    impl Mb31 {
5085        #[doc = "Mask valid"]
5086        pub const _0: Self = Self::new(0);
5087
5088        #[doc = "Mask invalid"]
5089        pub const _1: Self = Self::new(1);
5090    }
5091}
5092#[doc(hidden)]
5093#[derive(Copy, Clone, Eq, PartialEq)]
5094pub struct Mier_SPEC;
5095impl crate::sealed::RegSpec for Mier_SPEC {
5096    type DataType = u32;
5097}
5098
5099#[doc = "Mailbox Interrupt Enable Register"]
5100pub type Mier = crate::RegValueT<Mier_SPEC>;
5101
5102impl Mier {
5103    #[doc = "Interrupt Enable"]
5104    #[inline(always)]
5105    pub fn mb00(
5106        self,
5107    ) -> crate::common::RegisterField<
5108        0,
5109        0x1,
5110        1,
5111        0,
5112        mier::Mb00,
5113        mier::Mb00,
5114        Mier_SPEC,
5115        crate::common::RW,
5116    > {
5117        crate::common::RegisterField::<
5118            0,
5119            0x1,
5120            1,
5121            0,
5122            mier::Mb00,
5123            mier::Mb00,
5124            Mier_SPEC,
5125            crate::common::RW,
5126        >::from_register(self, 0)
5127    }
5128
5129    #[doc = "Interrupt Enable"]
5130    #[inline(always)]
5131    pub fn mb01(
5132        self,
5133    ) -> crate::common::RegisterField<
5134        1,
5135        0x1,
5136        1,
5137        0,
5138        mier::Mb01,
5139        mier::Mb01,
5140        Mier_SPEC,
5141        crate::common::RW,
5142    > {
5143        crate::common::RegisterField::<
5144            1,
5145            0x1,
5146            1,
5147            0,
5148            mier::Mb01,
5149            mier::Mb01,
5150            Mier_SPEC,
5151            crate::common::RW,
5152        >::from_register(self, 0)
5153    }
5154
5155    #[doc = "Interrupt Enable"]
5156    #[inline(always)]
5157    pub fn mb02(
5158        self,
5159    ) -> crate::common::RegisterField<
5160        2,
5161        0x1,
5162        1,
5163        0,
5164        mier::Mb02,
5165        mier::Mb02,
5166        Mier_SPEC,
5167        crate::common::RW,
5168    > {
5169        crate::common::RegisterField::<
5170            2,
5171            0x1,
5172            1,
5173            0,
5174            mier::Mb02,
5175            mier::Mb02,
5176            Mier_SPEC,
5177            crate::common::RW,
5178        >::from_register(self, 0)
5179    }
5180
5181    #[doc = "Interrupt Enable"]
5182    #[inline(always)]
5183    pub fn mb03(
5184        self,
5185    ) -> crate::common::RegisterField<
5186        3,
5187        0x1,
5188        1,
5189        0,
5190        mier::Mb03,
5191        mier::Mb03,
5192        Mier_SPEC,
5193        crate::common::RW,
5194    > {
5195        crate::common::RegisterField::<
5196            3,
5197            0x1,
5198            1,
5199            0,
5200            mier::Mb03,
5201            mier::Mb03,
5202            Mier_SPEC,
5203            crate::common::RW,
5204        >::from_register(self, 0)
5205    }
5206
5207    #[doc = "Interrupt Enable"]
5208    #[inline(always)]
5209    pub fn mb04(
5210        self,
5211    ) -> crate::common::RegisterField<
5212        4,
5213        0x1,
5214        1,
5215        0,
5216        mier::Mb04,
5217        mier::Mb04,
5218        Mier_SPEC,
5219        crate::common::RW,
5220    > {
5221        crate::common::RegisterField::<
5222            4,
5223            0x1,
5224            1,
5225            0,
5226            mier::Mb04,
5227            mier::Mb04,
5228            Mier_SPEC,
5229            crate::common::RW,
5230        >::from_register(self, 0)
5231    }
5232
5233    #[doc = "Interrupt Enable"]
5234    #[inline(always)]
5235    pub fn mb05(
5236        self,
5237    ) -> crate::common::RegisterField<
5238        5,
5239        0x1,
5240        1,
5241        0,
5242        mier::Mb05,
5243        mier::Mb05,
5244        Mier_SPEC,
5245        crate::common::RW,
5246    > {
5247        crate::common::RegisterField::<
5248            5,
5249            0x1,
5250            1,
5251            0,
5252            mier::Mb05,
5253            mier::Mb05,
5254            Mier_SPEC,
5255            crate::common::RW,
5256        >::from_register(self, 0)
5257    }
5258
5259    #[doc = "Interrupt Enable"]
5260    #[inline(always)]
5261    pub fn mb06(
5262        self,
5263    ) -> crate::common::RegisterField<
5264        6,
5265        0x1,
5266        1,
5267        0,
5268        mier::Mb06,
5269        mier::Mb06,
5270        Mier_SPEC,
5271        crate::common::RW,
5272    > {
5273        crate::common::RegisterField::<
5274            6,
5275            0x1,
5276            1,
5277            0,
5278            mier::Mb06,
5279            mier::Mb06,
5280            Mier_SPEC,
5281            crate::common::RW,
5282        >::from_register(self, 0)
5283    }
5284
5285    #[doc = "Interrupt Enable"]
5286    #[inline(always)]
5287    pub fn mb07(
5288        self,
5289    ) -> crate::common::RegisterField<
5290        7,
5291        0x1,
5292        1,
5293        0,
5294        mier::Mb07,
5295        mier::Mb07,
5296        Mier_SPEC,
5297        crate::common::RW,
5298    > {
5299        crate::common::RegisterField::<
5300            7,
5301            0x1,
5302            1,
5303            0,
5304            mier::Mb07,
5305            mier::Mb07,
5306            Mier_SPEC,
5307            crate::common::RW,
5308        >::from_register(self, 0)
5309    }
5310
5311    #[doc = "Interrupt Enable"]
5312    #[inline(always)]
5313    pub fn mb08(
5314        self,
5315    ) -> crate::common::RegisterField<
5316        8,
5317        0x1,
5318        1,
5319        0,
5320        mier::Mb08,
5321        mier::Mb08,
5322        Mier_SPEC,
5323        crate::common::RW,
5324    > {
5325        crate::common::RegisterField::<
5326            8,
5327            0x1,
5328            1,
5329            0,
5330            mier::Mb08,
5331            mier::Mb08,
5332            Mier_SPEC,
5333            crate::common::RW,
5334        >::from_register(self, 0)
5335    }
5336
5337    #[doc = "Interrupt Enable"]
5338    #[inline(always)]
5339    pub fn mb09(
5340        self,
5341    ) -> crate::common::RegisterField<
5342        9,
5343        0x1,
5344        1,
5345        0,
5346        mier::Mb09,
5347        mier::Mb09,
5348        Mier_SPEC,
5349        crate::common::RW,
5350    > {
5351        crate::common::RegisterField::<
5352            9,
5353            0x1,
5354            1,
5355            0,
5356            mier::Mb09,
5357            mier::Mb09,
5358            Mier_SPEC,
5359            crate::common::RW,
5360        >::from_register(self, 0)
5361    }
5362
5363    #[doc = "Interrupt Enable"]
5364    #[inline(always)]
5365    pub fn mb10(
5366        self,
5367    ) -> crate::common::RegisterField<
5368        10,
5369        0x1,
5370        1,
5371        0,
5372        mier::Mb10,
5373        mier::Mb10,
5374        Mier_SPEC,
5375        crate::common::RW,
5376    > {
5377        crate::common::RegisterField::<
5378            10,
5379            0x1,
5380            1,
5381            0,
5382            mier::Mb10,
5383            mier::Mb10,
5384            Mier_SPEC,
5385            crate::common::RW,
5386        >::from_register(self, 0)
5387    }
5388
5389    #[doc = "Interrupt Enable"]
5390    #[inline(always)]
5391    pub fn mb11(
5392        self,
5393    ) -> crate::common::RegisterField<
5394        11,
5395        0x1,
5396        1,
5397        0,
5398        mier::Mb11,
5399        mier::Mb11,
5400        Mier_SPEC,
5401        crate::common::RW,
5402    > {
5403        crate::common::RegisterField::<
5404            11,
5405            0x1,
5406            1,
5407            0,
5408            mier::Mb11,
5409            mier::Mb11,
5410            Mier_SPEC,
5411            crate::common::RW,
5412        >::from_register(self, 0)
5413    }
5414
5415    #[doc = "Interrupt Enable"]
5416    #[inline(always)]
5417    pub fn mb12(
5418        self,
5419    ) -> crate::common::RegisterField<
5420        12,
5421        0x1,
5422        1,
5423        0,
5424        mier::Mb12,
5425        mier::Mb12,
5426        Mier_SPEC,
5427        crate::common::RW,
5428    > {
5429        crate::common::RegisterField::<
5430            12,
5431            0x1,
5432            1,
5433            0,
5434            mier::Mb12,
5435            mier::Mb12,
5436            Mier_SPEC,
5437            crate::common::RW,
5438        >::from_register(self, 0)
5439    }
5440
5441    #[doc = "Interrupt Enable"]
5442    #[inline(always)]
5443    pub fn mb13(
5444        self,
5445    ) -> crate::common::RegisterField<
5446        13,
5447        0x1,
5448        1,
5449        0,
5450        mier::Mb13,
5451        mier::Mb13,
5452        Mier_SPEC,
5453        crate::common::RW,
5454    > {
5455        crate::common::RegisterField::<
5456            13,
5457            0x1,
5458            1,
5459            0,
5460            mier::Mb13,
5461            mier::Mb13,
5462            Mier_SPEC,
5463            crate::common::RW,
5464        >::from_register(self, 0)
5465    }
5466
5467    #[doc = "Interrupt Enable"]
5468    #[inline(always)]
5469    pub fn mb14(
5470        self,
5471    ) -> crate::common::RegisterField<
5472        14,
5473        0x1,
5474        1,
5475        0,
5476        mier::Mb14,
5477        mier::Mb14,
5478        Mier_SPEC,
5479        crate::common::RW,
5480    > {
5481        crate::common::RegisterField::<
5482            14,
5483            0x1,
5484            1,
5485            0,
5486            mier::Mb14,
5487            mier::Mb14,
5488            Mier_SPEC,
5489            crate::common::RW,
5490        >::from_register(self, 0)
5491    }
5492
5493    #[doc = "Interrupt Enable"]
5494    #[inline(always)]
5495    pub fn mb15(
5496        self,
5497    ) -> crate::common::RegisterField<
5498        15,
5499        0x1,
5500        1,
5501        0,
5502        mier::Mb15,
5503        mier::Mb15,
5504        Mier_SPEC,
5505        crate::common::RW,
5506    > {
5507        crate::common::RegisterField::<
5508            15,
5509            0x1,
5510            1,
5511            0,
5512            mier::Mb15,
5513            mier::Mb15,
5514            Mier_SPEC,
5515            crate::common::RW,
5516        >::from_register(self, 0)
5517    }
5518
5519    #[doc = "Interrupt Enable"]
5520    #[inline(always)]
5521    pub fn mb16(
5522        self,
5523    ) -> crate::common::RegisterField<
5524        16,
5525        0x1,
5526        1,
5527        0,
5528        mier::Mb16,
5529        mier::Mb16,
5530        Mier_SPEC,
5531        crate::common::RW,
5532    > {
5533        crate::common::RegisterField::<
5534            16,
5535            0x1,
5536            1,
5537            0,
5538            mier::Mb16,
5539            mier::Mb16,
5540            Mier_SPEC,
5541            crate::common::RW,
5542        >::from_register(self, 0)
5543    }
5544
5545    #[doc = "Interrupt Enable"]
5546    #[inline(always)]
5547    pub fn mb17(
5548        self,
5549    ) -> crate::common::RegisterField<
5550        17,
5551        0x1,
5552        1,
5553        0,
5554        mier::Mb17,
5555        mier::Mb17,
5556        Mier_SPEC,
5557        crate::common::RW,
5558    > {
5559        crate::common::RegisterField::<
5560            17,
5561            0x1,
5562            1,
5563            0,
5564            mier::Mb17,
5565            mier::Mb17,
5566            Mier_SPEC,
5567            crate::common::RW,
5568        >::from_register(self, 0)
5569    }
5570
5571    #[doc = "Interrupt Enable"]
5572    #[inline(always)]
5573    pub fn mb18(
5574        self,
5575    ) -> crate::common::RegisterField<
5576        18,
5577        0x1,
5578        1,
5579        0,
5580        mier::Mb18,
5581        mier::Mb18,
5582        Mier_SPEC,
5583        crate::common::RW,
5584    > {
5585        crate::common::RegisterField::<
5586            18,
5587            0x1,
5588            1,
5589            0,
5590            mier::Mb18,
5591            mier::Mb18,
5592            Mier_SPEC,
5593            crate::common::RW,
5594        >::from_register(self, 0)
5595    }
5596
5597    #[doc = "Interrupt Enable"]
5598    #[inline(always)]
5599    pub fn mb19(
5600        self,
5601    ) -> crate::common::RegisterField<
5602        19,
5603        0x1,
5604        1,
5605        0,
5606        mier::Mb19,
5607        mier::Mb19,
5608        Mier_SPEC,
5609        crate::common::RW,
5610    > {
5611        crate::common::RegisterField::<
5612            19,
5613            0x1,
5614            1,
5615            0,
5616            mier::Mb19,
5617            mier::Mb19,
5618            Mier_SPEC,
5619            crate::common::RW,
5620        >::from_register(self, 0)
5621    }
5622
5623    #[doc = "Interrupt Enable"]
5624    #[inline(always)]
5625    pub fn mb20(
5626        self,
5627    ) -> crate::common::RegisterField<
5628        20,
5629        0x1,
5630        1,
5631        0,
5632        mier::Mb20,
5633        mier::Mb20,
5634        Mier_SPEC,
5635        crate::common::RW,
5636    > {
5637        crate::common::RegisterField::<
5638            20,
5639            0x1,
5640            1,
5641            0,
5642            mier::Mb20,
5643            mier::Mb20,
5644            Mier_SPEC,
5645            crate::common::RW,
5646        >::from_register(self, 0)
5647    }
5648
5649    #[doc = "Interrupt Enable"]
5650    #[inline(always)]
5651    pub fn mb21(
5652        self,
5653    ) -> crate::common::RegisterField<
5654        21,
5655        0x1,
5656        1,
5657        0,
5658        mier::Mb21,
5659        mier::Mb21,
5660        Mier_SPEC,
5661        crate::common::RW,
5662    > {
5663        crate::common::RegisterField::<
5664            21,
5665            0x1,
5666            1,
5667            0,
5668            mier::Mb21,
5669            mier::Mb21,
5670            Mier_SPEC,
5671            crate::common::RW,
5672        >::from_register(self, 0)
5673    }
5674
5675    #[doc = "Interrupt Enable"]
5676    #[inline(always)]
5677    pub fn mb22(
5678        self,
5679    ) -> crate::common::RegisterField<
5680        22,
5681        0x1,
5682        1,
5683        0,
5684        mier::Mb22,
5685        mier::Mb22,
5686        Mier_SPEC,
5687        crate::common::RW,
5688    > {
5689        crate::common::RegisterField::<
5690            22,
5691            0x1,
5692            1,
5693            0,
5694            mier::Mb22,
5695            mier::Mb22,
5696            Mier_SPEC,
5697            crate::common::RW,
5698        >::from_register(self, 0)
5699    }
5700
5701    #[doc = "Interrupt Enable"]
5702    #[inline(always)]
5703    pub fn mb23(
5704        self,
5705    ) -> crate::common::RegisterField<
5706        23,
5707        0x1,
5708        1,
5709        0,
5710        mier::Mb23,
5711        mier::Mb23,
5712        Mier_SPEC,
5713        crate::common::RW,
5714    > {
5715        crate::common::RegisterField::<
5716            23,
5717            0x1,
5718            1,
5719            0,
5720            mier::Mb23,
5721            mier::Mb23,
5722            Mier_SPEC,
5723            crate::common::RW,
5724        >::from_register(self, 0)
5725    }
5726
5727    #[doc = "Interrupt Enable"]
5728    #[inline(always)]
5729    pub fn mb24(
5730        self,
5731    ) -> crate::common::RegisterField<
5732        24,
5733        0x1,
5734        1,
5735        0,
5736        mier::Mb24,
5737        mier::Mb24,
5738        Mier_SPEC,
5739        crate::common::RW,
5740    > {
5741        crate::common::RegisterField::<
5742            24,
5743            0x1,
5744            1,
5745            0,
5746            mier::Mb24,
5747            mier::Mb24,
5748            Mier_SPEC,
5749            crate::common::RW,
5750        >::from_register(self, 0)
5751    }
5752
5753    #[doc = "Interrupt Enable"]
5754    #[inline(always)]
5755    pub fn mb25(
5756        self,
5757    ) -> crate::common::RegisterField<
5758        25,
5759        0x1,
5760        1,
5761        0,
5762        mier::Mb25,
5763        mier::Mb25,
5764        Mier_SPEC,
5765        crate::common::RW,
5766    > {
5767        crate::common::RegisterField::<
5768            25,
5769            0x1,
5770            1,
5771            0,
5772            mier::Mb25,
5773            mier::Mb25,
5774            Mier_SPEC,
5775            crate::common::RW,
5776        >::from_register(self, 0)
5777    }
5778
5779    #[doc = "Interrupt Enable"]
5780    #[inline(always)]
5781    pub fn mb26(
5782        self,
5783    ) -> crate::common::RegisterField<
5784        26,
5785        0x1,
5786        1,
5787        0,
5788        mier::Mb26,
5789        mier::Mb26,
5790        Mier_SPEC,
5791        crate::common::RW,
5792    > {
5793        crate::common::RegisterField::<
5794            26,
5795            0x1,
5796            1,
5797            0,
5798            mier::Mb26,
5799            mier::Mb26,
5800            Mier_SPEC,
5801            crate::common::RW,
5802        >::from_register(self, 0)
5803    }
5804
5805    #[doc = "Interrupt Enable"]
5806    #[inline(always)]
5807    pub fn mb27(
5808        self,
5809    ) -> crate::common::RegisterField<
5810        27,
5811        0x1,
5812        1,
5813        0,
5814        mier::Mb27,
5815        mier::Mb27,
5816        Mier_SPEC,
5817        crate::common::RW,
5818    > {
5819        crate::common::RegisterField::<
5820            27,
5821            0x1,
5822            1,
5823            0,
5824            mier::Mb27,
5825            mier::Mb27,
5826            Mier_SPEC,
5827            crate::common::RW,
5828        >::from_register(self, 0)
5829    }
5830
5831    #[doc = "Interrupt Enable"]
5832    #[inline(always)]
5833    pub fn mb28(
5834        self,
5835    ) -> crate::common::RegisterField<
5836        28,
5837        0x1,
5838        1,
5839        0,
5840        mier::Mb28,
5841        mier::Mb28,
5842        Mier_SPEC,
5843        crate::common::RW,
5844    > {
5845        crate::common::RegisterField::<
5846            28,
5847            0x1,
5848            1,
5849            0,
5850            mier::Mb28,
5851            mier::Mb28,
5852            Mier_SPEC,
5853            crate::common::RW,
5854        >::from_register(self, 0)
5855    }
5856
5857    #[doc = "Interrupt Enable"]
5858    #[inline(always)]
5859    pub fn mb29(
5860        self,
5861    ) -> crate::common::RegisterField<
5862        29,
5863        0x1,
5864        1,
5865        0,
5866        mier::Mb29,
5867        mier::Mb29,
5868        Mier_SPEC,
5869        crate::common::RW,
5870    > {
5871        crate::common::RegisterField::<
5872            29,
5873            0x1,
5874            1,
5875            0,
5876            mier::Mb29,
5877            mier::Mb29,
5878            Mier_SPEC,
5879            crate::common::RW,
5880        >::from_register(self, 0)
5881    }
5882
5883    #[doc = "Interrupt Enable"]
5884    #[inline(always)]
5885    pub fn mb30(
5886        self,
5887    ) -> crate::common::RegisterField<
5888        30,
5889        0x1,
5890        1,
5891        0,
5892        mier::Mb30,
5893        mier::Mb30,
5894        Mier_SPEC,
5895        crate::common::RW,
5896    > {
5897        crate::common::RegisterField::<
5898            30,
5899            0x1,
5900            1,
5901            0,
5902            mier::Mb30,
5903            mier::Mb30,
5904            Mier_SPEC,
5905            crate::common::RW,
5906        >::from_register(self, 0)
5907    }
5908
5909    #[doc = "Interrupt Enable"]
5910    #[inline(always)]
5911    pub fn mb31(
5912        self,
5913    ) -> crate::common::RegisterField<
5914        31,
5915        0x1,
5916        1,
5917        0,
5918        mier::Mb31,
5919        mier::Mb31,
5920        Mier_SPEC,
5921        crate::common::RW,
5922    > {
5923        crate::common::RegisterField::<
5924            31,
5925            0x1,
5926            1,
5927            0,
5928            mier::Mb31,
5929            mier::Mb31,
5930            Mier_SPEC,
5931            crate::common::RW,
5932        >::from_register(self, 0)
5933    }
5934}
5935impl ::core::default::Default for Mier {
5936    #[inline(always)]
5937    fn default() -> Mier {
5938        <crate::RegValueT<Mier_SPEC> as RegisterValue<_>>::new(0)
5939    }
5940}
5941pub mod mier {
5942
5943    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5944    pub struct Mb00_SPEC;
5945    pub type Mb00 = crate::EnumBitfieldStruct<u8, Mb00_SPEC>;
5946    impl Mb00 {
5947        #[doc = "Disable interrupt"]
5948        pub const _0: Self = Self::new(0);
5949
5950        #[doc = "Enable interrupt"]
5951        pub const _1: Self = Self::new(1);
5952    }
5953    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5954    pub struct Mb01_SPEC;
5955    pub type Mb01 = crate::EnumBitfieldStruct<u8, Mb01_SPEC>;
5956    impl Mb01 {
5957        #[doc = "Disable interrupt"]
5958        pub const _0: Self = Self::new(0);
5959
5960        #[doc = "Enable interrupt"]
5961        pub const _1: Self = Self::new(1);
5962    }
5963    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5964    pub struct Mb02_SPEC;
5965    pub type Mb02 = crate::EnumBitfieldStruct<u8, Mb02_SPEC>;
5966    impl Mb02 {
5967        #[doc = "Disable interrupt"]
5968        pub const _0: Self = Self::new(0);
5969
5970        #[doc = "Enable interrupt"]
5971        pub const _1: Self = Self::new(1);
5972    }
5973    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5974    pub struct Mb03_SPEC;
5975    pub type Mb03 = crate::EnumBitfieldStruct<u8, Mb03_SPEC>;
5976    impl Mb03 {
5977        #[doc = "Disable interrupt"]
5978        pub const _0: Self = Self::new(0);
5979
5980        #[doc = "Enable interrupt"]
5981        pub const _1: Self = Self::new(1);
5982    }
5983    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5984    pub struct Mb04_SPEC;
5985    pub type Mb04 = crate::EnumBitfieldStruct<u8, Mb04_SPEC>;
5986    impl Mb04 {
5987        #[doc = "Disable interrupt"]
5988        pub const _0: Self = Self::new(0);
5989
5990        #[doc = "Enable interrupt"]
5991        pub const _1: Self = Self::new(1);
5992    }
5993    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5994    pub struct Mb05_SPEC;
5995    pub type Mb05 = crate::EnumBitfieldStruct<u8, Mb05_SPEC>;
5996    impl Mb05 {
5997        #[doc = "Disable interrupt"]
5998        pub const _0: Self = Self::new(0);
5999
6000        #[doc = "Enable interrupt"]
6001        pub const _1: Self = Self::new(1);
6002    }
6003    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6004    pub struct Mb06_SPEC;
6005    pub type Mb06 = crate::EnumBitfieldStruct<u8, Mb06_SPEC>;
6006    impl Mb06 {
6007        #[doc = "Disable interrupt"]
6008        pub const _0: Self = Self::new(0);
6009
6010        #[doc = "Enable interrupt"]
6011        pub const _1: Self = Self::new(1);
6012    }
6013    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6014    pub struct Mb07_SPEC;
6015    pub type Mb07 = crate::EnumBitfieldStruct<u8, Mb07_SPEC>;
6016    impl Mb07 {
6017        #[doc = "Disable interrupt"]
6018        pub const _0: Self = Self::new(0);
6019
6020        #[doc = "Enable interrupt"]
6021        pub const _1: Self = Self::new(1);
6022    }
6023    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6024    pub struct Mb08_SPEC;
6025    pub type Mb08 = crate::EnumBitfieldStruct<u8, Mb08_SPEC>;
6026    impl Mb08 {
6027        #[doc = "Disable interrupt"]
6028        pub const _0: Self = Self::new(0);
6029
6030        #[doc = "Enable interrupt"]
6031        pub const _1: Self = Self::new(1);
6032    }
6033    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6034    pub struct Mb09_SPEC;
6035    pub type Mb09 = crate::EnumBitfieldStruct<u8, Mb09_SPEC>;
6036    impl Mb09 {
6037        #[doc = "Disable interrupt"]
6038        pub const _0: Self = Self::new(0);
6039
6040        #[doc = "Enable interrupt"]
6041        pub const _1: Self = Self::new(1);
6042    }
6043    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6044    pub struct Mb10_SPEC;
6045    pub type Mb10 = crate::EnumBitfieldStruct<u8, Mb10_SPEC>;
6046    impl Mb10 {
6047        #[doc = "Disable interrupt"]
6048        pub const _0: Self = Self::new(0);
6049
6050        #[doc = "Enable interrupt"]
6051        pub const _1: Self = Self::new(1);
6052    }
6053    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6054    pub struct Mb11_SPEC;
6055    pub type Mb11 = crate::EnumBitfieldStruct<u8, Mb11_SPEC>;
6056    impl Mb11 {
6057        #[doc = "Disable interrupt"]
6058        pub const _0: Self = Self::new(0);
6059
6060        #[doc = "Enable interrupt"]
6061        pub const _1: Self = Self::new(1);
6062    }
6063    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6064    pub struct Mb12_SPEC;
6065    pub type Mb12 = crate::EnumBitfieldStruct<u8, Mb12_SPEC>;
6066    impl Mb12 {
6067        #[doc = "Disable interrupt"]
6068        pub const _0: Self = Self::new(0);
6069
6070        #[doc = "Enable interrupt"]
6071        pub const _1: Self = Self::new(1);
6072    }
6073    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6074    pub struct Mb13_SPEC;
6075    pub type Mb13 = crate::EnumBitfieldStruct<u8, Mb13_SPEC>;
6076    impl Mb13 {
6077        #[doc = "Disable interrupt"]
6078        pub const _0: Self = Self::new(0);
6079
6080        #[doc = "Enable interrupt"]
6081        pub const _1: Self = Self::new(1);
6082    }
6083    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6084    pub struct Mb14_SPEC;
6085    pub type Mb14 = crate::EnumBitfieldStruct<u8, Mb14_SPEC>;
6086    impl Mb14 {
6087        #[doc = "Disable interrupt"]
6088        pub const _0: Self = Self::new(0);
6089
6090        #[doc = "Enable interrupt"]
6091        pub const _1: Self = Self::new(1);
6092    }
6093    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6094    pub struct Mb15_SPEC;
6095    pub type Mb15 = crate::EnumBitfieldStruct<u8, Mb15_SPEC>;
6096    impl Mb15 {
6097        #[doc = "Disable interrupt"]
6098        pub const _0: Self = Self::new(0);
6099
6100        #[doc = "Enable interrupt"]
6101        pub const _1: Self = Self::new(1);
6102    }
6103    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6104    pub struct Mb16_SPEC;
6105    pub type Mb16 = crate::EnumBitfieldStruct<u8, Mb16_SPEC>;
6106    impl Mb16 {
6107        #[doc = "Disable interrupt"]
6108        pub const _0: Self = Self::new(0);
6109
6110        #[doc = "Enable interrupt"]
6111        pub const _1: Self = Self::new(1);
6112    }
6113    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6114    pub struct Mb17_SPEC;
6115    pub type Mb17 = crate::EnumBitfieldStruct<u8, Mb17_SPEC>;
6116    impl Mb17 {
6117        #[doc = "Disable interrupt"]
6118        pub const _0: Self = Self::new(0);
6119
6120        #[doc = "Enable interrupt"]
6121        pub const _1: Self = Self::new(1);
6122    }
6123    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6124    pub struct Mb18_SPEC;
6125    pub type Mb18 = crate::EnumBitfieldStruct<u8, Mb18_SPEC>;
6126    impl Mb18 {
6127        #[doc = "Disable interrupt"]
6128        pub const _0: Self = Self::new(0);
6129
6130        #[doc = "Enable interrupt"]
6131        pub const _1: Self = Self::new(1);
6132    }
6133    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6134    pub struct Mb19_SPEC;
6135    pub type Mb19 = crate::EnumBitfieldStruct<u8, Mb19_SPEC>;
6136    impl Mb19 {
6137        #[doc = "Disable interrupt"]
6138        pub const _0: Self = Self::new(0);
6139
6140        #[doc = "Enable interrupt"]
6141        pub const _1: Self = Self::new(1);
6142    }
6143    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6144    pub struct Mb20_SPEC;
6145    pub type Mb20 = crate::EnumBitfieldStruct<u8, Mb20_SPEC>;
6146    impl Mb20 {
6147        #[doc = "Disable interrupt"]
6148        pub const _0: Self = Self::new(0);
6149
6150        #[doc = "Enable interrupt"]
6151        pub const _1: Self = Self::new(1);
6152    }
6153    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6154    pub struct Mb21_SPEC;
6155    pub type Mb21 = crate::EnumBitfieldStruct<u8, Mb21_SPEC>;
6156    impl Mb21 {
6157        #[doc = "Disable interrupt"]
6158        pub const _0: Self = Self::new(0);
6159
6160        #[doc = "Enable interrupt"]
6161        pub const _1: Self = Self::new(1);
6162    }
6163    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6164    pub struct Mb22_SPEC;
6165    pub type Mb22 = crate::EnumBitfieldStruct<u8, Mb22_SPEC>;
6166    impl Mb22 {
6167        #[doc = "Disable interrupt"]
6168        pub const _0: Self = Self::new(0);
6169
6170        #[doc = "Enable interrupt"]
6171        pub const _1: Self = Self::new(1);
6172    }
6173    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6174    pub struct Mb23_SPEC;
6175    pub type Mb23 = crate::EnumBitfieldStruct<u8, Mb23_SPEC>;
6176    impl Mb23 {
6177        #[doc = "Disable interrupt"]
6178        pub const _0: Self = Self::new(0);
6179
6180        #[doc = "Enable interrupt"]
6181        pub const _1: Self = Self::new(1);
6182    }
6183    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6184    pub struct Mb24_SPEC;
6185    pub type Mb24 = crate::EnumBitfieldStruct<u8, Mb24_SPEC>;
6186    impl Mb24 {
6187        #[doc = "Disable interrupt"]
6188        pub const _0: Self = Self::new(0);
6189
6190        #[doc = "Enable interrupt"]
6191        pub const _1: Self = Self::new(1);
6192    }
6193    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6194    pub struct Mb25_SPEC;
6195    pub type Mb25 = crate::EnumBitfieldStruct<u8, Mb25_SPEC>;
6196    impl Mb25 {
6197        #[doc = "Disable interrupt"]
6198        pub const _0: Self = Self::new(0);
6199
6200        #[doc = "Enable interrupt"]
6201        pub const _1: Self = Self::new(1);
6202    }
6203    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6204    pub struct Mb26_SPEC;
6205    pub type Mb26 = crate::EnumBitfieldStruct<u8, Mb26_SPEC>;
6206    impl Mb26 {
6207        #[doc = "Disable interrupt"]
6208        pub const _0: Self = Self::new(0);
6209
6210        #[doc = "Enable interrupt"]
6211        pub const _1: Self = Self::new(1);
6212    }
6213    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6214    pub struct Mb27_SPEC;
6215    pub type Mb27 = crate::EnumBitfieldStruct<u8, Mb27_SPEC>;
6216    impl Mb27 {
6217        #[doc = "Disable interrupt"]
6218        pub const _0: Self = Self::new(0);
6219
6220        #[doc = "Enable interrupt"]
6221        pub const _1: Self = Self::new(1);
6222    }
6223    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6224    pub struct Mb28_SPEC;
6225    pub type Mb28 = crate::EnumBitfieldStruct<u8, Mb28_SPEC>;
6226    impl Mb28 {
6227        #[doc = "Disable interrupt"]
6228        pub const _0: Self = Self::new(0);
6229
6230        #[doc = "Enable interrupt"]
6231        pub const _1: Self = Self::new(1);
6232    }
6233    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6234    pub struct Mb29_SPEC;
6235    pub type Mb29 = crate::EnumBitfieldStruct<u8, Mb29_SPEC>;
6236    impl Mb29 {
6237        #[doc = "Disable interrupt"]
6238        pub const _0: Self = Self::new(0);
6239
6240        #[doc = "Enable interrupt"]
6241        pub const _1: Self = Self::new(1);
6242    }
6243    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6244    pub struct Mb30_SPEC;
6245    pub type Mb30 = crate::EnumBitfieldStruct<u8, Mb30_SPEC>;
6246    impl Mb30 {
6247        #[doc = "Disable interrupt"]
6248        pub const _0: Self = Self::new(0);
6249
6250        #[doc = "Enable interrupt"]
6251        pub const _1: Self = Self::new(1);
6252    }
6253    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6254    pub struct Mb31_SPEC;
6255    pub type Mb31 = crate::EnumBitfieldStruct<u8, Mb31_SPEC>;
6256    impl Mb31 {
6257        #[doc = "Disable interrupt"]
6258        pub const _0: Self = Self::new(0);
6259
6260        #[doc = "Enable interrupt"]
6261        pub const _1: Self = Self::new(1);
6262    }
6263}
6264#[doc(hidden)]
6265#[derive(Copy, Clone, Eq, PartialEq)]
6266pub struct MierFifo_SPEC;
6267impl crate::sealed::RegSpec for MierFifo_SPEC {
6268    type DataType = u32;
6269}
6270
6271#[doc = "Mailbox Interrupt Enable Register for FIFO Mailbox Mode"]
6272pub type MierFifo = crate::RegValueT<MierFifo_SPEC>;
6273
6274impl MierFifo {
6275    #[doc = "Interrupt Enable"]
6276    #[inline(always)]
6277    pub fn mb00(
6278        self,
6279    ) -> crate::common::RegisterField<
6280        0,
6281        0x1,
6282        1,
6283        0,
6284        mier_fifo::Mb00,
6285        mier_fifo::Mb00,
6286        MierFifo_SPEC,
6287        crate::common::RW,
6288    > {
6289        crate::common::RegisterField::<
6290            0,
6291            0x1,
6292            1,
6293            0,
6294            mier_fifo::Mb00,
6295            mier_fifo::Mb00,
6296            MierFifo_SPEC,
6297            crate::common::RW,
6298        >::from_register(self, 0)
6299    }
6300
6301    #[doc = "Interrupt Enable"]
6302    #[inline(always)]
6303    pub fn mb01(
6304        self,
6305    ) -> crate::common::RegisterField<
6306        1,
6307        0x1,
6308        1,
6309        0,
6310        mier_fifo::Mb01,
6311        mier_fifo::Mb01,
6312        MierFifo_SPEC,
6313        crate::common::RW,
6314    > {
6315        crate::common::RegisterField::<
6316            1,
6317            0x1,
6318            1,
6319            0,
6320            mier_fifo::Mb01,
6321            mier_fifo::Mb01,
6322            MierFifo_SPEC,
6323            crate::common::RW,
6324        >::from_register(self, 0)
6325    }
6326
6327    #[doc = "Interrupt Enable"]
6328    #[inline(always)]
6329    pub fn mb02(
6330        self,
6331    ) -> crate::common::RegisterField<
6332        2,
6333        0x1,
6334        1,
6335        0,
6336        mier_fifo::Mb02,
6337        mier_fifo::Mb02,
6338        MierFifo_SPEC,
6339        crate::common::RW,
6340    > {
6341        crate::common::RegisterField::<
6342            2,
6343            0x1,
6344            1,
6345            0,
6346            mier_fifo::Mb02,
6347            mier_fifo::Mb02,
6348            MierFifo_SPEC,
6349            crate::common::RW,
6350        >::from_register(self, 0)
6351    }
6352
6353    #[doc = "Interrupt Enable"]
6354    #[inline(always)]
6355    pub fn mb03(
6356        self,
6357    ) -> crate::common::RegisterField<
6358        3,
6359        0x1,
6360        1,
6361        0,
6362        mier_fifo::Mb03,
6363        mier_fifo::Mb03,
6364        MierFifo_SPEC,
6365        crate::common::RW,
6366    > {
6367        crate::common::RegisterField::<
6368            3,
6369            0x1,
6370            1,
6371            0,
6372            mier_fifo::Mb03,
6373            mier_fifo::Mb03,
6374            MierFifo_SPEC,
6375            crate::common::RW,
6376        >::from_register(self, 0)
6377    }
6378
6379    #[doc = "Interrupt Enable"]
6380    #[inline(always)]
6381    pub fn mb04(
6382        self,
6383    ) -> crate::common::RegisterField<
6384        4,
6385        0x1,
6386        1,
6387        0,
6388        mier_fifo::Mb04,
6389        mier_fifo::Mb04,
6390        MierFifo_SPEC,
6391        crate::common::RW,
6392    > {
6393        crate::common::RegisterField::<
6394            4,
6395            0x1,
6396            1,
6397            0,
6398            mier_fifo::Mb04,
6399            mier_fifo::Mb04,
6400            MierFifo_SPEC,
6401            crate::common::RW,
6402        >::from_register(self, 0)
6403    }
6404
6405    #[doc = "Interrupt Enable"]
6406    #[inline(always)]
6407    pub fn mb05(
6408        self,
6409    ) -> crate::common::RegisterField<
6410        5,
6411        0x1,
6412        1,
6413        0,
6414        mier_fifo::Mb05,
6415        mier_fifo::Mb05,
6416        MierFifo_SPEC,
6417        crate::common::RW,
6418    > {
6419        crate::common::RegisterField::<
6420            5,
6421            0x1,
6422            1,
6423            0,
6424            mier_fifo::Mb05,
6425            mier_fifo::Mb05,
6426            MierFifo_SPEC,
6427            crate::common::RW,
6428        >::from_register(self, 0)
6429    }
6430
6431    #[doc = "Interrupt Enable"]
6432    #[inline(always)]
6433    pub fn mb06(
6434        self,
6435    ) -> crate::common::RegisterField<
6436        6,
6437        0x1,
6438        1,
6439        0,
6440        mier_fifo::Mb06,
6441        mier_fifo::Mb06,
6442        MierFifo_SPEC,
6443        crate::common::RW,
6444    > {
6445        crate::common::RegisterField::<
6446            6,
6447            0x1,
6448            1,
6449            0,
6450            mier_fifo::Mb06,
6451            mier_fifo::Mb06,
6452            MierFifo_SPEC,
6453            crate::common::RW,
6454        >::from_register(self, 0)
6455    }
6456
6457    #[doc = "Interrupt Enable"]
6458    #[inline(always)]
6459    pub fn mb07(
6460        self,
6461    ) -> crate::common::RegisterField<
6462        7,
6463        0x1,
6464        1,
6465        0,
6466        mier_fifo::Mb07,
6467        mier_fifo::Mb07,
6468        MierFifo_SPEC,
6469        crate::common::RW,
6470    > {
6471        crate::common::RegisterField::<
6472            7,
6473            0x1,
6474            1,
6475            0,
6476            mier_fifo::Mb07,
6477            mier_fifo::Mb07,
6478            MierFifo_SPEC,
6479            crate::common::RW,
6480        >::from_register(self, 0)
6481    }
6482
6483    #[doc = "Interrupt Enable"]
6484    #[inline(always)]
6485    pub fn mb08(
6486        self,
6487    ) -> crate::common::RegisterField<
6488        8,
6489        0x1,
6490        1,
6491        0,
6492        mier_fifo::Mb08,
6493        mier_fifo::Mb08,
6494        MierFifo_SPEC,
6495        crate::common::RW,
6496    > {
6497        crate::common::RegisterField::<
6498            8,
6499            0x1,
6500            1,
6501            0,
6502            mier_fifo::Mb08,
6503            mier_fifo::Mb08,
6504            MierFifo_SPEC,
6505            crate::common::RW,
6506        >::from_register(self, 0)
6507    }
6508
6509    #[doc = "Interrupt Enable"]
6510    #[inline(always)]
6511    pub fn mb09(
6512        self,
6513    ) -> crate::common::RegisterField<
6514        9,
6515        0x1,
6516        1,
6517        0,
6518        mier_fifo::Mb09,
6519        mier_fifo::Mb09,
6520        MierFifo_SPEC,
6521        crate::common::RW,
6522    > {
6523        crate::common::RegisterField::<
6524            9,
6525            0x1,
6526            1,
6527            0,
6528            mier_fifo::Mb09,
6529            mier_fifo::Mb09,
6530            MierFifo_SPEC,
6531            crate::common::RW,
6532        >::from_register(self, 0)
6533    }
6534
6535    #[doc = "Interrupt Enable"]
6536    #[inline(always)]
6537    pub fn mb10(
6538        self,
6539    ) -> crate::common::RegisterField<
6540        10,
6541        0x1,
6542        1,
6543        0,
6544        mier_fifo::Mb10,
6545        mier_fifo::Mb10,
6546        MierFifo_SPEC,
6547        crate::common::RW,
6548    > {
6549        crate::common::RegisterField::<
6550            10,
6551            0x1,
6552            1,
6553            0,
6554            mier_fifo::Mb10,
6555            mier_fifo::Mb10,
6556            MierFifo_SPEC,
6557            crate::common::RW,
6558        >::from_register(self, 0)
6559    }
6560
6561    #[doc = "Interrupt Enable"]
6562    #[inline(always)]
6563    pub fn mb11(
6564        self,
6565    ) -> crate::common::RegisterField<
6566        11,
6567        0x1,
6568        1,
6569        0,
6570        mier_fifo::Mb11,
6571        mier_fifo::Mb11,
6572        MierFifo_SPEC,
6573        crate::common::RW,
6574    > {
6575        crate::common::RegisterField::<
6576            11,
6577            0x1,
6578            1,
6579            0,
6580            mier_fifo::Mb11,
6581            mier_fifo::Mb11,
6582            MierFifo_SPEC,
6583            crate::common::RW,
6584        >::from_register(self, 0)
6585    }
6586
6587    #[doc = "Interrupt Enable"]
6588    #[inline(always)]
6589    pub fn mb12(
6590        self,
6591    ) -> crate::common::RegisterField<
6592        12,
6593        0x1,
6594        1,
6595        0,
6596        mier_fifo::Mb12,
6597        mier_fifo::Mb12,
6598        MierFifo_SPEC,
6599        crate::common::RW,
6600    > {
6601        crate::common::RegisterField::<
6602            12,
6603            0x1,
6604            1,
6605            0,
6606            mier_fifo::Mb12,
6607            mier_fifo::Mb12,
6608            MierFifo_SPEC,
6609            crate::common::RW,
6610        >::from_register(self, 0)
6611    }
6612
6613    #[doc = "Interrupt Enable"]
6614    #[inline(always)]
6615    pub fn mb13(
6616        self,
6617    ) -> crate::common::RegisterField<
6618        13,
6619        0x1,
6620        1,
6621        0,
6622        mier_fifo::Mb13,
6623        mier_fifo::Mb13,
6624        MierFifo_SPEC,
6625        crate::common::RW,
6626    > {
6627        crate::common::RegisterField::<
6628            13,
6629            0x1,
6630            1,
6631            0,
6632            mier_fifo::Mb13,
6633            mier_fifo::Mb13,
6634            MierFifo_SPEC,
6635            crate::common::RW,
6636        >::from_register(self, 0)
6637    }
6638
6639    #[doc = "Interrupt Enable"]
6640    #[inline(always)]
6641    pub fn mb14(
6642        self,
6643    ) -> crate::common::RegisterField<
6644        14,
6645        0x1,
6646        1,
6647        0,
6648        mier_fifo::Mb14,
6649        mier_fifo::Mb14,
6650        MierFifo_SPEC,
6651        crate::common::RW,
6652    > {
6653        crate::common::RegisterField::<
6654            14,
6655            0x1,
6656            1,
6657            0,
6658            mier_fifo::Mb14,
6659            mier_fifo::Mb14,
6660            MierFifo_SPEC,
6661            crate::common::RW,
6662        >::from_register(self, 0)
6663    }
6664
6665    #[doc = "Interrupt Enable"]
6666    #[inline(always)]
6667    pub fn mb15(
6668        self,
6669    ) -> crate::common::RegisterField<
6670        15,
6671        0x1,
6672        1,
6673        0,
6674        mier_fifo::Mb15,
6675        mier_fifo::Mb15,
6676        MierFifo_SPEC,
6677        crate::common::RW,
6678    > {
6679        crate::common::RegisterField::<
6680            15,
6681            0x1,
6682            1,
6683            0,
6684            mier_fifo::Mb15,
6685            mier_fifo::Mb15,
6686            MierFifo_SPEC,
6687            crate::common::RW,
6688        >::from_register(self, 0)
6689    }
6690
6691    #[doc = "Interrupt Enable"]
6692    #[inline(always)]
6693    pub fn mb16(
6694        self,
6695    ) -> crate::common::RegisterField<
6696        16,
6697        0x1,
6698        1,
6699        0,
6700        mier_fifo::Mb16,
6701        mier_fifo::Mb16,
6702        MierFifo_SPEC,
6703        crate::common::RW,
6704    > {
6705        crate::common::RegisterField::<
6706            16,
6707            0x1,
6708            1,
6709            0,
6710            mier_fifo::Mb16,
6711            mier_fifo::Mb16,
6712            MierFifo_SPEC,
6713            crate::common::RW,
6714        >::from_register(self, 0)
6715    }
6716
6717    #[doc = "Interrupt Enable"]
6718    #[inline(always)]
6719    pub fn mb17(
6720        self,
6721    ) -> crate::common::RegisterField<
6722        17,
6723        0x1,
6724        1,
6725        0,
6726        mier_fifo::Mb17,
6727        mier_fifo::Mb17,
6728        MierFifo_SPEC,
6729        crate::common::RW,
6730    > {
6731        crate::common::RegisterField::<
6732            17,
6733            0x1,
6734            1,
6735            0,
6736            mier_fifo::Mb17,
6737            mier_fifo::Mb17,
6738            MierFifo_SPEC,
6739            crate::common::RW,
6740        >::from_register(self, 0)
6741    }
6742
6743    #[doc = "Interrupt Enable"]
6744    #[inline(always)]
6745    pub fn mb18(
6746        self,
6747    ) -> crate::common::RegisterField<
6748        18,
6749        0x1,
6750        1,
6751        0,
6752        mier_fifo::Mb18,
6753        mier_fifo::Mb18,
6754        MierFifo_SPEC,
6755        crate::common::RW,
6756    > {
6757        crate::common::RegisterField::<
6758            18,
6759            0x1,
6760            1,
6761            0,
6762            mier_fifo::Mb18,
6763            mier_fifo::Mb18,
6764            MierFifo_SPEC,
6765            crate::common::RW,
6766        >::from_register(self, 0)
6767    }
6768
6769    #[doc = "Interrupt Enable"]
6770    #[inline(always)]
6771    pub fn mb19(
6772        self,
6773    ) -> crate::common::RegisterField<
6774        19,
6775        0x1,
6776        1,
6777        0,
6778        mier_fifo::Mb19,
6779        mier_fifo::Mb19,
6780        MierFifo_SPEC,
6781        crate::common::RW,
6782    > {
6783        crate::common::RegisterField::<
6784            19,
6785            0x1,
6786            1,
6787            0,
6788            mier_fifo::Mb19,
6789            mier_fifo::Mb19,
6790            MierFifo_SPEC,
6791            crate::common::RW,
6792        >::from_register(self, 0)
6793    }
6794
6795    #[doc = "Interrupt Enable"]
6796    #[inline(always)]
6797    pub fn mb20(
6798        self,
6799    ) -> crate::common::RegisterField<
6800        20,
6801        0x1,
6802        1,
6803        0,
6804        mier_fifo::Mb20,
6805        mier_fifo::Mb20,
6806        MierFifo_SPEC,
6807        crate::common::RW,
6808    > {
6809        crate::common::RegisterField::<
6810            20,
6811            0x1,
6812            1,
6813            0,
6814            mier_fifo::Mb20,
6815            mier_fifo::Mb20,
6816            MierFifo_SPEC,
6817            crate::common::RW,
6818        >::from_register(self, 0)
6819    }
6820
6821    #[doc = "Interrupt Enable"]
6822    #[inline(always)]
6823    pub fn mb21(
6824        self,
6825    ) -> crate::common::RegisterField<
6826        21,
6827        0x1,
6828        1,
6829        0,
6830        mier_fifo::Mb21,
6831        mier_fifo::Mb21,
6832        MierFifo_SPEC,
6833        crate::common::RW,
6834    > {
6835        crate::common::RegisterField::<
6836            21,
6837            0x1,
6838            1,
6839            0,
6840            mier_fifo::Mb21,
6841            mier_fifo::Mb21,
6842            MierFifo_SPEC,
6843            crate::common::RW,
6844        >::from_register(self, 0)
6845    }
6846
6847    #[doc = "Interrupt Enable"]
6848    #[inline(always)]
6849    pub fn mb22(
6850        self,
6851    ) -> crate::common::RegisterField<
6852        22,
6853        0x1,
6854        1,
6855        0,
6856        mier_fifo::Mb22,
6857        mier_fifo::Mb22,
6858        MierFifo_SPEC,
6859        crate::common::RW,
6860    > {
6861        crate::common::RegisterField::<
6862            22,
6863            0x1,
6864            1,
6865            0,
6866            mier_fifo::Mb22,
6867            mier_fifo::Mb22,
6868            MierFifo_SPEC,
6869            crate::common::RW,
6870        >::from_register(self, 0)
6871    }
6872
6873    #[doc = "Interrupt Enable"]
6874    #[inline(always)]
6875    pub fn mb23(
6876        self,
6877    ) -> crate::common::RegisterField<
6878        23,
6879        0x1,
6880        1,
6881        0,
6882        mier_fifo::Mb23,
6883        mier_fifo::Mb23,
6884        MierFifo_SPEC,
6885        crate::common::RW,
6886    > {
6887        crate::common::RegisterField::<
6888            23,
6889            0x1,
6890            1,
6891            0,
6892            mier_fifo::Mb23,
6893            mier_fifo::Mb23,
6894            MierFifo_SPEC,
6895            crate::common::RW,
6896        >::from_register(self, 0)
6897    }
6898
6899    #[doc = "Transmit FIFO Interrupt Enable"]
6900    #[inline(always)]
6901    pub fn mb24(
6902        self,
6903    ) -> crate::common::RegisterField<
6904        24,
6905        0x1,
6906        1,
6907        0,
6908        mier_fifo::Mb24,
6909        mier_fifo::Mb24,
6910        MierFifo_SPEC,
6911        crate::common::RW,
6912    > {
6913        crate::common::RegisterField::<
6914            24,
6915            0x1,
6916            1,
6917            0,
6918            mier_fifo::Mb24,
6919            mier_fifo::Mb24,
6920            MierFifo_SPEC,
6921            crate::common::RW,
6922        >::from_register(self, 0)
6923    }
6924
6925    #[doc = "Transmit FIFO Interrupt Generation Timing Control"]
6926    #[inline(always)]
6927    pub fn mb25(
6928        self,
6929    ) -> crate::common::RegisterField<
6930        25,
6931        0x1,
6932        1,
6933        0,
6934        mier_fifo::Mb25,
6935        mier_fifo::Mb25,
6936        MierFifo_SPEC,
6937        crate::common::RW,
6938    > {
6939        crate::common::RegisterField::<
6940            25,
6941            0x1,
6942            1,
6943            0,
6944            mier_fifo::Mb25,
6945            mier_fifo::Mb25,
6946            MierFifo_SPEC,
6947            crate::common::RW,
6948        >::from_register(self, 0)
6949    }
6950
6951    #[doc = "Receive FIFO Interrupt Enable"]
6952    #[inline(always)]
6953    pub fn mb28(
6954        self,
6955    ) -> crate::common::RegisterField<
6956        28,
6957        0x1,
6958        1,
6959        0,
6960        mier_fifo::Mb28,
6961        mier_fifo::Mb28,
6962        MierFifo_SPEC,
6963        crate::common::RW,
6964    > {
6965        crate::common::RegisterField::<
6966            28,
6967            0x1,
6968            1,
6969            0,
6970            mier_fifo::Mb28,
6971            mier_fifo::Mb28,
6972            MierFifo_SPEC,
6973            crate::common::RW,
6974        >::from_register(self, 0)
6975    }
6976
6977    #[doc = "Receive FIFO Interrupt Generation Timing Control"]
6978    #[inline(always)]
6979    pub fn mb29(
6980        self,
6981    ) -> crate::common::RegisterField<
6982        29,
6983        0x1,
6984        1,
6985        0,
6986        mier_fifo::Mb29,
6987        mier_fifo::Mb29,
6988        MierFifo_SPEC,
6989        crate::common::RW,
6990    > {
6991        crate::common::RegisterField::<
6992            29,
6993            0x1,
6994            1,
6995            0,
6996            mier_fifo::Mb29,
6997            mier_fifo::Mb29,
6998            MierFifo_SPEC,
6999            crate::common::RW,
7000        >::from_register(self, 0)
7001    }
7002}
7003impl ::core::default::Default for MierFifo {
7004    #[inline(always)]
7005    fn default() -> MierFifo {
7006        <crate::RegValueT<MierFifo_SPEC> as RegisterValue<_>>::new(0)
7007    }
7008}
7009pub mod mier_fifo {
7010
7011    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7012    pub struct Mb00_SPEC;
7013    pub type Mb00 = crate::EnumBitfieldStruct<u8, Mb00_SPEC>;
7014    impl Mb00 {
7015        #[doc = "Disable interrupt"]
7016        pub const _0: Self = Self::new(0);
7017
7018        #[doc = "Enable interrupt"]
7019        pub const _1: Self = Self::new(1);
7020    }
7021    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7022    pub struct Mb01_SPEC;
7023    pub type Mb01 = crate::EnumBitfieldStruct<u8, Mb01_SPEC>;
7024    impl Mb01 {
7025        #[doc = "Disable interrupt"]
7026        pub const _0: Self = Self::new(0);
7027
7028        #[doc = "Enable interrupt"]
7029        pub const _1: Self = Self::new(1);
7030    }
7031    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7032    pub struct Mb02_SPEC;
7033    pub type Mb02 = crate::EnumBitfieldStruct<u8, Mb02_SPEC>;
7034    impl Mb02 {
7035        #[doc = "Disable interrupt"]
7036        pub const _0: Self = Self::new(0);
7037
7038        #[doc = "Enable interrupt"]
7039        pub const _1: Self = Self::new(1);
7040    }
7041    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7042    pub struct Mb03_SPEC;
7043    pub type Mb03 = crate::EnumBitfieldStruct<u8, Mb03_SPEC>;
7044    impl Mb03 {
7045        #[doc = "Disable interrupt"]
7046        pub const _0: Self = Self::new(0);
7047
7048        #[doc = "Enable interrupt"]
7049        pub const _1: Self = Self::new(1);
7050    }
7051    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7052    pub struct Mb04_SPEC;
7053    pub type Mb04 = crate::EnumBitfieldStruct<u8, Mb04_SPEC>;
7054    impl Mb04 {
7055        #[doc = "Disable interrupt"]
7056        pub const _0: Self = Self::new(0);
7057
7058        #[doc = "Enable interrupt"]
7059        pub const _1: Self = Self::new(1);
7060    }
7061    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7062    pub struct Mb05_SPEC;
7063    pub type Mb05 = crate::EnumBitfieldStruct<u8, Mb05_SPEC>;
7064    impl Mb05 {
7065        #[doc = "Disable interrupt"]
7066        pub const _0: Self = Self::new(0);
7067
7068        #[doc = "Enable interrupt"]
7069        pub const _1: Self = Self::new(1);
7070    }
7071    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7072    pub struct Mb06_SPEC;
7073    pub type Mb06 = crate::EnumBitfieldStruct<u8, Mb06_SPEC>;
7074    impl Mb06 {
7075        #[doc = "Disable interrupt"]
7076        pub const _0: Self = Self::new(0);
7077
7078        #[doc = "Enable interrupt"]
7079        pub const _1: Self = Self::new(1);
7080    }
7081    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7082    pub struct Mb07_SPEC;
7083    pub type Mb07 = crate::EnumBitfieldStruct<u8, Mb07_SPEC>;
7084    impl Mb07 {
7085        #[doc = "Disable interrupt"]
7086        pub const _0: Self = Self::new(0);
7087
7088        #[doc = "Enable interrupt"]
7089        pub const _1: Self = Self::new(1);
7090    }
7091    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7092    pub struct Mb08_SPEC;
7093    pub type Mb08 = crate::EnumBitfieldStruct<u8, Mb08_SPEC>;
7094    impl Mb08 {
7095        #[doc = "Disable interrupt"]
7096        pub const _0: Self = Self::new(0);
7097
7098        #[doc = "Enable interrupt"]
7099        pub const _1: Self = Self::new(1);
7100    }
7101    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7102    pub struct Mb09_SPEC;
7103    pub type Mb09 = crate::EnumBitfieldStruct<u8, Mb09_SPEC>;
7104    impl Mb09 {
7105        #[doc = "Disable interrupt"]
7106        pub const _0: Self = Self::new(0);
7107
7108        #[doc = "Enable interrupt"]
7109        pub const _1: Self = Self::new(1);
7110    }
7111    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7112    pub struct Mb10_SPEC;
7113    pub type Mb10 = crate::EnumBitfieldStruct<u8, Mb10_SPEC>;
7114    impl Mb10 {
7115        #[doc = "Disable interrupt"]
7116        pub const _0: Self = Self::new(0);
7117
7118        #[doc = "Enable interrupt"]
7119        pub const _1: Self = Self::new(1);
7120    }
7121    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7122    pub struct Mb11_SPEC;
7123    pub type Mb11 = crate::EnumBitfieldStruct<u8, Mb11_SPEC>;
7124    impl Mb11 {
7125        #[doc = "Disable interrupt"]
7126        pub const _0: Self = Self::new(0);
7127
7128        #[doc = "Enable interrupt"]
7129        pub const _1: Self = Self::new(1);
7130    }
7131    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7132    pub struct Mb12_SPEC;
7133    pub type Mb12 = crate::EnumBitfieldStruct<u8, Mb12_SPEC>;
7134    impl Mb12 {
7135        #[doc = "Disable interrupt"]
7136        pub const _0: Self = Self::new(0);
7137
7138        #[doc = "Enable interrupt"]
7139        pub const _1: Self = Self::new(1);
7140    }
7141    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7142    pub struct Mb13_SPEC;
7143    pub type Mb13 = crate::EnumBitfieldStruct<u8, Mb13_SPEC>;
7144    impl Mb13 {
7145        #[doc = "Disable interrupt"]
7146        pub const _0: Self = Self::new(0);
7147
7148        #[doc = "Enable interrupt"]
7149        pub const _1: Self = Self::new(1);
7150    }
7151    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7152    pub struct Mb14_SPEC;
7153    pub type Mb14 = crate::EnumBitfieldStruct<u8, Mb14_SPEC>;
7154    impl Mb14 {
7155        #[doc = "Disable interrupt"]
7156        pub const _0: Self = Self::new(0);
7157
7158        #[doc = "Enable interrupt"]
7159        pub const _1: Self = Self::new(1);
7160    }
7161    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7162    pub struct Mb15_SPEC;
7163    pub type Mb15 = crate::EnumBitfieldStruct<u8, Mb15_SPEC>;
7164    impl Mb15 {
7165        #[doc = "Disable interrupt"]
7166        pub const _0: Self = Self::new(0);
7167
7168        #[doc = "Enable interrupt"]
7169        pub const _1: Self = Self::new(1);
7170    }
7171    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7172    pub struct Mb16_SPEC;
7173    pub type Mb16 = crate::EnumBitfieldStruct<u8, Mb16_SPEC>;
7174    impl Mb16 {
7175        #[doc = "Disable interrupt"]
7176        pub const _0: Self = Self::new(0);
7177
7178        #[doc = "Enable interrupt"]
7179        pub const _1: Self = Self::new(1);
7180    }
7181    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7182    pub struct Mb17_SPEC;
7183    pub type Mb17 = crate::EnumBitfieldStruct<u8, Mb17_SPEC>;
7184    impl Mb17 {
7185        #[doc = "Disable interrupt"]
7186        pub const _0: Self = Self::new(0);
7187
7188        #[doc = "Enable interrupt"]
7189        pub const _1: Self = Self::new(1);
7190    }
7191    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7192    pub struct Mb18_SPEC;
7193    pub type Mb18 = crate::EnumBitfieldStruct<u8, Mb18_SPEC>;
7194    impl Mb18 {
7195        #[doc = "Disable interrupt"]
7196        pub const _0: Self = Self::new(0);
7197
7198        #[doc = "Enable interrupt"]
7199        pub const _1: Self = Self::new(1);
7200    }
7201    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7202    pub struct Mb19_SPEC;
7203    pub type Mb19 = crate::EnumBitfieldStruct<u8, Mb19_SPEC>;
7204    impl Mb19 {
7205        #[doc = "Disable interrupt"]
7206        pub const _0: Self = Self::new(0);
7207
7208        #[doc = "Enable interrupt"]
7209        pub const _1: Self = Self::new(1);
7210    }
7211    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7212    pub struct Mb20_SPEC;
7213    pub type Mb20 = crate::EnumBitfieldStruct<u8, Mb20_SPEC>;
7214    impl Mb20 {
7215        #[doc = "Disable interrupt"]
7216        pub const _0: Self = Self::new(0);
7217
7218        #[doc = "Enable interrupt"]
7219        pub const _1: Self = Self::new(1);
7220    }
7221    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7222    pub struct Mb21_SPEC;
7223    pub type Mb21 = crate::EnumBitfieldStruct<u8, Mb21_SPEC>;
7224    impl Mb21 {
7225        #[doc = "Disable interrupt"]
7226        pub const _0: Self = Self::new(0);
7227
7228        #[doc = "Enable interrupt"]
7229        pub const _1: Self = Self::new(1);
7230    }
7231    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7232    pub struct Mb22_SPEC;
7233    pub type Mb22 = crate::EnumBitfieldStruct<u8, Mb22_SPEC>;
7234    impl Mb22 {
7235        #[doc = "Disable interrupt"]
7236        pub const _0: Self = Self::new(0);
7237
7238        #[doc = "Enable interrupt"]
7239        pub const _1: Self = Self::new(1);
7240    }
7241    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7242    pub struct Mb23_SPEC;
7243    pub type Mb23 = crate::EnumBitfieldStruct<u8, Mb23_SPEC>;
7244    impl Mb23 {
7245        #[doc = "Disable interrupt"]
7246        pub const _0: Self = Self::new(0);
7247
7248        #[doc = "Enable interrupt"]
7249        pub const _1: Self = Self::new(1);
7250    }
7251    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7252    pub struct Mb24_SPEC;
7253    pub type Mb24 = crate::EnumBitfieldStruct<u8, Mb24_SPEC>;
7254    impl Mb24 {
7255        #[doc = "Disable interrupt"]
7256        pub const _0: Self = Self::new(0);
7257
7258        #[doc = "Enable interrupt"]
7259        pub const _1: Self = Self::new(1);
7260    }
7261    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7262    pub struct Mb25_SPEC;
7263    pub type Mb25 = crate::EnumBitfieldStruct<u8, Mb25_SPEC>;
7264    impl Mb25 {
7265        #[doc = "Generate every time transmission completes"]
7266        pub const _0: Self = Self::new(0);
7267
7268        #[doc = "Generate when the transmit FIFO empties on transmission completion"]
7269        pub const _1: Self = Self::new(1);
7270    }
7271    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7272    pub struct Mb28_SPEC;
7273    pub type Mb28 = crate::EnumBitfieldStruct<u8, Mb28_SPEC>;
7274    impl Mb28 {
7275        #[doc = "Disable interrupt"]
7276        pub const _0: Self = Self::new(0);
7277
7278        #[doc = "Enable interrupt"]
7279        pub const _1: Self = Self::new(1);
7280    }
7281    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7282    pub struct Mb29_SPEC;
7283    pub type Mb29 = crate::EnumBitfieldStruct<u8, Mb29_SPEC>;
7284    impl Mb29 {
7285        #[doc = "Generate every time reception completes"]
7286        pub const _0: Self = Self::new(0);
7287
7288        #[doc = "Generate when the receive FIFO becomes a buffer warning on reception completion"]
7289        pub const _1: Self = Self::new(1);
7290    }
7291}
7292#[doc(hidden)]
7293#[derive(Copy, Clone, Eq, PartialEq)]
7294pub struct MctlRx_SPEC;
7295impl crate::sealed::RegSpec for MctlRx_SPEC {
7296    type DataType = u8;
7297}
7298
7299#[doc = "Message Control Register for Receive"]
7300pub type MctlRx = crate::RegValueT<MctlRx_SPEC>;
7301
7302impl MctlRx {
7303    #[doc = "Reception Complete Flag"]
7304    #[inline(always)]
7305    pub fn newdata(
7306        self,
7307    ) -> crate::common::RegisterField<
7308        0,
7309        0x1,
7310        1,
7311        0,
7312        mctl_rx::Newdata,
7313        mctl_rx::Newdata,
7314        MctlRx_SPEC,
7315        crate::common::RW,
7316    > {
7317        crate::common::RegisterField::<
7318            0,
7319            0x1,
7320            1,
7321            0,
7322            mctl_rx::Newdata,
7323            mctl_rx::Newdata,
7324            MctlRx_SPEC,
7325            crate::common::RW,
7326        >::from_register(self, 0)
7327    }
7328
7329    #[doc = "Reception-in-Progress Status Flag"]
7330    #[inline(always)]
7331    pub fn invaldata(
7332        self,
7333    ) -> crate::common::RegisterField<
7334        1,
7335        0x1,
7336        1,
7337        0,
7338        mctl_rx::Invaldata,
7339        mctl_rx::Invaldata,
7340        MctlRx_SPEC,
7341        crate::common::R,
7342    > {
7343        crate::common::RegisterField::<
7344            1,
7345            0x1,
7346            1,
7347            0,
7348            mctl_rx::Invaldata,
7349            mctl_rx::Invaldata,
7350            MctlRx_SPEC,
7351            crate::common::R,
7352        >::from_register(self, 0)
7353    }
7354
7355    #[doc = "Message Lost Flag"]
7356    #[inline(always)]
7357    pub fn msglost(
7358        self,
7359    ) -> crate::common::RegisterField<
7360        2,
7361        0x1,
7362        1,
7363        0,
7364        mctl_rx::Msglost,
7365        mctl_rx::Msglost,
7366        MctlRx_SPEC,
7367        crate::common::RW,
7368    > {
7369        crate::common::RegisterField::<
7370            2,
7371            0x1,
7372            1,
7373            0,
7374            mctl_rx::Msglost,
7375            mctl_rx::Msglost,
7376            MctlRx_SPEC,
7377            crate::common::RW,
7378        >::from_register(self, 0)
7379    }
7380
7381    #[doc = "One-Shot Enable"]
7382    #[inline(always)]
7383    pub fn oneshot(
7384        self,
7385    ) -> crate::common::RegisterField<
7386        4,
7387        0x1,
7388        1,
7389        0,
7390        mctl_rx::Oneshot,
7391        mctl_rx::Oneshot,
7392        MctlRx_SPEC,
7393        crate::common::RW,
7394    > {
7395        crate::common::RegisterField::<
7396            4,
7397            0x1,
7398            1,
7399            0,
7400            mctl_rx::Oneshot,
7401            mctl_rx::Oneshot,
7402            MctlRx_SPEC,
7403            crate::common::RW,
7404        >::from_register(self, 0)
7405    }
7406
7407    #[doc = "Receive Mailbox Request"]
7408    #[inline(always)]
7409    pub fn recreq(
7410        self,
7411    ) -> crate::common::RegisterField<
7412        6,
7413        0x1,
7414        1,
7415        0,
7416        mctl_rx::Recreq,
7417        mctl_rx::Recreq,
7418        MctlRx_SPEC,
7419        crate::common::RW,
7420    > {
7421        crate::common::RegisterField::<
7422            6,
7423            0x1,
7424            1,
7425            0,
7426            mctl_rx::Recreq,
7427            mctl_rx::Recreq,
7428            MctlRx_SPEC,
7429            crate::common::RW,
7430        >::from_register(self, 0)
7431    }
7432
7433    #[doc = "Transmit Mailbox Request"]
7434    #[inline(always)]
7435    pub fn trmreq(
7436        self,
7437    ) -> crate::common::RegisterField<
7438        7,
7439        0x1,
7440        1,
7441        0,
7442        mctl_rx::Trmreq,
7443        mctl_rx::Trmreq,
7444        MctlRx_SPEC,
7445        crate::common::RW,
7446    > {
7447        crate::common::RegisterField::<
7448            7,
7449            0x1,
7450            1,
7451            0,
7452            mctl_rx::Trmreq,
7453            mctl_rx::Trmreq,
7454            MctlRx_SPEC,
7455            crate::common::RW,
7456        >::from_register(self, 0)
7457    }
7458}
7459impl ::core::default::Default for MctlRx {
7460    #[inline(always)]
7461    fn default() -> MctlRx {
7462        <crate::RegValueT<MctlRx_SPEC> as RegisterValue<_>>::new(0)
7463    }
7464}
7465pub mod mctl_rx {
7466
7467    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7468    pub struct Newdata_SPEC;
7469    pub type Newdata = crate::EnumBitfieldStruct<u8, Newdata_SPEC>;
7470    impl Newdata {
7471        #[doc = "No data received, or 0 was written to the flag"]
7472        pub const _0: Self = Self::new(0);
7473
7474        #[doc = "New message being stored or was stored in the mailbox"]
7475        pub const _1: Self = Self::new(1);
7476    }
7477    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7478    pub struct Invaldata_SPEC;
7479    pub type Invaldata = crate::EnumBitfieldStruct<u8, Invaldata_SPEC>;
7480    impl Invaldata {
7481        #[doc = "Message valid"]
7482        pub const _0: Self = Self::new(0);
7483
7484        #[doc = "Message being updated"]
7485        pub const _1: Self = Self::new(1);
7486    }
7487    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7488    pub struct Msglost_SPEC;
7489    pub type Msglost = crate::EnumBitfieldStruct<u8, Msglost_SPEC>;
7490    impl Msglost {
7491        #[doc = "Message not overwritten or overrun"]
7492        pub const _0: Self = Self::new(0);
7493
7494        #[doc = "Message overwritten or overrun"]
7495        pub const _1: Self = Self::new(1);
7496    }
7497    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7498    pub struct Oneshot_SPEC;
7499    pub type Oneshot = crate::EnumBitfieldStruct<u8, Oneshot_SPEC>;
7500    impl Oneshot {
7501        #[doc = "Disable one-shot reception"]
7502        pub const _0: Self = Self::new(0);
7503
7504        #[doc = "Enable one-shot reception"]
7505        pub const _1: Self = Self::new(1);
7506    }
7507    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7508    pub struct Recreq_SPEC;
7509    pub type Recreq = crate::EnumBitfieldStruct<u8, Recreq_SPEC>;
7510    impl Recreq {
7511        #[doc = "Do not configure for reception"]
7512        pub const _0: Self = Self::new(0);
7513
7514        #[doc = "Configure for reception"]
7515        pub const _1: Self = Self::new(1);
7516    }
7517    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7518    pub struct Trmreq_SPEC;
7519    pub type Trmreq = crate::EnumBitfieldStruct<u8, Trmreq_SPEC>;
7520    impl Trmreq {
7521        #[doc = "Do not configure for transmission"]
7522        pub const _0: Self = Self::new(0);
7523
7524        #[doc = "Configure for transmission"]
7525        pub const _1: Self = Self::new(1);
7526    }
7527}
7528#[doc(hidden)]
7529#[derive(Copy, Clone, Eq, PartialEq)]
7530pub struct MctlTx_SPEC;
7531impl crate::sealed::RegSpec for MctlTx_SPEC {
7532    type DataType = u8;
7533}
7534
7535#[doc = "Message Control Register for Transmit"]
7536pub type MctlTx = crate::RegValueT<MctlTx_SPEC>;
7537
7538impl MctlTx {
7539    #[doc = "Transmission Complete Flag"]
7540    #[inline(always)]
7541    pub fn sentdata(
7542        self,
7543    ) -> crate::common::RegisterField<
7544        0,
7545        0x1,
7546        1,
7547        0,
7548        mctl_tx::Sentdata,
7549        mctl_tx::Sentdata,
7550        MctlTx_SPEC,
7551        crate::common::RW,
7552    > {
7553        crate::common::RegisterField::<
7554            0,
7555            0x1,
7556            1,
7557            0,
7558            mctl_tx::Sentdata,
7559            mctl_tx::Sentdata,
7560            MctlTx_SPEC,
7561            crate::common::RW,
7562        >::from_register(self, 0)
7563    }
7564
7565    #[doc = "Transmission-in-Progress Status Flag"]
7566    #[inline(always)]
7567    pub fn trmactive(
7568        self,
7569    ) -> crate::common::RegisterField<
7570        1,
7571        0x1,
7572        1,
7573        0,
7574        mctl_tx::Trmactive,
7575        mctl_tx::Trmactive,
7576        MctlTx_SPEC,
7577        crate::common::R,
7578    > {
7579        crate::common::RegisterField::<
7580            1,
7581            0x1,
7582            1,
7583            0,
7584            mctl_tx::Trmactive,
7585            mctl_tx::Trmactive,
7586            MctlTx_SPEC,
7587            crate::common::R,
7588        >::from_register(self, 0)
7589    }
7590
7591    #[doc = "Transmission Abort Complete Flag"]
7592    #[inline(always)]
7593    pub fn trmabt(
7594        self,
7595    ) -> crate::common::RegisterField<
7596        2,
7597        0x1,
7598        1,
7599        0,
7600        mctl_tx::Trmabt,
7601        mctl_tx::Trmabt,
7602        MctlTx_SPEC,
7603        crate::common::RW,
7604    > {
7605        crate::common::RegisterField::<
7606            2,
7607            0x1,
7608            1,
7609            0,
7610            mctl_tx::Trmabt,
7611            mctl_tx::Trmabt,
7612            MctlTx_SPEC,
7613            crate::common::RW,
7614        >::from_register(self, 0)
7615    }
7616
7617    #[doc = "One-Shot Enable"]
7618    #[inline(always)]
7619    pub fn oneshot(
7620        self,
7621    ) -> crate::common::RegisterField<
7622        4,
7623        0x1,
7624        1,
7625        0,
7626        mctl_tx::Oneshot,
7627        mctl_tx::Oneshot,
7628        MctlTx_SPEC,
7629        crate::common::RW,
7630    > {
7631        crate::common::RegisterField::<
7632            4,
7633            0x1,
7634            1,
7635            0,
7636            mctl_tx::Oneshot,
7637            mctl_tx::Oneshot,
7638            MctlTx_SPEC,
7639            crate::common::RW,
7640        >::from_register(self, 0)
7641    }
7642
7643    #[doc = "Receive Mailbox Request"]
7644    #[inline(always)]
7645    pub fn recreq(
7646        self,
7647    ) -> crate::common::RegisterField<
7648        6,
7649        0x1,
7650        1,
7651        0,
7652        mctl_tx::Recreq,
7653        mctl_tx::Recreq,
7654        MctlTx_SPEC,
7655        crate::common::RW,
7656    > {
7657        crate::common::RegisterField::<
7658            6,
7659            0x1,
7660            1,
7661            0,
7662            mctl_tx::Recreq,
7663            mctl_tx::Recreq,
7664            MctlTx_SPEC,
7665            crate::common::RW,
7666        >::from_register(self, 0)
7667    }
7668
7669    #[doc = "Transmit Mailbox Request"]
7670    #[inline(always)]
7671    pub fn trmreq(
7672        self,
7673    ) -> crate::common::RegisterField<
7674        7,
7675        0x1,
7676        1,
7677        0,
7678        mctl_tx::Trmreq,
7679        mctl_tx::Trmreq,
7680        MctlTx_SPEC,
7681        crate::common::RW,
7682    > {
7683        crate::common::RegisterField::<
7684            7,
7685            0x1,
7686            1,
7687            0,
7688            mctl_tx::Trmreq,
7689            mctl_tx::Trmreq,
7690            MctlTx_SPEC,
7691            crate::common::RW,
7692        >::from_register(self, 0)
7693    }
7694}
7695impl ::core::default::Default for MctlTx {
7696    #[inline(always)]
7697    fn default() -> MctlTx {
7698        <crate::RegValueT<MctlTx_SPEC> as RegisterValue<_>>::new(0)
7699    }
7700}
7701pub mod mctl_tx {
7702
7703    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7704    pub struct Sentdata_SPEC;
7705    pub type Sentdata = crate::EnumBitfieldStruct<u8, Sentdata_SPEC>;
7706    impl Sentdata {
7707        #[doc = "Transmission not complete"]
7708        pub const _0: Self = Self::new(0);
7709
7710        #[doc = "Transmission complete"]
7711        pub const _1: Self = Self::new(1);
7712    }
7713    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7714    pub struct Trmactive_SPEC;
7715    pub type Trmactive = crate::EnumBitfieldStruct<u8, Trmactive_SPEC>;
7716    impl Trmactive {
7717        #[doc = "Transmission pending or not requested"]
7718        pub const _0: Self = Self::new(0);
7719
7720        #[doc = "Transmission in progress"]
7721        pub const _1: Self = Self::new(1);
7722    }
7723    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7724    pub struct Trmabt_SPEC;
7725    pub type Trmabt = crate::EnumBitfieldStruct<u8, Trmabt_SPEC>;
7726    impl Trmabt {
7727        #[doc = "Transmission started, transmission abort failed because transmission completed, or transmission abort not requested"]
7728        pub const _0: Self = Self::new(0);
7729
7730        #[doc = "Transmission abort complete"]
7731        pub const _1: Self = Self::new(1);
7732    }
7733    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7734    pub struct Oneshot_SPEC;
7735    pub type Oneshot = crate::EnumBitfieldStruct<u8, Oneshot_SPEC>;
7736    impl Oneshot {
7737        #[doc = "Disable one-shot transmission"]
7738        pub const _0: Self = Self::new(0);
7739
7740        #[doc = "Enable one-shot transmission"]
7741        pub const _1: Self = Self::new(1);
7742    }
7743    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7744    pub struct Recreq_SPEC;
7745    pub type Recreq = crate::EnumBitfieldStruct<u8, Recreq_SPEC>;
7746    impl Recreq {
7747        #[doc = "Do not configure for reception"]
7748        pub const _0: Self = Self::new(0);
7749
7750        #[doc = "Configure for reception"]
7751        pub const _1: Self = Self::new(1);
7752    }
7753    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7754    pub struct Trmreq_SPEC;
7755    pub type Trmreq = crate::EnumBitfieldStruct<u8, Trmreq_SPEC>;
7756    impl Trmreq {
7757        #[doc = "Do not configure for transmission"]
7758        pub const _0: Self = Self::new(0);
7759
7760        #[doc = "Configure for transmission"]
7761        pub const _1: Self = Self::new(1);
7762    }
7763}
7764#[doc(hidden)]
7765#[derive(Copy, Clone, Eq, PartialEq)]
7766pub struct Ctlr_SPEC;
7767impl crate::sealed::RegSpec for Ctlr_SPEC {
7768    type DataType = u16;
7769}
7770
7771#[doc = "Control Register"]
7772pub type Ctlr = crate::RegValueT<Ctlr_SPEC>;
7773
7774impl Ctlr {
7775    #[doc = "CAN Mailbox Mode Select"]
7776    #[inline(always)]
7777    pub fn mbm(
7778        self,
7779    ) -> crate::common::RegisterField<
7780        0,
7781        0x1,
7782        1,
7783        0,
7784        ctlr::Mbm,
7785        ctlr::Mbm,
7786        Ctlr_SPEC,
7787        crate::common::RW,
7788    > {
7789        crate::common::RegisterField::<
7790            0,
7791            0x1,
7792            1,
7793            0,
7794            ctlr::Mbm,
7795            ctlr::Mbm,
7796            Ctlr_SPEC,
7797            crate::common::RW,
7798        >::from_register(self, 0)
7799    }
7800
7801    #[doc = "ID Format Mode Select"]
7802    #[inline(always)]
7803    pub fn idfm(
7804        self,
7805    ) -> crate::common::RegisterField<
7806        1,
7807        0x3,
7808        1,
7809        0,
7810        ctlr::Idfm,
7811        ctlr::Idfm,
7812        Ctlr_SPEC,
7813        crate::common::RW,
7814    > {
7815        crate::common::RegisterField::<
7816            1,
7817            0x3,
7818            1,
7819            0,
7820            ctlr::Idfm,
7821            ctlr::Idfm,
7822            Ctlr_SPEC,
7823            crate::common::RW,
7824        >::from_register(self, 0)
7825    }
7826
7827    #[doc = "Message Lost Mode Select"]
7828    #[inline(always)]
7829    pub fn mlm(
7830        self,
7831    ) -> crate::common::RegisterField<
7832        3,
7833        0x1,
7834        1,
7835        0,
7836        ctlr::Mlm,
7837        ctlr::Mlm,
7838        Ctlr_SPEC,
7839        crate::common::RW,
7840    > {
7841        crate::common::RegisterField::<
7842            3,
7843            0x1,
7844            1,
7845            0,
7846            ctlr::Mlm,
7847            ctlr::Mlm,
7848            Ctlr_SPEC,
7849            crate::common::RW,
7850        >::from_register(self, 0)
7851    }
7852
7853    #[doc = "Transmission Priority Mode Select"]
7854    #[inline(always)]
7855    pub fn tpm(
7856        self,
7857    ) -> crate::common::RegisterField<
7858        4,
7859        0x1,
7860        1,
7861        0,
7862        ctlr::Tpm,
7863        ctlr::Tpm,
7864        Ctlr_SPEC,
7865        crate::common::RW,
7866    > {
7867        crate::common::RegisterField::<
7868            4,
7869            0x1,
7870            1,
7871            0,
7872            ctlr::Tpm,
7873            ctlr::Tpm,
7874            Ctlr_SPEC,
7875            crate::common::RW,
7876        >::from_register(self, 0)
7877    }
7878
7879    #[doc = "Time Stamp Counter Reset Command"]
7880    #[inline(always)]
7881    pub fn tsrc(
7882        self,
7883    ) -> crate::common::RegisterField<
7884        5,
7885        0x1,
7886        1,
7887        0,
7888        ctlr::Tsrc,
7889        ctlr::Tsrc,
7890        Ctlr_SPEC,
7891        crate::common::RW,
7892    > {
7893        crate::common::RegisterField::<
7894            5,
7895            0x1,
7896            1,
7897            0,
7898            ctlr::Tsrc,
7899            ctlr::Tsrc,
7900            Ctlr_SPEC,
7901            crate::common::RW,
7902        >::from_register(self, 0)
7903    }
7904
7905    #[doc = "Time Stamp Prescaler Select"]
7906    #[inline(always)]
7907    pub fn tsps(
7908        self,
7909    ) -> crate::common::RegisterField<
7910        6,
7911        0x3,
7912        1,
7913        0,
7914        ctlr::Tsps,
7915        ctlr::Tsps,
7916        Ctlr_SPEC,
7917        crate::common::RW,
7918    > {
7919        crate::common::RegisterField::<
7920            6,
7921            0x3,
7922            1,
7923            0,
7924            ctlr::Tsps,
7925            ctlr::Tsps,
7926            Ctlr_SPEC,
7927            crate::common::RW,
7928        >::from_register(self, 0)
7929    }
7930
7931    #[doc = "CAN Operating Mode Select"]
7932    #[inline(always)]
7933    pub fn canm(
7934        self,
7935    ) -> crate::common::RegisterField<
7936        8,
7937        0x3,
7938        1,
7939        0,
7940        ctlr::Canm,
7941        ctlr::Canm,
7942        Ctlr_SPEC,
7943        crate::common::RW,
7944    > {
7945        crate::common::RegisterField::<
7946            8,
7947            0x3,
7948            1,
7949            0,
7950            ctlr::Canm,
7951            ctlr::Canm,
7952            Ctlr_SPEC,
7953            crate::common::RW,
7954        >::from_register(self, 0)
7955    }
7956
7957    #[doc = "CAN Sleep Mode"]
7958    #[inline(always)]
7959    pub fn slpm(
7960        self,
7961    ) -> crate::common::RegisterField<
7962        10,
7963        0x1,
7964        1,
7965        0,
7966        ctlr::Slpm,
7967        ctlr::Slpm,
7968        Ctlr_SPEC,
7969        crate::common::RW,
7970    > {
7971        crate::common::RegisterField::<
7972            10,
7973            0x1,
7974            1,
7975            0,
7976            ctlr::Slpm,
7977            ctlr::Slpm,
7978            Ctlr_SPEC,
7979            crate::common::RW,
7980        >::from_register(self, 0)
7981    }
7982
7983    #[doc = "Bus-Off Recovery Mode"]
7984    #[inline(always)]
7985    pub fn bom(
7986        self,
7987    ) -> crate::common::RegisterField<
7988        11,
7989        0x3,
7990        1,
7991        0,
7992        ctlr::Bom,
7993        ctlr::Bom,
7994        Ctlr_SPEC,
7995        crate::common::RW,
7996    > {
7997        crate::common::RegisterField::<
7998            11,
7999            0x3,
8000            1,
8001            0,
8002            ctlr::Bom,
8003            ctlr::Bom,
8004            Ctlr_SPEC,
8005            crate::common::RW,
8006        >::from_register(self, 0)
8007    }
8008
8009    #[doc = "Forcible Return from Bus-Off"]
8010    #[inline(always)]
8011    pub fn rboc(
8012        self,
8013    ) -> crate::common::RegisterField<
8014        13,
8015        0x1,
8016        1,
8017        0,
8018        ctlr::Rboc,
8019        ctlr::Rboc,
8020        Ctlr_SPEC,
8021        crate::common::RW,
8022    > {
8023        crate::common::RegisterField::<
8024            13,
8025            0x1,
8026            1,
8027            0,
8028            ctlr::Rboc,
8029            ctlr::Rboc,
8030            Ctlr_SPEC,
8031            crate::common::RW,
8032        >::from_register(self, 0)
8033    }
8034}
8035impl ::core::default::Default for Ctlr {
8036    #[inline(always)]
8037    fn default() -> Ctlr {
8038        <crate::RegValueT<Ctlr_SPEC> as RegisterValue<_>>::new(1280)
8039    }
8040}
8041pub mod ctlr {
8042
8043    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8044    pub struct Mbm_SPEC;
8045    pub type Mbm = crate::EnumBitfieldStruct<u8, Mbm_SPEC>;
8046    impl Mbm {
8047        #[doc = "Normal mailbox mode"]
8048        pub const _0: Self = Self::new(0);
8049
8050        #[doc = "FIFO mailbox mode"]
8051        pub const _1: Self = Self::new(1);
8052    }
8053    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8054    pub struct Idfm_SPEC;
8055    pub type Idfm = crate::EnumBitfieldStruct<u8, Idfm_SPEC>;
8056    impl Idfm {
8057        #[doc = "Standard ID mode All mailboxes, including FIFO mailboxes, handle only standard IDs"]
8058        pub const _00: Self = Self::new(0);
8059
8060        #[doc = "Extended ID mode All mailboxes, including FIFO mailboxes, handle only extended IDs"]
8061        pub const _01: Self = Self::new(1);
8062
8063        #[doc = "Mixed ID mode All mailboxes, including FIFO mailboxes, handle both standard and extended IDs. In normal mailbox mode, use the associated IDE bit to differentiate standard and extended IDs. In FIFO mailbox mode, the associated IDE bits are used for mailboxes 0 to 23, the IDE bits in FIDCR0 and FIDCR1 are used for the receive FIFO, and the IDE bit associated with mailbox 24 is used for the transmit FIFO."]
8064        pub const _10: Self = Self::new(2);
8065
8066        #[doc = "Setting prohibited"]
8067        pub const _11: Self = Self::new(3);
8068    }
8069    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8070    pub struct Mlm_SPEC;
8071    pub type Mlm = crate::EnumBitfieldStruct<u8, Mlm_SPEC>;
8072    impl Mlm {
8073        #[doc = "Overwrite mode"]
8074        pub const _0: Self = Self::new(0);
8075
8076        #[doc = "Overrun mode"]
8077        pub const _1: Self = Self::new(1);
8078    }
8079    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8080    pub struct Tpm_SPEC;
8081    pub type Tpm = crate::EnumBitfieldStruct<u8, Tpm_SPEC>;
8082    impl Tpm {
8083        #[doc = "ID priority transmit mode"]
8084        pub const _0: Self = Self::new(0);
8085
8086        #[doc = "Mailbox number priority transmit mode"]
8087        pub const _1: Self = Self::new(1);
8088    }
8089    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8090    pub struct Tsrc_SPEC;
8091    pub type Tsrc = crate::EnumBitfieldStruct<u8, Tsrc_SPEC>;
8092    impl Tsrc {
8093        #[doc = "Do not reset time stamp counter"]
8094        pub const _0: Self = Self::new(0);
8095
8096        #[doc = "Reset time stamp counter"]
8097        pub const _1: Self = Self::new(1);
8098    }
8099    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8100    pub struct Tsps_SPEC;
8101    pub type Tsps = crate::EnumBitfieldStruct<u8, Tsps_SPEC>;
8102    impl Tsps {
8103        #[doc = "Every 1-bit time"]
8104        pub const _00: Self = Self::new(0);
8105
8106        #[doc = "Every 2-bit time"]
8107        pub const _01: Self = Self::new(1);
8108
8109        #[doc = "Every 4-bit time"]
8110        pub const _10: Self = Self::new(2);
8111
8112        #[doc = "Every 8-bit time"]
8113        pub const _11: Self = Self::new(3);
8114    }
8115    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8116    pub struct Canm_SPEC;
8117    pub type Canm = crate::EnumBitfieldStruct<u8, Canm_SPEC>;
8118    impl Canm {
8119        #[doc = "CAN operation mode"]
8120        pub const _00: Self = Self::new(0);
8121
8122        #[doc = "CAN reset mode"]
8123        pub const _01: Self = Self::new(1);
8124
8125        #[doc = "CAN halt mode"]
8126        pub const _10: Self = Self::new(2);
8127
8128        #[doc = "CAN reset mode (forced transition)"]
8129        pub const _11: Self = Self::new(3);
8130    }
8131    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8132    pub struct Slpm_SPEC;
8133    pub type Slpm = crate::EnumBitfieldStruct<u8, Slpm_SPEC>;
8134    impl Slpm {
8135        #[doc = "All other modes"]
8136        pub const _0: Self = Self::new(0);
8137
8138        #[doc = "CAN sleep mode"]
8139        pub const _1: Self = Self::new(1);
8140    }
8141    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8142    pub struct Bom_SPEC;
8143    pub type Bom = crate::EnumBitfieldStruct<u8, Bom_SPEC>;
8144    impl Bom {
8145        #[doc = "Normal mode (ISO11898-1-compliant)"]
8146        pub const _00: Self = Self::new(0);
8147
8148        #[doc = "Enter CAN halt mode automatically on entering bus-off state"]
8149        pub const _01: Self = Self::new(1);
8150
8151        #[doc = "Enter CAN halt mode automatically at the end of bus-off state"]
8152        pub const _10: Self = Self::new(2);
8153
8154        #[doc = "Enter CAN halt mode during bus-off recovery period through a software request"]
8155        pub const _11: Self = Self::new(3);
8156    }
8157    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8158    pub struct Rboc_SPEC;
8159    pub type Rboc = crate::EnumBitfieldStruct<u8, Rboc_SPEC>;
8160    impl Rboc {
8161        #[doc = "No return occurred"]
8162        pub const _0: Self = Self::new(0);
8163
8164        #[doc = "Forced return from bus-off state"]
8165        pub const _1: Self = Self::new(1);
8166    }
8167}
8168#[doc(hidden)]
8169#[derive(Copy, Clone, Eq, PartialEq)]
8170pub struct Str_SPEC;
8171impl crate::sealed::RegSpec for Str_SPEC {
8172    type DataType = u16;
8173}
8174
8175#[doc = "Status Register"]
8176pub type Str = crate::RegValueT<Str_SPEC>;
8177
8178impl Str {
8179    #[doc = "NEWDATA Status Flag"]
8180    #[inline(always)]
8181    pub fn ndst(
8182        self,
8183    ) -> crate::common::RegisterField<0, 0x1, 1, 0, str::Ndst, str::Ndst, Str_SPEC, crate::common::R>
8184    {
8185        crate::common::RegisterField::<0,0x1,1,0,str::Ndst,str::Ndst,Str_SPEC,crate::common::R>::from_register(self,0)
8186    }
8187
8188    #[doc = "SENTDATA Status Flag"]
8189    #[inline(always)]
8190    pub fn sdst(
8191        self,
8192    ) -> crate::common::RegisterField<1, 0x1, 1, 0, str::Sdst, str::Sdst, Str_SPEC, crate::common::R>
8193    {
8194        crate::common::RegisterField::<1,0x1,1,0,str::Sdst,str::Sdst,Str_SPEC,crate::common::R>::from_register(self,0)
8195    }
8196
8197    #[doc = "Receive FIFO Status Flag"]
8198    #[inline(always)]
8199    pub fn rfst(
8200        self,
8201    ) -> crate::common::RegisterField<2, 0x1, 1, 0, str::Rfst, str::Rfst, Str_SPEC, crate::common::R>
8202    {
8203        crate::common::RegisterField::<2,0x1,1,0,str::Rfst,str::Rfst,Str_SPEC,crate::common::R>::from_register(self,0)
8204    }
8205
8206    #[doc = "Transmit FIFO Status Flag"]
8207    #[inline(always)]
8208    pub fn tfst(
8209        self,
8210    ) -> crate::common::RegisterField<3, 0x1, 1, 0, str::Tfst, str::Tfst, Str_SPEC, crate::common::R>
8211    {
8212        crate::common::RegisterField::<3,0x1,1,0,str::Tfst,str::Tfst,Str_SPEC,crate::common::R>::from_register(self,0)
8213    }
8214
8215    #[doc = "Normal Mailbox Message Lost Status Flag"]
8216    #[inline(always)]
8217    pub fn nmlst(
8218        self,
8219    ) -> crate::common::RegisterField<
8220        4,
8221        0x1,
8222        1,
8223        0,
8224        str::Nmlst,
8225        str::Nmlst,
8226        Str_SPEC,
8227        crate::common::R,
8228    > {
8229        crate::common::RegisterField::<
8230            4,
8231            0x1,
8232            1,
8233            0,
8234            str::Nmlst,
8235            str::Nmlst,
8236            Str_SPEC,
8237            crate::common::R,
8238        >::from_register(self, 0)
8239    }
8240
8241    #[doc = "FIFO Mailbox Message Lost Status Flag"]
8242    #[inline(always)]
8243    pub fn fmlst(
8244        self,
8245    ) -> crate::common::RegisterField<
8246        5,
8247        0x1,
8248        1,
8249        0,
8250        str::Fmlst,
8251        str::Fmlst,
8252        Str_SPEC,
8253        crate::common::R,
8254    > {
8255        crate::common::RegisterField::<
8256            5,
8257            0x1,
8258            1,
8259            0,
8260            str::Fmlst,
8261            str::Fmlst,
8262            Str_SPEC,
8263            crate::common::R,
8264        >::from_register(self, 0)
8265    }
8266
8267    #[doc = "Transmission Abort Status Flag"]
8268    #[inline(always)]
8269    pub fn tabst(
8270        self,
8271    ) -> crate::common::RegisterField<
8272        6,
8273        0x1,
8274        1,
8275        0,
8276        str::Tabst,
8277        str::Tabst,
8278        Str_SPEC,
8279        crate::common::R,
8280    > {
8281        crate::common::RegisterField::<
8282            6,
8283            0x1,
8284            1,
8285            0,
8286            str::Tabst,
8287            str::Tabst,
8288            Str_SPEC,
8289            crate::common::R,
8290        >::from_register(self, 0)
8291    }
8292
8293    #[doc = "Error Status Flag"]
8294    #[inline(always)]
8295    pub fn est(
8296        self,
8297    ) -> crate::common::RegisterField<7, 0x1, 1, 0, str::Est, str::Est, Str_SPEC, crate::common::R>
8298    {
8299        crate::common::RegisterField::<7,0x1,1,0,str::Est,str::Est,Str_SPEC,crate::common::R>::from_register(self,0)
8300    }
8301
8302    #[doc = "CAN Reset Status Flag"]
8303    #[inline(always)]
8304    pub fn rstst(
8305        self,
8306    ) -> crate::common::RegisterField<
8307        8,
8308        0x1,
8309        1,
8310        0,
8311        str::Rstst,
8312        str::Rstst,
8313        Str_SPEC,
8314        crate::common::R,
8315    > {
8316        crate::common::RegisterField::<
8317            8,
8318            0x1,
8319            1,
8320            0,
8321            str::Rstst,
8322            str::Rstst,
8323            Str_SPEC,
8324            crate::common::R,
8325        >::from_register(self, 0)
8326    }
8327
8328    #[doc = "CAN Halt Status Flag"]
8329    #[inline(always)]
8330    pub fn hltst(
8331        self,
8332    ) -> crate::common::RegisterField<
8333        9,
8334        0x1,
8335        1,
8336        0,
8337        str::Hltst,
8338        str::Hltst,
8339        Str_SPEC,
8340        crate::common::R,
8341    > {
8342        crate::common::RegisterField::<
8343            9,
8344            0x1,
8345            1,
8346            0,
8347            str::Hltst,
8348            str::Hltst,
8349            Str_SPEC,
8350            crate::common::R,
8351        >::from_register(self, 0)
8352    }
8353
8354    #[doc = "CAN Sleep Status Flag"]
8355    #[inline(always)]
8356    pub fn slpst(
8357        self,
8358    ) -> crate::common::RegisterField<
8359        10,
8360        0x1,
8361        1,
8362        0,
8363        str::Slpst,
8364        str::Slpst,
8365        Str_SPEC,
8366        crate::common::R,
8367    > {
8368        crate::common::RegisterField::<
8369            10,
8370            0x1,
8371            1,
8372            0,
8373            str::Slpst,
8374            str::Slpst,
8375            Str_SPEC,
8376            crate::common::R,
8377        >::from_register(self, 0)
8378    }
8379
8380    #[doc = "Error-Passive Status Flag"]
8381    #[inline(always)]
8382    pub fn epst(
8383        self,
8384    ) -> crate::common::RegisterField<11, 0x1, 1, 0, str::Epst, str::Epst, Str_SPEC, crate::common::R>
8385    {
8386        crate::common::RegisterField::<
8387            11,
8388            0x1,
8389            1,
8390            0,
8391            str::Epst,
8392            str::Epst,
8393            Str_SPEC,
8394            crate::common::R,
8395        >::from_register(self, 0)
8396    }
8397
8398    #[doc = "Bus-Off Status Flag"]
8399    #[inline(always)]
8400    pub fn bost(
8401        self,
8402    ) -> crate::common::RegisterField<12, 0x1, 1, 0, str::Bost, str::Bost, Str_SPEC, crate::common::R>
8403    {
8404        crate::common::RegisterField::<
8405            12,
8406            0x1,
8407            1,
8408            0,
8409            str::Bost,
8410            str::Bost,
8411            Str_SPEC,
8412            crate::common::R,
8413        >::from_register(self, 0)
8414    }
8415
8416    #[doc = "Transmit Status Flag"]
8417    #[inline(always)]
8418    pub fn trmst(
8419        self,
8420    ) -> crate::common::RegisterField<
8421        13,
8422        0x1,
8423        1,
8424        0,
8425        str::Trmst,
8426        str::Trmst,
8427        Str_SPEC,
8428        crate::common::R,
8429    > {
8430        crate::common::RegisterField::<
8431            13,
8432            0x1,
8433            1,
8434            0,
8435            str::Trmst,
8436            str::Trmst,
8437            Str_SPEC,
8438            crate::common::R,
8439        >::from_register(self, 0)
8440    }
8441
8442    #[doc = "Receive Status Flag"]
8443    #[inline(always)]
8444    pub fn recst(
8445        self,
8446    ) -> crate::common::RegisterField<
8447        14,
8448        0x1,
8449        1,
8450        0,
8451        str::Recst,
8452        str::Recst,
8453        Str_SPEC,
8454        crate::common::R,
8455    > {
8456        crate::common::RegisterField::<
8457            14,
8458            0x1,
8459            1,
8460            0,
8461            str::Recst,
8462            str::Recst,
8463            Str_SPEC,
8464            crate::common::R,
8465        >::from_register(self, 0)
8466    }
8467}
8468impl ::core::default::Default for Str {
8469    #[inline(always)]
8470    fn default() -> Str {
8471        <crate::RegValueT<Str_SPEC> as RegisterValue<_>>::new(1280)
8472    }
8473}
8474pub mod str {
8475
8476    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8477    pub struct Ndst_SPEC;
8478    pub type Ndst = crate::EnumBitfieldStruct<u8, Ndst_SPEC>;
8479    impl Ndst {
8480        #[doc = "No mailbox with NEWDATA = 1"]
8481        pub const _0: Self = Self::new(0);
8482
8483        #[doc = "One or more mailboxes with NEWDATA = 1"]
8484        pub const _1: Self = Self::new(1);
8485    }
8486    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8487    pub struct Sdst_SPEC;
8488    pub type Sdst = crate::EnumBitfieldStruct<u8, Sdst_SPEC>;
8489    impl Sdst {
8490        #[doc = "No mailbox with SENTDATA = 1"]
8491        pub const _0: Self = Self::new(0);
8492
8493        #[doc = "One or more mailboxes with SENTDATA = 1"]
8494        pub const _1: Self = Self::new(1);
8495    }
8496    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8497    pub struct Rfst_SPEC;
8498    pub type Rfst = crate::EnumBitfieldStruct<u8, Rfst_SPEC>;
8499    impl Rfst {
8500        #[doc = "Receive FIFO empty"]
8501        pub const _0: Self = Self::new(0);
8502
8503        #[doc = "Message in receive FIFO"]
8504        pub const _1: Self = Self::new(1);
8505    }
8506    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8507    pub struct Tfst_SPEC;
8508    pub type Tfst = crate::EnumBitfieldStruct<u8, Tfst_SPEC>;
8509    impl Tfst {
8510        #[doc = "Transmit FIFO is full"]
8511        pub const _0: Self = Self::new(0);
8512
8513        #[doc = "Transmit FIFO is not full"]
8514        pub const _1: Self = Self::new(1);
8515    }
8516    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8517    pub struct Nmlst_SPEC;
8518    pub type Nmlst = crate::EnumBitfieldStruct<u8, Nmlst_SPEC>;
8519    impl Nmlst {
8520        #[doc = "No mailbox with MSGLOST = 1"]
8521        pub const _0: Self = Self::new(0);
8522
8523        #[doc = "One or more mailboxes with MSGLOST = 1"]
8524        pub const _1: Self = Self::new(1);
8525    }
8526    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8527    pub struct Fmlst_SPEC;
8528    pub type Fmlst = crate::EnumBitfieldStruct<u8, Fmlst_SPEC>;
8529    impl Fmlst {
8530        #[doc = "RFMLF = 0"]
8531        pub const _0: Self = Self::new(0);
8532
8533        #[doc = "RFMLF = 1"]
8534        pub const _1: Self = Self::new(1);
8535    }
8536    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8537    pub struct Tabst_SPEC;
8538    pub type Tabst = crate::EnumBitfieldStruct<u8, Tabst_SPEC>;
8539    impl Tabst {
8540        #[doc = "No mailbox with TRMABT = 1"]
8541        pub const _0: Self = Self::new(0);
8542
8543        #[doc = "One or more mailboxes with TRMABT = 1"]
8544        pub const _1: Self = Self::new(1);
8545    }
8546    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8547    pub struct Est_SPEC;
8548    pub type Est = crate::EnumBitfieldStruct<u8, Est_SPEC>;
8549    impl Est {
8550        #[doc = "No error occurred"]
8551        pub const _0: Self = Self::new(0);
8552
8553        #[doc = "Error occurred"]
8554        pub const _1: Self = Self::new(1);
8555    }
8556    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8557    pub struct Rstst_SPEC;
8558    pub type Rstst = crate::EnumBitfieldStruct<u8, Rstst_SPEC>;
8559    impl Rstst {
8560        #[doc = "Not in CAN reset mode"]
8561        pub const _0: Self = Self::new(0);
8562
8563        #[doc = "In CAN reset mode"]
8564        pub const _1: Self = Self::new(1);
8565    }
8566    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8567    pub struct Hltst_SPEC;
8568    pub type Hltst = crate::EnumBitfieldStruct<u8, Hltst_SPEC>;
8569    impl Hltst {
8570        #[doc = "Not in CAN halt mode"]
8571        pub const _0: Self = Self::new(0);
8572
8573        #[doc = "In CAN halt mode"]
8574        pub const _1: Self = Self::new(1);
8575    }
8576    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8577    pub struct Slpst_SPEC;
8578    pub type Slpst = crate::EnumBitfieldStruct<u8, Slpst_SPEC>;
8579    impl Slpst {
8580        #[doc = "Not in CAN sleep mode"]
8581        pub const _0: Self = Self::new(0);
8582
8583        #[doc = "In CAN sleep mode"]
8584        pub const _1: Self = Self::new(1);
8585    }
8586    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8587    pub struct Epst_SPEC;
8588    pub type Epst = crate::EnumBitfieldStruct<u8, Epst_SPEC>;
8589    impl Epst {
8590        #[doc = "Not in error-passive state"]
8591        pub const _0: Self = Self::new(0);
8592
8593        #[doc = "In error-passive state"]
8594        pub const _1: Self = Self::new(1);
8595    }
8596    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8597    pub struct Bost_SPEC;
8598    pub type Bost = crate::EnumBitfieldStruct<u8, Bost_SPEC>;
8599    impl Bost {
8600        #[doc = "Not in bus-off state"]
8601        pub const _0: Self = Self::new(0);
8602
8603        #[doc = "In bus-off state"]
8604        pub const _1: Self = Self::new(1);
8605    }
8606    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8607    pub struct Trmst_SPEC;
8608    pub type Trmst = crate::EnumBitfieldStruct<u8, Trmst_SPEC>;
8609    impl Trmst {
8610        #[doc = "Bus idle or reception in progress"]
8611        pub const _0: Self = Self::new(0);
8612
8613        #[doc = "Transmission in progress or module in bus-off state"]
8614        pub const _1: Self = Self::new(1);
8615    }
8616    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8617    pub struct Recst_SPEC;
8618    pub type Recst = crate::EnumBitfieldStruct<u8, Recst_SPEC>;
8619    impl Recst {
8620        #[doc = "Bus idle or transmission in progress"]
8621        pub const _0: Self = Self::new(0);
8622
8623        #[doc = "Reception in progress"]
8624        pub const _1: Self = Self::new(1);
8625    }
8626}
8627#[doc(hidden)]
8628#[derive(Copy, Clone, Eq, PartialEq)]
8629pub struct Bcr_SPEC;
8630impl crate::sealed::RegSpec for Bcr_SPEC {
8631    type DataType = u32;
8632}
8633
8634#[doc = "Bit Configuration Register"]
8635pub type Bcr = crate::RegValueT<Bcr_SPEC>;
8636
8637impl Bcr {
8638    #[doc = "CAN Clock Source Selection"]
8639    #[inline(always)]
8640    pub fn cclks(
8641        self,
8642    ) -> crate::common::RegisterField<
8643        0,
8644        0x1,
8645        1,
8646        0,
8647        bcr::Cclks,
8648        bcr::Cclks,
8649        Bcr_SPEC,
8650        crate::common::RW,
8651    > {
8652        crate::common::RegisterField::<
8653            0,
8654            0x1,
8655            1,
8656            0,
8657            bcr::Cclks,
8658            bcr::Cclks,
8659            Bcr_SPEC,
8660            crate::common::RW,
8661        >::from_register(self, 0)
8662    }
8663
8664    #[doc = "Time Segment 2 Control"]
8665    #[inline(always)]
8666    pub fn tseg2(
8667        self,
8668    ) -> crate::common::RegisterField<
8669        8,
8670        0x7,
8671        1,
8672        0,
8673        bcr::Tseg2,
8674        bcr::Tseg2,
8675        Bcr_SPEC,
8676        crate::common::RW,
8677    > {
8678        crate::common::RegisterField::<
8679            8,
8680            0x7,
8681            1,
8682            0,
8683            bcr::Tseg2,
8684            bcr::Tseg2,
8685            Bcr_SPEC,
8686            crate::common::RW,
8687        >::from_register(self, 0)
8688    }
8689
8690    #[doc = "Synchronization Jump Width Control"]
8691    #[inline(always)]
8692    pub fn sjw(
8693        self,
8694    ) -> crate::common::RegisterField<12, 0x3, 1, 0, bcr::Sjw, bcr::Sjw, Bcr_SPEC, crate::common::RW>
8695    {
8696        crate::common::RegisterField::<12,0x3,1,0,bcr::Sjw,bcr::Sjw,Bcr_SPEC,crate::common::RW>::from_register(self,0)
8697    }
8698
8699    #[doc = "Baud Rate Prescaler Select"]
8700    #[inline(always)]
8701    pub fn brp(
8702        self,
8703    ) -> crate::common::RegisterField<16, 0x3ff, 1, 0, u16, u16, Bcr_SPEC, crate::common::RW> {
8704        crate::common::RegisterField::<16,0x3ff,1,0,u16,u16,Bcr_SPEC,crate::common::RW>::from_register(self,0)
8705    }
8706
8707    #[doc = "Time Segment 1 Control"]
8708    #[inline(always)]
8709    pub fn tseg1(
8710        self,
8711    ) -> crate::common::RegisterField<
8712        28,
8713        0xf,
8714        1,
8715        0,
8716        bcr::Tseg1,
8717        bcr::Tseg1,
8718        Bcr_SPEC,
8719        crate::common::RW,
8720    > {
8721        crate::common::RegisterField::<
8722            28,
8723            0xf,
8724            1,
8725            0,
8726            bcr::Tseg1,
8727            bcr::Tseg1,
8728            Bcr_SPEC,
8729            crate::common::RW,
8730        >::from_register(self, 0)
8731    }
8732}
8733impl ::core::default::Default for Bcr {
8734    #[inline(always)]
8735    fn default() -> Bcr {
8736        <crate::RegValueT<Bcr_SPEC> as RegisterValue<_>>::new(0)
8737    }
8738}
8739pub mod bcr {
8740
8741    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8742    pub struct Cclks_SPEC;
8743    pub type Cclks = crate::EnumBitfieldStruct<u8, Cclks_SPEC>;
8744    impl Cclks {
8745        #[doc = "PCLKB (generated by the PLL clock)"]
8746        pub const _0: Self = Self::new(0);
8747
8748        #[doc = "CANMCLK (generated by the main clock oscillator)"]
8749        pub const _1: Self = Self::new(1);
8750    }
8751    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8752    pub struct Tseg2_SPEC;
8753    pub type Tseg2 = crate::EnumBitfieldStruct<u8, Tseg2_SPEC>;
8754    impl Tseg2 {
8755        #[doc = "Setting prohibited"]
8756        pub const _000: Self = Self::new(0);
8757
8758        #[doc = "2 Tq"]
8759        pub const _001: Self = Self::new(1);
8760
8761        #[doc = "3 Tq"]
8762        pub const _010: Self = Self::new(2);
8763
8764        #[doc = "4 Tq"]
8765        pub const _011: Self = Self::new(3);
8766
8767        #[doc = "5 Tq"]
8768        pub const _100: Self = Self::new(4);
8769
8770        #[doc = "6 Tq"]
8771        pub const _101: Self = Self::new(5);
8772
8773        #[doc = "7 Tq"]
8774        pub const _110: Self = Self::new(6);
8775
8776        #[doc = "8 Tq"]
8777        pub const _111: Self = Self::new(7);
8778    }
8779    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8780    pub struct Sjw_SPEC;
8781    pub type Sjw = crate::EnumBitfieldStruct<u8, Sjw_SPEC>;
8782    impl Sjw {
8783        #[doc = "1 Tq"]
8784        pub const _00: Self = Self::new(0);
8785
8786        #[doc = "2 Tq"]
8787        pub const _01: Self = Self::new(1);
8788
8789        #[doc = "3 Tq"]
8790        pub const _10: Self = Self::new(2);
8791
8792        #[doc = "4 Tq"]
8793        pub const _11: Self = Self::new(3);
8794    }
8795    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8796    pub struct Tseg1_SPEC;
8797    pub type Tseg1 = crate::EnumBitfieldStruct<u8, Tseg1_SPEC>;
8798    impl Tseg1 {
8799        #[doc = "4 Tq"]
8800        pub const _0_X_3: Self = Self::new(3);
8801
8802        #[doc = "5 Tq"]
8803        pub const _0_X_4: Self = Self::new(4);
8804
8805        #[doc = "6 Tq"]
8806        pub const _0_X_5: Self = Self::new(5);
8807
8808        #[doc = "7 Tq"]
8809        pub const _0_X_6: Self = Self::new(6);
8810
8811        #[doc = "8 Tq"]
8812        pub const _0_X_7: Self = Self::new(7);
8813
8814        #[doc = "9 Tq"]
8815        pub const _0_X_8: Self = Self::new(8);
8816
8817        #[doc = "10 Tq"]
8818        pub const _0_X_9: Self = Self::new(9);
8819
8820        #[doc = "11 Tq"]
8821        pub const _0_X_A: Self = Self::new(10);
8822
8823        #[doc = "12 Tq"]
8824        pub const _0_X_B: Self = Self::new(11);
8825
8826        #[doc = "13 Tq"]
8827        pub const _0_X_C: Self = Self::new(12);
8828
8829        #[doc = "14 Tq"]
8830        pub const _0_X_D: Self = Self::new(13);
8831
8832        #[doc = "15 Tq"]
8833        pub const _0_X_E: Self = Self::new(14);
8834
8835        #[doc = "16 Tq"]
8836        pub const _0_X_F: Self = Self::new(15);
8837    }
8838}
8839#[doc(hidden)]
8840#[derive(Copy, Clone, Eq, PartialEq)]
8841pub struct Rfcr_SPEC;
8842impl crate::sealed::RegSpec for Rfcr_SPEC {
8843    type DataType = u8;
8844}
8845
8846#[doc = "Receive FIFO Control Register"]
8847pub type Rfcr = crate::RegValueT<Rfcr_SPEC>;
8848
8849impl Rfcr {
8850    #[doc = "Receive FIFO Enable"]
8851    #[inline(always)]
8852    pub fn rfe(
8853        self,
8854    ) -> crate::common::RegisterField<
8855        0,
8856        0x1,
8857        1,
8858        0,
8859        rfcr::Rfe,
8860        rfcr::Rfe,
8861        Rfcr_SPEC,
8862        crate::common::RW,
8863    > {
8864        crate::common::RegisterField::<
8865            0,
8866            0x1,
8867            1,
8868            0,
8869            rfcr::Rfe,
8870            rfcr::Rfe,
8871            Rfcr_SPEC,
8872            crate::common::RW,
8873        >::from_register(self, 0)
8874    }
8875
8876    #[doc = "Receive FIFO Unread Message Number Status"]
8877    #[inline(always)]
8878    pub fn rfust(
8879        self,
8880    ) -> crate::common::RegisterField<
8881        1,
8882        0x7,
8883        1,
8884        0,
8885        rfcr::Rfust,
8886        rfcr::Rfust,
8887        Rfcr_SPEC,
8888        crate::common::R,
8889    > {
8890        crate::common::RegisterField::<
8891            1,
8892            0x7,
8893            1,
8894            0,
8895            rfcr::Rfust,
8896            rfcr::Rfust,
8897            Rfcr_SPEC,
8898            crate::common::R,
8899        >::from_register(self, 0)
8900    }
8901
8902    #[doc = "Receive FIFO Message Lost Flag"]
8903    #[inline(always)]
8904    pub fn rfmlf(
8905        self,
8906    ) -> crate::common::RegisterField<
8907        4,
8908        0x1,
8909        1,
8910        0,
8911        rfcr::Rfmlf,
8912        rfcr::Rfmlf,
8913        Rfcr_SPEC,
8914        crate::common::RW,
8915    > {
8916        crate::common::RegisterField::<
8917            4,
8918            0x1,
8919            1,
8920            0,
8921            rfcr::Rfmlf,
8922            rfcr::Rfmlf,
8923            Rfcr_SPEC,
8924            crate::common::RW,
8925        >::from_register(self, 0)
8926    }
8927
8928    #[doc = "Receive FIFO Full Status Flag"]
8929    #[inline(always)]
8930    pub fn rffst(
8931        self,
8932    ) -> crate::common::RegisterField<
8933        5,
8934        0x1,
8935        1,
8936        0,
8937        rfcr::Rffst,
8938        rfcr::Rffst,
8939        Rfcr_SPEC,
8940        crate::common::R,
8941    > {
8942        crate::common::RegisterField::<
8943            5,
8944            0x1,
8945            1,
8946            0,
8947            rfcr::Rffst,
8948            rfcr::Rffst,
8949            Rfcr_SPEC,
8950            crate::common::R,
8951        >::from_register(self, 0)
8952    }
8953
8954    #[doc = "Receive FIFO Buffer Warning Status Flag"]
8955    #[inline(always)]
8956    pub fn rfwst(
8957        self,
8958    ) -> crate::common::RegisterField<
8959        6,
8960        0x1,
8961        1,
8962        0,
8963        rfcr::Rfwst,
8964        rfcr::Rfwst,
8965        Rfcr_SPEC,
8966        crate::common::R,
8967    > {
8968        crate::common::RegisterField::<
8969            6,
8970            0x1,
8971            1,
8972            0,
8973            rfcr::Rfwst,
8974            rfcr::Rfwst,
8975            Rfcr_SPEC,
8976            crate::common::R,
8977        >::from_register(self, 0)
8978    }
8979
8980    #[doc = "Receive FIFO Empty Status Flag"]
8981    #[inline(always)]
8982    pub fn rfest(
8983        self,
8984    ) -> crate::common::RegisterField<
8985        7,
8986        0x1,
8987        1,
8988        0,
8989        rfcr::Rfest,
8990        rfcr::Rfest,
8991        Rfcr_SPEC,
8992        crate::common::R,
8993    > {
8994        crate::common::RegisterField::<
8995            7,
8996            0x1,
8997            1,
8998            0,
8999            rfcr::Rfest,
9000            rfcr::Rfest,
9001            Rfcr_SPEC,
9002            crate::common::R,
9003        >::from_register(self, 0)
9004    }
9005}
9006impl ::core::default::Default for Rfcr {
9007    #[inline(always)]
9008    fn default() -> Rfcr {
9009        <crate::RegValueT<Rfcr_SPEC> as RegisterValue<_>>::new(128)
9010    }
9011}
9012pub mod rfcr {
9013
9014    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9015    pub struct Rfe_SPEC;
9016    pub type Rfe = crate::EnumBitfieldStruct<u8, Rfe_SPEC>;
9017    impl Rfe {
9018        #[doc = "Disable receive FIFO"]
9019        pub const _0: Self = Self::new(0);
9020
9021        #[doc = "Enable receive FIFO"]
9022        pub const _1: Self = Self::new(1);
9023    }
9024    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9025    pub struct Rfust_SPEC;
9026    pub type Rfust = crate::EnumBitfieldStruct<u8, Rfust_SPEC>;
9027    impl Rfust {
9028        #[doc = "No unread message"]
9029        pub const _000: Self = Self::new(0);
9030
9031        #[doc = "1 unread message"]
9032        pub const _001: Self = Self::new(1);
9033
9034        #[doc = "2 unread messages"]
9035        pub const _010: Self = Self::new(2);
9036
9037        #[doc = "3 unread messages"]
9038        pub const _011: Self = Self::new(3);
9039
9040        #[doc = "4 unread messages"]
9041        pub const _100: Self = Self::new(4);
9042
9043        #[doc = "Reserved"]
9044        pub const _101: Self = Self::new(5);
9045
9046        #[doc = "Reserved"]
9047        pub const _110: Self = Self::new(6);
9048
9049        #[doc = "Reserved"]
9050        pub const _111: Self = Self::new(7);
9051    }
9052    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9053    pub struct Rfmlf_SPEC;
9054    pub type Rfmlf = crate::EnumBitfieldStruct<u8, Rfmlf_SPEC>;
9055    impl Rfmlf {
9056        #[doc = "Receive FIFO message not lost"]
9057        pub const _0: Self = Self::new(0);
9058
9059        #[doc = "Receive FIFO message lost"]
9060        pub const _1: Self = Self::new(1);
9061    }
9062    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9063    pub struct Rffst_SPEC;
9064    pub type Rffst = crate::EnumBitfieldStruct<u8, Rffst_SPEC>;
9065    impl Rffst {
9066        #[doc = "Receive FIFO not full"]
9067        pub const _0: Self = Self::new(0);
9068
9069        #[doc = "Receive FIFO full (4 unread messages)"]
9070        pub const _1: Self = Self::new(1);
9071    }
9072    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9073    pub struct Rfwst_SPEC;
9074    pub type Rfwst = crate::EnumBitfieldStruct<u8, Rfwst_SPEC>;
9075    impl Rfwst {
9076        #[doc = "Receive FIFO is not buffer warning"]
9077        pub const _0: Self = Self::new(0);
9078
9079        #[doc = "Receive FIFO is buffer warning (3 unread messages)"]
9080        pub const _1: Self = Self::new(1);
9081    }
9082    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9083    pub struct Rfest_SPEC;
9084    pub type Rfest = crate::EnumBitfieldStruct<u8, Rfest_SPEC>;
9085    impl Rfest {
9086        #[doc = "Unread message in receive FIFO"]
9087        pub const _0: Self = Self::new(0);
9088
9089        #[doc = "No unread message in receive FIFO"]
9090        pub const _1: Self = Self::new(1);
9091    }
9092}
9093#[doc(hidden)]
9094#[derive(Copy, Clone, Eq, PartialEq)]
9095pub struct Rfpcr_SPEC;
9096impl crate::sealed::RegSpec for Rfpcr_SPEC {
9097    type DataType = u8;
9098}
9099
9100#[doc = "Receive FIFO Pointer Control Register"]
9101pub type Rfpcr = crate::RegValueT<Rfpcr_SPEC>;
9102
9103impl NoBitfieldReg<Rfpcr_SPEC> for Rfpcr {}
9104impl ::core::default::Default for Rfpcr {
9105    #[inline(always)]
9106    fn default() -> Rfpcr {
9107        <crate::RegValueT<Rfpcr_SPEC> as RegisterValue<_>>::new(0)
9108    }
9109}
9110
9111#[doc(hidden)]
9112#[derive(Copy, Clone, Eq, PartialEq)]
9113pub struct Tfcr_SPEC;
9114impl crate::sealed::RegSpec for Tfcr_SPEC {
9115    type DataType = u8;
9116}
9117
9118#[doc = "Transmit FIFO Control Register"]
9119pub type Tfcr = crate::RegValueT<Tfcr_SPEC>;
9120
9121impl Tfcr {
9122    #[doc = "Transmit FIFO Enable"]
9123    #[inline(always)]
9124    pub fn tfe(
9125        self,
9126    ) -> crate::common::RegisterField<
9127        0,
9128        0x1,
9129        1,
9130        0,
9131        tfcr::Tfe,
9132        tfcr::Tfe,
9133        Tfcr_SPEC,
9134        crate::common::RW,
9135    > {
9136        crate::common::RegisterField::<
9137            0,
9138            0x1,
9139            1,
9140            0,
9141            tfcr::Tfe,
9142            tfcr::Tfe,
9143            Tfcr_SPEC,
9144            crate::common::RW,
9145        >::from_register(self, 0)
9146    }
9147
9148    #[doc = "Transmit FIFO Unsent Message Number Status"]
9149    #[inline(always)]
9150    pub fn tfust(
9151        self,
9152    ) -> crate::common::RegisterField<
9153        1,
9154        0x7,
9155        1,
9156        0,
9157        tfcr::Tfust,
9158        tfcr::Tfust,
9159        Tfcr_SPEC,
9160        crate::common::R,
9161    > {
9162        crate::common::RegisterField::<
9163            1,
9164            0x7,
9165            1,
9166            0,
9167            tfcr::Tfust,
9168            tfcr::Tfust,
9169            Tfcr_SPEC,
9170            crate::common::R,
9171        >::from_register(self, 0)
9172    }
9173
9174    #[doc = "Transmit FIFO Full Status"]
9175    #[inline(always)]
9176    pub fn tffst(
9177        self,
9178    ) -> crate::common::RegisterField<
9179        6,
9180        0x1,
9181        1,
9182        0,
9183        tfcr::Tffst,
9184        tfcr::Tffst,
9185        Tfcr_SPEC,
9186        crate::common::R,
9187    > {
9188        crate::common::RegisterField::<
9189            6,
9190            0x1,
9191            1,
9192            0,
9193            tfcr::Tffst,
9194            tfcr::Tffst,
9195            Tfcr_SPEC,
9196            crate::common::R,
9197        >::from_register(self, 0)
9198    }
9199
9200    #[doc = "Transmit FIFO Empty Status"]
9201    #[inline(always)]
9202    pub fn tfest(
9203        self,
9204    ) -> crate::common::RegisterField<
9205        7,
9206        0x1,
9207        1,
9208        0,
9209        tfcr::Tfest,
9210        tfcr::Tfest,
9211        Tfcr_SPEC,
9212        crate::common::R,
9213    > {
9214        crate::common::RegisterField::<
9215            7,
9216            0x1,
9217            1,
9218            0,
9219            tfcr::Tfest,
9220            tfcr::Tfest,
9221            Tfcr_SPEC,
9222            crate::common::R,
9223        >::from_register(self, 0)
9224    }
9225}
9226impl ::core::default::Default for Tfcr {
9227    #[inline(always)]
9228    fn default() -> Tfcr {
9229        <crate::RegValueT<Tfcr_SPEC> as RegisterValue<_>>::new(128)
9230    }
9231}
9232pub mod tfcr {
9233
9234    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9235    pub struct Tfe_SPEC;
9236    pub type Tfe = crate::EnumBitfieldStruct<u8, Tfe_SPEC>;
9237    impl Tfe {
9238        #[doc = "Disable transmit FIFO"]
9239        pub const _0: Self = Self::new(0);
9240
9241        #[doc = "Enable transmit FIFO"]
9242        pub const _1: Self = Self::new(1);
9243    }
9244    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9245    pub struct Tfust_SPEC;
9246    pub type Tfust = crate::EnumBitfieldStruct<u8, Tfust_SPEC>;
9247    impl Tfust {
9248        #[doc = "0 unsent messages"]
9249        pub const _000: Self = Self::new(0);
9250
9251        #[doc = "1 unsent message"]
9252        pub const _001: Self = Self::new(1);
9253
9254        #[doc = "2 unsent messages"]
9255        pub const _010: Self = Self::new(2);
9256
9257        #[doc = "3 unread messages"]
9258        pub const _011: Self = Self::new(3);
9259
9260        #[doc = "4 unread messages"]
9261        pub const _100: Self = Self::new(4);
9262
9263        #[doc = "Reserved"]
9264        pub const _101: Self = Self::new(5);
9265
9266        #[doc = "Reserved"]
9267        pub const _110: Self = Self::new(6);
9268
9269        #[doc = "Reserved"]
9270        pub const _111: Self = Self::new(7);
9271    }
9272    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9273    pub struct Tffst_SPEC;
9274    pub type Tffst = crate::EnumBitfieldStruct<u8, Tffst_SPEC>;
9275    impl Tffst {
9276        #[doc = "Transmit FIFO not full"]
9277        pub const _0: Self = Self::new(0);
9278
9279        #[doc = "Transmit FIFO full (4 unsent messages)"]
9280        pub const _1: Self = Self::new(1);
9281    }
9282    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9283    pub struct Tfest_SPEC;
9284    pub type Tfest = crate::EnumBitfieldStruct<u8, Tfest_SPEC>;
9285    impl Tfest {
9286        #[doc = "Unsent message in transmit FIFO"]
9287        pub const _0: Self = Self::new(0);
9288
9289        #[doc = "No unsent message in transmit FIFO"]
9290        pub const _1: Self = Self::new(1);
9291    }
9292}
9293#[doc(hidden)]
9294#[derive(Copy, Clone, Eq, PartialEq)]
9295pub struct Tfpcr_SPEC;
9296impl crate::sealed::RegSpec for Tfpcr_SPEC {
9297    type DataType = u8;
9298}
9299
9300#[doc = "Transmit FIFO Pointer Control Register"]
9301pub type Tfpcr = crate::RegValueT<Tfpcr_SPEC>;
9302
9303impl NoBitfieldReg<Tfpcr_SPEC> for Tfpcr {}
9304impl ::core::default::Default for Tfpcr {
9305    #[inline(always)]
9306    fn default() -> Tfpcr {
9307        <crate::RegValueT<Tfpcr_SPEC> as RegisterValue<_>>::new(0)
9308    }
9309}
9310
9311#[doc(hidden)]
9312#[derive(Copy, Clone, Eq, PartialEq)]
9313pub struct Eier_SPEC;
9314impl crate::sealed::RegSpec for Eier_SPEC {
9315    type DataType = u8;
9316}
9317
9318#[doc = "Error Interrupt Enable Register"]
9319pub type Eier = crate::RegValueT<Eier_SPEC>;
9320
9321impl Eier {
9322    #[doc = "Bus Error Interrupt Enable"]
9323    #[inline(always)]
9324    pub fn beie(
9325        self,
9326    ) -> crate::common::RegisterField<
9327        0,
9328        0x1,
9329        1,
9330        0,
9331        eier::Beie,
9332        eier::Beie,
9333        Eier_SPEC,
9334        crate::common::RW,
9335    > {
9336        crate::common::RegisterField::<
9337            0,
9338            0x1,
9339            1,
9340            0,
9341            eier::Beie,
9342            eier::Beie,
9343            Eier_SPEC,
9344            crate::common::RW,
9345        >::from_register(self, 0)
9346    }
9347
9348    #[doc = "Error-Warning Interrupt Enable"]
9349    #[inline(always)]
9350    pub fn ewie(
9351        self,
9352    ) -> crate::common::RegisterField<
9353        1,
9354        0x1,
9355        1,
9356        0,
9357        eier::Ewie,
9358        eier::Ewie,
9359        Eier_SPEC,
9360        crate::common::RW,
9361    > {
9362        crate::common::RegisterField::<
9363            1,
9364            0x1,
9365            1,
9366            0,
9367            eier::Ewie,
9368            eier::Ewie,
9369            Eier_SPEC,
9370            crate::common::RW,
9371        >::from_register(self, 0)
9372    }
9373
9374    #[doc = "Error-Passive Interrupt Enable"]
9375    #[inline(always)]
9376    pub fn epie(
9377        self,
9378    ) -> crate::common::RegisterField<
9379        2,
9380        0x1,
9381        1,
9382        0,
9383        eier::Epie,
9384        eier::Epie,
9385        Eier_SPEC,
9386        crate::common::RW,
9387    > {
9388        crate::common::RegisterField::<
9389            2,
9390            0x1,
9391            1,
9392            0,
9393            eier::Epie,
9394            eier::Epie,
9395            Eier_SPEC,
9396            crate::common::RW,
9397        >::from_register(self, 0)
9398    }
9399
9400    #[doc = "Bus-Off Entry Interrupt Enable"]
9401    #[inline(always)]
9402    pub fn boeie(
9403        self,
9404    ) -> crate::common::RegisterField<
9405        3,
9406        0x1,
9407        1,
9408        0,
9409        eier::Boeie,
9410        eier::Boeie,
9411        Eier_SPEC,
9412        crate::common::RW,
9413    > {
9414        crate::common::RegisterField::<
9415            3,
9416            0x1,
9417            1,
9418            0,
9419            eier::Boeie,
9420            eier::Boeie,
9421            Eier_SPEC,
9422            crate::common::RW,
9423        >::from_register(self, 0)
9424    }
9425
9426    #[doc = "Bus-Off Recovery Interrupt Enable"]
9427    #[inline(always)]
9428    pub fn borie(
9429        self,
9430    ) -> crate::common::RegisterField<
9431        4,
9432        0x1,
9433        1,
9434        0,
9435        eier::Borie,
9436        eier::Borie,
9437        Eier_SPEC,
9438        crate::common::RW,
9439    > {
9440        crate::common::RegisterField::<
9441            4,
9442            0x1,
9443            1,
9444            0,
9445            eier::Borie,
9446            eier::Borie,
9447            Eier_SPEC,
9448            crate::common::RW,
9449        >::from_register(self, 0)
9450    }
9451
9452    #[doc = "Overrun Interrupt Enable"]
9453    #[inline(always)]
9454    pub fn orie(
9455        self,
9456    ) -> crate::common::RegisterField<
9457        5,
9458        0x1,
9459        1,
9460        0,
9461        eier::Orie,
9462        eier::Orie,
9463        Eier_SPEC,
9464        crate::common::RW,
9465    > {
9466        crate::common::RegisterField::<
9467            5,
9468            0x1,
9469            1,
9470            0,
9471            eier::Orie,
9472            eier::Orie,
9473            Eier_SPEC,
9474            crate::common::RW,
9475        >::from_register(self, 0)
9476    }
9477
9478    #[doc = "Overload Frame Transmit Interrupt Enable"]
9479    #[inline(always)]
9480    pub fn olie(
9481        self,
9482    ) -> crate::common::RegisterField<
9483        6,
9484        0x1,
9485        1,
9486        0,
9487        eier::Olie,
9488        eier::Olie,
9489        Eier_SPEC,
9490        crate::common::RW,
9491    > {
9492        crate::common::RegisterField::<
9493            6,
9494            0x1,
9495            1,
9496            0,
9497            eier::Olie,
9498            eier::Olie,
9499            Eier_SPEC,
9500            crate::common::RW,
9501        >::from_register(self, 0)
9502    }
9503
9504    #[doc = "Bus Lock Interrupt Enable"]
9505    #[inline(always)]
9506    pub fn blie(
9507        self,
9508    ) -> crate::common::RegisterField<
9509        7,
9510        0x1,
9511        1,
9512        0,
9513        eier::Blie,
9514        eier::Blie,
9515        Eier_SPEC,
9516        crate::common::RW,
9517    > {
9518        crate::common::RegisterField::<
9519            7,
9520            0x1,
9521            1,
9522            0,
9523            eier::Blie,
9524            eier::Blie,
9525            Eier_SPEC,
9526            crate::common::RW,
9527        >::from_register(self, 0)
9528    }
9529}
9530impl ::core::default::Default for Eier {
9531    #[inline(always)]
9532    fn default() -> Eier {
9533        <crate::RegValueT<Eier_SPEC> as RegisterValue<_>>::new(0)
9534    }
9535}
9536pub mod eier {
9537
9538    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9539    pub struct Beie_SPEC;
9540    pub type Beie = crate::EnumBitfieldStruct<u8, Beie_SPEC>;
9541    impl Beie {
9542        #[doc = "Disable interrupt"]
9543        pub const _0: Self = Self::new(0);
9544
9545        #[doc = "Enable interrupt"]
9546        pub const _1: Self = Self::new(1);
9547    }
9548    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9549    pub struct Ewie_SPEC;
9550    pub type Ewie = crate::EnumBitfieldStruct<u8, Ewie_SPEC>;
9551    impl Ewie {
9552        #[doc = "Disable interrupt"]
9553        pub const _0: Self = Self::new(0);
9554
9555        #[doc = "Enable interrupt"]
9556        pub const _1: Self = Self::new(1);
9557    }
9558    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9559    pub struct Epie_SPEC;
9560    pub type Epie = crate::EnumBitfieldStruct<u8, Epie_SPEC>;
9561    impl Epie {
9562        #[doc = "Disable interrupt"]
9563        pub const _0: Self = Self::new(0);
9564
9565        #[doc = "Enable interrupt"]
9566        pub const _1: Self = Self::new(1);
9567    }
9568    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9569    pub struct Boeie_SPEC;
9570    pub type Boeie = crate::EnumBitfieldStruct<u8, Boeie_SPEC>;
9571    impl Boeie {
9572        #[doc = "Disable interrupt"]
9573        pub const _0: Self = Self::new(0);
9574
9575        #[doc = "Enable interrupt"]
9576        pub const _1: Self = Self::new(1);
9577    }
9578    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9579    pub struct Borie_SPEC;
9580    pub type Borie = crate::EnumBitfieldStruct<u8, Borie_SPEC>;
9581    impl Borie {
9582        #[doc = "Disable interrupt"]
9583        pub const _0: Self = Self::new(0);
9584
9585        #[doc = "Enable interrupt"]
9586        pub const _1: Self = Self::new(1);
9587    }
9588    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9589    pub struct Orie_SPEC;
9590    pub type Orie = crate::EnumBitfieldStruct<u8, Orie_SPEC>;
9591    impl Orie {
9592        #[doc = "Disable interrupt"]
9593        pub const _0: Self = Self::new(0);
9594
9595        #[doc = "Enable interrupt"]
9596        pub const _1: Self = Self::new(1);
9597    }
9598    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9599    pub struct Olie_SPEC;
9600    pub type Olie = crate::EnumBitfieldStruct<u8, Olie_SPEC>;
9601    impl Olie {
9602        #[doc = "Disable interrupt"]
9603        pub const _0: Self = Self::new(0);
9604
9605        #[doc = "Enable interrupt"]
9606        pub const _1: Self = Self::new(1);
9607    }
9608    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9609    pub struct Blie_SPEC;
9610    pub type Blie = crate::EnumBitfieldStruct<u8, Blie_SPEC>;
9611    impl Blie {
9612        #[doc = "Disable interrupt"]
9613        pub const _0: Self = Self::new(0);
9614
9615        #[doc = "Enable interrupt"]
9616        pub const _1: Self = Self::new(1);
9617    }
9618}
9619#[doc(hidden)]
9620#[derive(Copy, Clone, Eq, PartialEq)]
9621pub struct Eifr_SPEC;
9622impl crate::sealed::RegSpec for Eifr_SPEC {
9623    type DataType = u8;
9624}
9625
9626#[doc = "Error Interrupt Factor Judge Register"]
9627pub type Eifr = crate::RegValueT<Eifr_SPEC>;
9628
9629impl Eifr {
9630    #[doc = "Bus Error Detect Flag"]
9631    #[inline(always)]
9632    pub fn beif(
9633        self,
9634    ) -> crate::common::RegisterField<
9635        0,
9636        0x1,
9637        1,
9638        0,
9639        eifr::Beif,
9640        eifr::Beif,
9641        Eifr_SPEC,
9642        crate::common::RW,
9643    > {
9644        crate::common::RegisterField::<
9645            0,
9646            0x1,
9647            1,
9648            0,
9649            eifr::Beif,
9650            eifr::Beif,
9651            Eifr_SPEC,
9652            crate::common::RW,
9653        >::from_register(self, 0)
9654    }
9655
9656    #[doc = "Error-Warning Detect Flag"]
9657    #[inline(always)]
9658    pub fn ewif(
9659        self,
9660    ) -> crate::common::RegisterField<
9661        1,
9662        0x1,
9663        1,
9664        0,
9665        eifr::Ewif,
9666        eifr::Ewif,
9667        Eifr_SPEC,
9668        crate::common::RW,
9669    > {
9670        crate::common::RegisterField::<
9671            1,
9672            0x1,
9673            1,
9674            0,
9675            eifr::Ewif,
9676            eifr::Ewif,
9677            Eifr_SPEC,
9678            crate::common::RW,
9679        >::from_register(self, 0)
9680    }
9681
9682    #[doc = "Error-Passive Detect Flag"]
9683    #[inline(always)]
9684    pub fn epif(
9685        self,
9686    ) -> crate::common::RegisterField<
9687        2,
9688        0x1,
9689        1,
9690        0,
9691        eifr::Epif,
9692        eifr::Epif,
9693        Eifr_SPEC,
9694        crate::common::RW,
9695    > {
9696        crate::common::RegisterField::<
9697            2,
9698            0x1,
9699            1,
9700            0,
9701            eifr::Epif,
9702            eifr::Epif,
9703            Eifr_SPEC,
9704            crate::common::RW,
9705        >::from_register(self, 0)
9706    }
9707
9708    #[doc = "Bus-Off Entry Detect Flag"]
9709    #[inline(always)]
9710    pub fn boeif(
9711        self,
9712    ) -> crate::common::RegisterField<
9713        3,
9714        0x1,
9715        1,
9716        0,
9717        eifr::Boeif,
9718        eifr::Boeif,
9719        Eifr_SPEC,
9720        crate::common::RW,
9721    > {
9722        crate::common::RegisterField::<
9723            3,
9724            0x1,
9725            1,
9726            0,
9727            eifr::Boeif,
9728            eifr::Boeif,
9729            Eifr_SPEC,
9730            crate::common::RW,
9731        >::from_register(self, 0)
9732    }
9733
9734    #[doc = "Bus-Off Recovery Detect Flag"]
9735    #[inline(always)]
9736    pub fn borif(
9737        self,
9738    ) -> crate::common::RegisterField<
9739        4,
9740        0x1,
9741        1,
9742        0,
9743        eifr::Borif,
9744        eifr::Borif,
9745        Eifr_SPEC,
9746        crate::common::RW,
9747    > {
9748        crate::common::RegisterField::<
9749            4,
9750            0x1,
9751            1,
9752            0,
9753            eifr::Borif,
9754            eifr::Borif,
9755            Eifr_SPEC,
9756            crate::common::RW,
9757        >::from_register(self, 0)
9758    }
9759
9760    #[doc = "Receive Overrun Detect Flag"]
9761    #[inline(always)]
9762    pub fn orif(
9763        self,
9764    ) -> crate::common::RegisterField<
9765        5,
9766        0x1,
9767        1,
9768        0,
9769        eifr::Orif,
9770        eifr::Orif,
9771        Eifr_SPEC,
9772        crate::common::RW,
9773    > {
9774        crate::common::RegisterField::<
9775            5,
9776            0x1,
9777            1,
9778            0,
9779            eifr::Orif,
9780            eifr::Orif,
9781            Eifr_SPEC,
9782            crate::common::RW,
9783        >::from_register(self, 0)
9784    }
9785
9786    #[doc = "Overload Frame Transmission Detect Flag"]
9787    #[inline(always)]
9788    pub fn olif(
9789        self,
9790    ) -> crate::common::RegisterField<
9791        6,
9792        0x1,
9793        1,
9794        0,
9795        eifr::Olif,
9796        eifr::Olif,
9797        Eifr_SPEC,
9798        crate::common::RW,
9799    > {
9800        crate::common::RegisterField::<
9801            6,
9802            0x1,
9803            1,
9804            0,
9805            eifr::Olif,
9806            eifr::Olif,
9807            Eifr_SPEC,
9808            crate::common::RW,
9809        >::from_register(self, 0)
9810    }
9811
9812    #[doc = "Bus Lock Detect Flag"]
9813    #[inline(always)]
9814    pub fn blif(
9815        self,
9816    ) -> crate::common::RegisterField<
9817        7,
9818        0x1,
9819        1,
9820        0,
9821        eifr::Blif,
9822        eifr::Blif,
9823        Eifr_SPEC,
9824        crate::common::RW,
9825    > {
9826        crate::common::RegisterField::<
9827            7,
9828            0x1,
9829            1,
9830            0,
9831            eifr::Blif,
9832            eifr::Blif,
9833            Eifr_SPEC,
9834            crate::common::RW,
9835        >::from_register(self, 0)
9836    }
9837}
9838impl ::core::default::Default for Eifr {
9839    #[inline(always)]
9840    fn default() -> Eifr {
9841        <crate::RegValueT<Eifr_SPEC> as RegisterValue<_>>::new(0)
9842    }
9843}
9844pub mod eifr {
9845
9846    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9847    pub struct Beif_SPEC;
9848    pub type Beif = crate::EnumBitfieldStruct<u8, Beif_SPEC>;
9849    impl Beif {
9850        #[doc = "No bus error detected"]
9851        pub const _0: Self = Self::new(0);
9852
9853        #[doc = "Bus error detected"]
9854        pub const _1: Self = Self::new(1);
9855    }
9856    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9857    pub struct Ewif_SPEC;
9858    pub type Ewif = crate::EnumBitfieldStruct<u8, Ewif_SPEC>;
9859    impl Ewif {
9860        #[doc = "No error-warning detected"]
9861        pub const _0: Self = Self::new(0);
9862
9863        #[doc = "Error-warning detected"]
9864        pub const _1: Self = Self::new(1);
9865    }
9866    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9867    pub struct Epif_SPEC;
9868    pub type Epif = crate::EnumBitfieldStruct<u8, Epif_SPEC>;
9869    impl Epif {
9870        #[doc = "No error-passive detected"]
9871        pub const _0: Self = Self::new(0);
9872
9873        #[doc = "Error-passive detected"]
9874        pub const _1: Self = Self::new(1);
9875    }
9876    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9877    pub struct Boeif_SPEC;
9878    pub type Boeif = crate::EnumBitfieldStruct<u8, Boeif_SPEC>;
9879    impl Boeif {
9880        #[doc = "No bus-off entry detected"]
9881        pub const _0: Self = Self::new(0);
9882
9883        #[doc = "Bus-off entry detected"]
9884        pub const _1: Self = Self::new(1);
9885    }
9886    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9887    pub struct Borif_SPEC;
9888    pub type Borif = crate::EnumBitfieldStruct<u8, Borif_SPEC>;
9889    impl Borif {
9890        #[doc = "No bus-off recovery detected"]
9891        pub const _0: Self = Self::new(0);
9892
9893        #[doc = "Bus-off recovery detected"]
9894        pub const _1: Self = Self::new(1);
9895    }
9896    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9897    pub struct Orif_SPEC;
9898    pub type Orif = crate::EnumBitfieldStruct<u8, Orif_SPEC>;
9899    impl Orif {
9900        #[doc = "No receive overrun detected"]
9901        pub const _0: Self = Self::new(0);
9902
9903        #[doc = "Receive overrun detected"]
9904        pub const _1: Self = Self::new(1);
9905    }
9906    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9907    pub struct Olif_SPEC;
9908    pub type Olif = crate::EnumBitfieldStruct<u8, Olif_SPEC>;
9909    impl Olif {
9910        #[doc = "No overload frame transmission detected"]
9911        pub const _0: Self = Self::new(0);
9912
9913        #[doc = "Overload frame transmission detected"]
9914        pub const _1: Self = Self::new(1);
9915    }
9916    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9917    pub struct Blif_SPEC;
9918    pub type Blif = crate::EnumBitfieldStruct<u8, Blif_SPEC>;
9919    impl Blif {
9920        #[doc = "No bus lock detected"]
9921        pub const _0: Self = Self::new(0);
9922
9923        #[doc = "Bus lock detected"]
9924        pub const _1: Self = Self::new(1);
9925    }
9926}
9927#[doc(hidden)]
9928#[derive(Copy, Clone, Eq, PartialEq)]
9929pub struct Recr_SPEC;
9930impl crate::sealed::RegSpec for Recr_SPEC {
9931    type DataType = u8;
9932}
9933
9934#[doc = "Receive Error Count Register"]
9935pub type Recr = crate::RegValueT<Recr_SPEC>;
9936
9937impl NoBitfieldReg<Recr_SPEC> for Recr {}
9938impl ::core::default::Default for Recr {
9939    #[inline(always)]
9940    fn default() -> Recr {
9941        <crate::RegValueT<Recr_SPEC> as RegisterValue<_>>::new(0)
9942    }
9943}
9944
9945#[doc(hidden)]
9946#[derive(Copy, Clone, Eq, PartialEq)]
9947pub struct Tecr_SPEC;
9948impl crate::sealed::RegSpec for Tecr_SPEC {
9949    type DataType = u8;
9950}
9951
9952#[doc = "Transmit Error Count Register"]
9953pub type Tecr = crate::RegValueT<Tecr_SPEC>;
9954
9955impl NoBitfieldReg<Tecr_SPEC> for Tecr {}
9956impl ::core::default::Default for Tecr {
9957    #[inline(always)]
9958    fn default() -> Tecr {
9959        <crate::RegValueT<Tecr_SPEC> as RegisterValue<_>>::new(0)
9960    }
9961}
9962
9963#[doc(hidden)]
9964#[derive(Copy, Clone, Eq, PartialEq)]
9965pub struct Ecsr_SPEC;
9966impl crate::sealed::RegSpec for Ecsr_SPEC {
9967    type DataType = u8;
9968}
9969
9970#[doc = "Error Code Store Register"]
9971pub type Ecsr = crate::RegValueT<Ecsr_SPEC>;
9972
9973impl Ecsr {
9974    #[doc = "Stuff Error Flag"]
9975    #[inline(always)]
9976    pub fn sef(
9977        self,
9978    ) -> crate::common::RegisterField<
9979        0,
9980        0x1,
9981        1,
9982        0,
9983        ecsr::Sef,
9984        ecsr::Sef,
9985        Ecsr_SPEC,
9986        crate::common::RW,
9987    > {
9988        crate::common::RegisterField::<
9989            0,
9990            0x1,
9991            1,
9992            0,
9993            ecsr::Sef,
9994            ecsr::Sef,
9995            Ecsr_SPEC,
9996            crate::common::RW,
9997        >::from_register(self, 0)
9998    }
9999
10000    #[doc = "Form Error Flag"]
10001    #[inline(always)]
10002    pub fn fef(
10003        self,
10004    ) -> crate::common::RegisterField<
10005        1,
10006        0x1,
10007        1,
10008        0,
10009        ecsr::Fef,
10010        ecsr::Fef,
10011        Ecsr_SPEC,
10012        crate::common::RW,
10013    > {
10014        crate::common::RegisterField::<
10015            1,
10016            0x1,
10017            1,
10018            0,
10019            ecsr::Fef,
10020            ecsr::Fef,
10021            Ecsr_SPEC,
10022            crate::common::RW,
10023        >::from_register(self, 0)
10024    }
10025
10026    #[doc = "ACK Error Flag"]
10027    #[inline(always)]
10028    pub fn aef(
10029        self,
10030    ) -> crate::common::RegisterField<
10031        2,
10032        0x1,
10033        1,
10034        0,
10035        ecsr::Aef,
10036        ecsr::Aef,
10037        Ecsr_SPEC,
10038        crate::common::RW,
10039    > {
10040        crate::common::RegisterField::<
10041            2,
10042            0x1,
10043            1,
10044            0,
10045            ecsr::Aef,
10046            ecsr::Aef,
10047            Ecsr_SPEC,
10048            crate::common::RW,
10049        >::from_register(self, 0)
10050    }
10051
10052    #[doc = "CRC Error Flag"]
10053    #[inline(always)]
10054    pub fn cef(
10055        self,
10056    ) -> crate::common::RegisterField<
10057        3,
10058        0x1,
10059        1,
10060        0,
10061        ecsr::Cef,
10062        ecsr::Cef,
10063        Ecsr_SPEC,
10064        crate::common::RW,
10065    > {
10066        crate::common::RegisterField::<
10067            3,
10068            0x1,
10069            1,
10070            0,
10071            ecsr::Cef,
10072            ecsr::Cef,
10073            Ecsr_SPEC,
10074            crate::common::RW,
10075        >::from_register(self, 0)
10076    }
10077
10078    #[doc = "Bit Error (recessive) Flag"]
10079    #[inline(always)]
10080    pub fn be1f(
10081        self,
10082    ) -> crate::common::RegisterField<
10083        4,
10084        0x1,
10085        1,
10086        0,
10087        ecsr::Be1F,
10088        ecsr::Be1F,
10089        Ecsr_SPEC,
10090        crate::common::RW,
10091    > {
10092        crate::common::RegisterField::<
10093            4,
10094            0x1,
10095            1,
10096            0,
10097            ecsr::Be1F,
10098            ecsr::Be1F,
10099            Ecsr_SPEC,
10100            crate::common::RW,
10101        >::from_register(self, 0)
10102    }
10103
10104    #[doc = "Bit Error (dominant) Flag"]
10105    #[inline(always)]
10106    pub fn be0f(
10107        self,
10108    ) -> crate::common::RegisterField<
10109        5,
10110        0x1,
10111        1,
10112        0,
10113        ecsr::Be0F,
10114        ecsr::Be0F,
10115        Ecsr_SPEC,
10116        crate::common::RW,
10117    > {
10118        crate::common::RegisterField::<
10119            5,
10120            0x1,
10121            1,
10122            0,
10123            ecsr::Be0F,
10124            ecsr::Be0F,
10125            Ecsr_SPEC,
10126            crate::common::RW,
10127        >::from_register(self, 0)
10128    }
10129
10130    #[doc = "ACK Delimiter Error Flag"]
10131    #[inline(always)]
10132    pub fn adef(
10133        self,
10134    ) -> crate::common::RegisterField<
10135        6,
10136        0x1,
10137        1,
10138        0,
10139        ecsr::Adef,
10140        ecsr::Adef,
10141        Ecsr_SPEC,
10142        crate::common::RW,
10143    > {
10144        crate::common::RegisterField::<
10145            6,
10146            0x1,
10147            1,
10148            0,
10149            ecsr::Adef,
10150            ecsr::Adef,
10151            Ecsr_SPEC,
10152            crate::common::RW,
10153        >::from_register(self, 0)
10154    }
10155
10156    #[doc = "Error Display Mode Select"]
10157    #[inline(always)]
10158    pub fn edpm(
10159        self,
10160    ) -> crate::common::RegisterField<
10161        7,
10162        0x1,
10163        1,
10164        0,
10165        ecsr::Edpm,
10166        ecsr::Edpm,
10167        Ecsr_SPEC,
10168        crate::common::RW,
10169    > {
10170        crate::common::RegisterField::<
10171            7,
10172            0x1,
10173            1,
10174            0,
10175            ecsr::Edpm,
10176            ecsr::Edpm,
10177            Ecsr_SPEC,
10178            crate::common::RW,
10179        >::from_register(self, 0)
10180    }
10181}
10182impl ::core::default::Default for Ecsr {
10183    #[inline(always)]
10184    fn default() -> Ecsr {
10185        <crate::RegValueT<Ecsr_SPEC> as RegisterValue<_>>::new(0)
10186    }
10187}
10188pub mod ecsr {
10189
10190    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10191    pub struct Sef_SPEC;
10192    pub type Sef = crate::EnumBitfieldStruct<u8, Sef_SPEC>;
10193    impl Sef {
10194        #[doc = "No stuff error detected"]
10195        pub const _0: Self = Self::new(0);
10196
10197        #[doc = "Stuff error detected"]
10198        pub const _1: Self = Self::new(1);
10199    }
10200    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10201    pub struct Fef_SPEC;
10202    pub type Fef = crate::EnumBitfieldStruct<u8, Fef_SPEC>;
10203    impl Fef {
10204        #[doc = "No form error detected"]
10205        pub const _0: Self = Self::new(0);
10206
10207        #[doc = "Form error detected"]
10208        pub const _1: Self = Self::new(1);
10209    }
10210    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10211    pub struct Aef_SPEC;
10212    pub type Aef = crate::EnumBitfieldStruct<u8, Aef_SPEC>;
10213    impl Aef {
10214        #[doc = "No ACK error detected"]
10215        pub const _0: Self = Self::new(0);
10216
10217        #[doc = "ACK error detected"]
10218        pub const _1: Self = Self::new(1);
10219    }
10220    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10221    pub struct Cef_SPEC;
10222    pub type Cef = crate::EnumBitfieldStruct<u8, Cef_SPEC>;
10223    impl Cef {
10224        #[doc = "No CRC error detected"]
10225        pub const _0: Self = Self::new(0);
10226
10227        #[doc = "CRC error detected"]
10228        pub const _1: Self = Self::new(1);
10229    }
10230    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10231    pub struct Be1F_SPEC;
10232    pub type Be1F = crate::EnumBitfieldStruct<u8, Be1F_SPEC>;
10233    impl Be1F {
10234        #[doc = "No bit error (recessive) detected"]
10235        pub const _0: Self = Self::new(0);
10236
10237        #[doc = "Bit error (recessive) detected"]
10238        pub const _1: Self = Self::new(1);
10239    }
10240    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10241    pub struct Be0F_SPEC;
10242    pub type Be0F = crate::EnumBitfieldStruct<u8, Be0F_SPEC>;
10243    impl Be0F {
10244        #[doc = "No bit error (dominant) detected"]
10245        pub const _0: Self = Self::new(0);
10246
10247        #[doc = "Bit error (dominant) detected"]
10248        pub const _1: Self = Self::new(1);
10249    }
10250    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10251    pub struct Adef_SPEC;
10252    pub type Adef = crate::EnumBitfieldStruct<u8, Adef_SPEC>;
10253    impl Adef {
10254        #[doc = "No ACK delimiter error detected"]
10255        pub const _0: Self = Self::new(0);
10256
10257        #[doc = "ACK delimiter error detected"]
10258        pub const _1: Self = Self::new(1);
10259    }
10260    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10261    pub struct Edpm_SPEC;
10262    pub type Edpm = crate::EnumBitfieldStruct<u8, Edpm_SPEC>;
10263    impl Edpm {
10264        #[doc = "Output first detected error code"]
10265        pub const _0: Self = Self::new(0);
10266
10267        #[doc = "Output accumulated error code"]
10268        pub const _1: Self = Self::new(1);
10269    }
10270}
10271#[doc(hidden)]
10272#[derive(Copy, Clone, Eq, PartialEq)]
10273pub struct Cssr_SPEC;
10274impl crate::sealed::RegSpec for Cssr_SPEC {
10275    type DataType = u8;
10276}
10277
10278#[doc = "Channel Search Support Register"]
10279pub type Cssr = crate::RegValueT<Cssr_SPEC>;
10280
10281impl NoBitfieldReg<Cssr_SPEC> for Cssr {}
10282impl ::core::default::Default for Cssr {
10283    #[inline(always)]
10284    fn default() -> Cssr {
10285        <crate::RegValueT<Cssr_SPEC> as RegisterValue<_>>::new(0)
10286    }
10287}
10288
10289#[doc(hidden)]
10290#[derive(Copy, Clone, Eq, PartialEq)]
10291pub struct Mssr_SPEC;
10292impl crate::sealed::RegSpec for Mssr_SPEC {
10293    type DataType = u8;
10294}
10295
10296#[doc = "Mailbox Search Status Register"]
10297pub type Mssr = crate::RegValueT<Mssr_SPEC>;
10298
10299impl Mssr {
10300    #[doc = "Search Result Mailbox Number Status"]
10301    #[inline(always)]
10302    pub fn mbnst(
10303        self,
10304    ) -> crate::common::RegisterField<0, 0x1f, 1, 0, u8, u8, Mssr_SPEC, crate::common::R> {
10305        crate::common::RegisterField::<0,0x1f,1,0,u8,u8,Mssr_SPEC,crate::common::R>::from_register(self,0)
10306    }
10307
10308    #[doc = "Search Result Status"]
10309    #[inline(always)]
10310    pub fn sest(
10311        self,
10312    ) -> crate::common::RegisterField<
10313        7,
10314        0x1,
10315        1,
10316        0,
10317        mssr::Sest,
10318        mssr::Sest,
10319        Mssr_SPEC,
10320        crate::common::R,
10321    > {
10322        crate::common::RegisterField::<
10323            7,
10324            0x1,
10325            1,
10326            0,
10327            mssr::Sest,
10328            mssr::Sest,
10329            Mssr_SPEC,
10330            crate::common::R,
10331        >::from_register(self, 0)
10332    }
10333}
10334impl ::core::default::Default for Mssr {
10335    #[inline(always)]
10336    fn default() -> Mssr {
10337        <crate::RegValueT<Mssr_SPEC> as RegisterValue<_>>::new(128)
10338    }
10339}
10340pub mod mssr {
10341
10342    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10343    pub struct Sest_SPEC;
10344    pub type Sest = crate::EnumBitfieldStruct<u8, Sest_SPEC>;
10345    impl Sest {
10346        #[doc = "Search result found"]
10347        pub const _0: Self = Self::new(0);
10348
10349        #[doc = "No search result"]
10350        pub const _1: Self = Self::new(1);
10351    }
10352}
10353#[doc(hidden)]
10354#[derive(Copy, Clone, Eq, PartialEq)]
10355pub struct Msmr_SPEC;
10356impl crate::sealed::RegSpec for Msmr_SPEC {
10357    type DataType = u8;
10358}
10359
10360#[doc = "Mailbox Search Mode Register"]
10361pub type Msmr = crate::RegValueT<Msmr_SPEC>;
10362
10363impl Msmr {
10364    #[doc = "Mailbox Search Mode Select"]
10365    #[inline(always)]
10366    pub fn mbsm(
10367        self,
10368    ) -> crate::common::RegisterField<
10369        0,
10370        0x3,
10371        1,
10372        0,
10373        msmr::Mbsm,
10374        msmr::Mbsm,
10375        Msmr_SPEC,
10376        crate::common::RW,
10377    > {
10378        crate::common::RegisterField::<
10379            0,
10380            0x3,
10381            1,
10382            0,
10383            msmr::Mbsm,
10384            msmr::Mbsm,
10385            Msmr_SPEC,
10386            crate::common::RW,
10387        >::from_register(self, 0)
10388    }
10389}
10390impl ::core::default::Default for Msmr {
10391    #[inline(always)]
10392    fn default() -> Msmr {
10393        <crate::RegValueT<Msmr_SPEC> as RegisterValue<_>>::new(0)
10394    }
10395}
10396pub mod msmr {
10397
10398    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10399    pub struct Mbsm_SPEC;
10400    pub type Mbsm = crate::EnumBitfieldStruct<u8, Mbsm_SPEC>;
10401    impl Mbsm {
10402        #[doc = "Receive mailbox search mode"]
10403        pub const _00: Self = Self::new(0);
10404
10405        #[doc = "Transmit mailbox search mode"]
10406        pub const _01: Self = Self::new(1);
10407
10408        #[doc = "Message lost search mode"]
10409        pub const _10: Self = Self::new(2);
10410
10411        #[doc = "Channel search mode"]
10412        pub const _11: Self = Self::new(3);
10413    }
10414}
10415#[doc(hidden)]
10416#[derive(Copy, Clone, Eq, PartialEq)]
10417pub struct Tsr_SPEC;
10418impl crate::sealed::RegSpec for Tsr_SPEC {
10419    type DataType = u16;
10420}
10421
10422#[doc = "Time Stamp Register"]
10423pub type Tsr = crate::RegValueT<Tsr_SPEC>;
10424
10425impl NoBitfieldReg<Tsr_SPEC> for Tsr {}
10426impl ::core::default::Default for Tsr {
10427    #[inline(always)]
10428    fn default() -> Tsr {
10429        <crate::RegValueT<Tsr_SPEC> as RegisterValue<_>>::new(0)
10430    }
10431}
10432
10433#[doc(hidden)]
10434#[derive(Copy, Clone, Eq, PartialEq)]
10435pub struct Afsr_SPEC;
10436impl crate::sealed::RegSpec for Afsr_SPEC {
10437    type DataType = u16;
10438}
10439
10440#[doc = "Acceptance Filter Support Register"]
10441pub type Afsr = crate::RegValueT<Afsr_SPEC>;
10442
10443impl NoBitfieldReg<Afsr_SPEC> for Afsr {}
10444impl ::core::default::Default for Afsr {
10445    #[inline(always)]
10446    fn default() -> Afsr {
10447        <crate::RegValueT<Afsr_SPEC> as RegisterValue<_>>::new(0)
10448    }
10449}
10450
10451#[doc(hidden)]
10452#[derive(Copy, Clone, Eq, PartialEq)]
10453pub struct Tcr_SPEC;
10454impl crate::sealed::RegSpec for Tcr_SPEC {
10455    type DataType = u8;
10456}
10457
10458#[doc = "Test Control Register"]
10459pub type Tcr = crate::RegValueT<Tcr_SPEC>;
10460
10461impl Tcr {
10462    #[doc = "CAN Test Mode Enable"]
10463    #[inline(always)]
10464    pub fn tste(
10465        self,
10466    ) -> crate::common::RegisterField<0, 0x1, 1, 0, tcr::Tste, tcr::Tste, Tcr_SPEC, crate::common::RW>
10467    {
10468        crate::common::RegisterField::<
10469            0,
10470            0x1,
10471            1,
10472            0,
10473            tcr::Tste,
10474            tcr::Tste,
10475            Tcr_SPEC,
10476            crate::common::RW,
10477        >::from_register(self, 0)
10478    }
10479
10480    #[doc = "CAN Test Mode Select"]
10481    #[inline(always)]
10482    pub fn tstm(
10483        self,
10484    ) -> crate::common::RegisterField<1, 0x3, 1, 0, tcr::Tstm, tcr::Tstm, Tcr_SPEC, crate::common::RW>
10485    {
10486        crate::common::RegisterField::<
10487            1,
10488            0x3,
10489            1,
10490            0,
10491            tcr::Tstm,
10492            tcr::Tstm,
10493            Tcr_SPEC,
10494            crate::common::RW,
10495        >::from_register(self, 0)
10496    }
10497}
10498impl ::core::default::Default for Tcr {
10499    #[inline(always)]
10500    fn default() -> Tcr {
10501        <crate::RegValueT<Tcr_SPEC> as RegisterValue<_>>::new(0)
10502    }
10503}
10504pub mod tcr {
10505
10506    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10507    pub struct Tste_SPEC;
10508    pub type Tste = crate::EnumBitfieldStruct<u8, Tste_SPEC>;
10509    impl Tste {
10510        #[doc = "Disable CAN test mode"]
10511        pub const _0: Self = Self::new(0);
10512
10513        #[doc = "Enable CAN test mode"]
10514        pub const _1: Self = Self::new(1);
10515    }
10516    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10517    pub struct Tstm_SPEC;
10518    pub type Tstm = crate::EnumBitfieldStruct<u8, Tstm_SPEC>;
10519    impl Tstm {
10520        #[doc = "Not CAN test mode"]
10521        pub const _00: Self = Self::new(0);
10522
10523        #[doc = "Listen-only mode"]
10524        pub const _01: Self = Self::new(1);
10525
10526        #[doc = "Self-test mode 0 (external loopback)"]
10527        pub const _10: Self = Self::new(2);
10528
10529        #[doc = "Self-test mode 1 (internal loopback)"]
10530        pub const _11: Self = Self::new(3);
10531    }
10532}