Skip to main content

ra2a1_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.1, with svd2pac 0.6.1 on Sun, 15 Mar 2026 07:00:31 +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"CAN0 Module"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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 Register"]
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"]
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    #[inline(always)]
3021    pub const fn mkr_0_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3022        unsafe {
3023            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3024                self._svd2pac_as_ptr().add(0x400usize),
3025            )
3026        }
3027    }
3028    #[inline(always)]
3029    pub const fn mkr_1_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3030        unsafe {
3031            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3032                self._svd2pac_as_ptr().add(0x404usize),
3033            )
3034        }
3035    }
3036    #[inline(always)]
3037    pub const fn mkr_2_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3038        unsafe {
3039            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3040                self._svd2pac_as_ptr().add(0x408usize),
3041            )
3042        }
3043    }
3044    #[inline(always)]
3045    pub const fn mkr_3_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3046        unsafe {
3047            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3048                self._svd2pac_as_ptr().add(0x40cusize),
3049            )
3050        }
3051    }
3052    #[inline(always)]
3053    pub const fn mkr_4_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3054        unsafe {
3055            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3056                self._svd2pac_as_ptr().add(0x410usize),
3057            )
3058        }
3059    }
3060    #[inline(always)]
3061    pub const fn mkr_5_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3062        unsafe {
3063            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3064                self._svd2pac_as_ptr().add(0x414usize),
3065            )
3066        }
3067    }
3068    #[inline(always)]
3069    pub const fn mkr_6_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3070        unsafe {
3071            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3072                self._svd2pac_as_ptr().add(0x418usize),
3073            )
3074        }
3075    }
3076    #[inline(always)]
3077    pub const fn mkr_7_(&self) -> &'static crate::common::Reg<self::Mkr_SPEC, crate::common::RW> {
3078        unsafe {
3079            crate::common::Reg::<self::Mkr_SPEC, crate::common::RW>::from_ptr(
3080                self._svd2pac_as_ptr().add(0x41cusize),
3081            )
3082        }
3083    }
3084
3085    #[doc = "FIFO Received ID Compare Registers"]
3086    #[inline(always)]
3087    pub const fn fidcr(
3088        &self,
3089    ) -> &'static crate::common::ClusterRegisterArray<
3090        crate::common::Reg<self::Fidcr_SPEC, crate::common::RW>,
3091        2,
3092        0x4,
3093    > {
3094        unsafe {
3095            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x420usize))
3096        }
3097    }
3098    #[inline(always)]
3099    pub const fn fidcr0(&self) -> &'static crate::common::Reg<self::Fidcr_SPEC, crate::common::RW> {
3100        unsafe {
3101            crate::common::Reg::<self::Fidcr_SPEC, crate::common::RW>::from_ptr(
3102                self._svd2pac_as_ptr().add(0x420usize),
3103            )
3104        }
3105    }
3106    #[inline(always)]
3107    pub const fn fidcr1(&self) -> &'static crate::common::Reg<self::Fidcr_SPEC, crate::common::RW> {
3108        unsafe {
3109            crate::common::Reg::<self::Fidcr_SPEC, crate::common::RW>::from_ptr(
3110                self._svd2pac_as_ptr().add(0x424usize),
3111            )
3112        }
3113    }
3114
3115    #[doc = "Mask Invalid Register"]
3116    #[inline(always)]
3117    pub const fn mkivlr(
3118        &self,
3119    ) -> &'static crate::common::Reg<self::Mkivlr_SPEC, crate::common::RW> {
3120        unsafe {
3121            crate::common::Reg::<self::Mkivlr_SPEC, crate::common::RW>::from_ptr(
3122                self._svd2pac_as_ptr().add(1064usize),
3123            )
3124        }
3125    }
3126
3127    #[doc = "Mailbox Interrupt Enable Register (Normal mailbox mode)"]
3128    #[inline(always)]
3129    pub const fn mier(&self) -> &'static crate::common::Reg<self::Mier_SPEC, crate::common::RW> {
3130        unsafe {
3131            crate::common::Reg::<self::Mier_SPEC, crate::common::RW>::from_ptr(
3132                self._svd2pac_as_ptr().add(1068usize),
3133            )
3134        }
3135    }
3136
3137    #[doc = "Mailbox Interrupt Enable Register(FIFO mailbox mode)"]
3138    #[inline(always)]
3139    pub const fn mier_fifo(
3140        &self,
3141    ) -> &'static crate::common::Reg<self::MierFifo_SPEC, crate::common::RW> {
3142        unsafe {
3143            crate::common::Reg::<self::MierFifo_SPEC, crate::common::RW>::from_ptr(
3144                self._svd2pac_as_ptr().add(1068usize),
3145            )
3146        }
3147    }
3148
3149    #[doc = "Message Control Register(Transmit mode (when the TRMREQ bit is 1 and the RECREQ bit is 0))"]
3150    #[inline(always)]
3151    pub const fn mctl_tx(
3152        &self,
3153    ) -> &'static crate::common::ClusterRegisterArray<
3154        crate::common::Reg<self::MctlTx_SPEC, crate::common::RW>,
3155        32,
3156        0x1,
3157    > {
3158        unsafe {
3159            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x820usize))
3160        }
3161    }
3162    #[inline(always)]
3163    pub const fn mctl_tx_0_(
3164        &self,
3165    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3166        unsafe {
3167            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3168                self._svd2pac_as_ptr().add(0x820usize),
3169            )
3170        }
3171    }
3172    #[inline(always)]
3173    pub const fn mctl_tx_1_(
3174        &self,
3175    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3176        unsafe {
3177            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3178                self._svd2pac_as_ptr().add(0x821usize),
3179            )
3180        }
3181    }
3182    #[inline(always)]
3183    pub const fn mctl_tx_2_(
3184        &self,
3185    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3186        unsafe {
3187            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3188                self._svd2pac_as_ptr().add(0x822usize),
3189            )
3190        }
3191    }
3192    #[inline(always)]
3193    pub const fn mctl_tx_3_(
3194        &self,
3195    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3196        unsafe {
3197            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3198                self._svd2pac_as_ptr().add(0x823usize),
3199            )
3200        }
3201    }
3202    #[inline(always)]
3203    pub const fn mctl_tx_4_(
3204        &self,
3205    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3206        unsafe {
3207            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3208                self._svd2pac_as_ptr().add(0x824usize),
3209            )
3210        }
3211    }
3212    #[inline(always)]
3213    pub const fn mctl_tx_5_(
3214        &self,
3215    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3216        unsafe {
3217            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3218                self._svd2pac_as_ptr().add(0x825usize),
3219            )
3220        }
3221    }
3222    #[inline(always)]
3223    pub const fn mctl_tx_6_(
3224        &self,
3225    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3226        unsafe {
3227            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3228                self._svd2pac_as_ptr().add(0x826usize),
3229            )
3230        }
3231    }
3232    #[inline(always)]
3233    pub const fn mctl_tx_7_(
3234        &self,
3235    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3236        unsafe {
3237            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3238                self._svd2pac_as_ptr().add(0x827usize),
3239            )
3240        }
3241    }
3242    #[inline(always)]
3243    pub const fn mctl_tx_8_(
3244        &self,
3245    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3246        unsafe {
3247            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3248                self._svd2pac_as_ptr().add(0x828usize),
3249            )
3250        }
3251    }
3252    #[inline(always)]
3253    pub const fn mctl_tx_9_(
3254        &self,
3255    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3256        unsafe {
3257            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3258                self._svd2pac_as_ptr().add(0x829usize),
3259            )
3260        }
3261    }
3262    #[inline(always)]
3263    pub const fn mctl_tx_10_(
3264        &self,
3265    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3266        unsafe {
3267            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3268                self._svd2pac_as_ptr().add(0x82ausize),
3269            )
3270        }
3271    }
3272    #[inline(always)]
3273    pub const fn mctl_tx_11_(
3274        &self,
3275    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3276        unsafe {
3277            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3278                self._svd2pac_as_ptr().add(0x82busize),
3279            )
3280        }
3281    }
3282    #[inline(always)]
3283    pub const fn mctl_tx_12_(
3284        &self,
3285    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3286        unsafe {
3287            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3288                self._svd2pac_as_ptr().add(0x82cusize),
3289            )
3290        }
3291    }
3292    #[inline(always)]
3293    pub const fn mctl_tx_13_(
3294        &self,
3295    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3296        unsafe {
3297            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3298                self._svd2pac_as_ptr().add(0x82dusize),
3299            )
3300        }
3301    }
3302    #[inline(always)]
3303    pub const fn mctl_tx_14_(
3304        &self,
3305    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3306        unsafe {
3307            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3308                self._svd2pac_as_ptr().add(0x82eusize),
3309            )
3310        }
3311    }
3312    #[inline(always)]
3313    pub const fn mctl_tx_15_(
3314        &self,
3315    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3316        unsafe {
3317            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3318                self._svd2pac_as_ptr().add(0x82fusize),
3319            )
3320        }
3321    }
3322    #[inline(always)]
3323    pub const fn mctl_tx_16_(
3324        &self,
3325    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3326        unsafe {
3327            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3328                self._svd2pac_as_ptr().add(0x830usize),
3329            )
3330        }
3331    }
3332    #[inline(always)]
3333    pub const fn mctl_tx_17_(
3334        &self,
3335    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3336        unsafe {
3337            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3338                self._svd2pac_as_ptr().add(0x831usize),
3339            )
3340        }
3341    }
3342    #[inline(always)]
3343    pub const fn mctl_tx_18_(
3344        &self,
3345    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3346        unsafe {
3347            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3348                self._svd2pac_as_ptr().add(0x832usize),
3349            )
3350        }
3351    }
3352    #[inline(always)]
3353    pub const fn mctl_tx_19_(
3354        &self,
3355    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3356        unsafe {
3357            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3358                self._svd2pac_as_ptr().add(0x833usize),
3359            )
3360        }
3361    }
3362    #[inline(always)]
3363    pub const fn mctl_tx_20_(
3364        &self,
3365    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3366        unsafe {
3367            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3368                self._svd2pac_as_ptr().add(0x834usize),
3369            )
3370        }
3371    }
3372    #[inline(always)]
3373    pub const fn mctl_tx_21_(
3374        &self,
3375    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3376        unsafe {
3377            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3378                self._svd2pac_as_ptr().add(0x835usize),
3379            )
3380        }
3381    }
3382    #[inline(always)]
3383    pub const fn mctl_tx_22_(
3384        &self,
3385    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3386        unsafe {
3387            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3388                self._svd2pac_as_ptr().add(0x836usize),
3389            )
3390        }
3391    }
3392    #[inline(always)]
3393    pub const fn mctl_tx_23_(
3394        &self,
3395    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3396        unsafe {
3397            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3398                self._svd2pac_as_ptr().add(0x837usize),
3399            )
3400        }
3401    }
3402    #[inline(always)]
3403    pub const fn mctl_tx_24_(
3404        &self,
3405    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3406        unsafe {
3407            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3408                self._svd2pac_as_ptr().add(0x838usize),
3409            )
3410        }
3411    }
3412    #[inline(always)]
3413    pub const fn mctl_tx_25_(
3414        &self,
3415    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3416        unsafe {
3417            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3418                self._svd2pac_as_ptr().add(0x839usize),
3419            )
3420        }
3421    }
3422    #[inline(always)]
3423    pub const fn mctl_tx_26_(
3424        &self,
3425    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3426        unsafe {
3427            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3428                self._svd2pac_as_ptr().add(0x83ausize),
3429            )
3430        }
3431    }
3432    #[inline(always)]
3433    pub const fn mctl_tx_27_(
3434        &self,
3435    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3436        unsafe {
3437            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3438                self._svd2pac_as_ptr().add(0x83busize),
3439            )
3440        }
3441    }
3442    #[inline(always)]
3443    pub const fn mctl_tx_28_(
3444        &self,
3445    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3446        unsafe {
3447            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3448                self._svd2pac_as_ptr().add(0x83cusize),
3449            )
3450        }
3451    }
3452    #[inline(always)]
3453    pub const fn mctl_tx_29_(
3454        &self,
3455    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3456        unsafe {
3457            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3458                self._svd2pac_as_ptr().add(0x83dusize),
3459            )
3460        }
3461    }
3462    #[inline(always)]
3463    pub const fn mctl_tx_30_(
3464        &self,
3465    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3466        unsafe {
3467            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3468                self._svd2pac_as_ptr().add(0x83eusize),
3469            )
3470        }
3471    }
3472    #[inline(always)]
3473    pub const fn mctl_tx_31_(
3474        &self,
3475    ) -> &'static crate::common::Reg<self::MctlTx_SPEC, crate::common::RW> {
3476        unsafe {
3477            crate::common::Reg::<self::MctlTx_SPEC, crate::common::RW>::from_ptr(
3478                self._svd2pac_as_ptr().add(0x83fusize),
3479            )
3480        }
3481    }
3482
3483    #[doc = "Message Control Register( Receive mode (when the TRMREQ bit is 0 and the RECREQ bit is 1))"]
3484    #[inline(always)]
3485    pub const fn mctl_rx(
3486        &self,
3487    ) -> &'static crate::common::ClusterRegisterArray<
3488        crate::common::Reg<self::MctlRx_SPEC, crate::common::RW>,
3489        32,
3490        0x1,
3491    > {
3492        unsafe {
3493            crate::common::ClusterRegisterArray::from_ptr(self._svd2pac_as_ptr().add(0x820usize))
3494        }
3495    }
3496    #[inline(always)]
3497    pub const fn mctl_rx_0_(
3498        &self,
3499    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3500        unsafe {
3501            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3502                self._svd2pac_as_ptr().add(0x820usize),
3503            )
3504        }
3505    }
3506    #[inline(always)]
3507    pub const fn mctl_rx_1_(
3508        &self,
3509    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3510        unsafe {
3511            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3512                self._svd2pac_as_ptr().add(0x821usize),
3513            )
3514        }
3515    }
3516    #[inline(always)]
3517    pub const fn mctl_rx_2_(
3518        &self,
3519    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3520        unsafe {
3521            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3522                self._svd2pac_as_ptr().add(0x822usize),
3523            )
3524        }
3525    }
3526    #[inline(always)]
3527    pub const fn mctl_rx_3_(
3528        &self,
3529    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3530        unsafe {
3531            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3532                self._svd2pac_as_ptr().add(0x823usize),
3533            )
3534        }
3535    }
3536    #[inline(always)]
3537    pub const fn mctl_rx_4_(
3538        &self,
3539    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3540        unsafe {
3541            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3542                self._svd2pac_as_ptr().add(0x824usize),
3543            )
3544        }
3545    }
3546    #[inline(always)]
3547    pub const fn mctl_rx_5_(
3548        &self,
3549    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3550        unsafe {
3551            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3552                self._svd2pac_as_ptr().add(0x825usize),
3553            )
3554        }
3555    }
3556    #[inline(always)]
3557    pub const fn mctl_rx_6_(
3558        &self,
3559    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3560        unsafe {
3561            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3562                self._svd2pac_as_ptr().add(0x826usize),
3563            )
3564        }
3565    }
3566    #[inline(always)]
3567    pub const fn mctl_rx_7_(
3568        &self,
3569    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3570        unsafe {
3571            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3572                self._svd2pac_as_ptr().add(0x827usize),
3573            )
3574        }
3575    }
3576    #[inline(always)]
3577    pub const fn mctl_rx_8_(
3578        &self,
3579    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3580        unsafe {
3581            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3582                self._svd2pac_as_ptr().add(0x828usize),
3583            )
3584        }
3585    }
3586    #[inline(always)]
3587    pub const fn mctl_rx_9_(
3588        &self,
3589    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3590        unsafe {
3591            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3592                self._svd2pac_as_ptr().add(0x829usize),
3593            )
3594        }
3595    }
3596    #[inline(always)]
3597    pub const fn mctl_rx_10_(
3598        &self,
3599    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3600        unsafe {
3601            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3602                self._svd2pac_as_ptr().add(0x82ausize),
3603            )
3604        }
3605    }
3606    #[inline(always)]
3607    pub const fn mctl_rx_11_(
3608        &self,
3609    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3610        unsafe {
3611            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3612                self._svd2pac_as_ptr().add(0x82busize),
3613            )
3614        }
3615    }
3616    #[inline(always)]
3617    pub const fn mctl_rx_12_(
3618        &self,
3619    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3620        unsafe {
3621            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3622                self._svd2pac_as_ptr().add(0x82cusize),
3623            )
3624        }
3625    }
3626    #[inline(always)]
3627    pub const fn mctl_rx_13_(
3628        &self,
3629    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3630        unsafe {
3631            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3632                self._svd2pac_as_ptr().add(0x82dusize),
3633            )
3634        }
3635    }
3636    #[inline(always)]
3637    pub const fn mctl_rx_14_(
3638        &self,
3639    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3640        unsafe {
3641            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3642                self._svd2pac_as_ptr().add(0x82eusize),
3643            )
3644        }
3645    }
3646    #[inline(always)]
3647    pub const fn mctl_rx_15_(
3648        &self,
3649    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3650        unsafe {
3651            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3652                self._svd2pac_as_ptr().add(0x82fusize),
3653            )
3654        }
3655    }
3656    #[inline(always)]
3657    pub const fn mctl_rx_16_(
3658        &self,
3659    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3660        unsafe {
3661            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3662                self._svd2pac_as_ptr().add(0x830usize),
3663            )
3664        }
3665    }
3666    #[inline(always)]
3667    pub const fn mctl_rx_17_(
3668        &self,
3669    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3670        unsafe {
3671            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3672                self._svd2pac_as_ptr().add(0x831usize),
3673            )
3674        }
3675    }
3676    #[inline(always)]
3677    pub const fn mctl_rx_18_(
3678        &self,
3679    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3680        unsafe {
3681            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3682                self._svd2pac_as_ptr().add(0x832usize),
3683            )
3684        }
3685    }
3686    #[inline(always)]
3687    pub const fn mctl_rx_19_(
3688        &self,
3689    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3690        unsafe {
3691            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3692                self._svd2pac_as_ptr().add(0x833usize),
3693            )
3694        }
3695    }
3696    #[inline(always)]
3697    pub const fn mctl_rx_20_(
3698        &self,
3699    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3700        unsafe {
3701            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3702                self._svd2pac_as_ptr().add(0x834usize),
3703            )
3704        }
3705    }
3706    #[inline(always)]
3707    pub const fn mctl_rx_21_(
3708        &self,
3709    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3710        unsafe {
3711            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3712                self._svd2pac_as_ptr().add(0x835usize),
3713            )
3714        }
3715    }
3716    #[inline(always)]
3717    pub const fn mctl_rx_22_(
3718        &self,
3719    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3720        unsafe {
3721            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3722                self._svd2pac_as_ptr().add(0x836usize),
3723            )
3724        }
3725    }
3726    #[inline(always)]
3727    pub const fn mctl_rx_23_(
3728        &self,
3729    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3730        unsafe {
3731            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3732                self._svd2pac_as_ptr().add(0x837usize),
3733            )
3734        }
3735    }
3736    #[inline(always)]
3737    pub const fn mctl_rx_24_(
3738        &self,
3739    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3740        unsafe {
3741            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3742                self._svd2pac_as_ptr().add(0x838usize),
3743            )
3744        }
3745    }
3746    #[inline(always)]
3747    pub const fn mctl_rx_25_(
3748        &self,
3749    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3750        unsafe {
3751            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3752                self._svd2pac_as_ptr().add(0x839usize),
3753            )
3754        }
3755    }
3756    #[inline(always)]
3757    pub const fn mctl_rx_26_(
3758        &self,
3759    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3760        unsafe {
3761            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3762                self._svd2pac_as_ptr().add(0x83ausize),
3763            )
3764        }
3765    }
3766    #[inline(always)]
3767    pub const fn mctl_rx_27_(
3768        &self,
3769    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3770        unsafe {
3771            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3772                self._svd2pac_as_ptr().add(0x83busize),
3773            )
3774        }
3775    }
3776    #[inline(always)]
3777    pub const fn mctl_rx_28_(
3778        &self,
3779    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3780        unsafe {
3781            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3782                self._svd2pac_as_ptr().add(0x83cusize),
3783            )
3784        }
3785    }
3786    #[inline(always)]
3787    pub const fn mctl_rx_29_(
3788        &self,
3789    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3790        unsafe {
3791            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3792                self._svd2pac_as_ptr().add(0x83dusize),
3793            )
3794        }
3795    }
3796    #[inline(always)]
3797    pub const fn mctl_rx_30_(
3798        &self,
3799    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3800        unsafe {
3801            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3802                self._svd2pac_as_ptr().add(0x83eusize),
3803            )
3804        }
3805    }
3806    #[inline(always)]
3807    pub const fn mctl_rx_31_(
3808        &self,
3809    ) -> &'static crate::common::Reg<self::MctlRx_SPEC, crate::common::RW> {
3810        unsafe {
3811            crate::common::Reg::<self::MctlRx_SPEC, crate::common::RW>::from_ptr(
3812                self._svd2pac_as_ptr().add(0x83fusize),
3813            )
3814        }
3815    }
3816
3817    #[doc = "Control Register"]
3818    #[inline(always)]
3819    pub const fn ctlr(&self) -> &'static crate::common::Reg<self::Ctlr_SPEC, crate::common::RW> {
3820        unsafe {
3821            crate::common::Reg::<self::Ctlr_SPEC, crate::common::RW>::from_ptr(
3822                self._svd2pac_as_ptr().add(2112usize),
3823            )
3824        }
3825    }
3826
3827    #[doc = "Status Register"]
3828    #[inline(always)]
3829    pub const fn str(&self) -> &'static crate::common::Reg<self::Str_SPEC, crate::common::R> {
3830        unsafe {
3831            crate::common::Reg::<self::Str_SPEC, crate::common::R>::from_ptr(
3832                self._svd2pac_as_ptr().add(2114usize),
3833            )
3834        }
3835    }
3836
3837    #[doc = "Bit Configuration Register"]
3838    #[inline(always)]
3839    pub const fn bcr(&self) -> &'static crate::common::Reg<self::Bcr_SPEC, crate::common::RW> {
3840        unsafe {
3841            crate::common::Reg::<self::Bcr_SPEC, crate::common::RW>::from_ptr(
3842                self._svd2pac_as_ptr().add(2116usize),
3843            )
3844        }
3845    }
3846
3847    #[doc = "Receive FIFO Control Register"]
3848    #[inline(always)]
3849    pub const fn rfcr(&self) -> &'static crate::common::Reg<self::Rfcr_SPEC, crate::common::RW> {
3850        unsafe {
3851            crate::common::Reg::<self::Rfcr_SPEC, crate::common::RW>::from_ptr(
3852                self._svd2pac_as_ptr().add(2120usize),
3853            )
3854        }
3855    }
3856
3857    #[doc = "Receive FIFO Pointer Control Register"]
3858    #[inline(always)]
3859    pub const fn rfpcr(&self) -> &'static crate::common::Reg<self::Rfpcr_SPEC, crate::common::W> {
3860        unsafe {
3861            crate::common::Reg::<self::Rfpcr_SPEC, crate::common::W>::from_ptr(
3862                self._svd2pac_as_ptr().add(2121usize),
3863            )
3864        }
3865    }
3866
3867    #[doc = "Transmit FIFO Control Register"]
3868    #[inline(always)]
3869    pub const fn tfcr(&self) -> &'static crate::common::Reg<self::Tfcr_SPEC, crate::common::RW> {
3870        unsafe {
3871            crate::common::Reg::<self::Tfcr_SPEC, crate::common::RW>::from_ptr(
3872                self._svd2pac_as_ptr().add(2122usize),
3873            )
3874        }
3875    }
3876
3877    #[doc = "Transmit FIFO Pointer Control Register"]
3878    #[inline(always)]
3879    pub const fn tfpcr(&self) -> &'static crate::common::Reg<self::Tfpcr_SPEC, crate::common::W> {
3880        unsafe {
3881            crate::common::Reg::<self::Tfpcr_SPEC, crate::common::W>::from_ptr(
3882                self._svd2pac_as_ptr().add(2123usize),
3883            )
3884        }
3885    }
3886
3887    #[doc = "Error Interrupt Enable Register"]
3888    #[inline(always)]
3889    pub const fn eier(&self) -> &'static crate::common::Reg<self::Eier_SPEC, crate::common::RW> {
3890        unsafe {
3891            crate::common::Reg::<self::Eier_SPEC, crate::common::RW>::from_ptr(
3892                self._svd2pac_as_ptr().add(2124usize),
3893            )
3894        }
3895    }
3896
3897    #[doc = "Error Interrupt Factor Judge Register"]
3898    #[inline(always)]
3899    pub const fn eifr(&self) -> &'static crate::common::Reg<self::Eifr_SPEC, crate::common::RW> {
3900        unsafe {
3901            crate::common::Reg::<self::Eifr_SPEC, crate::common::RW>::from_ptr(
3902                self._svd2pac_as_ptr().add(2125usize),
3903            )
3904        }
3905    }
3906
3907    #[doc = "Receive Error Count Register"]
3908    #[inline(always)]
3909    pub const fn recr(&self) -> &'static crate::common::Reg<self::Recr_SPEC, crate::common::R> {
3910        unsafe {
3911            crate::common::Reg::<self::Recr_SPEC, crate::common::R>::from_ptr(
3912                self._svd2pac_as_ptr().add(2126usize),
3913            )
3914        }
3915    }
3916
3917    #[doc = "Transmit Error Count Register"]
3918    #[inline(always)]
3919    pub const fn tecr(&self) -> &'static crate::common::Reg<self::Tecr_SPEC, crate::common::R> {
3920        unsafe {
3921            crate::common::Reg::<self::Tecr_SPEC, crate::common::R>::from_ptr(
3922                self._svd2pac_as_ptr().add(2127usize),
3923            )
3924        }
3925    }
3926
3927    #[doc = "Error Code Store Register"]
3928    #[inline(always)]
3929    pub const fn ecsr(&self) -> &'static crate::common::Reg<self::Ecsr_SPEC, crate::common::RW> {
3930        unsafe {
3931            crate::common::Reg::<self::Ecsr_SPEC, crate::common::RW>::from_ptr(
3932                self._svd2pac_as_ptr().add(2128usize),
3933            )
3934        }
3935    }
3936
3937    #[doc = "Channel Search Support Register"]
3938    #[inline(always)]
3939    pub const fn cssr(&self) -> &'static crate::common::Reg<self::Cssr_SPEC, crate::common::RW> {
3940        unsafe {
3941            crate::common::Reg::<self::Cssr_SPEC, crate::common::RW>::from_ptr(
3942                self._svd2pac_as_ptr().add(2129usize),
3943            )
3944        }
3945    }
3946
3947    #[doc = "Mailbox Search Status Register"]
3948    #[inline(always)]
3949    pub const fn mssr(&self) -> &'static crate::common::Reg<self::Mssr_SPEC, crate::common::R> {
3950        unsafe {
3951            crate::common::Reg::<self::Mssr_SPEC, crate::common::R>::from_ptr(
3952                self._svd2pac_as_ptr().add(2130usize),
3953            )
3954        }
3955    }
3956
3957    #[doc = "Mailbox Search Mode Register"]
3958    #[inline(always)]
3959    pub const fn msmr(&self) -> &'static crate::common::Reg<self::Msmr_SPEC, crate::common::RW> {
3960        unsafe {
3961            crate::common::Reg::<self::Msmr_SPEC, crate::common::RW>::from_ptr(
3962                self._svd2pac_as_ptr().add(2131usize),
3963            )
3964        }
3965    }
3966
3967    #[doc = "Time Stamp Register"]
3968    #[inline(always)]
3969    pub const fn tsr(&self) -> &'static crate::common::Reg<self::Tsr_SPEC, crate::common::R> {
3970        unsafe {
3971            crate::common::Reg::<self::Tsr_SPEC, crate::common::R>::from_ptr(
3972                self._svd2pac_as_ptr().add(2132usize),
3973            )
3974        }
3975    }
3976
3977    #[doc = "Acceptance Filter Support Register"]
3978    #[inline(always)]
3979    pub const fn afsr(&self) -> &'static crate::common::Reg<self::Afsr_SPEC, crate::common::RW> {
3980        unsafe {
3981            crate::common::Reg::<self::Afsr_SPEC, crate::common::RW>::from_ptr(
3982                self._svd2pac_as_ptr().add(2134usize),
3983            )
3984        }
3985    }
3986
3987    #[doc = "Test Control Register"]
3988    #[inline(always)]
3989    pub const fn tcr(&self) -> &'static crate::common::Reg<self::Tcr_SPEC, crate::common::RW> {
3990        unsafe {
3991            crate::common::Reg::<self::Tcr_SPEC, crate::common::RW>::from_ptr(
3992                self._svd2pac_as_ptr().add(2136usize),
3993            )
3994        }
3995    }
3996}
3997#[doc(hidden)]
3998#[derive(Copy, Clone, Eq, PartialEq)]
3999pub struct MbId_SPEC;
4000impl crate::sealed::RegSpec for MbId_SPEC {
4001    type DataType = u32;
4002}
4003
4004#[doc = "Mailbox Register"]
4005pub type MbId = crate::RegValueT<MbId_SPEC>;
4006
4007impl MbId {
4008    #[doc = "ID Extension"]
4009    #[inline(always)]
4010    pub fn ide(
4011        self,
4012    ) -> crate::common::RegisterField<
4013        31,
4014        0x1,
4015        1,
4016        0,
4017        mb_id::Ide,
4018        mb_id::Ide,
4019        MbId_SPEC,
4020        crate::common::RW,
4021    > {
4022        crate::common::RegisterField::<
4023            31,
4024            0x1,
4025            1,
4026            0,
4027            mb_id::Ide,
4028            mb_id::Ide,
4029            MbId_SPEC,
4030            crate::common::RW,
4031        >::from_register(self, 0)
4032    }
4033
4034    #[doc = "Remote Transmission Request"]
4035    #[inline(always)]
4036    pub fn rtr(
4037        self,
4038    ) -> crate::common::RegisterField<
4039        30,
4040        0x1,
4041        1,
4042        0,
4043        mb_id::Rtr,
4044        mb_id::Rtr,
4045        MbId_SPEC,
4046        crate::common::RW,
4047    > {
4048        crate::common::RegisterField::<
4049            30,
4050            0x1,
4051            1,
4052            0,
4053            mb_id::Rtr,
4054            mb_id::Rtr,
4055            MbId_SPEC,
4056            crate::common::RW,
4057        >::from_register(self, 0)
4058    }
4059
4060    #[doc = "This bit is read as 0. The write value should be 0."]
4061    #[inline(always)]
4062    pub fn reserved(
4063        self,
4064    ) -> crate::common::RegisterFieldBool<29, 1, 0, MbId_SPEC, crate::common::RW> {
4065        crate::common::RegisterFieldBool::<29, 1, 0, MbId_SPEC, crate::common::RW>::from_register(
4066            self, 0,
4067        )
4068    }
4069
4070    #[doc = "Standard ID"]
4071    #[inline(always)]
4072    pub fn sid(
4073        self,
4074    ) -> crate::common::RegisterField<
4075        18,
4076        0x7ff,
4077        1,
4078        0,
4079        mb_id::Sid,
4080        mb_id::Sid,
4081        MbId_SPEC,
4082        crate::common::RW,
4083    > {
4084        crate::common::RegisterField::<
4085            18,
4086            0x7ff,
4087            1,
4088            0,
4089            mb_id::Sid,
4090            mb_id::Sid,
4091            MbId_SPEC,
4092            crate::common::RW,
4093        >::from_register(self, 0)
4094    }
4095
4096    #[doc = "Extended ID"]
4097    #[inline(always)]
4098    pub fn eid(
4099        self,
4100    ) -> crate::common::RegisterField<
4101        0,
4102        0x3ffff,
4103        1,
4104        0,
4105        mb_id::Eid,
4106        mb_id::Eid,
4107        MbId_SPEC,
4108        crate::common::RW,
4109    > {
4110        crate::common::RegisterField::<
4111            0,
4112            0x3ffff,
4113            1,
4114            0,
4115            mb_id::Eid,
4116            mb_id::Eid,
4117            MbId_SPEC,
4118            crate::common::RW,
4119        >::from_register(self, 0)
4120    }
4121}
4122impl ::core::default::Default for MbId {
4123    #[inline(always)]
4124    fn default() -> MbId {
4125        <crate::RegValueT<MbId_SPEC> as RegisterValue<_>>::new(0)
4126    }
4127}
4128pub mod mb_id {
4129
4130    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4131    pub struct Ide_SPEC;
4132    pub type Ide = crate::EnumBitfieldStruct<u8, Ide_SPEC>;
4133    impl Ide {
4134        #[doc = "Standard ID"]
4135        pub const _0: Self = Self::new(0);
4136
4137        #[doc = "Extended ID"]
4138        pub const _1: Self = Self::new(1);
4139    }
4140    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4141    pub struct Rtr_SPEC;
4142    pub type Rtr = crate::EnumBitfieldStruct<u8, Rtr_SPEC>;
4143    impl Rtr {
4144        #[doc = "Data frame"]
4145        pub const _0: Self = Self::new(0);
4146
4147        #[doc = "Remote frame"]
4148        pub const _1: Self = Self::new(1);
4149    }
4150    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4151    pub struct Sid_SPEC;
4152    pub type Sid = crate::EnumBitfieldStruct<u8, Sid_SPEC>;
4153    impl Sid {
4154        #[doc = "Corresponding SID\\[10:0\\] bits are 0"]
4155        pub const _0: Self = Self::new(0);
4156
4157        #[doc = "Corresponding SID\\[10:0\\] bits are 1"]
4158        pub const _1: Self = Self::new(1);
4159    }
4160    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4161    pub struct Eid_SPEC;
4162    pub type Eid = crate::EnumBitfieldStruct<u8, Eid_SPEC>;
4163    impl Eid {
4164        #[doc = "Corresponding EID\\[17:0\\] bits are 0"]
4165        pub const _0: Self = Self::new(0);
4166
4167        #[doc = "Corresponding EID\\[17:0\\] bits are 1"]
4168        pub const _1: Self = Self::new(1);
4169    }
4170}
4171#[doc(hidden)]
4172#[derive(Copy, Clone, Eq, PartialEq)]
4173pub struct MbDl_SPEC;
4174impl crate::sealed::RegSpec for MbDl_SPEC {
4175    type DataType = u16;
4176}
4177
4178#[doc = "Mailbox Register"]
4179pub type MbDl = crate::RegValueT<MbDl_SPEC>;
4180
4181impl MbDl {
4182    #[doc = "These bits are read as 000000000000. The write value should be 000000000000."]
4183    #[inline(always)]
4184    pub fn reserved(
4185        self,
4186    ) -> crate::common::RegisterField<4, 0xfff, 1, 0, u16, u16, MbDl_SPEC, crate::common::RW> {
4187        crate::common::RegisterField::<4,0xfff,1,0,u16,u16,MbDl_SPEC,crate::common::RW>::from_register(self,0)
4188    }
4189
4190    #[doc = "Data Length Code"]
4191    #[inline(always)]
4192    pub fn dlc(
4193        self,
4194    ) -> crate::common::RegisterField<
4195        0,
4196        0xf,
4197        1,
4198        0,
4199        mb_dl::Dlc,
4200        mb_dl::Dlc,
4201        MbDl_SPEC,
4202        crate::common::RW,
4203    > {
4204        crate::common::RegisterField::<
4205            0,
4206            0xf,
4207            1,
4208            0,
4209            mb_dl::Dlc,
4210            mb_dl::Dlc,
4211            MbDl_SPEC,
4212            crate::common::RW,
4213        >::from_register(self, 0)
4214    }
4215}
4216impl ::core::default::Default for MbDl {
4217    #[inline(always)]
4218    fn default() -> MbDl {
4219        <crate::RegValueT<MbDl_SPEC> as RegisterValue<_>>::new(0)
4220    }
4221}
4222pub mod mb_dl {
4223
4224    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4225    pub struct Dlc_SPEC;
4226    pub type Dlc = crate::EnumBitfieldStruct<u8, Dlc_SPEC>;
4227    impl Dlc {
4228        #[doc = "Data length = 0 byte"]
4229        pub const _0000: Self = Self::new(0);
4230
4231        #[doc = "Data length = 1 byte"]
4232        pub const _0001: Self = Self::new(1);
4233
4234        #[doc = "Data length = 2 bytes"]
4235        pub const _0010: Self = Self::new(2);
4236
4237        #[doc = "Data length = 3 bytes"]
4238        pub const _0011: Self = Self::new(3);
4239
4240        #[doc = "Data length = 4 bytes"]
4241        pub const _0100: Self = Self::new(4);
4242
4243        #[doc = "Data length = 5 bytes"]
4244        pub const _0101: Self = Self::new(5);
4245
4246        #[doc = "Data length = 6 bytes"]
4247        pub const _0110: Self = Self::new(6);
4248
4249        #[doc = "Data length = 7 bytes"]
4250        pub const _0111: Self = Self::new(7);
4251    }
4252}
4253#[doc(hidden)]
4254#[derive(Copy, Clone, Eq, PartialEq)]
4255pub struct MbD0_SPEC;
4256impl crate::sealed::RegSpec for MbD0_SPEC {
4257    type DataType = u8;
4258}
4259
4260#[doc = "Mailbox Register"]
4261pub type MbD0 = crate::RegValueT<MbD0_SPEC>;
4262
4263impl MbD0 {
4264    #[doc = "Data Bytes 0.DATA0  store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4265    #[inline(always)]
4266    pub fn data0(
4267        self,
4268    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD0_SPEC, crate::common::RW> {
4269        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD0_SPEC,crate::common::RW>::from_register(self,0)
4270    }
4271}
4272impl ::core::default::Default for MbD0 {
4273    #[inline(always)]
4274    fn default() -> MbD0 {
4275        <crate::RegValueT<MbD0_SPEC> as RegisterValue<_>>::new(0)
4276    }
4277}
4278
4279#[doc(hidden)]
4280#[derive(Copy, Clone, Eq, PartialEq)]
4281pub struct MbD1_SPEC;
4282impl crate::sealed::RegSpec for MbD1_SPEC {
4283    type DataType = u8;
4284}
4285
4286#[doc = "Mailbox Register"]
4287pub type MbD1 = crate::RegValueT<MbD1_SPEC>;
4288
4289impl MbD1 {
4290    #[doc = "Data Bytes 1DATA1  store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4291    #[inline(always)]
4292    pub fn data1(
4293        self,
4294    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD1_SPEC, crate::common::RW> {
4295        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD1_SPEC,crate::common::RW>::from_register(self,0)
4296    }
4297}
4298impl ::core::default::Default for MbD1 {
4299    #[inline(always)]
4300    fn default() -> MbD1 {
4301        <crate::RegValueT<MbD1_SPEC> as RegisterValue<_>>::new(0)
4302    }
4303}
4304
4305#[doc(hidden)]
4306#[derive(Copy, Clone, Eq, PartialEq)]
4307pub struct MbD2_SPEC;
4308impl crate::sealed::RegSpec for MbD2_SPEC {
4309    type DataType = u8;
4310}
4311
4312#[doc = "Mailbox Register"]
4313pub type MbD2 = crate::RegValueT<MbD2_SPEC>;
4314
4315impl MbD2 {
4316    #[doc = "Data Bytes 2DATA2  store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4317    #[inline(always)]
4318    pub fn data2(
4319        self,
4320    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD2_SPEC, crate::common::RW> {
4321        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD2_SPEC,crate::common::RW>::from_register(self,0)
4322    }
4323}
4324impl ::core::default::Default for MbD2 {
4325    #[inline(always)]
4326    fn default() -> MbD2 {
4327        <crate::RegValueT<MbD2_SPEC> as RegisterValue<_>>::new(0)
4328    }
4329}
4330
4331#[doc(hidden)]
4332#[derive(Copy, Clone, Eq, PartialEq)]
4333pub struct MbD3_SPEC;
4334impl crate::sealed::RegSpec for MbD3_SPEC {
4335    type DataType = u8;
4336}
4337
4338#[doc = "Mailbox Register"]
4339pub type MbD3 = crate::RegValueT<MbD3_SPEC>;
4340
4341impl MbD3 {
4342    #[doc = "Data Bytes 3DATA3  store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4343    #[inline(always)]
4344    pub fn data3(
4345        self,
4346    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD3_SPEC, crate::common::RW> {
4347        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD3_SPEC,crate::common::RW>::from_register(self,0)
4348    }
4349}
4350impl ::core::default::Default for MbD3 {
4351    #[inline(always)]
4352    fn default() -> MbD3 {
4353        <crate::RegValueT<MbD3_SPEC> as RegisterValue<_>>::new(0)
4354    }
4355}
4356
4357#[doc(hidden)]
4358#[derive(Copy, Clone, Eq, PartialEq)]
4359pub struct MbD4_SPEC;
4360impl crate::sealed::RegSpec for MbD4_SPEC {
4361    type DataType = u8;
4362}
4363
4364#[doc = "Mailbox Register"]
4365pub type MbD4 = crate::RegValueT<MbD4_SPEC>;
4366
4367impl MbD4 {
4368    #[doc = "Data Bytes 4DATA4 store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4369    #[inline(always)]
4370    pub fn data4(
4371        self,
4372    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD4_SPEC, crate::common::RW> {
4373        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD4_SPEC,crate::common::RW>::from_register(self,0)
4374    }
4375}
4376impl ::core::default::Default for MbD4 {
4377    #[inline(always)]
4378    fn default() -> MbD4 {
4379        <crate::RegValueT<MbD4_SPEC> as RegisterValue<_>>::new(0)
4380    }
4381}
4382
4383#[doc(hidden)]
4384#[derive(Copy, Clone, Eq, PartialEq)]
4385pub struct MbD5_SPEC;
4386impl crate::sealed::RegSpec for MbD5_SPEC {
4387    type DataType = u8;
4388}
4389
4390#[doc = "Mailbox Register"]
4391pub type MbD5 = crate::RegValueT<MbD5_SPEC>;
4392
4393impl MbD5 {
4394    #[doc = "Data Bytes 5DATA5 store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4395    #[inline(always)]
4396    pub fn data5(
4397        self,
4398    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD5_SPEC, crate::common::RW> {
4399        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD5_SPEC,crate::common::RW>::from_register(self,0)
4400    }
4401}
4402impl ::core::default::Default for MbD5 {
4403    #[inline(always)]
4404    fn default() -> MbD5 {
4405        <crate::RegValueT<MbD5_SPEC> as RegisterValue<_>>::new(0)
4406    }
4407}
4408
4409#[doc(hidden)]
4410#[derive(Copy, Clone, Eq, PartialEq)]
4411pub struct MbD6_SPEC;
4412impl crate::sealed::RegSpec for MbD6_SPEC {
4413    type DataType = u8;
4414}
4415
4416#[doc = "Mailbox Register"]
4417pub type MbD6 = crate::RegValueT<MbD6_SPEC>;
4418
4419impl MbD6 {
4420    #[doc = "Data Bytes 6DATA6 store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4421    #[inline(always)]
4422    pub fn data6(
4423        self,
4424    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD6_SPEC, crate::common::RW> {
4425        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD6_SPEC,crate::common::RW>::from_register(self,0)
4426    }
4427}
4428impl ::core::default::Default for MbD6 {
4429    #[inline(always)]
4430    fn default() -> MbD6 {
4431        <crate::RegValueT<MbD6_SPEC> as RegisterValue<_>>::new(0)
4432    }
4433}
4434
4435#[doc(hidden)]
4436#[derive(Copy, Clone, Eq, PartialEq)]
4437pub struct MbD7_SPEC;
4438impl crate::sealed::RegSpec for MbD7_SPEC {
4439    type DataType = u8;
4440}
4441
4442#[doc = "Mailbox Register"]
4443pub type MbD7 = crate::RegValueT<MbD7_SPEC>;
4444
4445impl MbD7 {
4446    #[doc = "Data Bytes 7DATA7 store the transmitted or received CAN message data. Transmission or reception starts from DATA0. The bit order on the CAN bus is MSB first, and transmission or reception starts from bit 7."]
4447    #[inline(always)]
4448    pub fn data7(
4449        self,
4450    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbD7_SPEC, crate::common::RW> {
4451        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbD7_SPEC,crate::common::RW>::from_register(self,0)
4452    }
4453}
4454impl ::core::default::Default for MbD7 {
4455    #[inline(always)]
4456    fn default() -> MbD7 {
4457        <crate::RegValueT<MbD7_SPEC> as RegisterValue<_>>::new(0)
4458    }
4459}
4460
4461#[doc(hidden)]
4462#[derive(Copy, Clone, Eq, PartialEq)]
4463pub struct MbTs_SPEC;
4464impl crate::sealed::RegSpec for MbTs_SPEC {
4465    type DataType = u16;
4466}
4467
4468#[doc = "Mailbox Register"]
4469pub type MbTs = crate::RegValueT<MbTs_SPEC>;
4470
4471impl MbTs {
4472    #[doc = "Time Stamp Lower ByteBits TSH\\[7:0\\] store the counter value of the time stamp when received messages are stored in the mailbox."]
4473    #[inline(always)]
4474    pub fn tsh(
4475        self,
4476    ) -> crate::common::RegisterField<8, 0xff, 1, 0, u8, u8, MbTs_SPEC, crate::common::RW> {
4477        crate::common::RegisterField::<8,0xff,1,0,u8,u8,MbTs_SPEC,crate::common::RW>::from_register(self,0)
4478    }
4479
4480    #[doc = "Time Stamp Higher ByteBits TSL\\[7:0\\] store the counter value of the time stamp when received messages are stored in the mailbox."]
4481    #[inline(always)]
4482    pub fn tsl(
4483        self,
4484    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, MbTs_SPEC, crate::common::RW> {
4485        crate::common::RegisterField::<0,0xff,1,0,u8,u8,MbTs_SPEC,crate::common::RW>::from_register(self,0)
4486    }
4487}
4488impl ::core::default::Default for MbTs {
4489    #[inline(always)]
4490    fn default() -> MbTs {
4491        <crate::RegValueT<MbTs_SPEC> as RegisterValue<_>>::new(0)
4492    }
4493}
4494
4495#[doc(hidden)]
4496#[derive(Copy, Clone, Eq, PartialEq)]
4497pub struct Mkr_SPEC;
4498impl crate::sealed::RegSpec for Mkr_SPEC {
4499    type DataType = u32;
4500}
4501
4502#[doc = "Mask Register"]
4503pub type Mkr = crate::RegValueT<Mkr_SPEC>;
4504
4505impl Mkr {
4506    #[doc = "These bits are read as 000. The write value should be 000."]
4507    #[inline(always)]
4508    pub fn reserved(
4509        self,
4510    ) -> crate::common::RegisterField<29, 0x7, 1, 0, u8, u8, Mkr_SPEC, crate::common::RW> {
4511        crate::common::RegisterField::<29,0x7,1,0,u8,u8,Mkr_SPEC,crate::common::RW>::from_register(self,0)
4512    }
4513
4514    #[doc = "Standard ID"]
4515    #[inline(always)]
4516    pub fn sid(
4517        self,
4518    ) -> crate::common::RegisterField<
4519        18,
4520        0x7ff,
4521        1,
4522        0,
4523        mkr::Sid,
4524        mkr::Sid,
4525        Mkr_SPEC,
4526        crate::common::RW,
4527    > {
4528        crate::common::RegisterField::<
4529            18,
4530            0x7ff,
4531            1,
4532            0,
4533            mkr::Sid,
4534            mkr::Sid,
4535            Mkr_SPEC,
4536            crate::common::RW,
4537        >::from_register(self, 0)
4538    }
4539
4540    #[doc = "Extended ID"]
4541    #[inline(always)]
4542    pub fn eid(
4543        self,
4544    ) -> crate::common::RegisterField<
4545        0,
4546        0x3ffff,
4547        1,
4548        0,
4549        mkr::Eid,
4550        mkr::Eid,
4551        Mkr_SPEC,
4552        crate::common::RW,
4553    > {
4554        crate::common::RegisterField::<
4555            0,
4556            0x3ffff,
4557            1,
4558            0,
4559            mkr::Eid,
4560            mkr::Eid,
4561            Mkr_SPEC,
4562            crate::common::RW,
4563        >::from_register(self, 0)
4564    }
4565}
4566impl ::core::default::Default for Mkr {
4567    #[inline(always)]
4568    fn default() -> Mkr {
4569        <crate::RegValueT<Mkr_SPEC> as RegisterValue<_>>::new(0)
4570    }
4571}
4572pub mod mkr {
4573
4574    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4575    pub struct Sid_SPEC;
4576    pub type Sid = crate::EnumBitfieldStruct<u8, Sid_SPEC>;
4577    impl Sid {
4578        #[doc = "Corresponding SID\\[10:0\\] bit is not compared"]
4579        pub const _0: Self = Self::new(0);
4580
4581        #[doc = "Corresponding SID\\[10:0\\] bit is compared"]
4582        pub const _1: Self = Self::new(1);
4583    }
4584    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4585    pub struct Eid_SPEC;
4586    pub type Eid = crate::EnumBitfieldStruct<u8, Eid_SPEC>;
4587    impl Eid {
4588        #[doc = "Corresponding EID\\[17:0\\] bit is not compared"]
4589        pub const _0: Self = Self::new(0);
4590
4591        #[doc = "Corresponding EID\\[17:0\\] bit is compared"]
4592        pub const _1: Self = Self::new(1);
4593    }
4594}
4595#[doc(hidden)]
4596#[derive(Copy, Clone, Eq, PartialEq)]
4597pub struct Fidcr_SPEC;
4598impl crate::sealed::RegSpec for Fidcr_SPEC {
4599    type DataType = u32;
4600}
4601
4602#[doc = "FIFO Received ID Compare Registers"]
4603pub type Fidcr = crate::RegValueT<Fidcr_SPEC>;
4604
4605impl Fidcr {
4606    #[doc = "ID Extension"]
4607    #[inline(always)]
4608    pub fn ide(
4609        self,
4610    ) -> crate::common::RegisterField<
4611        31,
4612        0x1,
4613        1,
4614        0,
4615        fidcr::Ide,
4616        fidcr::Ide,
4617        Fidcr_SPEC,
4618        crate::common::RW,
4619    > {
4620        crate::common::RegisterField::<
4621            31,
4622            0x1,
4623            1,
4624            0,
4625            fidcr::Ide,
4626            fidcr::Ide,
4627            Fidcr_SPEC,
4628            crate::common::RW,
4629        >::from_register(self, 0)
4630    }
4631
4632    #[doc = "Remote Transmission Request"]
4633    #[inline(always)]
4634    pub fn rtr(
4635        self,
4636    ) -> crate::common::RegisterField<
4637        30,
4638        0x1,
4639        1,
4640        0,
4641        fidcr::Rtr,
4642        fidcr::Rtr,
4643        Fidcr_SPEC,
4644        crate::common::RW,
4645    > {
4646        crate::common::RegisterField::<
4647            30,
4648            0x1,
4649            1,
4650            0,
4651            fidcr::Rtr,
4652            fidcr::Rtr,
4653            Fidcr_SPEC,
4654            crate::common::RW,
4655        >::from_register(self, 0)
4656    }
4657
4658    #[doc = "This bit is read as 0. The write value should be 0."]
4659    #[inline(always)]
4660    pub fn reserved(
4661        self,
4662    ) -> crate::common::RegisterFieldBool<29, 1, 0, Fidcr_SPEC, crate::common::RW> {
4663        crate::common::RegisterFieldBool::<29, 1, 0, Fidcr_SPEC, crate::common::RW>::from_register(
4664            self, 0,
4665        )
4666    }
4667
4668    #[doc = "Standard ID"]
4669    #[inline(always)]
4670    pub fn sid(
4671        self,
4672    ) -> crate::common::RegisterField<
4673        18,
4674        0x7ff,
4675        1,
4676        0,
4677        fidcr::Sid,
4678        fidcr::Sid,
4679        Fidcr_SPEC,
4680        crate::common::RW,
4681    > {
4682        crate::common::RegisterField::<
4683            18,
4684            0x7ff,
4685            1,
4686            0,
4687            fidcr::Sid,
4688            fidcr::Sid,
4689            Fidcr_SPEC,
4690            crate::common::RW,
4691        >::from_register(self, 0)
4692    }
4693
4694    #[doc = "Extended ID"]
4695    #[inline(always)]
4696    pub fn eid(
4697        self,
4698    ) -> crate::common::RegisterField<
4699        0,
4700        0x3ffff,
4701        1,
4702        0,
4703        fidcr::Eid,
4704        fidcr::Eid,
4705        Fidcr_SPEC,
4706        crate::common::RW,
4707    > {
4708        crate::common::RegisterField::<
4709            0,
4710            0x3ffff,
4711            1,
4712            0,
4713            fidcr::Eid,
4714            fidcr::Eid,
4715            Fidcr_SPEC,
4716            crate::common::RW,
4717        >::from_register(self, 0)
4718    }
4719}
4720impl ::core::default::Default for Fidcr {
4721    #[inline(always)]
4722    fn default() -> Fidcr {
4723        <crate::RegValueT<Fidcr_SPEC> as RegisterValue<_>>::new(0)
4724    }
4725}
4726pub mod fidcr {
4727
4728    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4729    pub struct Ide_SPEC;
4730    pub type Ide = crate::EnumBitfieldStruct<u8, Ide_SPEC>;
4731    impl Ide {
4732        #[doc = "Standard ID"]
4733        pub const _0: Self = Self::new(0);
4734
4735        #[doc = "Extended ID"]
4736        pub const _1: Self = Self::new(1);
4737    }
4738    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4739    pub struct Rtr_SPEC;
4740    pub type Rtr = crate::EnumBitfieldStruct<u8, Rtr_SPEC>;
4741    impl Rtr {
4742        #[doc = "Data frame"]
4743        pub const _0: Self = Self::new(0);
4744
4745        #[doc = "Remote frame"]
4746        pub const _1: Self = Self::new(1);
4747    }
4748    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4749    pub struct Sid_SPEC;
4750    pub type Sid = crate::EnumBitfieldStruct<u8, Sid_SPEC>;
4751    impl Sid {
4752        #[doc = "Corresponding SID\\[10:0\\] bits are 0"]
4753        pub const _0: Self = Self::new(0);
4754
4755        #[doc = "Corresponding SID\\[10:0\\] bits are 1"]
4756        pub const _1: Self = Self::new(1);
4757    }
4758    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
4759    pub struct Eid_SPEC;
4760    pub type Eid = crate::EnumBitfieldStruct<u8, Eid_SPEC>;
4761    impl Eid {
4762        #[doc = "Corresponding EID\\[17:0\\] bits are 0"]
4763        pub const _0: Self = Self::new(0);
4764
4765        #[doc = "Corresponding EID\\[17:0\\] bits are 1"]
4766        pub const _1: Self = Self::new(1);
4767    }
4768}
4769#[doc(hidden)]
4770#[derive(Copy, Clone, Eq, PartialEq)]
4771pub struct Mkivlr_SPEC;
4772impl crate::sealed::RegSpec for Mkivlr_SPEC {
4773    type DataType = u32;
4774}
4775
4776#[doc = "Mask Invalid Register"]
4777pub type Mkivlr = crate::RegValueT<Mkivlr_SPEC>;
4778
4779impl Mkivlr {
4780    #[doc = "mailbox 31 Mask Invalid"]
4781    #[inline(always)]
4782    pub fn mb31(
4783        self,
4784    ) -> crate::common::RegisterField<
4785        31,
4786        0x1,
4787        1,
4788        0,
4789        mkivlr::Mb31,
4790        mkivlr::Mb31,
4791        Mkivlr_SPEC,
4792        crate::common::RW,
4793    > {
4794        crate::common::RegisterField::<
4795            31,
4796            0x1,
4797            1,
4798            0,
4799            mkivlr::Mb31,
4800            mkivlr::Mb31,
4801            Mkivlr_SPEC,
4802            crate::common::RW,
4803        >::from_register(self, 0)
4804    }
4805
4806    #[doc = "mailbox 30 Mask Invalid"]
4807    #[inline(always)]
4808    pub fn mb30(
4809        self,
4810    ) -> crate::common::RegisterField<
4811        30,
4812        0x1,
4813        1,
4814        0,
4815        mkivlr::Mb30,
4816        mkivlr::Mb30,
4817        Mkivlr_SPEC,
4818        crate::common::RW,
4819    > {
4820        crate::common::RegisterField::<
4821            30,
4822            0x1,
4823            1,
4824            0,
4825            mkivlr::Mb30,
4826            mkivlr::Mb30,
4827            Mkivlr_SPEC,
4828            crate::common::RW,
4829        >::from_register(self, 0)
4830    }
4831
4832    #[doc = "mailbox 29 Mask Invalid"]
4833    #[inline(always)]
4834    pub fn mb29(
4835        self,
4836    ) -> crate::common::RegisterField<
4837        29,
4838        0x1,
4839        1,
4840        0,
4841        mkivlr::Mb29,
4842        mkivlr::Mb29,
4843        Mkivlr_SPEC,
4844        crate::common::RW,
4845    > {
4846        crate::common::RegisterField::<
4847            29,
4848            0x1,
4849            1,
4850            0,
4851            mkivlr::Mb29,
4852            mkivlr::Mb29,
4853            Mkivlr_SPEC,
4854            crate::common::RW,
4855        >::from_register(self, 0)
4856    }
4857
4858    #[doc = "mailbox 28 Mask Invalid"]
4859    #[inline(always)]
4860    pub fn mb28(
4861        self,
4862    ) -> crate::common::RegisterField<
4863        28,
4864        0x1,
4865        1,
4866        0,
4867        mkivlr::Mb28,
4868        mkivlr::Mb28,
4869        Mkivlr_SPEC,
4870        crate::common::RW,
4871    > {
4872        crate::common::RegisterField::<
4873            28,
4874            0x1,
4875            1,
4876            0,
4877            mkivlr::Mb28,
4878            mkivlr::Mb28,
4879            Mkivlr_SPEC,
4880            crate::common::RW,
4881        >::from_register(self, 0)
4882    }
4883
4884    #[doc = "mailbox 27 Mask Invalid"]
4885    #[inline(always)]
4886    pub fn mb27(
4887        self,
4888    ) -> crate::common::RegisterField<
4889        27,
4890        0x1,
4891        1,
4892        0,
4893        mkivlr::Mb27,
4894        mkivlr::Mb27,
4895        Mkivlr_SPEC,
4896        crate::common::RW,
4897    > {
4898        crate::common::RegisterField::<
4899            27,
4900            0x1,
4901            1,
4902            0,
4903            mkivlr::Mb27,
4904            mkivlr::Mb27,
4905            Mkivlr_SPEC,
4906            crate::common::RW,
4907        >::from_register(self, 0)
4908    }
4909
4910    #[doc = "mailbox 26 Mask Invalid"]
4911    #[inline(always)]
4912    pub fn mb26(
4913        self,
4914    ) -> crate::common::RegisterField<
4915        26,
4916        0x1,
4917        1,
4918        0,
4919        mkivlr::Mb26,
4920        mkivlr::Mb26,
4921        Mkivlr_SPEC,
4922        crate::common::RW,
4923    > {
4924        crate::common::RegisterField::<
4925            26,
4926            0x1,
4927            1,
4928            0,
4929            mkivlr::Mb26,
4930            mkivlr::Mb26,
4931            Mkivlr_SPEC,
4932            crate::common::RW,
4933        >::from_register(self, 0)
4934    }
4935
4936    #[doc = "mailbox 25 Mask Invalid"]
4937    #[inline(always)]
4938    pub fn mb25(
4939        self,
4940    ) -> crate::common::RegisterField<
4941        25,
4942        0x1,
4943        1,
4944        0,
4945        mkivlr::Mb25,
4946        mkivlr::Mb25,
4947        Mkivlr_SPEC,
4948        crate::common::RW,
4949    > {
4950        crate::common::RegisterField::<
4951            25,
4952            0x1,
4953            1,
4954            0,
4955            mkivlr::Mb25,
4956            mkivlr::Mb25,
4957            Mkivlr_SPEC,
4958            crate::common::RW,
4959        >::from_register(self, 0)
4960    }
4961
4962    #[doc = "mailbox 24 Mask Invalid"]
4963    #[inline(always)]
4964    pub fn mb24(
4965        self,
4966    ) -> crate::common::RegisterField<
4967        24,
4968        0x1,
4969        1,
4970        0,
4971        mkivlr::Mb24,
4972        mkivlr::Mb24,
4973        Mkivlr_SPEC,
4974        crate::common::RW,
4975    > {
4976        crate::common::RegisterField::<
4977            24,
4978            0x1,
4979            1,
4980            0,
4981            mkivlr::Mb24,
4982            mkivlr::Mb24,
4983            Mkivlr_SPEC,
4984            crate::common::RW,
4985        >::from_register(self, 0)
4986    }
4987
4988    #[doc = "mailbox 23 Mask Invalid"]
4989    #[inline(always)]
4990    pub fn mb23(
4991        self,
4992    ) -> crate::common::RegisterField<
4993        23,
4994        0x1,
4995        1,
4996        0,
4997        mkivlr::Mb23,
4998        mkivlr::Mb23,
4999        Mkivlr_SPEC,
5000        crate::common::RW,
5001    > {
5002        crate::common::RegisterField::<
5003            23,
5004            0x1,
5005            1,
5006            0,
5007            mkivlr::Mb23,
5008            mkivlr::Mb23,
5009            Mkivlr_SPEC,
5010            crate::common::RW,
5011        >::from_register(self, 0)
5012    }
5013
5014    #[doc = "mailbox 22 Mask Invalid"]
5015    #[inline(always)]
5016    pub fn mb22(
5017        self,
5018    ) -> crate::common::RegisterField<
5019        22,
5020        0x1,
5021        1,
5022        0,
5023        mkivlr::Mb22,
5024        mkivlr::Mb22,
5025        Mkivlr_SPEC,
5026        crate::common::RW,
5027    > {
5028        crate::common::RegisterField::<
5029            22,
5030            0x1,
5031            1,
5032            0,
5033            mkivlr::Mb22,
5034            mkivlr::Mb22,
5035            Mkivlr_SPEC,
5036            crate::common::RW,
5037        >::from_register(self, 0)
5038    }
5039
5040    #[doc = "mailbox 21 Mask Invalid"]
5041    #[inline(always)]
5042    pub fn mb21(
5043        self,
5044    ) -> crate::common::RegisterField<
5045        21,
5046        0x1,
5047        1,
5048        0,
5049        mkivlr::Mb21,
5050        mkivlr::Mb21,
5051        Mkivlr_SPEC,
5052        crate::common::RW,
5053    > {
5054        crate::common::RegisterField::<
5055            21,
5056            0x1,
5057            1,
5058            0,
5059            mkivlr::Mb21,
5060            mkivlr::Mb21,
5061            Mkivlr_SPEC,
5062            crate::common::RW,
5063        >::from_register(self, 0)
5064    }
5065
5066    #[doc = "mailbox 20 Mask Invalid"]
5067    #[inline(always)]
5068    pub fn mb20(
5069        self,
5070    ) -> crate::common::RegisterField<
5071        20,
5072        0x1,
5073        1,
5074        0,
5075        mkivlr::Mb20,
5076        mkivlr::Mb20,
5077        Mkivlr_SPEC,
5078        crate::common::RW,
5079    > {
5080        crate::common::RegisterField::<
5081            20,
5082            0x1,
5083            1,
5084            0,
5085            mkivlr::Mb20,
5086            mkivlr::Mb20,
5087            Mkivlr_SPEC,
5088            crate::common::RW,
5089        >::from_register(self, 0)
5090    }
5091
5092    #[doc = "mailbox 19 Mask Invalid"]
5093    #[inline(always)]
5094    pub fn mb19(
5095        self,
5096    ) -> crate::common::RegisterField<
5097        19,
5098        0x1,
5099        1,
5100        0,
5101        mkivlr::Mb19,
5102        mkivlr::Mb19,
5103        Mkivlr_SPEC,
5104        crate::common::RW,
5105    > {
5106        crate::common::RegisterField::<
5107            19,
5108            0x1,
5109            1,
5110            0,
5111            mkivlr::Mb19,
5112            mkivlr::Mb19,
5113            Mkivlr_SPEC,
5114            crate::common::RW,
5115        >::from_register(self, 0)
5116    }
5117
5118    #[doc = "mailbox 18 Mask Invalid"]
5119    #[inline(always)]
5120    pub fn mb18(
5121        self,
5122    ) -> crate::common::RegisterField<
5123        18,
5124        0x1,
5125        1,
5126        0,
5127        mkivlr::Mb18,
5128        mkivlr::Mb18,
5129        Mkivlr_SPEC,
5130        crate::common::RW,
5131    > {
5132        crate::common::RegisterField::<
5133            18,
5134            0x1,
5135            1,
5136            0,
5137            mkivlr::Mb18,
5138            mkivlr::Mb18,
5139            Mkivlr_SPEC,
5140            crate::common::RW,
5141        >::from_register(self, 0)
5142    }
5143
5144    #[doc = "mailbox 17 Mask Invalid"]
5145    #[inline(always)]
5146    pub fn mb17(
5147        self,
5148    ) -> crate::common::RegisterField<
5149        17,
5150        0x1,
5151        1,
5152        0,
5153        mkivlr::Mb17,
5154        mkivlr::Mb17,
5155        Mkivlr_SPEC,
5156        crate::common::RW,
5157    > {
5158        crate::common::RegisterField::<
5159            17,
5160            0x1,
5161            1,
5162            0,
5163            mkivlr::Mb17,
5164            mkivlr::Mb17,
5165            Mkivlr_SPEC,
5166            crate::common::RW,
5167        >::from_register(self, 0)
5168    }
5169
5170    #[doc = "mailbox 16 Mask Invalid"]
5171    #[inline(always)]
5172    pub fn mb16(
5173        self,
5174    ) -> crate::common::RegisterField<
5175        16,
5176        0x1,
5177        1,
5178        0,
5179        mkivlr::Mb16,
5180        mkivlr::Mb16,
5181        Mkivlr_SPEC,
5182        crate::common::RW,
5183    > {
5184        crate::common::RegisterField::<
5185            16,
5186            0x1,
5187            1,
5188            0,
5189            mkivlr::Mb16,
5190            mkivlr::Mb16,
5191            Mkivlr_SPEC,
5192            crate::common::RW,
5193        >::from_register(self, 0)
5194    }
5195
5196    #[doc = "mailbox 15 Mask Invalid"]
5197    #[inline(always)]
5198    pub fn mb15(
5199        self,
5200    ) -> crate::common::RegisterField<
5201        15,
5202        0x1,
5203        1,
5204        0,
5205        mkivlr::Mb15,
5206        mkivlr::Mb15,
5207        Mkivlr_SPEC,
5208        crate::common::RW,
5209    > {
5210        crate::common::RegisterField::<
5211            15,
5212            0x1,
5213            1,
5214            0,
5215            mkivlr::Mb15,
5216            mkivlr::Mb15,
5217            Mkivlr_SPEC,
5218            crate::common::RW,
5219        >::from_register(self, 0)
5220    }
5221
5222    #[doc = "mailbox 14 Mask Invalid"]
5223    #[inline(always)]
5224    pub fn mb14(
5225        self,
5226    ) -> crate::common::RegisterField<
5227        14,
5228        0x1,
5229        1,
5230        0,
5231        mkivlr::Mb14,
5232        mkivlr::Mb14,
5233        Mkivlr_SPEC,
5234        crate::common::RW,
5235    > {
5236        crate::common::RegisterField::<
5237            14,
5238            0x1,
5239            1,
5240            0,
5241            mkivlr::Mb14,
5242            mkivlr::Mb14,
5243            Mkivlr_SPEC,
5244            crate::common::RW,
5245        >::from_register(self, 0)
5246    }
5247
5248    #[doc = "mailbox 13 Mask Invalid"]
5249    #[inline(always)]
5250    pub fn mb13(
5251        self,
5252    ) -> crate::common::RegisterField<
5253        13,
5254        0x1,
5255        1,
5256        0,
5257        mkivlr::Mb13,
5258        mkivlr::Mb13,
5259        Mkivlr_SPEC,
5260        crate::common::RW,
5261    > {
5262        crate::common::RegisterField::<
5263            13,
5264            0x1,
5265            1,
5266            0,
5267            mkivlr::Mb13,
5268            mkivlr::Mb13,
5269            Mkivlr_SPEC,
5270            crate::common::RW,
5271        >::from_register(self, 0)
5272    }
5273
5274    #[doc = "mailbox 12 Mask Invalid"]
5275    #[inline(always)]
5276    pub fn mb12(
5277        self,
5278    ) -> crate::common::RegisterField<
5279        12,
5280        0x1,
5281        1,
5282        0,
5283        mkivlr::Mb12,
5284        mkivlr::Mb12,
5285        Mkivlr_SPEC,
5286        crate::common::RW,
5287    > {
5288        crate::common::RegisterField::<
5289            12,
5290            0x1,
5291            1,
5292            0,
5293            mkivlr::Mb12,
5294            mkivlr::Mb12,
5295            Mkivlr_SPEC,
5296            crate::common::RW,
5297        >::from_register(self, 0)
5298    }
5299
5300    #[doc = "mailbox 11 Mask Invalid"]
5301    #[inline(always)]
5302    pub fn mb11(
5303        self,
5304    ) -> crate::common::RegisterField<
5305        11,
5306        0x1,
5307        1,
5308        0,
5309        mkivlr::Mb11,
5310        mkivlr::Mb11,
5311        Mkivlr_SPEC,
5312        crate::common::RW,
5313    > {
5314        crate::common::RegisterField::<
5315            11,
5316            0x1,
5317            1,
5318            0,
5319            mkivlr::Mb11,
5320            mkivlr::Mb11,
5321            Mkivlr_SPEC,
5322            crate::common::RW,
5323        >::from_register(self, 0)
5324    }
5325
5326    #[doc = "mailbox 10 Mask Invalid"]
5327    #[inline(always)]
5328    pub fn mb10(
5329        self,
5330    ) -> crate::common::RegisterField<
5331        10,
5332        0x1,
5333        1,
5334        0,
5335        mkivlr::Mb10,
5336        mkivlr::Mb10,
5337        Mkivlr_SPEC,
5338        crate::common::RW,
5339    > {
5340        crate::common::RegisterField::<
5341            10,
5342            0x1,
5343            1,
5344            0,
5345            mkivlr::Mb10,
5346            mkivlr::Mb10,
5347            Mkivlr_SPEC,
5348            crate::common::RW,
5349        >::from_register(self, 0)
5350    }
5351
5352    #[doc = "mailbox 9 Mask Invalid"]
5353    #[inline(always)]
5354    pub fn mb9(
5355        self,
5356    ) -> crate::common::RegisterField<
5357        9,
5358        0x1,
5359        1,
5360        0,
5361        mkivlr::Mb9,
5362        mkivlr::Mb9,
5363        Mkivlr_SPEC,
5364        crate::common::RW,
5365    > {
5366        crate::common::RegisterField::<
5367            9,
5368            0x1,
5369            1,
5370            0,
5371            mkivlr::Mb9,
5372            mkivlr::Mb9,
5373            Mkivlr_SPEC,
5374            crate::common::RW,
5375        >::from_register(self, 0)
5376    }
5377
5378    #[doc = "mailbox 8 Mask Invalid"]
5379    #[inline(always)]
5380    pub fn mb8(
5381        self,
5382    ) -> crate::common::RegisterField<
5383        8,
5384        0x1,
5385        1,
5386        0,
5387        mkivlr::Mb8,
5388        mkivlr::Mb8,
5389        Mkivlr_SPEC,
5390        crate::common::RW,
5391    > {
5392        crate::common::RegisterField::<
5393            8,
5394            0x1,
5395            1,
5396            0,
5397            mkivlr::Mb8,
5398            mkivlr::Mb8,
5399            Mkivlr_SPEC,
5400            crate::common::RW,
5401        >::from_register(self, 0)
5402    }
5403
5404    #[doc = "mailbox 7 Mask Invalid"]
5405    #[inline(always)]
5406    pub fn mb7(
5407        self,
5408    ) -> crate::common::RegisterField<
5409        7,
5410        0x1,
5411        1,
5412        0,
5413        mkivlr::Mb7,
5414        mkivlr::Mb7,
5415        Mkivlr_SPEC,
5416        crate::common::RW,
5417    > {
5418        crate::common::RegisterField::<
5419            7,
5420            0x1,
5421            1,
5422            0,
5423            mkivlr::Mb7,
5424            mkivlr::Mb7,
5425            Mkivlr_SPEC,
5426            crate::common::RW,
5427        >::from_register(self, 0)
5428    }
5429
5430    #[doc = "mailbox 6 Mask Invalid"]
5431    #[inline(always)]
5432    pub fn mb6(
5433        self,
5434    ) -> crate::common::RegisterField<
5435        6,
5436        0x1,
5437        1,
5438        0,
5439        mkivlr::Mb6,
5440        mkivlr::Mb6,
5441        Mkivlr_SPEC,
5442        crate::common::RW,
5443    > {
5444        crate::common::RegisterField::<
5445            6,
5446            0x1,
5447            1,
5448            0,
5449            mkivlr::Mb6,
5450            mkivlr::Mb6,
5451            Mkivlr_SPEC,
5452            crate::common::RW,
5453        >::from_register(self, 0)
5454    }
5455
5456    #[doc = "mailbox 5 Mask Invalid"]
5457    #[inline(always)]
5458    pub fn mb5(
5459        self,
5460    ) -> crate::common::RegisterField<
5461        5,
5462        0x1,
5463        1,
5464        0,
5465        mkivlr::Mb5,
5466        mkivlr::Mb5,
5467        Mkivlr_SPEC,
5468        crate::common::RW,
5469    > {
5470        crate::common::RegisterField::<
5471            5,
5472            0x1,
5473            1,
5474            0,
5475            mkivlr::Mb5,
5476            mkivlr::Mb5,
5477            Mkivlr_SPEC,
5478            crate::common::RW,
5479        >::from_register(self, 0)
5480    }
5481
5482    #[doc = "mailbox 4 Mask Invalid"]
5483    #[inline(always)]
5484    pub fn mb4(
5485        self,
5486    ) -> crate::common::RegisterField<
5487        4,
5488        0x1,
5489        1,
5490        0,
5491        mkivlr::Mb4,
5492        mkivlr::Mb4,
5493        Mkivlr_SPEC,
5494        crate::common::RW,
5495    > {
5496        crate::common::RegisterField::<
5497            4,
5498            0x1,
5499            1,
5500            0,
5501            mkivlr::Mb4,
5502            mkivlr::Mb4,
5503            Mkivlr_SPEC,
5504            crate::common::RW,
5505        >::from_register(self, 0)
5506    }
5507
5508    #[doc = "mailbox 3 Mask Invalid"]
5509    #[inline(always)]
5510    pub fn mb3(
5511        self,
5512    ) -> crate::common::RegisterField<
5513        3,
5514        0x1,
5515        1,
5516        0,
5517        mkivlr::Mb3,
5518        mkivlr::Mb3,
5519        Mkivlr_SPEC,
5520        crate::common::RW,
5521    > {
5522        crate::common::RegisterField::<
5523            3,
5524            0x1,
5525            1,
5526            0,
5527            mkivlr::Mb3,
5528            mkivlr::Mb3,
5529            Mkivlr_SPEC,
5530            crate::common::RW,
5531        >::from_register(self, 0)
5532    }
5533
5534    #[doc = "mailbox 2 Mask Invalid"]
5535    #[inline(always)]
5536    pub fn mb2(
5537        self,
5538    ) -> crate::common::RegisterField<
5539        2,
5540        0x1,
5541        1,
5542        0,
5543        mkivlr::Mb2,
5544        mkivlr::Mb2,
5545        Mkivlr_SPEC,
5546        crate::common::RW,
5547    > {
5548        crate::common::RegisterField::<
5549            2,
5550            0x1,
5551            1,
5552            0,
5553            mkivlr::Mb2,
5554            mkivlr::Mb2,
5555            Mkivlr_SPEC,
5556            crate::common::RW,
5557        >::from_register(self, 0)
5558    }
5559
5560    #[doc = "mailbox 1 Mask Invalid"]
5561    #[inline(always)]
5562    pub fn mb1(
5563        self,
5564    ) -> crate::common::RegisterField<
5565        1,
5566        0x1,
5567        1,
5568        0,
5569        mkivlr::Mb1,
5570        mkivlr::Mb1,
5571        Mkivlr_SPEC,
5572        crate::common::RW,
5573    > {
5574        crate::common::RegisterField::<
5575            1,
5576            0x1,
5577            1,
5578            0,
5579            mkivlr::Mb1,
5580            mkivlr::Mb1,
5581            Mkivlr_SPEC,
5582            crate::common::RW,
5583        >::from_register(self, 0)
5584    }
5585
5586    #[doc = "mailbox 0 Mask Invalid"]
5587    #[inline(always)]
5588    pub fn mb0(
5589        self,
5590    ) -> crate::common::RegisterField<
5591        0,
5592        0x1,
5593        1,
5594        0,
5595        mkivlr::Mb0,
5596        mkivlr::Mb0,
5597        Mkivlr_SPEC,
5598        crate::common::RW,
5599    > {
5600        crate::common::RegisterField::<
5601            0,
5602            0x1,
5603            1,
5604            0,
5605            mkivlr::Mb0,
5606            mkivlr::Mb0,
5607            Mkivlr_SPEC,
5608            crate::common::RW,
5609        >::from_register(self, 0)
5610    }
5611}
5612impl ::core::default::Default for Mkivlr {
5613    #[inline(always)]
5614    fn default() -> Mkivlr {
5615        <crate::RegValueT<Mkivlr_SPEC> as RegisterValue<_>>::new(0)
5616    }
5617}
5618pub mod mkivlr {
5619
5620    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5621    pub struct Mb31_SPEC;
5622    pub type Mb31 = crate::EnumBitfieldStruct<u8, Mb31_SPEC>;
5623    impl Mb31 {
5624        #[doc = "Mask valid"]
5625        pub const _0: Self = Self::new(0);
5626
5627        #[doc = "Mask invalid"]
5628        pub const _1: Self = Self::new(1);
5629    }
5630    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5631    pub struct Mb30_SPEC;
5632    pub type Mb30 = crate::EnumBitfieldStruct<u8, Mb30_SPEC>;
5633    impl Mb30 {
5634        #[doc = "Mask valid"]
5635        pub const _0: Self = Self::new(0);
5636
5637        #[doc = "Mask invalid"]
5638        pub const _1: Self = Self::new(1);
5639    }
5640    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5641    pub struct Mb29_SPEC;
5642    pub type Mb29 = crate::EnumBitfieldStruct<u8, Mb29_SPEC>;
5643    impl Mb29 {
5644        #[doc = "Mask valid"]
5645        pub const _0: Self = Self::new(0);
5646
5647        #[doc = "Mask invalid"]
5648        pub const _1: Self = Self::new(1);
5649    }
5650    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5651    pub struct Mb28_SPEC;
5652    pub type Mb28 = crate::EnumBitfieldStruct<u8, Mb28_SPEC>;
5653    impl Mb28 {
5654        #[doc = "Mask valid"]
5655        pub const _0: Self = Self::new(0);
5656
5657        #[doc = "Mask invalid"]
5658        pub const _1: Self = Self::new(1);
5659    }
5660    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5661    pub struct Mb27_SPEC;
5662    pub type Mb27 = crate::EnumBitfieldStruct<u8, Mb27_SPEC>;
5663    impl Mb27 {
5664        #[doc = "Mask valid"]
5665        pub const _0: Self = Self::new(0);
5666
5667        #[doc = "Mask invalid"]
5668        pub const _1: Self = Self::new(1);
5669    }
5670    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5671    pub struct Mb26_SPEC;
5672    pub type Mb26 = crate::EnumBitfieldStruct<u8, Mb26_SPEC>;
5673    impl Mb26 {
5674        #[doc = "Mask valid"]
5675        pub const _0: Self = Self::new(0);
5676
5677        #[doc = "Mask invalid"]
5678        pub const _1: Self = Self::new(1);
5679    }
5680    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5681    pub struct Mb25_SPEC;
5682    pub type Mb25 = crate::EnumBitfieldStruct<u8, Mb25_SPEC>;
5683    impl Mb25 {
5684        #[doc = "Mask valid"]
5685        pub const _0: Self = Self::new(0);
5686
5687        #[doc = "Mask invalid"]
5688        pub const _1: Self = Self::new(1);
5689    }
5690    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5691    pub struct Mb24_SPEC;
5692    pub type Mb24 = crate::EnumBitfieldStruct<u8, Mb24_SPEC>;
5693    impl Mb24 {
5694        #[doc = "Mask valid"]
5695        pub const _0: Self = Self::new(0);
5696
5697        #[doc = "Mask invalid"]
5698        pub const _1: Self = Self::new(1);
5699    }
5700    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5701    pub struct Mb23_SPEC;
5702    pub type Mb23 = crate::EnumBitfieldStruct<u8, Mb23_SPEC>;
5703    impl Mb23 {
5704        #[doc = "Mask valid"]
5705        pub const _0: Self = Self::new(0);
5706
5707        #[doc = "Mask invalid"]
5708        pub const _1: Self = Self::new(1);
5709    }
5710    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5711    pub struct Mb22_SPEC;
5712    pub type Mb22 = crate::EnumBitfieldStruct<u8, Mb22_SPEC>;
5713    impl Mb22 {
5714        #[doc = "Mask valid"]
5715        pub const _0: Self = Self::new(0);
5716
5717        #[doc = "Mask invalid"]
5718        pub const _1: Self = Self::new(1);
5719    }
5720    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5721    pub struct Mb21_SPEC;
5722    pub type Mb21 = crate::EnumBitfieldStruct<u8, Mb21_SPEC>;
5723    impl Mb21 {
5724        #[doc = "Mask valid"]
5725        pub const _0: Self = Self::new(0);
5726
5727        #[doc = "Mask invalid"]
5728        pub const _1: Self = Self::new(1);
5729    }
5730    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5731    pub struct Mb20_SPEC;
5732    pub type Mb20 = crate::EnumBitfieldStruct<u8, Mb20_SPEC>;
5733    impl Mb20 {
5734        #[doc = "Mask valid"]
5735        pub const _0: Self = Self::new(0);
5736
5737        #[doc = "Mask invalid"]
5738        pub const _1: Self = Self::new(1);
5739    }
5740    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5741    pub struct Mb19_SPEC;
5742    pub type Mb19 = crate::EnumBitfieldStruct<u8, Mb19_SPEC>;
5743    impl Mb19 {
5744        #[doc = "Mask valid"]
5745        pub const _0: Self = Self::new(0);
5746
5747        #[doc = "Mask invalid"]
5748        pub const _1: Self = Self::new(1);
5749    }
5750    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5751    pub struct Mb18_SPEC;
5752    pub type Mb18 = crate::EnumBitfieldStruct<u8, Mb18_SPEC>;
5753    impl Mb18 {
5754        #[doc = "Mask valid"]
5755        pub const _0: Self = Self::new(0);
5756
5757        #[doc = "Mask invalid"]
5758        pub const _1: Self = Self::new(1);
5759    }
5760    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5761    pub struct Mb17_SPEC;
5762    pub type Mb17 = crate::EnumBitfieldStruct<u8, Mb17_SPEC>;
5763    impl Mb17 {
5764        #[doc = "Mask valid"]
5765        pub const _0: Self = Self::new(0);
5766
5767        #[doc = "Mask invalid"]
5768        pub const _1: Self = Self::new(1);
5769    }
5770    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5771    pub struct Mb16_SPEC;
5772    pub type Mb16 = crate::EnumBitfieldStruct<u8, Mb16_SPEC>;
5773    impl Mb16 {
5774        #[doc = "Mask valid"]
5775        pub const _0: Self = Self::new(0);
5776
5777        #[doc = "Mask invalid"]
5778        pub const _1: Self = Self::new(1);
5779    }
5780    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5781    pub struct Mb15_SPEC;
5782    pub type Mb15 = crate::EnumBitfieldStruct<u8, Mb15_SPEC>;
5783    impl Mb15 {
5784        #[doc = "Mask valid"]
5785        pub const _0: Self = Self::new(0);
5786
5787        #[doc = "Mask invalid"]
5788        pub const _1: Self = Self::new(1);
5789    }
5790    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5791    pub struct Mb14_SPEC;
5792    pub type Mb14 = crate::EnumBitfieldStruct<u8, Mb14_SPEC>;
5793    impl Mb14 {
5794        #[doc = "Mask valid"]
5795        pub const _0: Self = Self::new(0);
5796
5797        #[doc = "Mask invalid"]
5798        pub const _1: Self = Self::new(1);
5799    }
5800    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5801    pub struct Mb13_SPEC;
5802    pub type Mb13 = crate::EnumBitfieldStruct<u8, Mb13_SPEC>;
5803    impl Mb13 {
5804        #[doc = "Mask valid"]
5805        pub const _0: Self = Self::new(0);
5806
5807        #[doc = "Mask invalid"]
5808        pub const _1: Self = Self::new(1);
5809    }
5810    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5811    pub struct Mb12_SPEC;
5812    pub type Mb12 = crate::EnumBitfieldStruct<u8, Mb12_SPEC>;
5813    impl Mb12 {
5814        #[doc = "Mask valid"]
5815        pub const _0: Self = Self::new(0);
5816
5817        #[doc = "Mask invalid"]
5818        pub const _1: Self = Self::new(1);
5819    }
5820    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5821    pub struct Mb11_SPEC;
5822    pub type Mb11 = crate::EnumBitfieldStruct<u8, Mb11_SPEC>;
5823    impl Mb11 {
5824        #[doc = "Mask valid"]
5825        pub const _0: Self = Self::new(0);
5826
5827        #[doc = "Mask invalid"]
5828        pub const _1: Self = Self::new(1);
5829    }
5830    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5831    pub struct Mb10_SPEC;
5832    pub type Mb10 = crate::EnumBitfieldStruct<u8, Mb10_SPEC>;
5833    impl Mb10 {
5834        #[doc = "Mask valid"]
5835        pub const _0: Self = Self::new(0);
5836
5837        #[doc = "Mask invalid"]
5838        pub const _1: Self = Self::new(1);
5839    }
5840    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5841    pub struct Mb9_SPEC;
5842    pub type Mb9 = crate::EnumBitfieldStruct<u8, Mb9_SPEC>;
5843    impl Mb9 {
5844        #[doc = "Mask valid"]
5845        pub const _0: Self = Self::new(0);
5846
5847        #[doc = "Mask invalid"]
5848        pub const _1: Self = Self::new(1);
5849    }
5850    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5851    pub struct Mb8_SPEC;
5852    pub type Mb8 = crate::EnumBitfieldStruct<u8, Mb8_SPEC>;
5853    impl Mb8 {
5854        #[doc = "Mask valid"]
5855        pub const _0: Self = Self::new(0);
5856
5857        #[doc = "Mask invalid"]
5858        pub const _1: Self = Self::new(1);
5859    }
5860    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5861    pub struct Mb7_SPEC;
5862    pub type Mb7 = crate::EnumBitfieldStruct<u8, Mb7_SPEC>;
5863    impl Mb7 {
5864        #[doc = "Mask valid"]
5865        pub const _0: Self = Self::new(0);
5866
5867        #[doc = "Mask invalid"]
5868        pub const _1: Self = Self::new(1);
5869    }
5870    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5871    pub struct Mb6_SPEC;
5872    pub type Mb6 = crate::EnumBitfieldStruct<u8, Mb6_SPEC>;
5873    impl Mb6 {
5874        #[doc = "Mask valid"]
5875        pub const _0: Self = Self::new(0);
5876
5877        #[doc = "Mask invalid"]
5878        pub const _1: Self = Self::new(1);
5879    }
5880    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5881    pub struct Mb5_SPEC;
5882    pub type Mb5 = crate::EnumBitfieldStruct<u8, Mb5_SPEC>;
5883    impl Mb5 {
5884        #[doc = "Mask valid"]
5885        pub const _0: Self = Self::new(0);
5886
5887        #[doc = "Mask invalid"]
5888        pub const _1: Self = Self::new(1);
5889    }
5890    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5891    pub struct Mb4_SPEC;
5892    pub type Mb4 = crate::EnumBitfieldStruct<u8, Mb4_SPEC>;
5893    impl Mb4 {
5894        #[doc = "Mask valid"]
5895        pub const _0: Self = Self::new(0);
5896
5897        #[doc = "Mask invalid"]
5898        pub const _1: Self = Self::new(1);
5899    }
5900    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5901    pub struct Mb3_SPEC;
5902    pub type Mb3 = crate::EnumBitfieldStruct<u8, Mb3_SPEC>;
5903    impl Mb3 {
5904        #[doc = "Mask valid"]
5905        pub const _0: Self = Self::new(0);
5906
5907        #[doc = "Mask invalid"]
5908        pub const _1: Self = Self::new(1);
5909    }
5910    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5911    pub struct Mb2_SPEC;
5912    pub type Mb2 = crate::EnumBitfieldStruct<u8, Mb2_SPEC>;
5913    impl Mb2 {
5914        #[doc = "Mask valid"]
5915        pub const _0: Self = Self::new(0);
5916
5917        #[doc = "Mask invalid"]
5918        pub const _1: Self = Self::new(1);
5919    }
5920    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5921    pub struct Mb1_SPEC;
5922    pub type Mb1 = crate::EnumBitfieldStruct<u8, Mb1_SPEC>;
5923    impl Mb1 {
5924        #[doc = "Mask valid"]
5925        pub const _0: Self = Self::new(0);
5926
5927        #[doc = "Mask invalid"]
5928        pub const _1: Self = Self::new(1);
5929    }
5930    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
5931    pub struct Mb0_SPEC;
5932    pub type Mb0 = crate::EnumBitfieldStruct<u8, Mb0_SPEC>;
5933    impl Mb0 {
5934        #[doc = "Mask valid"]
5935        pub const _0: Self = Self::new(0);
5936
5937        #[doc = "Mask invalid"]
5938        pub const _1: Self = Self::new(1);
5939    }
5940}
5941#[doc(hidden)]
5942#[derive(Copy, Clone, Eq, PartialEq)]
5943pub struct Mier_SPEC;
5944impl crate::sealed::RegSpec for Mier_SPEC {
5945    type DataType = u32;
5946}
5947
5948#[doc = "Mailbox Interrupt Enable Register (Normal mailbox mode)"]
5949pub type Mier = crate::RegValueT<Mier_SPEC>;
5950
5951impl Mier {
5952    #[doc = "mailbox 31 Interrupt Enable"]
5953    #[inline(always)]
5954    pub fn mb31(
5955        self,
5956    ) -> crate::common::RegisterField<
5957        31,
5958        0x1,
5959        1,
5960        0,
5961        mier::Mb31,
5962        mier::Mb31,
5963        Mier_SPEC,
5964        crate::common::RW,
5965    > {
5966        crate::common::RegisterField::<
5967            31,
5968            0x1,
5969            1,
5970            0,
5971            mier::Mb31,
5972            mier::Mb31,
5973            Mier_SPEC,
5974            crate::common::RW,
5975        >::from_register(self, 0)
5976    }
5977
5978    #[doc = "mailbox 30 Interrupt Enable"]
5979    #[inline(always)]
5980    pub fn mb30(
5981        self,
5982    ) -> crate::common::RegisterField<
5983        30,
5984        0x1,
5985        1,
5986        0,
5987        mier::Mb30,
5988        mier::Mb30,
5989        Mier_SPEC,
5990        crate::common::RW,
5991    > {
5992        crate::common::RegisterField::<
5993            30,
5994            0x1,
5995            1,
5996            0,
5997            mier::Mb30,
5998            mier::Mb30,
5999            Mier_SPEC,
6000            crate::common::RW,
6001        >::from_register(self, 0)
6002    }
6003
6004    #[doc = "mailbox 29 Interrupt Enable"]
6005    #[inline(always)]
6006    pub fn mb29(
6007        self,
6008    ) -> crate::common::RegisterField<
6009        29,
6010        0x1,
6011        1,
6012        0,
6013        mier::Mb29,
6014        mier::Mb29,
6015        Mier_SPEC,
6016        crate::common::RW,
6017    > {
6018        crate::common::RegisterField::<
6019            29,
6020            0x1,
6021            1,
6022            0,
6023            mier::Mb29,
6024            mier::Mb29,
6025            Mier_SPEC,
6026            crate::common::RW,
6027        >::from_register(self, 0)
6028    }
6029
6030    #[doc = "mailbox 28 Interrupt Enable"]
6031    #[inline(always)]
6032    pub fn mb28(
6033        self,
6034    ) -> crate::common::RegisterField<
6035        28,
6036        0x1,
6037        1,
6038        0,
6039        mier::Mb28,
6040        mier::Mb28,
6041        Mier_SPEC,
6042        crate::common::RW,
6043    > {
6044        crate::common::RegisterField::<
6045            28,
6046            0x1,
6047            1,
6048            0,
6049            mier::Mb28,
6050            mier::Mb28,
6051            Mier_SPEC,
6052            crate::common::RW,
6053        >::from_register(self, 0)
6054    }
6055
6056    #[doc = "mailbox 27 Interrupt Enable"]
6057    #[inline(always)]
6058    pub fn mb27(
6059        self,
6060    ) -> crate::common::RegisterField<
6061        27,
6062        0x1,
6063        1,
6064        0,
6065        mier::Mb27,
6066        mier::Mb27,
6067        Mier_SPEC,
6068        crate::common::RW,
6069    > {
6070        crate::common::RegisterField::<
6071            27,
6072            0x1,
6073            1,
6074            0,
6075            mier::Mb27,
6076            mier::Mb27,
6077            Mier_SPEC,
6078            crate::common::RW,
6079        >::from_register(self, 0)
6080    }
6081
6082    #[doc = "mailbox 26 Interrupt Enable"]
6083    #[inline(always)]
6084    pub fn mb26(
6085        self,
6086    ) -> crate::common::RegisterField<
6087        26,
6088        0x1,
6089        1,
6090        0,
6091        mier::Mb26,
6092        mier::Mb26,
6093        Mier_SPEC,
6094        crate::common::RW,
6095    > {
6096        crate::common::RegisterField::<
6097            26,
6098            0x1,
6099            1,
6100            0,
6101            mier::Mb26,
6102            mier::Mb26,
6103            Mier_SPEC,
6104            crate::common::RW,
6105        >::from_register(self, 0)
6106    }
6107
6108    #[doc = "mailbox 25 Interrupt Enable"]
6109    #[inline(always)]
6110    pub fn mb25(
6111        self,
6112    ) -> crate::common::RegisterField<
6113        25,
6114        0x1,
6115        1,
6116        0,
6117        mier::Mb25,
6118        mier::Mb25,
6119        Mier_SPEC,
6120        crate::common::RW,
6121    > {
6122        crate::common::RegisterField::<
6123            25,
6124            0x1,
6125            1,
6126            0,
6127            mier::Mb25,
6128            mier::Mb25,
6129            Mier_SPEC,
6130            crate::common::RW,
6131        >::from_register(self, 0)
6132    }
6133
6134    #[doc = "mailbox 24 Interrupt Enable"]
6135    #[inline(always)]
6136    pub fn mb24(
6137        self,
6138    ) -> crate::common::RegisterField<
6139        24,
6140        0x1,
6141        1,
6142        0,
6143        mier::Mb24,
6144        mier::Mb24,
6145        Mier_SPEC,
6146        crate::common::RW,
6147    > {
6148        crate::common::RegisterField::<
6149            24,
6150            0x1,
6151            1,
6152            0,
6153            mier::Mb24,
6154            mier::Mb24,
6155            Mier_SPEC,
6156            crate::common::RW,
6157        >::from_register(self, 0)
6158    }
6159
6160    #[doc = "mailbox 23 Interrupt Enable"]
6161    #[inline(always)]
6162    pub fn mb23(
6163        self,
6164    ) -> crate::common::RegisterField<
6165        23,
6166        0x1,
6167        1,
6168        0,
6169        mier::Mb23,
6170        mier::Mb23,
6171        Mier_SPEC,
6172        crate::common::RW,
6173    > {
6174        crate::common::RegisterField::<
6175            23,
6176            0x1,
6177            1,
6178            0,
6179            mier::Mb23,
6180            mier::Mb23,
6181            Mier_SPEC,
6182            crate::common::RW,
6183        >::from_register(self, 0)
6184    }
6185
6186    #[doc = "mailbox 22 Interrupt Enable"]
6187    #[inline(always)]
6188    pub fn mb22(
6189        self,
6190    ) -> crate::common::RegisterField<
6191        22,
6192        0x1,
6193        1,
6194        0,
6195        mier::Mb22,
6196        mier::Mb22,
6197        Mier_SPEC,
6198        crate::common::RW,
6199    > {
6200        crate::common::RegisterField::<
6201            22,
6202            0x1,
6203            1,
6204            0,
6205            mier::Mb22,
6206            mier::Mb22,
6207            Mier_SPEC,
6208            crate::common::RW,
6209        >::from_register(self, 0)
6210    }
6211
6212    #[doc = "mailbox 21 Interrupt Enable"]
6213    #[inline(always)]
6214    pub fn mb21(
6215        self,
6216    ) -> crate::common::RegisterField<
6217        21,
6218        0x1,
6219        1,
6220        0,
6221        mier::Mb21,
6222        mier::Mb21,
6223        Mier_SPEC,
6224        crate::common::RW,
6225    > {
6226        crate::common::RegisterField::<
6227            21,
6228            0x1,
6229            1,
6230            0,
6231            mier::Mb21,
6232            mier::Mb21,
6233            Mier_SPEC,
6234            crate::common::RW,
6235        >::from_register(self, 0)
6236    }
6237
6238    #[doc = "mailbox 20 Interrupt Enable"]
6239    #[inline(always)]
6240    pub fn mb20(
6241        self,
6242    ) -> crate::common::RegisterField<
6243        20,
6244        0x1,
6245        1,
6246        0,
6247        mier::Mb20,
6248        mier::Mb20,
6249        Mier_SPEC,
6250        crate::common::RW,
6251    > {
6252        crate::common::RegisterField::<
6253            20,
6254            0x1,
6255            1,
6256            0,
6257            mier::Mb20,
6258            mier::Mb20,
6259            Mier_SPEC,
6260            crate::common::RW,
6261        >::from_register(self, 0)
6262    }
6263
6264    #[doc = "mailbox 19 Interrupt Enable"]
6265    #[inline(always)]
6266    pub fn mb19(
6267        self,
6268    ) -> crate::common::RegisterField<
6269        19,
6270        0x1,
6271        1,
6272        0,
6273        mier::Mb19,
6274        mier::Mb19,
6275        Mier_SPEC,
6276        crate::common::RW,
6277    > {
6278        crate::common::RegisterField::<
6279            19,
6280            0x1,
6281            1,
6282            0,
6283            mier::Mb19,
6284            mier::Mb19,
6285            Mier_SPEC,
6286            crate::common::RW,
6287        >::from_register(self, 0)
6288    }
6289
6290    #[doc = "mailbox 18 Interrupt Enable"]
6291    #[inline(always)]
6292    pub fn mb18(
6293        self,
6294    ) -> crate::common::RegisterField<
6295        18,
6296        0x1,
6297        1,
6298        0,
6299        mier::Mb18,
6300        mier::Mb18,
6301        Mier_SPEC,
6302        crate::common::RW,
6303    > {
6304        crate::common::RegisterField::<
6305            18,
6306            0x1,
6307            1,
6308            0,
6309            mier::Mb18,
6310            mier::Mb18,
6311            Mier_SPEC,
6312            crate::common::RW,
6313        >::from_register(self, 0)
6314    }
6315
6316    #[doc = "mailbox 17 Interrupt Enable"]
6317    #[inline(always)]
6318    pub fn mb17(
6319        self,
6320    ) -> crate::common::RegisterField<
6321        17,
6322        0x1,
6323        1,
6324        0,
6325        mier::Mb17,
6326        mier::Mb17,
6327        Mier_SPEC,
6328        crate::common::RW,
6329    > {
6330        crate::common::RegisterField::<
6331            17,
6332            0x1,
6333            1,
6334            0,
6335            mier::Mb17,
6336            mier::Mb17,
6337            Mier_SPEC,
6338            crate::common::RW,
6339        >::from_register(self, 0)
6340    }
6341
6342    #[doc = "mailbox 16 Interrupt Enable"]
6343    #[inline(always)]
6344    pub fn mb16(
6345        self,
6346    ) -> crate::common::RegisterField<
6347        16,
6348        0x1,
6349        1,
6350        0,
6351        mier::Mb16,
6352        mier::Mb16,
6353        Mier_SPEC,
6354        crate::common::RW,
6355    > {
6356        crate::common::RegisterField::<
6357            16,
6358            0x1,
6359            1,
6360            0,
6361            mier::Mb16,
6362            mier::Mb16,
6363            Mier_SPEC,
6364            crate::common::RW,
6365        >::from_register(self, 0)
6366    }
6367
6368    #[doc = "mailbox 15 Interrupt Enable"]
6369    #[inline(always)]
6370    pub fn mb15(
6371        self,
6372    ) -> crate::common::RegisterField<
6373        15,
6374        0x1,
6375        1,
6376        0,
6377        mier::Mb15,
6378        mier::Mb15,
6379        Mier_SPEC,
6380        crate::common::RW,
6381    > {
6382        crate::common::RegisterField::<
6383            15,
6384            0x1,
6385            1,
6386            0,
6387            mier::Mb15,
6388            mier::Mb15,
6389            Mier_SPEC,
6390            crate::common::RW,
6391        >::from_register(self, 0)
6392    }
6393
6394    #[doc = "mailbox 14 Interrupt Enable"]
6395    #[inline(always)]
6396    pub fn mb14(
6397        self,
6398    ) -> crate::common::RegisterField<
6399        14,
6400        0x1,
6401        1,
6402        0,
6403        mier::Mb14,
6404        mier::Mb14,
6405        Mier_SPEC,
6406        crate::common::RW,
6407    > {
6408        crate::common::RegisterField::<
6409            14,
6410            0x1,
6411            1,
6412            0,
6413            mier::Mb14,
6414            mier::Mb14,
6415            Mier_SPEC,
6416            crate::common::RW,
6417        >::from_register(self, 0)
6418    }
6419
6420    #[doc = "mailbox 13 Interrupt Enable"]
6421    #[inline(always)]
6422    pub fn mb13(
6423        self,
6424    ) -> crate::common::RegisterField<
6425        13,
6426        0x1,
6427        1,
6428        0,
6429        mier::Mb13,
6430        mier::Mb13,
6431        Mier_SPEC,
6432        crate::common::RW,
6433    > {
6434        crate::common::RegisterField::<
6435            13,
6436            0x1,
6437            1,
6438            0,
6439            mier::Mb13,
6440            mier::Mb13,
6441            Mier_SPEC,
6442            crate::common::RW,
6443        >::from_register(self, 0)
6444    }
6445
6446    #[doc = "mailbox 12 Interrupt Enable"]
6447    #[inline(always)]
6448    pub fn mb12(
6449        self,
6450    ) -> crate::common::RegisterField<
6451        12,
6452        0x1,
6453        1,
6454        0,
6455        mier::Mb12,
6456        mier::Mb12,
6457        Mier_SPEC,
6458        crate::common::RW,
6459    > {
6460        crate::common::RegisterField::<
6461            12,
6462            0x1,
6463            1,
6464            0,
6465            mier::Mb12,
6466            mier::Mb12,
6467            Mier_SPEC,
6468            crate::common::RW,
6469        >::from_register(self, 0)
6470    }
6471
6472    #[doc = "mailbox 11 Interrupt Enable"]
6473    #[inline(always)]
6474    pub fn mb11(
6475        self,
6476    ) -> crate::common::RegisterField<
6477        11,
6478        0x1,
6479        1,
6480        0,
6481        mier::Mb11,
6482        mier::Mb11,
6483        Mier_SPEC,
6484        crate::common::RW,
6485    > {
6486        crate::common::RegisterField::<
6487            11,
6488            0x1,
6489            1,
6490            0,
6491            mier::Mb11,
6492            mier::Mb11,
6493            Mier_SPEC,
6494            crate::common::RW,
6495        >::from_register(self, 0)
6496    }
6497
6498    #[doc = "mailbox 10 Interrupt Enable"]
6499    #[inline(always)]
6500    pub fn mb10(
6501        self,
6502    ) -> crate::common::RegisterField<
6503        10,
6504        0x1,
6505        1,
6506        0,
6507        mier::Mb10,
6508        mier::Mb10,
6509        Mier_SPEC,
6510        crate::common::RW,
6511    > {
6512        crate::common::RegisterField::<
6513            10,
6514            0x1,
6515            1,
6516            0,
6517            mier::Mb10,
6518            mier::Mb10,
6519            Mier_SPEC,
6520            crate::common::RW,
6521        >::from_register(self, 0)
6522    }
6523
6524    #[doc = "mailbox 9 Interrupt Enable"]
6525    #[inline(always)]
6526    pub fn mb9(
6527        self,
6528    ) -> crate::common::RegisterField<
6529        9,
6530        0x1,
6531        1,
6532        0,
6533        mier::Mb9,
6534        mier::Mb9,
6535        Mier_SPEC,
6536        crate::common::RW,
6537    > {
6538        crate::common::RegisterField::<
6539            9,
6540            0x1,
6541            1,
6542            0,
6543            mier::Mb9,
6544            mier::Mb9,
6545            Mier_SPEC,
6546            crate::common::RW,
6547        >::from_register(self, 0)
6548    }
6549
6550    #[doc = "mailbox 8 Interrupt Enable"]
6551    #[inline(always)]
6552    pub fn mb8(
6553        self,
6554    ) -> crate::common::RegisterField<
6555        8,
6556        0x1,
6557        1,
6558        0,
6559        mier::Mb8,
6560        mier::Mb8,
6561        Mier_SPEC,
6562        crate::common::RW,
6563    > {
6564        crate::common::RegisterField::<
6565            8,
6566            0x1,
6567            1,
6568            0,
6569            mier::Mb8,
6570            mier::Mb8,
6571            Mier_SPEC,
6572            crate::common::RW,
6573        >::from_register(self, 0)
6574    }
6575
6576    #[doc = "mailbox 7 Interrupt Enable"]
6577    #[inline(always)]
6578    pub fn mb7(
6579        self,
6580    ) -> crate::common::RegisterField<
6581        7,
6582        0x1,
6583        1,
6584        0,
6585        mier::Mb7,
6586        mier::Mb7,
6587        Mier_SPEC,
6588        crate::common::RW,
6589    > {
6590        crate::common::RegisterField::<
6591            7,
6592            0x1,
6593            1,
6594            0,
6595            mier::Mb7,
6596            mier::Mb7,
6597            Mier_SPEC,
6598            crate::common::RW,
6599        >::from_register(self, 0)
6600    }
6601
6602    #[doc = "mailbox 6 Interrupt Enable"]
6603    #[inline(always)]
6604    pub fn mb6(
6605        self,
6606    ) -> crate::common::RegisterField<
6607        6,
6608        0x1,
6609        1,
6610        0,
6611        mier::Mb6,
6612        mier::Mb6,
6613        Mier_SPEC,
6614        crate::common::RW,
6615    > {
6616        crate::common::RegisterField::<
6617            6,
6618            0x1,
6619            1,
6620            0,
6621            mier::Mb6,
6622            mier::Mb6,
6623            Mier_SPEC,
6624            crate::common::RW,
6625        >::from_register(self, 0)
6626    }
6627
6628    #[doc = "mailbox 5 Interrupt Enable"]
6629    #[inline(always)]
6630    pub fn mb5(
6631        self,
6632    ) -> crate::common::RegisterField<
6633        5,
6634        0x1,
6635        1,
6636        0,
6637        mier::Mb5,
6638        mier::Mb5,
6639        Mier_SPEC,
6640        crate::common::RW,
6641    > {
6642        crate::common::RegisterField::<
6643            5,
6644            0x1,
6645            1,
6646            0,
6647            mier::Mb5,
6648            mier::Mb5,
6649            Mier_SPEC,
6650            crate::common::RW,
6651        >::from_register(self, 0)
6652    }
6653
6654    #[doc = "mailbox 4 Interrupt Enable"]
6655    #[inline(always)]
6656    pub fn mb4(
6657        self,
6658    ) -> crate::common::RegisterField<
6659        4,
6660        0x1,
6661        1,
6662        0,
6663        mier::Mb4,
6664        mier::Mb4,
6665        Mier_SPEC,
6666        crate::common::RW,
6667    > {
6668        crate::common::RegisterField::<
6669            4,
6670            0x1,
6671            1,
6672            0,
6673            mier::Mb4,
6674            mier::Mb4,
6675            Mier_SPEC,
6676            crate::common::RW,
6677        >::from_register(self, 0)
6678    }
6679
6680    #[doc = "mailbox 3 Interrupt Enable"]
6681    #[inline(always)]
6682    pub fn mb3(
6683        self,
6684    ) -> crate::common::RegisterField<
6685        3,
6686        0x1,
6687        1,
6688        0,
6689        mier::Mb3,
6690        mier::Mb3,
6691        Mier_SPEC,
6692        crate::common::RW,
6693    > {
6694        crate::common::RegisterField::<
6695            3,
6696            0x1,
6697            1,
6698            0,
6699            mier::Mb3,
6700            mier::Mb3,
6701            Mier_SPEC,
6702            crate::common::RW,
6703        >::from_register(self, 0)
6704    }
6705
6706    #[doc = "mailbox 2 Interrupt Enable"]
6707    #[inline(always)]
6708    pub fn mb2(
6709        self,
6710    ) -> crate::common::RegisterField<
6711        2,
6712        0x1,
6713        1,
6714        0,
6715        mier::Mb2,
6716        mier::Mb2,
6717        Mier_SPEC,
6718        crate::common::RW,
6719    > {
6720        crate::common::RegisterField::<
6721            2,
6722            0x1,
6723            1,
6724            0,
6725            mier::Mb2,
6726            mier::Mb2,
6727            Mier_SPEC,
6728            crate::common::RW,
6729        >::from_register(self, 0)
6730    }
6731
6732    #[doc = "mailbox 1 Interrupt Enable"]
6733    #[inline(always)]
6734    pub fn mb1(
6735        self,
6736    ) -> crate::common::RegisterField<
6737        1,
6738        0x1,
6739        1,
6740        0,
6741        mier::Mb1,
6742        mier::Mb1,
6743        Mier_SPEC,
6744        crate::common::RW,
6745    > {
6746        crate::common::RegisterField::<
6747            1,
6748            0x1,
6749            1,
6750            0,
6751            mier::Mb1,
6752            mier::Mb1,
6753            Mier_SPEC,
6754            crate::common::RW,
6755        >::from_register(self, 0)
6756    }
6757
6758    #[doc = "mailbox 0 Interrupt Enable"]
6759    #[inline(always)]
6760    pub fn mb0(
6761        self,
6762    ) -> crate::common::RegisterField<
6763        0,
6764        0x1,
6765        1,
6766        0,
6767        mier::Mb0,
6768        mier::Mb0,
6769        Mier_SPEC,
6770        crate::common::RW,
6771    > {
6772        crate::common::RegisterField::<
6773            0,
6774            0x1,
6775            1,
6776            0,
6777            mier::Mb0,
6778            mier::Mb0,
6779            Mier_SPEC,
6780            crate::common::RW,
6781        >::from_register(self, 0)
6782    }
6783}
6784impl ::core::default::Default for Mier {
6785    #[inline(always)]
6786    fn default() -> Mier {
6787        <crate::RegValueT<Mier_SPEC> as RegisterValue<_>>::new(0)
6788    }
6789}
6790pub mod mier {
6791
6792    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6793    pub struct Mb31_SPEC;
6794    pub type Mb31 = crate::EnumBitfieldStruct<u8, Mb31_SPEC>;
6795    impl Mb31 {
6796        #[doc = "Interrupt disabled"]
6797        pub const _0: Self = Self::new(0);
6798
6799        #[doc = "Interrupt enabled"]
6800        pub const _1: Self = Self::new(1);
6801    }
6802    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6803    pub struct Mb30_SPEC;
6804    pub type Mb30 = crate::EnumBitfieldStruct<u8, Mb30_SPEC>;
6805    impl Mb30 {
6806        #[doc = "Interrupt disabled"]
6807        pub const _0: Self = Self::new(0);
6808
6809        #[doc = "Interrupt enabled"]
6810        pub const _1: Self = Self::new(1);
6811    }
6812    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6813    pub struct Mb29_SPEC;
6814    pub type Mb29 = crate::EnumBitfieldStruct<u8, Mb29_SPEC>;
6815    impl Mb29 {
6816        #[doc = "Interrupt disabled"]
6817        pub const _0: Self = Self::new(0);
6818
6819        #[doc = "Interrupt enabled"]
6820        pub const _1: Self = Self::new(1);
6821    }
6822    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6823    pub struct Mb28_SPEC;
6824    pub type Mb28 = crate::EnumBitfieldStruct<u8, Mb28_SPEC>;
6825    impl Mb28 {
6826        #[doc = "Interrupt disabled"]
6827        pub const _0: Self = Self::new(0);
6828
6829        #[doc = "Interrupt enabled"]
6830        pub const _1: Self = Self::new(1);
6831    }
6832    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6833    pub struct Mb27_SPEC;
6834    pub type Mb27 = crate::EnumBitfieldStruct<u8, Mb27_SPEC>;
6835    impl Mb27 {
6836        #[doc = "Interrupt disabled"]
6837        pub const _0: Self = Self::new(0);
6838
6839        #[doc = "Interrupt enabled"]
6840        pub const _1: Self = Self::new(1);
6841    }
6842    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6843    pub struct Mb26_SPEC;
6844    pub type Mb26 = crate::EnumBitfieldStruct<u8, Mb26_SPEC>;
6845    impl Mb26 {
6846        #[doc = "Interrupt disabled"]
6847        pub const _0: Self = Self::new(0);
6848
6849        #[doc = "Interrupt enabled"]
6850        pub const _1: Self = Self::new(1);
6851    }
6852    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6853    pub struct Mb25_SPEC;
6854    pub type Mb25 = crate::EnumBitfieldStruct<u8, Mb25_SPEC>;
6855    impl Mb25 {
6856        #[doc = "Interrupt disabled"]
6857        pub const _0: Self = Self::new(0);
6858
6859        #[doc = "Interrupt enabled"]
6860        pub const _1: Self = Self::new(1);
6861    }
6862    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6863    pub struct Mb24_SPEC;
6864    pub type Mb24 = crate::EnumBitfieldStruct<u8, Mb24_SPEC>;
6865    impl Mb24 {
6866        #[doc = "Interrupt disabled"]
6867        pub const _0: Self = Self::new(0);
6868
6869        #[doc = "Interrupt enabled"]
6870        pub const _1: Self = Self::new(1);
6871    }
6872    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6873    pub struct Mb23_SPEC;
6874    pub type Mb23 = crate::EnumBitfieldStruct<u8, Mb23_SPEC>;
6875    impl Mb23 {
6876        #[doc = "Interrupt disabled"]
6877        pub const _0: Self = Self::new(0);
6878
6879        #[doc = "Interrupt enabled"]
6880        pub const _1: Self = Self::new(1);
6881    }
6882    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6883    pub struct Mb22_SPEC;
6884    pub type Mb22 = crate::EnumBitfieldStruct<u8, Mb22_SPEC>;
6885    impl Mb22 {
6886        #[doc = "Interrupt disabled"]
6887        pub const _0: Self = Self::new(0);
6888
6889        #[doc = "Interrupt enabled"]
6890        pub const _1: Self = Self::new(1);
6891    }
6892    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6893    pub struct Mb21_SPEC;
6894    pub type Mb21 = crate::EnumBitfieldStruct<u8, Mb21_SPEC>;
6895    impl Mb21 {
6896        #[doc = "Interrupt disabled"]
6897        pub const _0: Self = Self::new(0);
6898
6899        #[doc = "Interrupt enabled"]
6900        pub const _1: Self = Self::new(1);
6901    }
6902    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6903    pub struct Mb20_SPEC;
6904    pub type Mb20 = crate::EnumBitfieldStruct<u8, Mb20_SPEC>;
6905    impl Mb20 {
6906        #[doc = "Interrupt disabled"]
6907        pub const _0: Self = Self::new(0);
6908
6909        #[doc = "Interrupt enabled"]
6910        pub const _1: Self = Self::new(1);
6911    }
6912    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6913    pub struct Mb19_SPEC;
6914    pub type Mb19 = crate::EnumBitfieldStruct<u8, Mb19_SPEC>;
6915    impl Mb19 {
6916        #[doc = "Interrupt disabled"]
6917        pub const _0: Self = Self::new(0);
6918
6919        #[doc = "Interrupt enabled"]
6920        pub const _1: Self = Self::new(1);
6921    }
6922    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6923    pub struct Mb18_SPEC;
6924    pub type Mb18 = crate::EnumBitfieldStruct<u8, Mb18_SPEC>;
6925    impl Mb18 {
6926        #[doc = "Interrupt disabled"]
6927        pub const _0: Self = Self::new(0);
6928
6929        #[doc = "Interrupt enabled"]
6930        pub const _1: Self = Self::new(1);
6931    }
6932    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6933    pub struct Mb17_SPEC;
6934    pub type Mb17 = crate::EnumBitfieldStruct<u8, Mb17_SPEC>;
6935    impl Mb17 {
6936        #[doc = "Interrupt disabled"]
6937        pub const _0: Self = Self::new(0);
6938
6939        #[doc = "Interrupt enabled"]
6940        pub const _1: Self = Self::new(1);
6941    }
6942    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6943    pub struct Mb16_SPEC;
6944    pub type Mb16 = crate::EnumBitfieldStruct<u8, Mb16_SPEC>;
6945    impl Mb16 {
6946        #[doc = "Interrupt disabled"]
6947        pub const _0: Self = Self::new(0);
6948
6949        #[doc = "Interrupt enabled"]
6950        pub const _1: Self = Self::new(1);
6951    }
6952    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6953    pub struct Mb15_SPEC;
6954    pub type Mb15 = crate::EnumBitfieldStruct<u8, Mb15_SPEC>;
6955    impl Mb15 {
6956        #[doc = "Interrupt disabled"]
6957        pub const _0: Self = Self::new(0);
6958
6959        #[doc = "Interrupt enabled"]
6960        pub const _1: Self = Self::new(1);
6961    }
6962    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6963    pub struct Mb14_SPEC;
6964    pub type Mb14 = crate::EnumBitfieldStruct<u8, Mb14_SPEC>;
6965    impl Mb14 {
6966        #[doc = "Interrupt disabled"]
6967        pub const _0: Self = Self::new(0);
6968
6969        #[doc = "Interrupt enabled"]
6970        pub const _1: Self = Self::new(1);
6971    }
6972    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6973    pub struct Mb13_SPEC;
6974    pub type Mb13 = crate::EnumBitfieldStruct<u8, Mb13_SPEC>;
6975    impl Mb13 {
6976        #[doc = "Interrupt disabled"]
6977        pub const _0: Self = Self::new(0);
6978
6979        #[doc = "Interrupt enabled"]
6980        pub const _1: Self = Self::new(1);
6981    }
6982    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6983    pub struct Mb12_SPEC;
6984    pub type Mb12 = crate::EnumBitfieldStruct<u8, Mb12_SPEC>;
6985    impl Mb12 {
6986        #[doc = "Interrupt disabled"]
6987        pub const _0: Self = Self::new(0);
6988
6989        #[doc = "Interrupt enabled"]
6990        pub const _1: Self = Self::new(1);
6991    }
6992    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
6993    pub struct Mb11_SPEC;
6994    pub type Mb11 = crate::EnumBitfieldStruct<u8, Mb11_SPEC>;
6995    impl Mb11 {
6996        #[doc = "Interrupt disabled"]
6997        pub const _0: Self = Self::new(0);
6998
6999        #[doc = "Interrupt enabled"]
7000        pub const _1: Self = Self::new(1);
7001    }
7002    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7003    pub struct Mb10_SPEC;
7004    pub type Mb10 = crate::EnumBitfieldStruct<u8, Mb10_SPEC>;
7005    impl Mb10 {
7006        #[doc = "Interrupt disabled"]
7007        pub const _0: Self = Self::new(0);
7008
7009        #[doc = "Interrupt enabled"]
7010        pub const _1: Self = Self::new(1);
7011    }
7012    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7013    pub struct Mb9_SPEC;
7014    pub type Mb9 = crate::EnumBitfieldStruct<u8, Mb9_SPEC>;
7015    impl Mb9 {
7016        #[doc = "Interrupt disabled"]
7017        pub const _0: Self = Self::new(0);
7018
7019        #[doc = "Interrupt enabled"]
7020        pub const _1: Self = Self::new(1);
7021    }
7022    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7023    pub struct Mb8_SPEC;
7024    pub type Mb8 = crate::EnumBitfieldStruct<u8, Mb8_SPEC>;
7025    impl Mb8 {
7026        #[doc = "Interrupt disabled"]
7027        pub const _0: Self = Self::new(0);
7028
7029        #[doc = "Interrupt enabled"]
7030        pub const _1: Self = Self::new(1);
7031    }
7032    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7033    pub struct Mb7_SPEC;
7034    pub type Mb7 = crate::EnumBitfieldStruct<u8, Mb7_SPEC>;
7035    impl Mb7 {
7036        #[doc = "Interrupt disabled"]
7037        pub const _0: Self = Self::new(0);
7038
7039        #[doc = "Interrupt enabled"]
7040        pub const _1: Self = Self::new(1);
7041    }
7042    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7043    pub struct Mb6_SPEC;
7044    pub type Mb6 = crate::EnumBitfieldStruct<u8, Mb6_SPEC>;
7045    impl Mb6 {
7046        #[doc = "Interrupt disabled"]
7047        pub const _0: Self = Self::new(0);
7048
7049        #[doc = "Interrupt enabled"]
7050        pub const _1: Self = Self::new(1);
7051    }
7052    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7053    pub struct Mb5_SPEC;
7054    pub type Mb5 = crate::EnumBitfieldStruct<u8, Mb5_SPEC>;
7055    impl Mb5 {
7056        #[doc = "Interrupt disabled"]
7057        pub const _0: Self = Self::new(0);
7058
7059        #[doc = "Interrupt enabled"]
7060        pub const _1: Self = Self::new(1);
7061    }
7062    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7063    pub struct Mb4_SPEC;
7064    pub type Mb4 = crate::EnumBitfieldStruct<u8, Mb4_SPEC>;
7065    impl Mb4 {
7066        #[doc = "Interrupt disabled"]
7067        pub const _0: Self = Self::new(0);
7068
7069        #[doc = "Interrupt enabled"]
7070        pub const _1: Self = Self::new(1);
7071    }
7072    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7073    pub struct Mb3_SPEC;
7074    pub type Mb3 = crate::EnumBitfieldStruct<u8, Mb3_SPEC>;
7075    impl Mb3 {
7076        #[doc = "Interrupt disabled"]
7077        pub const _0: Self = Self::new(0);
7078
7079        #[doc = "Interrupt enabled"]
7080        pub const _1: Self = Self::new(1);
7081    }
7082    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7083    pub struct Mb2_SPEC;
7084    pub type Mb2 = crate::EnumBitfieldStruct<u8, Mb2_SPEC>;
7085    impl Mb2 {
7086        #[doc = "Interrupt disabled"]
7087        pub const _0: Self = Self::new(0);
7088
7089        #[doc = "Interrupt enabled"]
7090        pub const _1: Self = Self::new(1);
7091    }
7092    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7093    pub struct Mb1_SPEC;
7094    pub type Mb1 = crate::EnumBitfieldStruct<u8, Mb1_SPEC>;
7095    impl Mb1 {
7096        #[doc = "Interrupt disabled"]
7097        pub const _0: Self = Self::new(0);
7098
7099        #[doc = "Interrupt enabled"]
7100        pub const _1: Self = Self::new(1);
7101    }
7102    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7103    pub struct Mb0_SPEC;
7104    pub type Mb0 = crate::EnumBitfieldStruct<u8, Mb0_SPEC>;
7105    impl Mb0 {
7106        #[doc = "Interrupt disabled"]
7107        pub const _0: Self = Self::new(0);
7108
7109        #[doc = "Interrupt enabled"]
7110        pub const _1: Self = Self::new(1);
7111    }
7112}
7113#[doc(hidden)]
7114#[derive(Copy, Clone, Eq, PartialEq)]
7115pub struct MierFifo_SPEC;
7116impl crate::sealed::RegSpec for MierFifo_SPEC {
7117    type DataType = u32;
7118}
7119
7120#[doc = "Mailbox Interrupt Enable Register(FIFO mailbox mode)"]
7121pub type MierFifo = crate::RegValueT<MierFifo_SPEC>;
7122
7123impl MierFifo {
7124    #[doc = "Receive FIFO Interrupt Generation Timing Control"]
7125    #[inline(always)]
7126    pub fn mb29(
7127        self,
7128    ) -> crate::common::RegisterField<
7129        29,
7130        0x1,
7131        1,
7132        0,
7133        mier_fifo::Mb29,
7134        mier_fifo::Mb29,
7135        MierFifo_SPEC,
7136        crate::common::RW,
7137    > {
7138        crate::common::RegisterField::<
7139            29,
7140            0x1,
7141            1,
7142            0,
7143            mier_fifo::Mb29,
7144            mier_fifo::Mb29,
7145            MierFifo_SPEC,
7146            crate::common::RW,
7147        >::from_register(self, 0)
7148    }
7149
7150    #[doc = "Receive FIFO Interrupt Enable"]
7151    #[inline(always)]
7152    pub fn mb28(
7153        self,
7154    ) -> crate::common::RegisterField<
7155        28,
7156        0x1,
7157        1,
7158        0,
7159        mier_fifo::Mb28,
7160        mier_fifo::Mb28,
7161        MierFifo_SPEC,
7162        crate::common::RW,
7163    > {
7164        crate::common::RegisterField::<
7165            28,
7166            0x1,
7167            1,
7168            0,
7169            mier_fifo::Mb28,
7170            mier_fifo::Mb28,
7171            MierFifo_SPEC,
7172            crate::common::RW,
7173        >::from_register(self, 0)
7174    }
7175
7176    #[doc = "These bits are read as 00. The write value should be 00."]
7177    #[inline(always)]
7178    pub fn reserved(
7179        self,
7180    ) -> crate::common::RegisterField<26, 0x3, 1, 0, u8, u8, MierFifo_SPEC, crate::common::RW> {
7181        crate::common::RegisterField::<26,0x3,1,0,u8,u8,MierFifo_SPEC,crate::common::RW>::from_register(self,0)
7182    }
7183
7184    #[doc = "Transmit FIFO Interrupt Generation Timing Control"]
7185    #[inline(always)]
7186    pub fn mb25(
7187        self,
7188    ) -> crate::common::RegisterField<
7189        25,
7190        0x1,
7191        1,
7192        0,
7193        mier_fifo::Mb25,
7194        mier_fifo::Mb25,
7195        MierFifo_SPEC,
7196        crate::common::RW,
7197    > {
7198        crate::common::RegisterField::<
7199            25,
7200            0x1,
7201            1,
7202            0,
7203            mier_fifo::Mb25,
7204            mier_fifo::Mb25,
7205            MierFifo_SPEC,
7206            crate::common::RW,
7207        >::from_register(self, 0)
7208    }
7209
7210    #[doc = "Transmit FIFO Interrupt Enable"]
7211    #[inline(always)]
7212    pub fn mb24(
7213        self,
7214    ) -> crate::common::RegisterField<
7215        24,
7216        0x1,
7217        1,
7218        0,
7219        mier_fifo::Mb24,
7220        mier_fifo::Mb24,
7221        MierFifo_SPEC,
7222        crate::common::RW,
7223    > {
7224        crate::common::RegisterField::<
7225            24,
7226            0x1,
7227            1,
7228            0,
7229            mier_fifo::Mb24,
7230            mier_fifo::Mb24,
7231            MierFifo_SPEC,
7232            crate::common::RW,
7233        >::from_register(self, 0)
7234    }
7235
7236    #[doc = "mailbox 23 Interrupt Enable"]
7237    #[inline(always)]
7238    pub fn mb23(
7239        self,
7240    ) -> crate::common::RegisterField<
7241        23,
7242        0x1,
7243        1,
7244        0,
7245        mier_fifo::Mb23,
7246        mier_fifo::Mb23,
7247        MierFifo_SPEC,
7248        crate::common::RW,
7249    > {
7250        crate::common::RegisterField::<
7251            23,
7252            0x1,
7253            1,
7254            0,
7255            mier_fifo::Mb23,
7256            mier_fifo::Mb23,
7257            MierFifo_SPEC,
7258            crate::common::RW,
7259        >::from_register(self, 0)
7260    }
7261
7262    #[doc = "mailbox 22 Interrupt Enable"]
7263    #[inline(always)]
7264    pub fn mb22(
7265        self,
7266    ) -> crate::common::RegisterField<
7267        22,
7268        0x1,
7269        1,
7270        0,
7271        mier_fifo::Mb22,
7272        mier_fifo::Mb22,
7273        MierFifo_SPEC,
7274        crate::common::RW,
7275    > {
7276        crate::common::RegisterField::<
7277            22,
7278            0x1,
7279            1,
7280            0,
7281            mier_fifo::Mb22,
7282            mier_fifo::Mb22,
7283            MierFifo_SPEC,
7284            crate::common::RW,
7285        >::from_register(self, 0)
7286    }
7287
7288    #[doc = "mailbox 21 Interrupt Enable"]
7289    #[inline(always)]
7290    pub fn mb21(
7291        self,
7292    ) -> crate::common::RegisterField<
7293        21,
7294        0x1,
7295        1,
7296        0,
7297        mier_fifo::Mb21,
7298        mier_fifo::Mb21,
7299        MierFifo_SPEC,
7300        crate::common::RW,
7301    > {
7302        crate::common::RegisterField::<
7303            21,
7304            0x1,
7305            1,
7306            0,
7307            mier_fifo::Mb21,
7308            mier_fifo::Mb21,
7309            MierFifo_SPEC,
7310            crate::common::RW,
7311        >::from_register(self, 0)
7312    }
7313
7314    #[doc = "mailbox 20 Interrupt Enable"]
7315    #[inline(always)]
7316    pub fn mb20(
7317        self,
7318    ) -> crate::common::RegisterField<
7319        20,
7320        0x1,
7321        1,
7322        0,
7323        mier_fifo::Mb20,
7324        mier_fifo::Mb20,
7325        MierFifo_SPEC,
7326        crate::common::RW,
7327    > {
7328        crate::common::RegisterField::<
7329            20,
7330            0x1,
7331            1,
7332            0,
7333            mier_fifo::Mb20,
7334            mier_fifo::Mb20,
7335            MierFifo_SPEC,
7336            crate::common::RW,
7337        >::from_register(self, 0)
7338    }
7339
7340    #[doc = "mailbox 19 Interrupt Enable"]
7341    #[inline(always)]
7342    pub fn mb19(
7343        self,
7344    ) -> crate::common::RegisterField<
7345        19,
7346        0x1,
7347        1,
7348        0,
7349        mier_fifo::Mb19,
7350        mier_fifo::Mb19,
7351        MierFifo_SPEC,
7352        crate::common::RW,
7353    > {
7354        crate::common::RegisterField::<
7355            19,
7356            0x1,
7357            1,
7358            0,
7359            mier_fifo::Mb19,
7360            mier_fifo::Mb19,
7361            MierFifo_SPEC,
7362            crate::common::RW,
7363        >::from_register(self, 0)
7364    }
7365
7366    #[doc = "mailbox 18 Interrupt Enable"]
7367    #[inline(always)]
7368    pub fn mb18(
7369        self,
7370    ) -> crate::common::RegisterField<
7371        18,
7372        0x1,
7373        1,
7374        0,
7375        mier_fifo::Mb18,
7376        mier_fifo::Mb18,
7377        MierFifo_SPEC,
7378        crate::common::RW,
7379    > {
7380        crate::common::RegisterField::<
7381            18,
7382            0x1,
7383            1,
7384            0,
7385            mier_fifo::Mb18,
7386            mier_fifo::Mb18,
7387            MierFifo_SPEC,
7388            crate::common::RW,
7389        >::from_register(self, 0)
7390    }
7391
7392    #[doc = "mailbox 17 Interrupt Enable"]
7393    #[inline(always)]
7394    pub fn mb17(
7395        self,
7396    ) -> crate::common::RegisterField<
7397        17,
7398        0x1,
7399        1,
7400        0,
7401        mier_fifo::Mb17,
7402        mier_fifo::Mb17,
7403        MierFifo_SPEC,
7404        crate::common::RW,
7405    > {
7406        crate::common::RegisterField::<
7407            17,
7408            0x1,
7409            1,
7410            0,
7411            mier_fifo::Mb17,
7412            mier_fifo::Mb17,
7413            MierFifo_SPEC,
7414            crate::common::RW,
7415        >::from_register(self, 0)
7416    }
7417
7418    #[doc = "mailbox 16 Interrupt Enable"]
7419    #[inline(always)]
7420    pub fn mb16(
7421        self,
7422    ) -> crate::common::RegisterField<
7423        16,
7424        0x1,
7425        1,
7426        0,
7427        mier_fifo::Mb16,
7428        mier_fifo::Mb16,
7429        MierFifo_SPEC,
7430        crate::common::RW,
7431    > {
7432        crate::common::RegisterField::<
7433            16,
7434            0x1,
7435            1,
7436            0,
7437            mier_fifo::Mb16,
7438            mier_fifo::Mb16,
7439            MierFifo_SPEC,
7440            crate::common::RW,
7441        >::from_register(self, 0)
7442    }
7443
7444    #[doc = "mailbox 15 Interrupt Enable"]
7445    #[inline(always)]
7446    pub fn mb15(
7447        self,
7448    ) -> crate::common::RegisterField<
7449        15,
7450        0x1,
7451        1,
7452        0,
7453        mier_fifo::Mb15,
7454        mier_fifo::Mb15,
7455        MierFifo_SPEC,
7456        crate::common::RW,
7457    > {
7458        crate::common::RegisterField::<
7459            15,
7460            0x1,
7461            1,
7462            0,
7463            mier_fifo::Mb15,
7464            mier_fifo::Mb15,
7465            MierFifo_SPEC,
7466            crate::common::RW,
7467        >::from_register(self, 0)
7468    }
7469
7470    #[doc = "mailbox 14 Interrupt Enable"]
7471    #[inline(always)]
7472    pub fn mb14(
7473        self,
7474    ) -> crate::common::RegisterField<
7475        14,
7476        0x1,
7477        1,
7478        0,
7479        mier_fifo::Mb14,
7480        mier_fifo::Mb14,
7481        MierFifo_SPEC,
7482        crate::common::RW,
7483    > {
7484        crate::common::RegisterField::<
7485            14,
7486            0x1,
7487            1,
7488            0,
7489            mier_fifo::Mb14,
7490            mier_fifo::Mb14,
7491            MierFifo_SPEC,
7492            crate::common::RW,
7493        >::from_register(self, 0)
7494    }
7495
7496    #[doc = "mailbox 13 Interrupt Enable"]
7497    #[inline(always)]
7498    pub fn mb13(
7499        self,
7500    ) -> crate::common::RegisterField<
7501        13,
7502        0x1,
7503        1,
7504        0,
7505        mier_fifo::Mb13,
7506        mier_fifo::Mb13,
7507        MierFifo_SPEC,
7508        crate::common::RW,
7509    > {
7510        crate::common::RegisterField::<
7511            13,
7512            0x1,
7513            1,
7514            0,
7515            mier_fifo::Mb13,
7516            mier_fifo::Mb13,
7517            MierFifo_SPEC,
7518            crate::common::RW,
7519        >::from_register(self, 0)
7520    }
7521
7522    #[doc = "mailbox 12 Interrupt Enable"]
7523    #[inline(always)]
7524    pub fn mb12(
7525        self,
7526    ) -> crate::common::RegisterField<
7527        12,
7528        0x1,
7529        1,
7530        0,
7531        mier_fifo::Mb12,
7532        mier_fifo::Mb12,
7533        MierFifo_SPEC,
7534        crate::common::RW,
7535    > {
7536        crate::common::RegisterField::<
7537            12,
7538            0x1,
7539            1,
7540            0,
7541            mier_fifo::Mb12,
7542            mier_fifo::Mb12,
7543            MierFifo_SPEC,
7544            crate::common::RW,
7545        >::from_register(self, 0)
7546    }
7547
7548    #[doc = "mailbox 11 Interrupt Enable"]
7549    #[inline(always)]
7550    pub fn mb11(
7551        self,
7552    ) -> crate::common::RegisterField<
7553        11,
7554        0x1,
7555        1,
7556        0,
7557        mier_fifo::Mb11,
7558        mier_fifo::Mb11,
7559        MierFifo_SPEC,
7560        crate::common::RW,
7561    > {
7562        crate::common::RegisterField::<
7563            11,
7564            0x1,
7565            1,
7566            0,
7567            mier_fifo::Mb11,
7568            mier_fifo::Mb11,
7569            MierFifo_SPEC,
7570            crate::common::RW,
7571        >::from_register(self, 0)
7572    }
7573
7574    #[doc = "mailbox 10 Interrupt Enable"]
7575    #[inline(always)]
7576    pub fn mb10(
7577        self,
7578    ) -> crate::common::RegisterField<
7579        10,
7580        0x1,
7581        1,
7582        0,
7583        mier_fifo::Mb10,
7584        mier_fifo::Mb10,
7585        MierFifo_SPEC,
7586        crate::common::RW,
7587    > {
7588        crate::common::RegisterField::<
7589            10,
7590            0x1,
7591            1,
7592            0,
7593            mier_fifo::Mb10,
7594            mier_fifo::Mb10,
7595            MierFifo_SPEC,
7596            crate::common::RW,
7597        >::from_register(self, 0)
7598    }
7599
7600    #[doc = "mailbox 9 Interrupt Enable"]
7601    #[inline(always)]
7602    pub fn mb9(
7603        self,
7604    ) -> crate::common::RegisterField<
7605        9,
7606        0x1,
7607        1,
7608        0,
7609        mier_fifo::Mb9,
7610        mier_fifo::Mb9,
7611        MierFifo_SPEC,
7612        crate::common::RW,
7613    > {
7614        crate::common::RegisterField::<
7615            9,
7616            0x1,
7617            1,
7618            0,
7619            mier_fifo::Mb9,
7620            mier_fifo::Mb9,
7621            MierFifo_SPEC,
7622            crate::common::RW,
7623        >::from_register(self, 0)
7624    }
7625
7626    #[doc = "mailbox 8 Interrupt Enable"]
7627    #[inline(always)]
7628    pub fn mb8(
7629        self,
7630    ) -> crate::common::RegisterField<
7631        8,
7632        0x1,
7633        1,
7634        0,
7635        mier_fifo::Mb8,
7636        mier_fifo::Mb8,
7637        MierFifo_SPEC,
7638        crate::common::RW,
7639    > {
7640        crate::common::RegisterField::<
7641            8,
7642            0x1,
7643            1,
7644            0,
7645            mier_fifo::Mb8,
7646            mier_fifo::Mb8,
7647            MierFifo_SPEC,
7648            crate::common::RW,
7649        >::from_register(self, 0)
7650    }
7651
7652    #[doc = "mailbox 7 Interrupt Enable"]
7653    #[inline(always)]
7654    pub fn mb7(
7655        self,
7656    ) -> crate::common::RegisterField<
7657        7,
7658        0x1,
7659        1,
7660        0,
7661        mier_fifo::Mb7,
7662        mier_fifo::Mb7,
7663        MierFifo_SPEC,
7664        crate::common::RW,
7665    > {
7666        crate::common::RegisterField::<
7667            7,
7668            0x1,
7669            1,
7670            0,
7671            mier_fifo::Mb7,
7672            mier_fifo::Mb7,
7673            MierFifo_SPEC,
7674            crate::common::RW,
7675        >::from_register(self, 0)
7676    }
7677
7678    #[doc = "mailbox 6 Interrupt Enable"]
7679    #[inline(always)]
7680    pub fn mb6(
7681        self,
7682    ) -> crate::common::RegisterField<
7683        6,
7684        0x1,
7685        1,
7686        0,
7687        mier_fifo::Mb6,
7688        mier_fifo::Mb6,
7689        MierFifo_SPEC,
7690        crate::common::RW,
7691    > {
7692        crate::common::RegisterField::<
7693            6,
7694            0x1,
7695            1,
7696            0,
7697            mier_fifo::Mb6,
7698            mier_fifo::Mb6,
7699            MierFifo_SPEC,
7700            crate::common::RW,
7701        >::from_register(self, 0)
7702    }
7703
7704    #[doc = "mailbox 5 Interrupt Enable"]
7705    #[inline(always)]
7706    pub fn mb5(
7707        self,
7708    ) -> crate::common::RegisterField<
7709        5,
7710        0x1,
7711        1,
7712        0,
7713        mier_fifo::Mb5,
7714        mier_fifo::Mb5,
7715        MierFifo_SPEC,
7716        crate::common::RW,
7717    > {
7718        crate::common::RegisterField::<
7719            5,
7720            0x1,
7721            1,
7722            0,
7723            mier_fifo::Mb5,
7724            mier_fifo::Mb5,
7725            MierFifo_SPEC,
7726            crate::common::RW,
7727        >::from_register(self, 0)
7728    }
7729
7730    #[doc = "mailbox 4 Interrupt Enable"]
7731    #[inline(always)]
7732    pub fn mb4(
7733        self,
7734    ) -> crate::common::RegisterField<
7735        4,
7736        0x1,
7737        1,
7738        0,
7739        mier_fifo::Mb4,
7740        mier_fifo::Mb4,
7741        MierFifo_SPEC,
7742        crate::common::RW,
7743    > {
7744        crate::common::RegisterField::<
7745            4,
7746            0x1,
7747            1,
7748            0,
7749            mier_fifo::Mb4,
7750            mier_fifo::Mb4,
7751            MierFifo_SPEC,
7752            crate::common::RW,
7753        >::from_register(self, 0)
7754    }
7755
7756    #[doc = "mailbox 3 Interrupt Enable"]
7757    #[inline(always)]
7758    pub fn mb3(
7759        self,
7760    ) -> crate::common::RegisterField<
7761        3,
7762        0x1,
7763        1,
7764        0,
7765        mier_fifo::Mb3,
7766        mier_fifo::Mb3,
7767        MierFifo_SPEC,
7768        crate::common::RW,
7769    > {
7770        crate::common::RegisterField::<
7771            3,
7772            0x1,
7773            1,
7774            0,
7775            mier_fifo::Mb3,
7776            mier_fifo::Mb3,
7777            MierFifo_SPEC,
7778            crate::common::RW,
7779        >::from_register(self, 0)
7780    }
7781
7782    #[doc = "mailbox 2 Interrupt Enable"]
7783    #[inline(always)]
7784    pub fn mb2(
7785        self,
7786    ) -> crate::common::RegisterField<
7787        2,
7788        0x1,
7789        1,
7790        0,
7791        mier_fifo::Mb2,
7792        mier_fifo::Mb2,
7793        MierFifo_SPEC,
7794        crate::common::RW,
7795    > {
7796        crate::common::RegisterField::<
7797            2,
7798            0x1,
7799            1,
7800            0,
7801            mier_fifo::Mb2,
7802            mier_fifo::Mb2,
7803            MierFifo_SPEC,
7804            crate::common::RW,
7805        >::from_register(self, 0)
7806    }
7807
7808    #[doc = "mailbox 1 Interrupt Enable"]
7809    #[inline(always)]
7810    pub fn mb1(
7811        self,
7812    ) -> crate::common::RegisterField<
7813        1,
7814        0x1,
7815        1,
7816        0,
7817        mier_fifo::Mb1,
7818        mier_fifo::Mb1,
7819        MierFifo_SPEC,
7820        crate::common::RW,
7821    > {
7822        crate::common::RegisterField::<
7823            1,
7824            0x1,
7825            1,
7826            0,
7827            mier_fifo::Mb1,
7828            mier_fifo::Mb1,
7829            MierFifo_SPEC,
7830            crate::common::RW,
7831        >::from_register(self, 0)
7832    }
7833
7834    #[doc = "mailbox 0 Interrupt Enable"]
7835    #[inline(always)]
7836    pub fn mb0(
7837        self,
7838    ) -> crate::common::RegisterField<
7839        0,
7840        0x1,
7841        1,
7842        0,
7843        mier_fifo::Mb0,
7844        mier_fifo::Mb0,
7845        MierFifo_SPEC,
7846        crate::common::RW,
7847    > {
7848        crate::common::RegisterField::<
7849            0,
7850            0x1,
7851            1,
7852            0,
7853            mier_fifo::Mb0,
7854            mier_fifo::Mb0,
7855            MierFifo_SPEC,
7856            crate::common::RW,
7857        >::from_register(self, 0)
7858    }
7859}
7860impl ::core::default::Default for MierFifo {
7861    #[inline(always)]
7862    fn default() -> MierFifo {
7863        <crate::RegValueT<MierFifo_SPEC> as RegisterValue<_>>::new(0)
7864    }
7865}
7866pub mod mier_fifo {
7867
7868    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7869    pub struct Mb29_SPEC;
7870    pub type Mb29 = crate::EnumBitfieldStruct<u8, Mb29_SPEC>;
7871    impl Mb29 {
7872        #[doc = "Every time reception is completed"]
7873        pub const _0: Self = Self::new(0);
7874
7875        #[doc = "When the receive FIFO becomes buffer warning by completion of reception"]
7876        pub const _1: Self = Self::new(1);
7877    }
7878    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7879    pub struct Mb28_SPEC;
7880    pub type Mb28 = crate::EnumBitfieldStruct<u8, Mb28_SPEC>;
7881    impl Mb28 {
7882        #[doc = "Interrupt disabled"]
7883        pub const _0: Self = Self::new(0);
7884
7885        #[doc = "Interrupt enabled"]
7886        pub const _1: Self = Self::new(1);
7887    }
7888    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7889    pub struct Mb25_SPEC;
7890    pub type Mb25 = crate::EnumBitfieldStruct<u8, Mb25_SPEC>;
7891    impl Mb25 {
7892        #[doc = "Every time transmission is completed"]
7893        pub const _0: Self = Self::new(0);
7894
7895        #[doc = "When the transmit FIFO becomes empty due to completion of transmission"]
7896        pub const _1: Self = Self::new(1);
7897    }
7898    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7899    pub struct Mb24_SPEC;
7900    pub type Mb24 = crate::EnumBitfieldStruct<u8, Mb24_SPEC>;
7901    impl Mb24 {
7902        #[doc = "Interrupt disabled"]
7903        pub const _0: Self = Self::new(0);
7904
7905        #[doc = "Interrupt enabled"]
7906        pub const _1: Self = Self::new(1);
7907    }
7908    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7909    pub struct Mb23_SPEC;
7910    pub type Mb23 = crate::EnumBitfieldStruct<u8, Mb23_SPEC>;
7911    impl Mb23 {
7912        #[doc = "Interrupt disabled"]
7913        pub const _0: Self = Self::new(0);
7914
7915        #[doc = "Interrupt enabled"]
7916        pub const _1: Self = Self::new(1);
7917    }
7918    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7919    pub struct Mb22_SPEC;
7920    pub type Mb22 = crate::EnumBitfieldStruct<u8, Mb22_SPEC>;
7921    impl Mb22 {
7922        #[doc = "Interrupt disabled"]
7923        pub const _0: Self = Self::new(0);
7924
7925        #[doc = "Interrupt enabled"]
7926        pub const _1: Self = Self::new(1);
7927    }
7928    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7929    pub struct Mb21_SPEC;
7930    pub type Mb21 = crate::EnumBitfieldStruct<u8, Mb21_SPEC>;
7931    impl Mb21 {
7932        #[doc = "Interrupt disabled"]
7933        pub const _0: Self = Self::new(0);
7934
7935        #[doc = "Interrupt enabled"]
7936        pub const _1: Self = Self::new(1);
7937    }
7938    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7939    pub struct Mb20_SPEC;
7940    pub type Mb20 = crate::EnumBitfieldStruct<u8, Mb20_SPEC>;
7941    impl Mb20 {
7942        #[doc = "Interrupt disabled"]
7943        pub const _0: Self = Self::new(0);
7944
7945        #[doc = "Interrupt enabled"]
7946        pub const _1: Self = Self::new(1);
7947    }
7948    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7949    pub struct Mb19_SPEC;
7950    pub type Mb19 = crate::EnumBitfieldStruct<u8, Mb19_SPEC>;
7951    impl Mb19 {
7952        #[doc = "Interrupt disabled"]
7953        pub const _0: Self = Self::new(0);
7954
7955        #[doc = "Interrupt enabled"]
7956        pub const _1: Self = Self::new(1);
7957    }
7958    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7959    pub struct Mb18_SPEC;
7960    pub type Mb18 = crate::EnumBitfieldStruct<u8, Mb18_SPEC>;
7961    impl Mb18 {
7962        #[doc = "Interrupt disabled"]
7963        pub const _0: Self = Self::new(0);
7964
7965        #[doc = "Interrupt enabled"]
7966        pub const _1: Self = Self::new(1);
7967    }
7968    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7969    pub struct Mb17_SPEC;
7970    pub type Mb17 = crate::EnumBitfieldStruct<u8, Mb17_SPEC>;
7971    impl Mb17 {
7972        #[doc = "Interrupt disabled"]
7973        pub const _0: Self = Self::new(0);
7974
7975        #[doc = "Interrupt enabled"]
7976        pub const _1: Self = Self::new(1);
7977    }
7978    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7979    pub struct Mb16_SPEC;
7980    pub type Mb16 = crate::EnumBitfieldStruct<u8, Mb16_SPEC>;
7981    impl Mb16 {
7982        #[doc = "Interrupt disabled"]
7983        pub const _0: Self = Self::new(0);
7984
7985        #[doc = "Interrupt enabled"]
7986        pub const _1: Self = Self::new(1);
7987    }
7988    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7989    pub struct Mb15_SPEC;
7990    pub type Mb15 = crate::EnumBitfieldStruct<u8, Mb15_SPEC>;
7991    impl Mb15 {
7992        #[doc = "Interrupt disabled"]
7993        pub const _0: Self = Self::new(0);
7994
7995        #[doc = "Interrupt enabled"]
7996        pub const _1: Self = Self::new(1);
7997    }
7998    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
7999    pub struct Mb14_SPEC;
8000    pub type Mb14 = crate::EnumBitfieldStruct<u8, Mb14_SPEC>;
8001    impl Mb14 {
8002        #[doc = "Interrupt disabled"]
8003        pub const _0: Self = Self::new(0);
8004
8005        #[doc = "Interrupt enabled"]
8006        pub const _1: Self = Self::new(1);
8007    }
8008    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8009    pub struct Mb13_SPEC;
8010    pub type Mb13 = crate::EnumBitfieldStruct<u8, Mb13_SPEC>;
8011    impl Mb13 {
8012        #[doc = "Interrupt disabled"]
8013        pub const _0: Self = Self::new(0);
8014
8015        #[doc = "Interrupt enabled"]
8016        pub const _1: Self = Self::new(1);
8017    }
8018    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8019    pub struct Mb12_SPEC;
8020    pub type Mb12 = crate::EnumBitfieldStruct<u8, Mb12_SPEC>;
8021    impl Mb12 {
8022        #[doc = "Interrupt disabled"]
8023        pub const _0: Self = Self::new(0);
8024
8025        #[doc = "Interrupt enabled"]
8026        pub const _1: Self = Self::new(1);
8027    }
8028    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8029    pub struct Mb11_SPEC;
8030    pub type Mb11 = crate::EnumBitfieldStruct<u8, Mb11_SPEC>;
8031    impl Mb11 {
8032        #[doc = "Interrupt disabled"]
8033        pub const _0: Self = Self::new(0);
8034
8035        #[doc = "Interrupt enabled"]
8036        pub const _1: Self = Self::new(1);
8037    }
8038    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8039    pub struct Mb10_SPEC;
8040    pub type Mb10 = crate::EnumBitfieldStruct<u8, Mb10_SPEC>;
8041    impl Mb10 {
8042        #[doc = "Interrupt disabled"]
8043        pub const _0: Self = Self::new(0);
8044
8045        #[doc = "Interrupt enabled"]
8046        pub const _1: Self = Self::new(1);
8047    }
8048    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8049    pub struct Mb9_SPEC;
8050    pub type Mb9 = crate::EnumBitfieldStruct<u8, Mb9_SPEC>;
8051    impl Mb9 {
8052        #[doc = "Interrupt disabled"]
8053        pub const _0: Self = Self::new(0);
8054
8055        #[doc = "Interrupt enabled"]
8056        pub const _1: Self = Self::new(1);
8057    }
8058    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8059    pub struct Mb8_SPEC;
8060    pub type Mb8 = crate::EnumBitfieldStruct<u8, Mb8_SPEC>;
8061    impl Mb8 {
8062        #[doc = "Interrupt disabled"]
8063        pub const _0: Self = Self::new(0);
8064
8065        #[doc = "Interrupt enabled"]
8066        pub const _1: Self = Self::new(1);
8067    }
8068    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8069    pub struct Mb7_SPEC;
8070    pub type Mb7 = crate::EnumBitfieldStruct<u8, Mb7_SPEC>;
8071    impl Mb7 {
8072        #[doc = "Interrupt disabled"]
8073        pub const _0: Self = Self::new(0);
8074
8075        #[doc = "Interrupt enabled"]
8076        pub const _1: Self = Self::new(1);
8077    }
8078    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8079    pub struct Mb6_SPEC;
8080    pub type Mb6 = crate::EnumBitfieldStruct<u8, Mb6_SPEC>;
8081    impl Mb6 {
8082        #[doc = "Interrupt disabled"]
8083        pub const _0: Self = Self::new(0);
8084
8085        #[doc = "Interrupt enabled"]
8086        pub const _1: Self = Self::new(1);
8087    }
8088    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8089    pub struct Mb5_SPEC;
8090    pub type Mb5 = crate::EnumBitfieldStruct<u8, Mb5_SPEC>;
8091    impl Mb5 {
8092        #[doc = "Interrupt disabled"]
8093        pub const _0: Self = Self::new(0);
8094
8095        #[doc = "Interrupt enabled"]
8096        pub const _1: Self = Self::new(1);
8097    }
8098    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8099    pub struct Mb4_SPEC;
8100    pub type Mb4 = crate::EnumBitfieldStruct<u8, Mb4_SPEC>;
8101    impl Mb4 {
8102        #[doc = "Interrupt disabled"]
8103        pub const _0: Self = Self::new(0);
8104
8105        #[doc = "Interrupt enabled"]
8106        pub const _1: Self = Self::new(1);
8107    }
8108    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8109    pub struct Mb3_SPEC;
8110    pub type Mb3 = crate::EnumBitfieldStruct<u8, Mb3_SPEC>;
8111    impl Mb3 {
8112        #[doc = "Interrupt disabled"]
8113        pub const _0: Self = Self::new(0);
8114
8115        #[doc = "Interrupt enabled"]
8116        pub const _1: Self = Self::new(1);
8117    }
8118    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8119    pub struct Mb2_SPEC;
8120    pub type Mb2 = crate::EnumBitfieldStruct<u8, Mb2_SPEC>;
8121    impl Mb2 {
8122        #[doc = "Interrupt disabled"]
8123        pub const _0: Self = Self::new(0);
8124
8125        #[doc = "Interrupt enabled"]
8126        pub const _1: Self = Self::new(1);
8127    }
8128    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8129    pub struct Mb1_SPEC;
8130    pub type Mb1 = crate::EnumBitfieldStruct<u8, Mb1_SPEC>;
8131    impl Mb1 {
8132        #[doc = "Interrupt disabled"]
8133        pub const _0: Self = Self::new(0);
8134
8135        #[doc = "Interrupt enabled"]
8136        pub const _1: Self = Self::new(1);
8137    }
8138    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8139    pub struct Mb0_SPEC;
8140    pub type Mb0 = crate::EnumBitfieldStruct<u8, Mb0_SPEC>;
8141    impl Mb0 {
8142        #[doc = "Interrupt disabled"]
8143        pub const _0: Self = Self::new(0);
8144
8145        #[doc = "Interrupt enabled"]
8146        pub const _1: Self = Self::new(1);
8147    }
8148}
8149#[doc(hidden)]
8150#[derive(Copy, Clone, Eq, PartialEq)]
8151pub struct MctlTx_SPEC;
8152impl crate::sealed::RegSpec for MctlTx_SPEC {
8153    type DataType = u8;
8154}
8155
8156#[doc = "Message Control Register(Transmit mode (when the TRMREQ bit is 1 and the RECREQ bit is 0))"]
8157pub type MctlTx = crate::RegValueT<MctlTx_SPEC>;
8158
8159impl MctlTx {
8160    #[doc = "Transmit Mailbox Request"]
8161    #[inline(always)]
8162    pub fn trmreq(
8163        self,
8164    ) -> crate::common::RegisterField<
8165        7,
8166        0x1,
8167        1,
8168        0,
8169        mctl_tx::Trmreq,
8170        mctl_tx::Trmreq,
8171        MctlTx_SPEC,
8172        crate::common::RW,
8173    > {
8174        crate::common::RegisterField::<
8175            7,
8176            0x1,
8177            1,
8178            0,
8179            mctl_tx::Trmreq,
8180            mctl_tx::Trmreq,
8181            MctlTx_SPEC,
8182            crate::common::RW,
8183        >::from_register(self, 0)
8184    }
8185
8186    #[doc = "Receive Mailbox Request"]
8187    #[inline(always)]
8188    pub fn recreq(
8189        self,
8190    ) -> crate::common::RegisterField<
8191        6,
8192        0x1,
8193        1,
8194        0,
8195        mctl_tx::Recreq,
8196        mctl_tx::Recreq,
8197        MctlTx_SPEC,
8198        crate::common::RW,
8199    > {
8200        crate::common::RegisterField::<
8201            6,
8202            0x1,
8203            1,
8204            0,
8205            mctl_tx::Recreq,
8206            mctl_tx::Recreq,
8207            MctlTx_SPEC,
8208            crate::common::RW,
8209        >::from_register(self, 0)
8210    }
8211
8212    #[doc = "One-Shot Enable"]
8213    #[inline(always)]
8214    pub fn oneshot(
8215        self,
8216    ) -> crate::common::RegisterField<
8217        4,
8218        0x1,
8219        1,
8220        0,
8221        mctl_tx::Oneshot,
8222        mctl_tx::Oneshot,
8223        MctlTx_SPEC,
8224        crate::common::RW,
8225    > {
8226        crate::common::RegisterField::<
8227            4,
8228            0x1,
8229            1,
8230            0,
8231            mctl_tx::Oneshot,
8232            mctl_tx::Oneshot,
8233            MctlTx_SPEC,
8234            crate::common::RW,
8235        >::from_register(self, 0)
8236    }
8237
8238    #[doc = "This bit is read as 0. The write value should be 0."]
8239    #[inline(always)]
8240    pub fn reserved(
8241        self,
8242    ) -> crate::common::RegisterFieldBool<3, 1, 0, MctlTx_SPEC, crate::common::RW> {
8243        crate::common::RegisterFieldBool::<3, 1, 0, MctlTx_SPEC, crate::common::RW>::from_register(
8244            self, 0,
8245        )
8246    }
8247
8248    #[doc = "Transmission Abort Complete Flag (Transmit mailbox setting enabled)"]
8249    #[inline(always)]
8250    pub fn trmabt(
8251        self,
8252    ) -> crate::common::RegisterField<
8253        2,
8254        0x1,
8255        1,
8256        0,
8257        mctl_tx::Trmabt,
8258        mctl_tx::Trmabt,
8259        MctlTx_SPEC,
8260        crate::common::RW,
8261    > {
8262        crate::common::RegisterField::<
8263            2,
8264            0x1,
8265            1,
8266            0,
8267            mctl_tx::Trmabt,
8268            mctl_tx::Trmabt,
8269            MctlTx_SPEC,
8270            crate::common::RW,
8271        >::from_register(self, 0)
8272    }
8273
8274    #[doc = "Transmission-in-Progress Status Flag (Transmit mailbox setting enabled)"]
8275    #[inline(always)]
8276    pub fn trmactive(
8277        self,
8278    ) -> crate::common::RegisterField<
8279        1,
8280        0x1,
8281        1,
8282        0,
8283        mctl_tx::Trmactive,
8284        mctl_tx::Trmactive,
8285        MctlTx_SPEC,
8286        crate::common::R,
8287    > {
8288        crate::common::RegisterField::<
8289            1,
8290            0x1,
8291            1,
8292            0,
8293            mctl_tx::Trmactive,
8294            mctl_tx::Trmactive,
8295            MctlTx_SPEC,
8296            crate::common::R,
8297        >::from_register(self, 0)
8298    }
8299
8300    #[doc = "Transmission Complete Flag"]
8301    #[inline(always)]
8302    pub fn sentdata(
8303        self,
8304    ) -> crate::common::RegisterField<
8305        0,
8306        0x1,
8307        1,
8308        0,
8309        mctl_tx::Sentdata,
8310        mctl_tx::Sentdata,
8311        MctlTx_SPEC,
8312        crate::common::RW,
8313    > {
8314        crate::common::RegisterField::<
8315            0,
8316            0x1,
8317            1,
8318            0,
8319            mctl_tx::Sentdata,
8320            mctl_tx::Sentdata,
8321            MctlTx_SPEC,
8322            crate::common::RW,
8323        >::from_register(self, 0)
8324    }
8325}
8326impl ::core::default::Default for MctlTx {
8327    #[inline(always)]
8328    fn default() -> MctlTx {
8329        <crate::RegValueT<MctlTx_SPEC> as RegisterValue<_>>::new(0)
8330    }
8331}
8332pub mod mctl_tx {
8333
8334    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8335    pub struct Trmreq_SPEC;
8336    pub type Trmreq = crate::EnumBitfieldStruct<u8, Trmreq_SPEC>;
8337    impl Trmreq {
8338        #[doc = "Not configured for transmission"]
8339        pub const _0: Self = Self::new(0);
8340
8341        #[doc = "Configured for transmission"]
8342        pub const _1: Self = Self::new(1);
8343    }
8344    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8345    pub struct Recreq_SPEC;
8346    pub type Recreq = crate::EnumBitfieldStruct<u8, Recreq_SPEC>;
8347    impl Recreq {
8348        #[doc = "Not configured for reception"]
8349        pub const _0: Self = Self::new(0);
8350
8351        #[doc = "Configured for reception"]
8352        pub const _1: Self = Self::new(1);
8353    }
8354    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8355    pub struct Oneshot_SPEC;
8356    pub type Oneshot = crate::EnumBitfieldStruct<u8, Oneshot_SPEC>;
8357    impl Oneshot {
8358        #[doc = "One-shot reception or one-shot transmission disabled"]
8359        pub const _0: Self = Self::new(0);
8360
8361        #[doc = "One-shot reception or one-shot transmission enabled"]
8362        pub const _1: Self = Self::new(1);
8363    }
8364    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8365    pub struct Trmabt_SPEC;
8366    pub type Trmabt = crate::EnumBitfieldStruct<u8, Trmabt_SPEC>;
8367    impl Trmabt {
8368        #[doc = "Transmission has started, transmission abort failed because transmission is completed, or transmission abort is not requested"]
8369        pub const _0: Self = Self::new(0);
8370
8371        #[doc = "Transmission abort is completed"]
8372        pub const _1: Self = Self::new(1);
8373    }
8374    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8375    pub struct Trmactive_SPEC;
8376    pub type Trmactive = crate::EnumBitfieldStruct<u8, Trmactive_SPEC>;
8377    impl Trmactive {
8378        #[doc = "Transmission is pending or transmission is not requested"]
8379        pub const _0: Self = Self::new(0);
8380
8381        #[doc = "From acceptance of transmission request to completion of transmission, or error/arbitration-lost"]
8382        pub const _1: Self = Self::new(1);
8383    }
8384    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8385    pub struct Sentdata_SPEC;
8386    pub type Sentdata = crate::EnumBitfieldStruct<u8, Sentdata_SPEC>;
8387    impl Sentdata {
8388        #[doc = "Transmission is not completed"]
8389        pub const _0: Self = Self::new(0);
8390
8391        #[doc = "Transmission is completed"]
8392        pub const _1: Self = Self::new(1);
8393    }
8394}
8395#[doc(hidden)]
8396#[derive(Copy, Clone, Eq, PartialEq)]
8397pub struct MctlRx_SPEC;
8398impl crate::sealed::RegSpec for MctlRx_SPEC {
8399    type DataType = u8;
8400}
8401
8402#[doc = "Message Control Register( Receive mode (when the TRMREQ bit is 0 and the RECREQ bit is 1))"]
8403pub type MctlRx = crate::RegValueT<MctlRx_SPEC>;
8404
8405impl MctlRx {
8406    #[doc = "Transmit Mailbox Request"]
8407    #[inline(always)]
8408    pub fn trmreq(
8409        self,
8410    ) -> crate::common::RegisterField<
8411        7,
8412        0x1,
8413        1,
8414        0,
8415        mctl_rx::Trmreq,
8416        mctl_rx::Trmreq,
8417        MctlRx_SPEC,
8418        crate::common::RW,
8419    > {
8420        crate::common::RegisterField::<
8421            7,
8422            0x1,
8423            1,
8424            0,
8425            mctl_rx::Trmreq,
8426            mctl_rx::Trmreq,
8427            MctlRx_SPEC,
8428            crate::common::RW,
8429        >::from_register(self, 0)
8430    }
8431
8432    #[doc = "Receive Mailbox Request"]
8433    #[inline(always)]
8434    pub fn recreq(
8435        self,
8436    ) -> crate::common::RegisterField<
8437        6,
8438        0x1,
8439        1,
8440        0,
8441        mctl_rx::Recreq,
8442        mctl_rx::Recreq,
8443        MctlRx_SPEC,
8444        crate::common::RW,
8445    > {
8446        crate::common::RegisterField::<
8447            6,
8448            0x1,
8449            1,
8450            0,
8451            mctl_rx::Recreq,
8452            mctl_rx::Recreq,
8453            MctlRx_SPEC,
8454            crate::common::RW,
8455        >::from_register(self, 0)
8456    }
8457
8458    #[doc = "One-Shot Enable"]
8459    #[inline(always)]
8460    pub fn oneshot(
8461        self,
8462    ) -> crate::common::RegisterField<
8463        4,
8464        0x1,
8465        1,
8466        0,
8467        mctl_rx::Oneshot,
8468        mctl_rx::Oneshot,
8469        MctlRx_SPEC,
8470        crate::common::RW,
8471    > {
8472        crate::common::RegisterField::<
8473            4,
8474            0x1,
8475            1,
8476            0,
8477            mctl_rx::Oneshot,
8478            mctl_rx::Oneshot,
8479            MctlRx_SPEC,
8480            crate::common::RW,
8481        >::from_register(self, 0)
8482    }
8483
8484    #[doc = "This bit is read as 0. The write value should be 0."]
8485    #[inline(always)]
8486    pub fn reserved(
8487        self,
8488    ) -> crate::common::RegisterFieldBool<3, 1, 0, MctlRx_SPEC, crate::common::RW> {
8489        crate::common::RegisterFieldBool::<3, 1, 0, MctlRx_SPEC, crate::common::RW>::from_register(
8490            self, 0,
8491        )
8492    }
8493
8494    #[doc = "Message Lost Flag(Receive mailbox setting enabled)"]
8495    #[inline(always)]
8496    pub fn msglost(
8497        self,
8498    ) -> crate::common::RegisterField<
8499        2,
8500        0x1,
8501        1,
8502        0,
8503        mctl_rx::Msglost,
8504        mctl_rx::Msglost,
8505        MctlRx_SPEC,
8506        crate::common::RW,
8507    > {
8508        crate::common::RegisterField::<
8509            2,
8510            0x1,
8511            1,
8512            0,
8513            mctl_rx::Msglost,
8514            mctl_rx::Msglost,
8515            MctlRx_SPEC,
8516            crate::common::RW,
8517        >::from_register(self, 0)
8518    }
8519
8520    #[doc = "Reception-in-Progress Status Flag (Receive mailbox setting enabled)"]
8521    #[inline(always)]
8522    pub fn invaldata(
8523        self,
8524    ) -> crate::common::RegisterField<
8525        1,
8526        0x1,
8527        1,
8528        0,
8529        mctl_rx::Invaldata,
8530        mctl_rx::Invaldata,
8531        MctlRx_SPEC,
8532        crate::common::R,
8533    > {
8534        crate::common::RegisterField::<
8535            1,
8536            0x1,
8537            1,
8538            0,
8539            mctl_rx::Invaldata,
8540            mctl_rx::Invaldata,
8541            MctlRx_SPEC,
8542            crate::common::R,
8543        >::from_register(self, 0)
8544    }
8545
8546    #[doc = "Reception Complete Flag"]
8547    #[inline(always)]
8548    pub fn newdata(
8549        self,
8550    ) -> crate::common::RegisterField<
8551        0,
8552        0x1,
8553        1,
8554        0,
8555        mctl_rx::Newdata,
8556        mctl_rx::Newdata,
8557        MctlRx_SPEC,
8558        crate::common::RW,
8559    > {
8560        crate::common::RegisterField::<
8561            0,
8562            0x1,
8563            1,
8564            0,
8565            mctl_rx::Newdata,
8566            mctl_rx::Newdata,
8567            MctlRx_SPEC,
8568            crate::common::RW,
8569        >::from_register(self, 0)
8570    }
8571}
8572impl ::core::default::Default for MctlRx {
8573    #[inline(always)]
8574    fn default() -> MctlRx {
8575        <crate::RegValueT<MctlRx_SPEC> as RegisterValue<_>>::new(0)
8576    }
8577}
8578pub mod mctl_rx {
8579
8580    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8581    pub struct Trmreq_SPEC;
8582    pub type Trmreq = crate::EnumBitfieldStruct<u8, Trmreq_SPEC>;
8583    impl Trmreq {
8584        #[doc = "Not configured for transmission"]
8585        pub const _0: Self = Self::new(0);
8586
8587        #[doc = "Configured for transmission"]
8588        pub const _1: Self = Self::new(1);
8589    }
8590    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8591    pub struct Recreq_SPEC;
8592    pub type Recreq = crate::EnumBitfieldStruct<u8, Recreq_SPEC>;
8593    impl Recreq {
8594        #[doc = "Not configured for reception"]
8595        pub const _0: Self = Self::new(0);
8596
8597        #[doc = "Configured for reception"]
8598        pub const _1: Self = Self::new(1);
8599    }
8600    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8601    pub struct Oneshot_SPEC;
8602    pub type Oneshot = crate::EnumBitfieldStruct<u8, Oneshot_SPEC>;
8603    impl Oneshot {
8604        #[doc = "One-shot reception or one-shot transmission disabled"]
8605        pub const _0: Self = Self::new(0);
8606
8607        #[doc = "One-shot reception or one-shot transmission enabled"]
8608        pub const _1: Self = Self::new(1);
8609    }
8610    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8611    pub struct Msglost_SPEC;
8612    pub type Msglost = crate::EnumBitfieldStruct<u8, Msglost_SPEC>;
8613    impl Msglost {
8614        #[doc = "Message is not overwritten or overrun"]
8615        pub const _0: Self = Self::new(0);
8616
8617        #[doc = "Message is overwritten or overrun"]
8618        pub const _1: Self = Self::new(1);
8619    }
8620    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8621    pub struct Invaldata_SPEC;
8622    pub type Invaldata = crate::EnumBitfieldStruct<u8, Invaldata_SPEC>;
8623    impl Invaldata {
8624        #[doc = "Message valid"]
8625        pub const _0: Self = Self::new(0);
8626
8627        #[doc = "Message being updated"]
8628        pub const _1: Self = Self::new(1);
8629    }
8630    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8631    pub struct Newdata_SPEC;
8632    pub type Newdata = crate::EnumBitfieldStruct<u8, Newdata_SPEC>;
8633    impl Newdata {
8634        #[doc = "No data has been received or 0 is written to the NEWDATA bit"]
8635        pub const _0: Self = Self::new(0);
8636
8637        #[doc = "A new message is being stored or has been stored to the mailbox"]
8638        pub const _1: Self = Self::new(1);
8639    }
8640}
8641#[doc(hidden)]
8642#[derive(Copy, Clone, Eq, PartialEq)]
8643pub struct Ctlr_SPEC;
8644impl crate::sealed::RegSpec for Ctlr_SPEC {
8645    type DataType = u16;
8646}
8647
8648#[doc = "Control Register"]
8649pub type Ctlr = crate::RegValueT<Ctlr_SPEC>;
8650
8651impl Ctlr {
8652    #[doc = "These bits are read as 00. The write value should be 00."]
8653    #[inline(always)]
8654    pub fn reserved(
8655        self,
8656    ) -> crate::common::RegisterField<14, 0x3, 1, 0, u8, u8, Ctlr_SPEC, crate::common::RW> {
8657        crate::common::RegisterField::<14,0x3,1,0,u8,u8,Ctlr_SPEC,crate::common::RW>::from_register(self,0)
8658    }
8659
8660    #[doc = "Forcible Return From Bus-Off"]
8661    #[inline(always)]
8662    pub fn rboc(
8663        self,
8664    ) -> crate::common::RegisterField<
8665        13,
8666        0x1,
8667        1,
8668        0,
8669        ctlr::Rboc,
8670        ctlr::Rboc,
8671        Ctlr_SPEC,
8672        crate::common::RW,
8673    > {
8674        crate::common::RegisterField::<
8675            13,
8676            0x1,
8677            1,
8678            0,
8679            ctlr::Rboc,
8680            ctlr::Rboc,
8681            Ctlr_SPEC,
8682            crate::common::RW,
8683        >::from_register(self, 0)
8684    }
8685
8686    #[doc = "Bus-Off Recovery Mode"]
8687    #[inline(always)]
8688    pub fn bom(
8689        self,
8690    ) -> crate::common::RegisterField<
8691        11,
8692        0x3,
8693        1,
8694        0,
8695        ctlr::Bom,
8696        ctlr::Bom,
8697        Ctlr_SPEC,
8698        crate::common::RW,
8699    > {
8700        crate::common::RegisterField::<
8701            11,
8702            0x3,
8703            1,
8704            0,
8705            ctlr::Bom,
8706            ctlr::Bom,
8707            Ctlr_SPEC,
8708            crate::common::RW,
8709        >::from_register(self, 0)
8710    }
8711
8712    #[doc = "CAN Sleep Mode"]
8713    #[inline(always)]
8714    pub fn slpm(
8715        self,
8716    ) -> crate::common::RegisterField<
8717        10,
8718        0x1,
8719        1,
8720        0,
8721        ctlr::Slpm,
8722        ctlr::Slpm,
8723        Ctlr_SPEC,
8724        crate::common::RW,
8725    > {
8726        crate::common::RegisterField::<
8727            10,
8728            0x1,
8729            1,
8730            0,
8731            ctlr::Slpm,
8732            ctlr::Slpm,
8733            Ctlr_SPEC,
8734            crate::common::RW,
8735        >::from_register(self, 0)
8736    }
8737
8738    #[doc = "CAN Mode of Operation Select"]
8739    #[inline(always)]
8740    pub fn canm(
8741        self,
8742    ) -> crate::common::RegisterField<
8743        8,
8744        0x3,
8745        1,
8746        0,
8747        ctlr::Canm,
8748        ctlr::Canm,
8749        Ctlr_SPEC,
8750        crate::common::RW,
8751    > {
8752        crate::common::RegisterField::<
8753            8,
8754            0x3,
8755            1,
8756            0,
8757            ctlr::Canm,
8758            ctlr::Canm,
8759            Ctlr_SPEC,
8760            crate::common::RW,
8761        >::from_register(self, 0)
8762    }
8763
8764    #[doc = "Time Stamp Prescaler Select"]
8765    #[inline(always)]
8766    pub fn tsps(
8767        self,
8768    ) -> crate::common::RegisterField<
8769        6,
8770        0x3,
8771        1,
8772        0,
8773        ctlr::Tsps,
8774        ctlr::Tsps,
8775        Ctlr_SPEC,
8776        crate::common::RW,
8777    > {
8778        crate::common::RegisterField::<
8779            6,
8780            0x3,
8781            1,
8782            0,
8783            ctlr::Tsps,
8784            ctlr::Tsps,
8785            Ctlr_SPEC,
8786            crate::common::RW,
8787        >::from_register(self, 0)
8788    }
8789
8790    #[doc = "Time Stamp Counter Reset Command"]
8791    #[inline(always)]
8792    pub fn tsrc(
8793        self,
8794    ) -> crate::common::RegisterField<
8795        5,
8796        0x1,
8797        1,
8798        0,
8799        ctlr::Tsrc,
8800        ctlr::Tsrc,
8801        Ctlr_SPEC,
8802        crate::common::RW,
8803    > {
8804        crate::common::RegisterField::<
8805            5,
8806            0x1,
8807            1,
8808            0,
8809            ctlr::Tsrc,
8810            ctlr::Tsrc,
8811            Ctlr_SPEC,
8812            crate::common::RW,
8813        >::from_register(self, 0)
8814    }
8815
8816    #[doc = "Transmission Priority Mode Select"]
8817    #[inline(always)]
8818    pub fn tpm(
8819        self,
8820    ) -> crate::common::RegisterField<
8821        4,
8822        0x1,
8823        1,
8824        0,
8825        ctlr::Tpm,
8826        ctlr::Tpm,
8827        Ctlr_SPEC,
8828        crate::common::RW,
8829    > {
8830        crate::common::RegisterField::<
8831            4,
8832            0x1,
8833            1,
8834            0,
8835            ctlr::Tpm,
8836            ctlr::Tpm,
8837            Ctlr_SPEC,
8838            crate::common::RW,
8839        >::from_register(self, 0)
8840    }
8841
8842    #[doc = "Message Lost Mode Select"]
8843    #[inline(always)]
8844    pub fn mlm(
8845        self,
8846    ) -> crate::common::RegisterField<
8847        3,
8848        0x1,
8849        1,
8850        0,
8851        ctlr::Mlm,
8852        ctlr::Mlm,
8853        Ctlr_SPEC,
8854        crate::common::RW,
8855    > {
8856        crate::common::RegisterField::<
8857            3,
8858            0x1,
8859            1,
8860            0,
8861            ctlr::Mlm,
8862            ctlr::Mlm,
8863            Ctlr_SPEC,
8864            crate::common::RW,
8865        >::from_register(self, 0)
8866    }
8867
8868    #[doc = "ID Format Mode Select"]
8869    #[inline(always)]
8870    pub fn idfm(
8871        self,
8872    ) -> crate::common::RegisterField<
8873        1,
8874        0x3,
8875        1,
8876        0,
8877        ctlr::Idfm,
8878        ctlr::Idfm,
8879        Ctlr_SPEC,
8880        crate::common::RW,
8881    > {
8882        crate::common::RegisterField::<
8883            1,
8884            0x3,
8885            1,
8886            0,
8887            ctlr::Idfm,
8888            ctlr::Idfm,
8889            Ctlr_SPEC,
8890            crate::common::RW,
8891        >::from_register(self, 0)
8892    }
8893
8894    #[doc = "CAN Mailbox Mode Select"]
8895    #[inline(always)]
8896    pub fn mbm(
8897        self,
8898    ) -> crate::common::RegisterField<
8899        0,
8900        0x1,
8901        1,
8902        0,
8903        ctlr::Mbm,
8904        ctlr::Mbm,
8905        Ctlr_SPEC,
8906        crate::common::RW,
8907    > {
8908        crate::common::RegisterField::<
8909            0,
8910            0x1,
8911            1,
8912            0,
8913            ctlr::Mbm,
8914            ctlr::Mbm,
8915            Ctlr_SPEC,
8916            crate::common::RW,
8917        >::from_register(self, 0)
8918    }
8919}
8920impl ::core::default::Default for Ctlr {
8921    #[inline(always)]
8922    fn default() -> Ctlr {
8923        <crate::RegValueT<Ctlr_SPEC> as RegisterValue<_>>::new(1280)
8924    }
8925}
8926pub mod ctlr {
8927
8928    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8929    pub struct Rboc_SPEC;
8930    pub type Rboc = crate::EnumBitfieldStruct<u8, Rboc_SPEC>;
8931    impl Rboc {
8932        #[doc = "Nothing occurred"]
8933        pub const _0: Self = Self::new(0);
8934
8935        #[doc = "Forcible return from bus-off"]
8936        pub const _1: Self = Self::new(1);
8937    }
8938    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8939    pub struct Bom_SPEC;
8940    pub type Bom = crate::EnumBitfieldStruct<u8, Bom_SPEC>;
8941    impl Bom {
8942        #[doc = "Normal mode (ISO11898-1 compliant)"]
8943        pub const _00: Self = Self::new(0);
8944
8945        #[doc = "Entry to CAN halt mode automatically at bus-off entry"]
8946        pub const _01: Self = Self::new(1);
8947
8948        #[doc = "Entry to CAN halt mode automatically at bus-off end"]
8949        pub const _10: Self = Self::new(2);
8950
8951        #[doc = "Entry to CAN halt mode (during bus-off recovery period)  by a program request"]
8952        pub const _11: Self = Self::new(3);
8953    }
8954    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8955    pub struct Slpm_SPEC;
8956    pub type Slpm = crate::EnumBitfieldStruct<u8, Slpm_SPEC>;
8957    impl Slpm {
8958        #[doc = "Other than CAN sleep mode"]
8959        pub const _0: Self = Self::new(0);
8960
8961        #[doc = "CAN sleep mode"]
8962        pub const _1: Self = Self::new(1);
8963    }
8964    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8965    pub struct Canm_SPEC;
8966    pub type Canm = crate::EnumBitfieldStruct<u8, Canm_SPEC>;
8967    impl Canm {
8968        #[doc = "CAN operation mode"]
8969        pub const _00: Self = Self::new(0);
8970
8971        #[doc = "CAN reset mode"]
8972        pub const _01: Self = Self::new(1);
8973
8974        #[doc = "CAN halt mode"]
8975        pub const _10: Self = Self::new(2);
8976
8977        #[doc = "CAN reset mode (forcible transition)"]
8978        pub const _11: Self = Self::new(3);
8979    }
8980    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8981    pub struct Tsps_SPEC;
8982    pub type Tsps = crate::EnumBitfieldStruct<u8, Tsps_SPEC>;
8983    impl Tsps {
8984        #[doc = "Every bit time"]
8985        pub const _00: Self = Self::new(0);
8986
8987        #[doc = "Every 2-bit time"]
8988        pub const _01: Self = Self::new(1);
8989
8990        #[doc = "Every 4-bit time"]
8991        pub const _10: Self = Self::new(2);
8992
8993        #[doc = "Every 8-bit time"]
8994        pub const _11: Self = Self::new(3);
8995    }
8996    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
8997    pub struct Tsrc_SPEC;
8998    pub type Tsrc = crate::EnumBitfieldStruct<u8, Tsrc_SPEC>;
8999    impl Tsrc {
9000        #[doc = "Nothing occurred"]
9001        pub const _0: Self = Self::new(0);
9002
9003        #[doc = "Reset"]
9004        pub const _1: Self = Self::new(1);
9005    }
9006    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9007    pub struct Tpm_SPEC;
9008    pub type Tpm = crate::EnumBitfieldStruct<u8, Tpm_SPEC>;
9009    impl Tpm {
9010        #[doc = "ID priority transmit mode"]
9011        pub const _0: Self = Self::new(0);
9012
9013        #[doc = "Mailbox number priority transmit mode"]
9014        pub const _1: Self = Self::new(1);
9015    }
9016    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9017    pub struct Mlm_SPEC;
9018    pub type Mlm = crate::EnumBitfieldStruct<u8, Mlm_SPEC>;
9019    impl Mlm {
9020        #[doc = "Overwrite mode"]
9021        pub const _0: Self = Self::new(0);
9022
9023        #[doc = "Overrun mode"]
9024        pub const _1: Self = Self::new(1);
9025    }
9026    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9027    pub struct Idfm_SPEC;
9028    pub type Idfm = crate::EnumBitfieldStruct<u8, Idfm_SPEC>;
9029    impl Idfm {
9030        #[doc = "Standard ID mode.All mailboxes (including FIFO mailboxes) handle only standard Ids."]
9031        pub const _00: Self = Self::new(0);
9032
9033        #[doc = "Extended ID mode.All mailboxes (including FIFO mailboxes) handle only extended IDs."]
9034        pub const _01: Self = Self::new(1);
9035
9036        #[doc = "Mixed ID mode.All mailboxes (including FIFO mailboxes) handle both standard IDs and extended IDs. Standard IDs or extended IDs are specified by using the IDE bit in the corresponding mailbox in normal mailbox mode. In FIFO mailbox mode, the IDE bit in the corresponding mailbox is used for mailboxes \\[0\\] to \\[23\\], the IDE bits in FIDCR0 and FIDCR1 are used for the receive FIFO, and the IDE bit in mailbox \\[24\\] is used for the transmit FIFO."]
9037        pub const _10: Self = Self::new(2);
9038
9039        #[doc = "Do not use this combination"]
9040        pub const _11: Self = Self::new(3);
9041    }
9042    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9043    pub struct Mbm_SPEC;
9044    pub type Mbm = crate::EnumBitfieldStruct<u8, Mbm_SPEC>;
9045    impl Mbm {
9046        #[doc = "Normal mailbox mode"]
9047        pub const _0: Self = Self::new(0);
9048
9049        #[doc = "FIFO mailbox mode"]
9050        pub const _1: Self = Self::new(1);
9051    }
9052}
9053#[doc(hidden)]
9054#[derive(Copy, Clone, Eq, PartialEq)]
9055pub struct Str_SPEC;
9056impl crate::sealed::RegSpec for Str_SPEC {
9057    type DataType = u16;
9058}
9059
9060#[doc = "Status Register"]
9061pub type Str = crate::RegValueT<Str_SPEC>;
9062
9063impl Str {
9064    #[doc = "This bit is read as 0."]
9065    #[inline(always)]
9066    pub fn reserved(
9067        self,
9068    ) -> crate::common::RegisterFieldBool<15, 1, 0, Str_SPEC, crate::common::R> {
9069        crate::common::RegisterFieldBool::<15, 1, 0, Str_SPEC, crate::common::R>::from_register(
9070            self, 0,
9071        )
9072    }
9073
9074    #[doc = "Receive Status Flag (receiver)"]
9075    #[inline(always)]
9076    pub fn recst(
9077        self,
9078    ) -> crate::common::RegisterField<
9079        14,
9080        0x1,
9081        1,
9082        0,
9083        str::Recst,
9084        str::Recst,
9085        Str_SPEC,
9086        crate::common::R,
9087    > {
9088        crate::common::RegisterField::<
9089            14,
9090            0x1,
9091            1,
9092            0,
9093            str::Recst,
9094            str::Recst,
9095            Str_SPEC,
9096            crate::common::R,
9097        >::from_register(self, 0)
9098    }
9099
9100    #[doc = "Transmit Status Flag (transmitter)"]
9101    #[inline(always)]
9102    pub fn trmst(
9103        self,
9104    ) -> crate::common::RegisterField<
9105        13,
9106        0x1,
9107        1,
9108        0,
9109        str::Trmst,
9110        str::Trmst,
9111        Str_SPEC,
9112        crate::common::R,
9113    > {
9114        crate::common::RegisterField::<
9115            13,
9116            0x1,
9117            1,
9118            0,
9119            str::Trmst,
9120            str::Trmst,
9121            Str_SPEC,
9122            crate::common::R,
9123        >::from_register(self, 0)
9124    }
9125
9126    #[doc = "Bus-Off Status Flag"]
9127    #[inline(always)]
9128    pub fn bost(
9129        self,
9130    ) -> crate::common::RegisterField<12, 0x1, 1, 0, str::Bost, str::Bost, Str_SPEC, crate::common::R>
9131    {
9132        crate::common::RegisterField::<
9133            12,
9134            0x1,
9135            1,
9136            0,
9137            str::Bost,
9138            str::Bost,
9139            Str_SPEC,
9140            crate::common::R,
9141        >::from_register(self, 0)
9142    }
9143
9144    #[doc = "Error-Passive Status Flag"]
9145    #[inline(always)]
9146    pub fn epst(
9147        self,
9148    ) -> crate::common::RegisterField<11, 0x1, 1, 0, str::Epst, str::Epst, Str_SPEC, crate::common::R>
9149    {
9150        crate::common::RegisterField::<
9151            11,
9152            0x1,
9153            1,
9154            0,
9155            str::Epst,
9156            str::Epst,
9157            Str_SPEC,
9158            crate::common::R,
9159        >::from_register(self, 0)
9160    }
9161
9162    #[doc = "CAN Sleep Status Flag"]
9163    #[inline(always)]
9164    pub fn slpst(
9165        self,
9166    ) -> crate::common::RegisterField<
9167        10,
9168        0x1,
9169        1,
9170        0,
9171        str::Slpst,
9172        str::Slpst,
9173        Str_SPEC,
9174        crate::common::R,
9175    > {
9176        crate::common::RegisterField::<
9177            10,
9178            0x1,
9179            1,
9180            0,
9181            str::Slpst,
9182            str::Slpst,
9183            Str_SPEC,
9184            crate::common::R,
9185        >::from_register(self, 0)
9186    }
9187
9188    #[doc = "CAN Halt Status Flag"]
9189    #[inline(always)]
9190    pub fn hltst(
9191        self,
9192    ) -> crate::common::RegisterField<
9193        9,
9194        0x1,
9195        1,
9196        0,
9197        str::Hltst,
9198        str::Hltst,
9199        Str_SPEC,
9200        crate::common::R,
9201    > {
9202        crate::common::RegisterField::<
9203            9,
9204            0x1,
9205            1,
9206            0,
9207            str::Hltst,
9208            str::Hltst,
9209            Str_SPEC,
9210            crate::common::R,
9211        >::from_register(self, 0)
9212    }
9213
9214    #[doc = "CAN Reset Status Flag"]
9215    #[inline(always)]
9216    pub fn rstst(
9217        self,
9218    ) -> crate::common::RegisterField<
9219        8,
9220        0x1,
9221        1,
9222        0,
9223        str::Rstst,
9224        str::Rstst,
9225        Str_SPEC,
9226        crate::common::R,
9227    > {
9228        crate::common::RegisterField::<
9229            8,
9230            0x1,
9231            1,
9232            0,
9233            str::Rstst,
9234            str::Rstst,
9235            Str_SPEC,
9236            crate::common::R,
9237        >::from_register(self, 0)
9238    }
9239
9240    #[doc = "Error Status Flag"]
9241    #[inline(always)]
9242    pub fn est(
9243        self,
9244    ) -> crate::common::RegisterField<7, 0x1, 1, 0, str::Est, str::Est, Str_SPEC, crate::common::R>
9245    {
9246        crate::common::RegisterField::<7,0x1,1,0,str::Est,str::Est,Str_SPEC,crate::common::R>::from_register(self,0)
9247    }
9248
9249    #[doc = "Transmission Abort Status Flag"]
9250    #[inline(always)]
9251    pub fn tabst(
9252        self,
9253    ) -> crate::common::RegisterField<
9254        6,
9255        0x1,
9256        1,
9257        0,
9258        str::Tabst,
9259        str::Tabst,
9260        Str_SPEC,
9261        crate::common::R,
9262    > {
9263        crate::common::RegisterField::<
9264            6,
9265            0x1,
9266            1,
9267            0,
9268            str::Tabst,
9269            str::Tabst,
9270            Str_SPEC,
9271            crate::common::R,
9272        >::from_register(self, 0)
9273    }
9274
9275    #[doc = "FIFO Mailbox Message Lost Status Flag"]
9276    #[inline(always)]
9277    pub fn fmlst(
9278        self,
9279    ) -> crate::common::RegisterField<
9280        5,
9281        0x1,
9282        1,
9283        0,
9284        str::Fmlst,
9285        str::Fmlst,
9286        Str_SPEC,
9287        crate::common::R,
9288    > {
9289        crate::common::RegisterField::<
9290            5,
9291            0x1,
9292            1,
9293            0,
9294            str::Fmlst,
9295            str::Fmlst,
9296            Str_SPEC,
9297            crate::common::R,
9298        >::from_register(self, 0)
9299    }
9300
9301    #[doc = "Normal Mailbox Message Lost Status Flag"]
9302    #[inline(always)]
9303    pub fn nmlst(
9304        self,
9305    ) -> crate::common::RegisterField<
9306        4,
9307        0x1,
9308        1,
9309        0,
9310        str::Nmlst,
9311        str::Nmlst,
9312        Str_SPEC,
9313        crate::common::R,
9314    > {
9315        crate::common::RegisterField::<
9316            4,
9317            0x1,
9318            1,
9319            0,
9320            str::Nmlst,
9321            str::Nmlst,
9322            Str_SPEC,
9323            crate::common::R,
9324        >::from_register(self, 0)
9325    }
9326
9327    #[doc = "Transmit FIFO Status Flag"]
9328    #[inline(always)]
9329    pub fn tfst(
9330        self,
9331    ) -> crate::common::RegisterField<3, 0x1, 1, 0, str::Tfst, str::Tfst, Str_SPEC, crate::common::R>
9332    {
9333        crate::common::RegisterField::<3,0x1,1,0,str::Tfst,str::Tfst,Str_SPEC,crate::common::R>::from_register(self,0)
9334    }
9335
9336    #[doc = "Receive FIFO Status Flag"]
9337    #[inline(always)]
9338    pub fn rfst(
9339        self,
9340    ) -> crate::common::RegisterField<2, 0x1, 1, 0, str::Rfst, str::Rfst, Str_SPEC, crate::common::R>
9341    {
9342        crate::common::RegisterField::<2,0x1,1,0,str::Rfst,str::Rfst,Str_SPEC,crate::common::R>::from_register(self,0)
9343    }
9344
9345    #[doc = "SENTDATA Status Flag"]
9346    #[inline(always)]
9347    pub fn sdst(
9348        self,
9349    ) -> crate::common::RegisterField<1, 0x1, 1, 0, str::Sdst, str::Sdst, Str_SPEC, crate::common::R>
9350    {
9351        crate::common::RegisterField::<1,0x1,1,0,str::Sdst,str::Sdst,Str_SPEC,crate::common::R>::from_register(self,0)
9352    }
9353
9354    #[doc = "NEWDATA Status Flag"]
9355    #[inline(always)]
9356    pub fn ndst(
9357        self,
9358    ) -> crate::common::RegisterField<0, 0x1, 1, 0, str::Ndst, str::Ndst, Str_SPEC, crate::common::R>
9359    {
9360        crate::common::RegisterField::<0,0x1,1,0,str::Ndst,str::Ndst,Str_SPEC,crate::common::R>::from_register(self,0)
9361    }
9362}
9363impl ::core::default::Default for Str {
9364    #[inline(always)]
9365    fn default() -> Str {
9366        <crate::RegValueT<Str_SPEC> as RegisterValue<_>>::new(1280)
9367    }
9368}
9369pub mod str {
9370
9371    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9372    pub struct Recst_SPEC;
9373    pub type Recst = crate::EnumBitfieldStruct<u8, Recst_SPEC>;
9374    impl Recst {
9375        #[doc = "Bus idle or transmission in progress"]
9376        pub const _0: Self = Self::new(0);
9377
9378        #[doc = "Reception in progress"]
9379        pub const _1: Self = Self::new(1);
9380    }
9381    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9382    pub struct Trmst_SPEC;
9383    pub type Trmst = crate::EnumBitfieldStruct<u8, Trmst_SPEC>;
9384    impl Trmst {
9385        #[doc = "Bus idle or reception in progress"]
9386        pub const _0: Self = Self::new(0);
9387
9388        #[doc = "Transmission in progress or in bus-off state"]
9389        pub const _1: Self = Self::new(1);
9390    }
9391    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9392    pub struct Bost_SPEC;
9393    pub type Bost = crate::EnumBitfieldStruct<u8, Bost_SPEC>;
9394    impl Bost {
9395        #[doc = "Not in bus-off state"]
9396        pub const _0: Self = Self::new(0);
9397
9398        #[doc = "In bus-off state"]
9399        pub const _1: Self = Self::new(1);
9400    }
9401    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9402    pub struct Epst_SPEC;
9403    pub type Epst = crate::EnumBitfieldStruct<u8, Epst_SPEC>;
9404    impl Epst {
9405        #[doc = "Not in error-passive state"]
9406        pub const _0: Self = Self::new(0);
9407
9408        #[doc = "In error-passive state"]
9409        pub const _1: Self = Self::new(1);
9410    }
9411    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9412    pub struct Slpst_SPEC;
9413    pub type Slpst = crate::EnumBitfieldStruct<u8, Slpst_SPEC>;
9414    impl Slpst {
9415        #[doc = "Not in CAN sleep mode"]
9416        pub const _0: Self = Self::new(0);
9417
9418        #[doc = "In CAN sleep mode"]
9419        pub const _1: Self = Self::new(1);
9420    }
9421    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9422    pub struct Hltst_SPEC;
9423    pub type Hltst = crate::EnumBitfieldStruct<u8, Hltst_SPEC>;
9424    impl Hltst {
9425        #[doc = "Not in CAN halt mode"]
9426        pub const _0: Self = Self::new(0);
9427
9428        #[doc = "In CAN halt mode"]
9429        pub const _1: Self = Self::new(1);
9430    }
9431    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9432    pub struct Rstst_SPEC;
9433    pub type Rstst = crate::EnumBitfieldStruct<u8, Rstst_SPEC>;
9434    impl Rstst {
9435        #[doc = "Not in CAN reset mode"]
9436        pub const _0: Self = Self::new(0);
9437
9438        #[doc = "In CAN reset mode"]
9439        pub const _1: Self = Self::new(1);
9440    }
9441    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9442    pub struct Est_SPEC;
9443    pub type Est = crate::EnumBitfieldStruct<u8, Est_SPEC>;
9444    impl Est {
9445        #[doc = "No error occurred"]
9446        pub const _0: Self = Self::new(0);
9447
9448        #[doc = "Error occurred"]
9449        pub const _1: Self = Self::new(1);
9450    }
9451    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9452    pub struct Tabst_SPEC;
9453    pub type Tabst = crate::EnumBitfieldStruct<u8, Tabst_SPEC>;
9454    impl Tabst {
9455        #[doc = "No mailbox with TRMABT bit = 1"]
9456        pub const _0: Self = Self::new(0);
9457
9458        #[doc = "Mailbox(es) with TRMABT bit = 1"]
9459        pub const _1: Self = Self::new(1);
9460    }
9461    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9462    pub struct Fmlst_SPEC;
9463    pub type Fmlst = crate::EnumBitfieldStruct<u8, Fmlst_SPEC>;
9464    impl Fmlst {
9465        #[doc = "RFMLF bit = 0"]
9466        pub const _0: Self = Self::new(0);
9467
9468        #[doc = "RFMLF bit = 1"]
9469        pub const _1: Self = Self::new(1);
9470    }
9471    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9472    pub struct Nmlst_SPEC;
9473    pub type Nmlst = crate::EnumBitfieldStruct<u8, Nmlst_SPEC>;
9474    impl Nmlst {
9475        #[doc = "No mailbox with MSGLOST bit = 1"]
9476        pub const _0: Self = Self::new(0);
9477
9478        #[doc = "Mailbox(es) with MSGLOST bit = 1"]
9479        pub const _1: Self = Self::new(1);
9480    }
9481    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9482    pub struct Tfst_SPEC;
9483    pub type Tfst = crate::EnumBitfieldStruct<u8, Tfst_SPEC>;
9484    impl Tfst {
9485        #[doc = "Transmit FIFO is full"]
9486        pub const _0: Self = Self::new(0);
9487
9488        #[doc = "Transmit FIFO is not full"]
9489        pub const _1: Self = Self::new(1);
9490    }
9491    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9492    pub struct Rfst_SPEC;
9493    pub type Rfst = crate::EnumBitfieldStruct<u8, Rfst_SPEC>;
9494    impl Rfst {
9495        #[doc = "No message in receive FIFO (empty)"]
9496        pub const _0: Self = Self::new(0);
9497
9498        #[doc = "Message in receive FIFO"]
9499        pub const _1: Self = Self::new(1);
9500    }
9501    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9502    pub struct Sdst_SPEC;
9503    pub type Sdst = crate::EnumBitfieldStruct<u8, Sdst_SPEC>;
9504    impl Sdst {
9505        #[doc = "No mailbox with SENTDATA bit = 1"]
9506        pub const _0: Self = Self::new(0);
9507
9508        #[doc = "Mailbox(es) with SENTDATA bit = 1"]
9509        pub const _1: Self = Self::new(1);
9510    }
9511    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9512    pub struct Ndst_SPEC;
9513    pub type Ndst = crate::EnumBitfieldStruct<u8, Ndst_SPEC>;
9514    impl Ndst {
9515        #[doc = "No mailbox with NEWDATA bit = 1"]
9516        pub const _0: Self = Self::new(0);
9517
9518        #[doc = "Mailbox(es) with NEWDATA bit = 1"]
9519        pub const _1: Self = Self::new(1);
9520    }
9521}
9522#[doc(hidden)]
9523#[derive(Copy, Clone, Eq, PartialEq)]
9524pub struct Bcr_SPEC;
9525impl crate::sealed::RegSpec for Bcr_SPEC {
9526    type DataType = u32;
9527}
9528
9529#[doc = "Bit Configuration Register"]
9530pub type Bcr = crate::RegValueT<Bcr_SPEC>;
9531
9532impl Bcr {
9533    #[doc = "Time Segment 1 Control"]
9534    #[inline(always)]
9535    pub fn tseg1(
9536        self,
9537    ) -> crate::common::RegisterField<
9538        28,
9539        0xf,
9540        1,
9541        0,
9542        bcr::Tseg1,
9543        bcr::Tseg1,
9544        Bcr_SPEC,
9545        crate::common::RW,
9546    > {
9547        crate::common::RegisterField::<
9548            28,
9549            0xf,
9550            1,
9551            0,
9552            bcr::Tseg1,
9553            bcr::Tseg1,
9554            Bcr_SPEC,
9555            crate::common::RW,
9556        >::from_register(self, 0)
9557    }
9558
9559    #[doc = "Baud Rate Prescaler select . These bits set the frequency of the CAN communication clock (fCANCLK)."]
9560    #[inline(always)]
9561    pub fn brp(
9562        self,
9563    ) -> crate::common::RegisterField<16, 0x3ff, 1, 0, u16, u16, Bcr_SPEC, crate::common::RW> {
9564        crate::common::RegisterField::<16,0x3ff,1,0,u16,u16,Bcr_SPEC,crate::common::RW>::from_register(self,0)
9565    }
9566
9567    #[doc = "Resynchronization Jump Width Control"]
9568    #[inline(always)]
9569    pub fn sjw(
9570        self,
9571    ) -> crate::common::RegisterField<12, 0x3, 1, 0, bcr::Sjw, bcr::Sjw, Bcr_SPEC, crate::common::RW>
9572    {
9573        crate::common::RegisterField::<12,0x3,1,0,bcr::Sjw,bcr::Sjw,Bcr_SPEC,crate::common::RW>::from_register(self,0)
9574    }
9575
9576    #[doc = "Time Segment 2 Control"]
9577    #[inline(always)]
9578    pub fn tseg2(
9579        self,
9580    ) -> crate::common::RegisterField<
9581        8,
9582        0x7,
9583        1,
9584        0,
9585        bcr::Tseg2,
9586        bcr::Tseg2,
9587        Bcr_SPEC,
9588        crate::common::RW,
9589    > {
9590        crate::common::RegisterField::<
9591            8,
9592            0x7,
9593            1,
9594            0,
9595            bcr::Tseg2,
9596            bcr::Tseg2,
9597            Bcr_SPEC,
9598            crate::common::RW,
9599        >::from_register(self, 0)
9600    }
9601
9602    #[doc = "These bits are read as 0000000. The write value should be 0000000."]
9603    #[inline(always)]
9604    pub fn reserved(
9605        self,
9606    ) -> crate::common::RegisterField<1, 0x7f, 1, 0, u8, u8, Bcr_SPEC, crate::common::RW> {
9607        crate::common::RegisterField::<1,0x7f,1,0,u8,u8,Bcr_SPEC,crate::common::RW>::from_register(self,0)
9608    }
9609
9610    #[doc = "CAN Clock Source Selection"]
9611    #[inline(always)]
9612    pub fn cclks(
9613        self,
9614    ) -> crate::common::RegisterField<
9615        0,
9616        0x1,
9617        1,
9618        0,
9619        bcr::Cclks,
9620        bcr::Cclks,
9621        Bcr_SPEC,
9622        crate::common::RW,
9623    > {
9624        crate::common::RegisterField::<
9625            0,
9626            0x1,
9627            1,
9628            0,
9629            bcr::Cclks,
9630            bcr::Cclks,
9631            Bcr_SPEC,
9632            crate::common::RW,
9633        >::from_register(self, 0)
9634    }
9635}
9636impl ::core::default::Default for Bcr {
9637    #[inline(always)]
9638    fn default() -> Bcr {
9639        <crate::RegValueT<Bcr_SPEC> as RegisterValue<_>>::new(0)
9640    }
9641}
9642pub mod bcr {
9643
9644    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9645    pub struct Tseg1_SPEC;
9646    pub type Tseg1 = crate::EnumBitfieldStruct<u8, Tseg1_SPEC>;
9647    impl Tseg1 {
9648        #[doc = "4 Tq"]
9649        pub const _0011: Self = Self::new(3);
9650
9651        #[doc = "5 Tq"]
9652        pub const _0100: Self = Self::new(4);
9653
9654        #[doc = "6 Tq"]
9655        pub const _0101: Self = Self::new(5);
9656
9657        #[doc = "7 Tq"]
9658        pub const _0110: Self = Self::new(6);
9659
9660        #[doc = "8 Tq"]
9661        pub const _0111: Self = Self::new(7);
9662
9663        #[doc = "9 Tq"]
9664        pub const _1000: Self = Self::new(8);
9665
9666        #[doc = "10 Tq"]
9667        pub const _1001: Self = Self::new(9);
9668
9669        #[doc = "11 Tq"]
9670        pub const _1010: Self = Self::new(10);
9671
9672        #[doc = "12 Tq"]
9673        pub const _1011: Self = Self::new(11);
9674
9675        #[doc = "13 Tq"]
9676        pub const _1100: Self = Self::new(12);
9677
9678        #[doc = "14 Tq"]
9679        pub const _1101: Self = Self::new(13);
9680
9681        #[doc = "15 Tq"]
9682        pub const _1110: Self = Self::new(14);
9683
9684        #[doc = "16 Tq"]
9685        pub const _1111: Self = Self::new(15);
9686    }
9687    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9688    pub struct Sjw_SPEC;
9689    pub type Sjw = crate::EnumBitfieldStruct<u8, Sjw_SPEC>;
9690    impl Sjw {
9691        #[doc = "1 Tq"]
9692        pub const _00: Self = Self::new(0);
9693
9694        #[doc = "2 Tq"]
9695        pub const _01: Self = Self::new(1);
9696
9697        #[doc = "3 Tq"]
9698        pub const _10: Self = Self::new(2);
9699
9700        #[doc = "4 Tq"]
9701        pub const _11: Self = Self::new(3);
9702    }
9703    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9704    pub struct Tseg2_SPEC;
9705    pub type Tseg2 = crate::EnumBitfieldStruct<u8, Tseg2_SPEC>;
9706    impl Tseg2 {
9707        #[doc = "Setting prohibited"]
9708        pub const _000: Self = Self::new(0);
9709
9710        #[doc = "2 Tq"]
9711        pub const _001: Self = Self::new(1);
9712
9713        #[doc = "3 Tq"]
9714        pub const _010: Self = Self::new(2);
9715
9716        #[doc = "4 Tq"]
9717        pub const _011: Self = Self::new(3);
9718
9719        #[doc = "5 Tq"]
9720        pub const _100: Self = Self::new(4);
9721
9722        #[doc = "6 Tq"]
9723        pub const _101: Self = Self::new(5);
9724
9725        #[doc = "7 Tq"]
9726        pub const _110: Self = Self::new(6);
9727
9728        #[doc = "8 Tq"]
9729        pub const _111: Self = Self::new(7);
9730    }
9731    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9732    pub struct Cclks_SPEC;
9733    pub type Cclks = crate::EnumBitfieldStruct<u8, Cclks_SPEC>;
9734    impl Cclks {
9735        #[doc = "PCLK (generated by the PLL clock)"]
9736        pub const _0: Self = Self::new(0);
9737
9738        #[doc = "CANMCLK (generated by the main clock)"]
9739        pub const _1: Self = Self::new(1);
9740    }
9741}
9742#[doc(hidden)]
9743#[derive(Copy, Clone, Eq, PartialEq)]
9744pub struct Rfcr_SPEC;
9745impl crate::sealed::RegSpec for Rfcr_SPEC {
9746    type DataType = u8;
9747}
9748
9749#[doc = "Receive FIFO Control Register"]
9750pub type Rfcr = crate::RegValueT<Rfcr_SPEC>;
9751
9752impl Rfcr {
9753    #[doc = "Receive FIFO Empty Status Flag"]
9754    #[inline(always)]
9755    pub fn rfest(
9756        self,
9757    ) -> crate::common::RegisterField<
9758        7,
9759        0x1,
9760        1,
9761        0,
9762        rfcr::Rfest,
9763        rfcr::Rfest,
9764        Rfcr_SPEC,
9765        crate::common::R,
9766    > {
9767        crate::common::RegisterField::<
9768            7,
9769            0x1,
9770            1,
9771            0,
9772            rfcr::Rfest,
9773            rfcr::Rfest,
9774            Rfcr_SPEC,
9775            crate::common::R,
9776        >::from_register(self, 0)
9777    }
9778
9779    #[doc = "Receive FIFO Buffer Warning Status Flag"]
9780    #[inline(always)]
9781    pub fn rfwst(
9782        self,
9783    ) -> crate::common::RegisterField<
9784        6,
9785        0x1,
9786        1,
9787        0,
9788        rfcr::Rfwst,
9789        rfcr::Rfwst,
9790        Rfcr_SPEC,
9791        crate::common::R,
9792    > {
9793        crate::common::RegisterField::<
9794            6,
9795            0x1,
9796            1,
9797            0,
9798            rfcr::Rfwst,
9799            rfcr::Rfwst,
9800            Rfcr_SPEC,
9801            crate::common::R,
9802        >::from_register(self, 0)
9803    }
9804
9805    #[doc = "Receive FIFO Full Status Flag"]
9806    #[inline(always)]
9807    pub fn rffst(
9808        self,
9809    ) -> crate::common::RegisterField<
9810        5,
9811        0x1,
9812        1,
9813        0,
9814        rfcr::Rffst,
9815        rfcr::Rffst,
9816        Rfcr_SPEC,
9817        crate::common::R,
9818    > {
9819        crate::common::RegisterField::<
9820            5,
9821            0x1,
9822            1,
9823            0,
9824            rfcr::Rffst,
9825            rfcr::Rffst,
9826            Rfcr_SPEC,
9827            crate::common::R,
9828        >::from_register(self, 0)
9829    }
9830
9831    #[doc = "Receive FIFO Message Lost Flag"]
9832    #[inline(always)]
9833    pub fn rfmlf(
9834        self,
9835    ) -> crate::common::RegisterField<
9836        4,
9837        0x1,
9838        1,
9839        0,
9840        rfcr::Rfmlf,
9841        rfcr::Rfmlf,
9842        Rfcr_SPEC,
9843        crate::common::RW,
9844    > {
9845        crate::common::RegisterField::<
9846            4,
9847            0x1,
9848            1,
9849            0,
9850            rfcr::Rfmlf,
9851            rfcr::Rfmlf,
9852            Rfcr_SPEC,
9853            crate::common::RW,
9854        >::from_register(self, 0)
9855    }
9856
9857    #[doc = "Receive FIFO Unread Message Number Status"]
9858    #[inline(always)]
9859    pub fn rfust(
9860        self,
9861    ) -> crate::common::RegisterField<
9862        1,
9863        0x7,
9864        1,
9865        0,
9866        rfcr::Rfust,
9867        rfcr::Rfust,
9868        Rfcr_SPEC,
9869        crate::common::R,
9870    > {
9871        crate::common::RegisterField::<
9872            1,
9873            0x7,
9874            1,
9875            0,
9876            rfcr::Rfust,
9877            rfcr::Rfust,
9878            Rfcr_SPEC,
9879            crate::common::R,
9880        >::from_register(self, 0)
9881    }
9882
9883    #[doc = "Receive FIFO Enable"]
9884    #[inline(always)]
9885    pub fn rfe(
9886        self,
9887    ) -> crate::common::RegisterField<
9888        0,
9889        0x1,
9890        1,
9891        0,
9892        rfcr::Rfe,
9893        rfcr::Rfe,
9894        Rfcr_SPEC,
9895        crate::common::RW,
9896    > {
9897        crate::common::RegisterField::<
9898            0,
9899            0x1,
9900            1,
9901            0,
9902            rfcr::Rfe,
9903            rfcr::Rfe,
9904            Rfcr_SPEC,
9905            crate::common::RW,
9906        >::from_register(self, 0)
9907    }
9908}
9909impl ::core::default::Default for Rfcr {
9910    #[inline(always)]
9911    fn default() -> Rfcr {
9912        <crate::RegValueT<Rfcr_SPEC> as RegisterValue<_>>::new(128)
9913    }
9914}
9915pub mod rfcr {
9916
9917    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9918    pub struct Rfest_SPEC;
9919    pub type Rfest = crate::EnumBitfieldStruct<u8, Rfest_SPEC>;
9920    impl Rfest {
9921        #[doc = "Unread message in receive FIFO"]
9922        pub const _0: Self = Self::new(0);
9923
9924        #[doc = "No unread message in receive FIFO"]
9925        pub const _1: Self = Self::new(1);
9926    }
9927    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9928    pub struct Rfwst_SPEC;
9929    pub type Rfwst = crate::EnumBitfieldStruct<u8, Rfwst_SPEC>;
9930    impl Rfwst {
9931        #[doc = "Receive FIFO is not buffer warning"]
9932        pub const _0: Self = Self::new(0);
9933
9934        #[doc = "Receive FIFO is buffer warning (3 unread messages)"]
9935        pub const _1: Self = Self::new(1);
9936    }
9937    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9938    pub struct Rffst_SPEC;
9939    pub type Rffst = crate::EnumBitfieldStruct<u8, Rffst_SPEC>;
9940    impl Rffst {
9941        #[doc = "Receive FIFO is not full"]
9942        pub const _0: Self = Self::new(0);
9943
9944        #[doc = "Receive FIFO is full (4 unread messages)"]
9945        pub const _1: Self = Self::new(1);
9946    }
9947    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9948    pub struct Rfmlf_SPEC;
9949    pub type Rfmlf = crate::EnumBitfieldStruct<u8, Rfmlf_SPEC>;
9950    impl Rfmlf {
9951        #[doc = "No receive FIFO message lost has occurred"]
9952        pub const _0: Self = Self::new(0);
9953
9954        #[doc = "Receive FIFO message lost has occurred"]
9955        pub const _1: Self = Self::new(1);
9956    }
9957    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9958    pub struct Rfust_SPEC;
9959    pub type Rfust = crate::EnumBitfieldStruct<u8, Rfust_SPEC>;
9960    impl Rfust {
9961        #[doc = "No unread message"]
9962        pub const _000: Self = Self::new(0);
9963
9964        #[doc = "1 unread message"]
9965        pub const _001: Self = Self::new(1);
9966
9967        #[doc = "2 unread messages"]
9968        pub const _010: Self = Self::new(2);
9969
9970        #[doc = "3 unread messages"]
9971        pub const _011: Self = Self::new(3);
9972
9973        #[doc = "4 unread messages"]
9974        pub const _100: Self = Self::new(4);
9975    }
9976    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
9977    pub struct Rfe_SPEC;
9978    pub type Rfe = crate::EnumBitfieldStruct<u8, Rfe_SPEC>;
9979    impl Rfe {
9980        #[doc = "Receive FIFO disabled"]
9981        pub const _0: Self = Self::new(0);
9982
9983        #[doc = "Receive FIFO enabled"]
9984        pub const _1: Self = Self::new(1);
9985    }
9986}
9987#[doc(hidden)]
9988#[derive(Copy, Clone, Eq, PartialEq)]
9989pub struct Rfpcr_SPEC;
9990impl crate::sealed::RegSpec for Rfpcr_SPEC {
9991    type DataType = u8;
9992}
9993
9994#[doc = "Receive FIFO Pointer Control Register"]
9995pub type Rfpcr = crate::RegValueT<Rfpcr_SPEC>;
9996
9997impl Rfpcr {
9998    #[doc = "The CPU-side pointer for the receive FIFO is incremented by writing FFh to RFPCR."]
9999    #[inline(always)]
10000    pub fn rfpcr(
10001        self,
10002    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Rfpcr_SPEC, crate::common::W> {
10003        crate::common::RegisterField::<0,0xff,1,0,u8,u8,Rfpcr_SPEC,crate::common::W>::from_register(self,0)
10004    }
10005}
10006impl ::core::default::Default for Rfpcr {
10007    #[inline(always)]
10008    fn default() -> Rfpcr {
10009        <crate::RegValueT<Rfpcr_SPEC> as RegisterValue<_>>::new(0)
10010    }
10011}
10012
10013#[doc(hidden)]
10014#[derive(Copy, Clone, Eq, PartialEq)]
10015pub struct Tfcr_SPEC;
10016impl crate::sealed::RegSpec for Tfcr_SPEC {
10017    type DataType = u8;
10018}
10019
10020#[doc = "Transmit FIFO Control Register"]
10021pub type Tfcr = crate::RegValueT<Tfcr_SPEC>;
10022
10023impl Tfcr {
10024    #[doc = "Transmit FIFO Empty Status"]
10025    #[inline(always)]
10026    pub fn tfest(
10027        self,
10028    ) -> crate::common::RegisterField<
10029        7,
10030        0x1,
10031        1,
10032        0,
10033        tfcr::Tfest,
10034        tfcr::Tfest,
10035        Tfcr_SPEC,
10036        crate::common::R,
10037    > {
10038        crate::common::RegisterField::<
10039            7,
10040            0x1,
10041            1,
10042            0,
10043            tfcr::Tfest,
10044            tfcr::Tfest,
10045            Tfcr_SPEC,
10046            crate::common::R,
10047        >::from_register(self, 0)
10048    }
10049
10050    #[doc = "Transmit FIFO Full Status"]
10051    #[inline(always)]
10052    pub fn tffst(
10053        self,
10054    ) -> crate::common::RegisterField<
10055        6,
10056        0x1,
10057        1,
10058        0,
10059        tfcr::Tffst,
10060        tfcr::Tffst,
10061        Tfcr_SPEC,
10062        crate::common::R,
10063    > {
10064        crate::common::RegisterField::<
10065            6,
10066            0x1,
10067            1,
10068            0,
10069            tfcr::Tffst,
10070            tfcr::Tffst,
10071            Tfcr_SPEC,
10072            crate::common::R,
10073        >::from_register(self, 0)
10074    }
10075
10076    #[doc = "These bits are read as 00. The write value should be 00."]
10077    #[inline(always)]
10078    pub fn reserved(
10079        self,
10080    ) -> crate::common::RegisterField<4, 0x3, 1, 0, u8, u8, Tfcr_SPEC, crate::common::RW> {
10081        crate::common::RegisterField::<4,0x3,1,0,u8,u8,Tfcr_SPEC,crate::common::RW>::from_register(self,0)
10082    }
10083
10084    #[doc = "Transmit FIFO Unsent Message Number Status"]
10085    #[inline(always)]
10086    pub fn tfust(
10087        self,
10088    ) -> crate::common::RegisterField<
10089        1,
10090        0x7,
10091        1,
10092        0,
10093        tfcr::Tfust,
10094        tfcr::Tfust,
10095        Tfcr_SPEC,
10096        crate::common::R,
10097    > {
10098        crate::common::RegisterField::<
10099            1,
10100            0x7,
10101            1,
10102            0,
10103            tfcr::Tfust,
10104            tfcr::Tfust,
10105            Tfcr_SPEC,
10106            crate::common::R,
10107        >::from_register(self, 0)
10108    }
10109
10110    #[doc = "Transmit FIFO Enable"]
10111    #[inline(always)]
10112    pub fn tfe(
10113        self,
10114    ) -> crate::common::RegisterField<
10115        0,
10116        0x1,
10117        1,
10118        0,
10119        tfcr::Tfe,
10120        tfcr::Tfe,
10121        Tfcr_SPEC,
10122        crate::common::RW,
10123    > {
10124        crate::common::RegisterField::<
10125            0,
10126            0x1,
10127            1,
10128            0,
10129            tfcr::Tfe,
10130            tfcr::Tfe,
10131            Tfcr_SPEC,
10132            crate::common::RW,
10133        >::from_register(self, 0)
10134    }
10135}
10136impl ::core::default::Default for Tfcr {
10137    #[inline(always)]
10138    fn default() -> Tfcr {
10139        <crate::RegValueT<Tfcr_SPEC> as RegisterValue<_>>::new(128)
10140    }
10141}
10142pub mod tfcr {
10143
10144    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10145    pub struct Tfest_SPEC;
10146    pub type Tfest = crate::EnumBitfieldStruct<u8, Tfest_SPEC>;
10147    impl Tfest {
10148        #[doc = "Unsent message in transmit FIFO"]
10149        pub const _0: Self = Self::new(0);
10150
10151        #[doc = "No unsent message in transmit FIFO"]
10152        pub const _1: Self = Self::new(1);
10153    }
10154    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10155    pub struct Tffst_SPEC;
10156    pub type Tffst = crate::EnumBitfieldStruct<u8, Tffst_SPEC>;
10157    impl Tffst {
10158        #[doc = "Transmit FIFO is not full"]
10159        pub const _0: Self = Self::new(0);
10160
10161        #[doc = "Transmit FIFO is full (4 unsent messages)"]
10162        pub const _1: Self = Self::new(1);
10163    }
10164    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10165    pub struct Tfust_SPEC;
10166    pub type Tfust = crate::EnumBitfieldStruct<u8, Tfust_SPEC>;
10167    impl Tfust {
10168        #[doc = "No unsent message"]
10169        pub const _000: Self = Self::new(0);
10170
10171        #[doc = "1 unsent message"]
10172        pub const _001: Self = Self::new(1);
10173
10174        #[doc = "2 unsent messages"]
10175        pub const _010: Self = Self::new(2);
10176
10177        #[doc = "3 unsent messages"]
10178        pub const _011: Self = Self::new(3);
10179
10180        #[doc = "4 unsent messages"]
10181        pub const _100: Self = Self::new(4);
10182    }
10183    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10184    pub struct Tfe_SPEC;
10185    pub type Tfe = crate::EnumBitfieldStruct<u8, Tfe_SPEC>;
10186    impl Tfe {
10187        #[doc = "Transmit FIFO disabled"]
10188        pub const _0: Self = Self::new(0);
10189
10190        #[doc = "Transmit FIFO enabled"]
10191        pub const _1: Self = Self::new(1);
10192    }
10193}
10194#[doc(hidden)]
10195#[derive(Copy, Clone, Eq, PartialEq)]
10196pub struct Tfpcr_SPEC;
10197impl crate::sealed::RegSpec for Tfpcr_SPEC {
10198    type DataType = u8;
10199}
10200
10201#[doc = "Transmit FIFO Pointer Control Register"]
10202pub type Tfpcr = crate::RegValueT<Tfpcr_SPEC>;
10203
10204impl Tfpcr {
10205    #[doc = "The CPU-side pointer for the transmit FIFO is incremented by writing FFh to TFPCR."]
10206    #[inline(always)]
10207    pub fn tfpcr(
10208        self,
10209    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Tfpcr_SPEC, crate::common::W> {
10210        crate::common::RegisterField::<0,0xff,1,0,u8,u8,Tfpcr_SPEC,crate::common::W>::from_register(self,0)
10211    }
10212}
10213impl ::core::default::Default for Tfpcr {
10214    #[inline(always)]
10215    fn default() -> Tfpcr {
10216        <crate::RegValueT<Tfpcr_SPEC> as RegisterValue<_>>::new(0)
10217    }
10218}
10219
10220#[doc(hidden)]
10221#[derive(Copy, Clone, Eq, PartialEq)]
10222pub struct Eier_SPEC;
10223impl crate::sealed::RegSpec for Eier_SPEC {
10224    type DataType = u8;
10225}
10226
10227#[doc = "Error Interrupt Enable Register"]
10228pub type Eier = crate::RegValueT<Eier_SPEC>;
10229
10230impl Eier {
10231    #[doc = "Bus Lock Interrupt Enable"]
10232    #[inline(always)]
10233    pub fn blie(
10234        self,
10235    ) -> crate::common::RegisterField<
10236        7,
10237        0x1,
10238        1,
10239        0,
10240        eier::Blie,
10241        eier::Blie,
10242        Eier_SPEC,
10243        crate::common::RW,
10244    > {
10245        crate::common::RegisterField::<
10246            7,
10247            0x1,
10248            1,
10249            0,
10250            eier::Blie,
10251            eier::Blie,
10252            Eier_SPEC,
10253            crate::common::RW,
10254        >::from_register(self, 0)
10255    }
10256
10257    #[doc = "Overload Frame Transmit Interrupt Enable"]
10258    #[inline(always)]
10259    pub fn olie(
10260        self,
10261    ) -> crate::common::RegisterField<
10262        6,
10263        0x1,
10264        1,
10265        0,
10266        eier::Olie,
10267        eier::Olie,
10268        Eier_SPEC,
10269        crate::common::RW,
10270    > {
10271        crate::common::RegisterField::<
10272            6,
10273            0x1,
10274            1,
10275            0,
10276            eier::Olie,
10277            eier::Olie,
10278            Eier_SPEC,
10279            crate::common::RW,
10280        >::from_register(self, 0)
10281    }
10282
10283    #[doc = "Overrun Interrupt Enable"]
10284    #[inline(always)]
10285    pub fn orie(
10286        self,
10287    ) -> crate::common::RegisterField<
10288        5,
10289        0x1,
10290        1,
10291        0,
10292        eier::Orie,
10293        eier::Orie,
10294        Eier_SPEC,
10295        crate::common::RW,
10296    > {
10297        crate::common::RegisterField::<
10298            5,
10299            0x1,
10300            1,
10301            0,
10302            eier::Orie,
10303            eier::Orie,
10304            Eier_SPEC,
10305            crate::common::RW,
10306        >::from_register(self, 0)
10307    }
10308
10309    #[doc = "Bus-Off Recovery Interrupt Enable"]
10310    #[inline(always)]
10311    pub fn borie(
10312        self,
10313    ) -> crate::common::RegisterField<
10314        4,
10315        0x1,
10316        1,
10317        0,
10318        eier::Borie,
10319        eier::Borie,
10320        Eier_SPEC,
10321        crate::common::RW,
10322    > {
10323        crate::common::RegisterField::<
10324            4,
10325            0x1,
10326            1,
10327            0,
10328            eier::Borie,
10329            eier::Borie,
10330            Eier_SPEC,
10331            crate::common::RW,
10332        >::from_register(self, 0)
10333    }
10334
10335    #[doc = "Bus-Off Entry Interrupt Enable"]
10336    #[inline(always)]
10337    pub fn boeie(
10338        self,
10339    ) -> crate::common::RegisterField<
10340        3,
10341        0x1,
10342        1,
10343        0,
10344        eier::Boeie,
10345        eier::Boeie,
10346        Eier_SPEC,
10347        crate::common::RW,
10348    > {
10349        crate::common::RegisterField::<
10350            3,
10351            0x1,
10352            1,
10353            0,
10354            eier::Boeie,
10355            eier::Boeie,
10356            Eier_SPEC,
10357            crate::common::RW,
10358        >::from_register(self, 0)
10359    }
10360
10361    #[doc = "Error-Passive Interrupt Enable"]
10362    #[inline(always)]
10363    pub fn epie(
10364        self,
10365    ) -> crate::common::RegisterField<
10366        2,
10367        0x1,
10368        1,
10369        0,
10370        eier::Epie,
10371        eier::Epie,
10372        Eier_SPEC,
10373        crate::common::RW,
10374    > {
10375        crate::common::RegisterField::<
10376            2,
10377            0x1,
10378            1,
10379            0,
10380            eier::Epie,
10381            eier::Epie,
10382            Eier_SPEC,
10383            crate::common::RW,
10384        >::from_register(self, 0)
10385    }
10386
10387    #[doc = "Error-Warning Interrupt Enable"]
10388    #[inline(always)]
10389    pub fn ewie(
10390        self,
10391    ) -> crate::common::RegisterField<
10392        1,
10393        0x1,
10394        1,
10395        0,
10396        eier::Ewie,
10397        eier::Ewie,
10398        Eier_SPEC,
10399        crate::common::RW,
10400    > {
10401        crate::common::RegisterField::<
10402            1,
10403            0x1,
10404            1,
10405            0,
10406            eier::Ewie,
10407            eier::Ewie,
10408            Eier_SPEC,
10409            crate::common::RW,
10410        >::from_register(self, 0)
10411    }
10412
10413    #[doc = "Bus Error Interrupt Enable"]
10414    #[inline(always)]
10415    pub fn beie(
10416        self,
10417    ) -> crate::common::RegisterField<
10418        0,
10419        0x1,
10420        1,
10421        0,
10422        eier::Beie,
10423        eier::Beie,
10424        Eier_SPEC,
10425        crate::common::RW,
10426    > {
10427        crate::common::RegisterField::<
10428            0,
10429            0x1,
10430            1,
10431            0,
10432            eier::Beie,
10433            eier::Beie,
10434            Eier_SPEC,
10435            crate::common::RW,
10436        >::from_register(self, 0)
10437    }
10438}
10439impl ::core::default::Default for Eier {
10440    #[inline(always)]
10441    fn default() -> Eier {
10442        <crate::RegValueT<Eier_SPEC> as RegisterValue<_>>::new(0)
10443    }
10444}
10445pub mod eier {
10446
10447    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10448    pub struct Blie_SPEC;
10449    pub type Blie = crate::EnumBitfieldStruct<u8, Blie_SPEC>;
10450    impl Blie {
10451        #[doc = "Bus lock interrupt disabled"]
10452        pub const _0: Self = Self::new(0);
10453
10454        #[doc = "Bus lock interrupt enabled"]
10455        pub const _1: Self = Self::new(1);
10456    }
10457    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10458    pub struct Olie_SPEC;
10459    pub type Olie = crate::EnumBitfieldStruct<u8, Olie_SPEC>;
10460    impl Olie {
10461        #[doc = "Overload frame transmit interrupt disabled"]
10462        pub const _0: Self = Self::new(0);
10463
10464        #[doc = "Overload frame transmit interrupt enabled"]
10465        pub const _1: Self = Self::new(1);
10466    }
10467    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10468    pub struct Orie_SPEC;
10469    pub type Orie = crate::EnumBitfieldStruct<u8, Orie_SPEC>;
10470    impl Orie {
10471        #[doc = "Receive overrun interrupt disabled"]
10472        pub const _0: Self = Self::new(0);
10473
10474        #[doc = "Receive overrun interrupt enabled"]
10475        pub const _1: Self = Self::new(1);
10476    }
10477    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10478    pub struct Borie_SPEC;
10479    pub type Borie = crate::EnumBitfieldStruct<u8, Borie_SPEC>;
10480    impl Borie {
10481        #[doc = "Bus-off recovery interrupt disabled"]
10482        pub const _0: Self = Self::new(0);
10483
10484        #[doc = "Bus-off recovery interrupt enabled"]
10485        pub const _1: Self = Self::new(1);
10486    }
10487    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10488    pub struct Boeie_SPEC;
10489    pub type Boeie = crate::EnumBitfieldStruct<u8, Boeie_SPEC>;
10490    impl Boeie {
10491        #[doc = "Bus-off entry interrupt disabled"]
10492        pub const _0: Self = Self::new(0);
10493
10494        #[doc = "Bus-off entry interrupt enabled"]
10495        pub const _1: Self = Self::new(1);
10496    }
10497    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10498    pub struct Epie_SPEC;
10499    pub type Epie = crate::EnumBitfieldStruct<u8, Epie_SPEC>;
10500    impl Epie {
10501        #[doc = "Error-passive interrupt disabled"]
10502        pub const _0: Self = Self::new(0);
10503
10504        #[doc = "Error-passive interrupt enabled"]
10505        pub const _1: Self = Self::new(1);
10506    }
10507    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10508    pub struct Ewie_SPEC;
10509    pub type Ewie = crate::EnumBitfieldStruct<u8, Ewie_SPEC>;
10510    impl Ewie {
10511        #[doc = "Error-warning interrupt disabled"]
10512        pub const _0: Self = Self::new(0);
10513
10514        #[doc = "Error-warning interrupt enabled"]
10515        pub const _1: Self = Self::new(1);
10516    }
10517    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10518    pub struct Beie_SPEC;
10519    pub type Beie = crate::EnumBitfieldStruct<u8, Beie_SPEC>;
10520    impl Beie {
10521        #[doc = "Bus error interrupt disabled"]
10522        pub const _0: Self = Self::new(0);
10523
10524        #[doc = "Bus error interrupt enabled"]
10525        pub const _1: Self = Self::new(1);
10526    }
10527}
10528#[doc(hidden)]
10529#[derive(Copy, Clone, Eq, PartialEq)]
10530pub struct Eifr_SPEC;
10531impl crate::sealed::RegSpec for Eifr_SPEC {
10532    type DataType = u8;
10533}
10534
10535#[doc = "Error Interrupt Factor Judge Register"]
10536pub type Eifr = crate::RegValueT<Eifr_SPEC>;
10537
10538impl Eifr {
10539    #[doc = "Bus Lock Detect Flag"]
10540    #[inline(always)]
10541    pub fn blif(
10542        self,
10543    ) -> crate::common::RegisterField<
10544        7,
10545        0x1,
10546        1,
10547        0,
10548        eifr::Blif,
10549        eifr::Blif,
10550        Eifr_SPEC,
10551        crate::common::RW,
10552    > {
10553        crate::common::RegisterField::<
10554            7,
10555            0x1,
10556            1,
10557            0,
10558            eifr::Blif,
10559            eifr::Blif,
10560            Eifr_SPEC,
10561            crate::common::RW,
10562        >::from_register(self, 0)
10563    }
10564
10565    #[doc = "Overload Frame Transmission Detect Flag"]
10566    #[inline(always)]
10567    pub fn olif(
10568        self,
10569    ) -> crate::common::RegisterField<
10570        6,
10571        0x1,
10572        1,
10573        0,
10574        eifr::Olif,
10575        eifr::Olif,
10576        Eifr_SPEC,
10577        crate::common::RW,
10578    > {
10579        crate::common::RegisterField::<
10580            6,
10581            0x1,
10582            1,
10583            0,
10584            eifr::Olif,
10585            eifr::Olif,
10586            Eifr_SPEC,
10587            crate::common::RW,
10588        >::from_register(self, 0)
10589    }
10590
10591    #[doc = "Receive Overrun Detect Flag"]
10592    #[inline(always)]
10593    pub fn orif(
10594        self,
10595    ) -> crate::common::RegisterField<
10596        5,
10597        0x1,
10598        1,
10599        0,
10600        eifr::Orif,
10601        eifr::Orif,
10602        Eifr_SPEC,
10603        crate::common::RW,
10604    > {
10605        crate::common::RegisterField::<
10606            5,
10607            0x1,
10608            1,
10609            0,
10610            eifr::Orif,
10611            eifr::Orif,
10612            Eifr_SPEC,
10613            crate::common::RW,
10614        >::from_register(self, 0)
10615    }
10616
10617    #[doc = "Bus-Off Recovery Detect Flag"]
10618    #[inline(always)]
10619    pub fn borif(
10620        self,
10621    ) -> crate::common::RegisterField<
10622        4,
10623        0x1,
10624        1,
10625        0,
10626        eifr::Borif,
10627        eifr::Borif,
10628        Eifr_SPEC,
10629        crate::common::RW,
10630    > {
10631        crate::common::RegisterField::<
10632            4,
10633            0x1,
10634            1,
10635            0,
10636            eifr::Borif,
10637            eifr::Borif,
10638            Eifr_SPEC,
10639            crate::common::RW,
10640        >::from_register(self, 0)
10641    }
10642
10643    #[doc = "Bus-Off Entry Detect Flag"]
10644    #[inline(always)]
10645    pub fn boeif(
10646        self,
10647    ) -> crate::common::RegisterField<
10648        3,
10649        0x1,
10650        1,
10651        0,
10652        eifr::Boeif,
10653        eifr::Boeif,
10654        Eifr_SPEC,
10655        crate::common::RW,
10656    > {
10657        crate::common::RegisterField::<
10658            3,
10659            0x1,
10660            1,
10661            0,
10662            eifr::Boeif,
10663            eifr::Boeif,
10664            Eifr_SPEC,
10665            crate::common::RW,
10666        >::from_register(self, 0)
10667    }
10668
10669    #[doc = "Error-Passive Detect Flag"]
10670    #[inline(always)]
10671    pub fn epif(
10672        self,
10673    ) -> crate::common::RegisterField<
10674        2,
10675        0x1,
10676        1,
10677        0,
10678        eifr::Epif,
10679        eifr::Epif,
10680        Eifr_SPEC,
10681        crate::common::RW,
10682    > {
10683        crate::common::RegisterField::<
10684            2,
10685            0x1,
10686            1,
10687            0,
10688            eifr::Epif,
10689            eifr::Epif,
10690            Eifr_SPEC,
10691            crate::common::RW,
10692        >::from_register(self, 0)
10693    }
10694
10695    #[doc = "Error-Warning Detect Flag"]
10696    #[inline(always)]
10697    pub fn ewif(
10698        self,
10699    ) -> crate::common::RegisterField<
10700        1,
10701        0x1,
10702        1,
10703        0,
10704        eifr::Ewif,
10705        eifr::Ewif,
10706        Eifr_SPEC,
10707        crate::common::RW,
10708    > {
10709        crate::common::RegisterField::<
10710            1,
10711            0x1,
10712            1,
10713            0,
10714            eifr::Ewif,
10715            eifr::Ewif,
10716            Eifr_SPEC,
10717            crate::common::RW,
10718        >::from_register(self, 0)
10719    }
10720
10721    #[doc = "Bus Error Detect Flag"]
10722    #[inline(always)]
10723    pub fn beif(
10724        self,
10725    ) -> crate::common::RegisterField<
10726        0,
10727        0x1,
10728        1,
10729        0,
10730        eifr::Beif,
10731        eifr::Beif,
10732        Eifr_SPEC,
10733        crate::common::RW,
10734    > {
10735        crate::common::RegisterField::<
10736            0,
10737            0x1,
10738            1,
10739            0,
10740            eifr::Beif,
10741            eifr::Beif,
10742            Eifr_SPEC,
10743            crate::common::RW,
10744        >::from_register(self, 0)
10745    }
10746}
10747impl ::core::default::Default for Eifr {
10748    #[inline(always)]
10749    fn default() -> Eifr {
10750        <crate::RegValueT<Eifr_SPEC> as RegisterValue<_>>::new(0)
10751    }
10752}
10753pub mod eifr {
10754
10755    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10756    pub struct Blif_SPEC;
10757    pub type Blif = crate::EnumBitfieldStruct<u8, Blif_SPEC>;
10758    impl Blif {
10759        #[doc = "No bus lock detected"]
10760        pub const _0: Self = Self::new(0);
10761
10762        #[doc = "Bus lock detected"]
10763        pub const _1: Self = Self::new(1);
10764    }
10765    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10766    pub struct Olif_SPEC;
10767    pub type Olif = crate::EnumBitfieldStruct<u8, Olif_SPEC>;
10768    impl Olif {
10769        #[doc = "No overload frame transmission detected"]
10770        pub const _0: Self = Self::new(0);
10771
10772        #[doc = "Overload frame transmission detected"]
10773        pub const _1: Self = Self::new(1);
10774    }
10775    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10776    pub struct Orif_SPEC;
10777    pub type Orif = crate::EnumBitfieldStruct<u8, Orif_SPEC>;
10778    impl Orif {
10779        #[doc = "No receive overrun detected"]
10780        pub const _0: Self = Self::new(0);
10781
10782        #[doc = "Receive overrun detected"]
10783        pub const _1: Self = Self::new(1);
10784    }
10785    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10786    pub struct Borif_SPEC;
10787    pub type Borif = crate::EnumBitfieldStruct<u8, Borif_SPEC>;
10788    impl Borif {
10789        #[doc = "No bus-off recovery detected"]
10790        pub const _0: Self = Self::new(0);
10791
10792        #[doc = "Bus-off recovery detected"]
10793        pub const _1: Self = Self::new(1);
10794    }
10795    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10796    pub struct Boeif_SPEC;
10797    pub type Boeif = crate::EnumBitfieldStruct<u8, Boeif_SPEC>;
10798    impl Boeif {
10799        #[doc = "No bus-off entry detected"]
10800        pub const _0: Self = Self::new(0);
10801
10802        #[doc = "Bus-off entry detected"]
10803        pub const _1: Self = Self::new(1);
10804    }
10805    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10806    pub struct Epif_SPEC;
10807    pub type Epif = crate::EnumBitfieldStruct<u8, Epif_SPEC>;
10808    impl Epif {
10809        #[doc = "No error-passive detected"]
10810        pub const _0: Self = Self::new(0);
10811
10812        #[doc = "Error-passive detected"]
10813        pub const _1: Self = Self::new(1);
10814    }
10815    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10816    pub struct Ewif_SPEC;
10817    pub type Ewif = crate::EnumBitfieldStruct<u8, Ewif_SPEC>;
10818    impl Ewif {
10819        #[doc = "No error-warning detected"]
10820        pub const _0: Self = Self::new(0);
10821
10822        #[doc = "Error-warning detected"]
10823        pub const _1: Self = Self::new(1);
10824    }
10825    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
10826    pub struct Beif_SPEC;
10827    pub type Beif = crate::EnumBitfieldStruct<u8, Beif_SPEC>;
10828    impl Beif {
10829        #[doc = "No bus error detected"]
10830        pub const _0: Self = Self::new(0);
10831
10832        #[doc = "Bus error detected"]
10833        pub const _1: Self = Self::new(1);
10834    }
10835}
10836#[doc(hidden)]
10837#[derive(Copy, Clone, Eq, PartialEq)]
10838pub struct Recr_SPEC;
10839impl crate::sealed::RegSpec for Recr_SPEC {
10840    type DataType = u8;
10841}
10842
10843#[doc = "Receive Error Count Register"]
10844pub type Recr = crate::RegValueT<Recr_SPEC>;
10845
10846impl Recr {
10847    #[doc = "Receive error count functionRECR increments or decrements the counter value according to the error status of the CAN module during reception."]
10848    #[inline(always)]
10849    pub fn recr(
10850        self,
10851    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Recr_SPEC, crate::common::R> {
10852        crate::common::RegisterField::<0,0xff,1,0,u8,u8,Recr_SPEC,crate::common::R>::from_register(self,0)
10853    }
10854}
10855impl ::core::default::Default for Recr {
10856    #[inline(always)]
10857    fn default() -> Recr {
10858        <crate::RegValueT<Recr_SPEC> as RegisterValue<_>>::new(0)
10859    }
10860}
10861
10862#[doc(hidden)]
10863#[derive(Copy, Clone, Eq, PartialEq)]
10864pub struct Tecr_SPEC;
10865impl crate::sealed::RegSpec for Tecr_SPEC {
10866    type DataType = u8;
10867}
10868
10869#[doc = "Transmit Error Count Register"]
10870pub type Tecr = crate::RegValueT<Tecr_SPEC>;
10871
10872impl Tecr {
10873    #[doc = "Transmit error count functionTECR increments or decrements the counter value according to the error status of the CAN module during transmission."]
10874    #[inline(always)]
10875    pub fn tecr(
10876        self,
10877    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Tecr_SPEC, crate::common::R> {
10878        crate::common::RegisterField::<0,0xff,1,0,u8,u8,Tecr_SPEC,crate::common::R>::from_register(self,0)
10879    }
10880}
10881impl ::core::default::Default for Tecr {
10882    #[inline(always)]
10883    fn default() -> Tecr {
10884        <crate::RegValueT<Tecr_SPEC> as RegisterValue<_>>::new(0)
10885    }
10886}
10887
10888#[doc(hidden)]
10889#[derive(Copy, Clone, Eq, PartialEq)]
10890pub struct Ecsr_SPEC;
10891impl crate::sealed::RegSpec for Ecsr_SPEC {
10892    type DataType = u8;
10893}
10894
10895#[doc = "Error Code Store Register"]
10896pub type Ecsr = crate::RegValueT<Ecsr_SPEC>;
10897
10898impl Ecsr {
10899    #[doc = "Error Display Mode Select"]
10900    #[inline(always)]
10901    pub fn edpm(
10902        self,
10903    ) -> crate::common::RegisterField<
10904        7,
10905        0x1,
10906        1,
10907        0,
10908        ecsr::Edpm,
10909        ecsr::Edpm,
10910        Ecsr_SPEC,
10911        crate::common::RW,
10912    > {
10913        crate::common::RegisterField::<
10914            7,
10915            0x1,
10916            1,
10917            0,
10918            ecsr::Edpm,
10919            ecsr::Edpm,
10920            Ecsr_SPEC,
10921            crate::common::RW,
10922        >::from_register(self, 0)
10923    }
10924
10925    #[doc = "ACK Delimiter Error Flag"]
10926    #[inline(always)]
10927    pub fn adef(
10928        self,
10929    ) -> crate::common::RegisterField<
10930        6,
10931        0x1,
10932        1,
10933        0,
10934        ecsr::Adef,
10935        ecsr::Adef,
10936        Ecsr_SPEC,
10937        crate::common::RW,
10938    > {
10939        crate::common::RegisterField::<
10940            6,
10941            0x1,
10942            1,
10943            0,
10944            ecsr::Adef,
10945            ecsr::Adef,
10946            Ecsr_SPEC,
10947            crate::common::RW,
10948        >::from_register(self, 0)
10949    }
10950
10951    #[doc = "Bit Error (dominant) Flag"]
10952    #[inline(always)]
10953    pub fn be0f(
10954        self,
10955    ) -> crate::common::RegisterField<
10956        5,
10957        0x1,
10958        1,
10959        0,
10960        ecsr::Be0F,
10961        ecsr::Be0F,
10962        Ecsr_SPEC,
10963        crate::common::RW,
10964    > {
10965        crate::common::RegisterField::<
10966            5,
10967            0x1,
10968            1,
10969            0,
10970            ecsr::Be0F,
10971            ecsr::Be0F,
10972            Ecsr_SPEC,
10973            crate::common::RW,
10974        >::from_register(self, 0)
10975    }
10976
10977    #[doc = "Bit Error (recessive) Flag"]
10978    #[inline(always)]
10979    pub fn be1f(
10980        self,
10981    ) -> crate::common::RegisterField<
10982        4,
10983        0x1,
10984        1,
10985        0,
10986        ecsr::Be1F,
10987        ecsr::Be1F,
10988        Ecsr_SPEC,
10989        crate::common::RW,
10990    > {
10991        crate::common::RegisterField::<
10992            4,
10993            0x1,
10994            1,
10995            0,
10996            ecsr::Be1F,
10997            ecsr::Be1F,
10998            Ecsr_SPEC,
10999            crate::common::RW,
11000        >::from_register(self, 0)
11001    }
11002
11003    #[doc = "CRC Error Flag"]
11004    #[inline(always)]
11005    pub fn cef(
11006        self,
11007    ) -> crate::common::RegisterField<
11008        3,
11009        0x1,
11010        1,
11011        0,
11012        ecsr::Cef,
11013        ecsr::Cef,
11014        Ecsr_SPEC,
11015        crate::common::RW,
11016    > {
11017        crate::common::RegisterField::<
11018            3,
11019            0x1,
11020            1,
11021            0,
11022            ecsr::Cef,
11023            ecsr::Cef,
11024            Ecsr_SPEC,
11025            crate::common::RW,
11026        >::from_register(self, 0)
11027    }
11028
11029    #[doc = "ACK Error Flag"]
11030    #[inline(always)]
11031    pub fn aef(
11032        self,
11033    ) -> crate::common::RegisterField<
11034        2,
11035        0x1,
11036        1,
11037        0,
11038        ecsr::Aef,
11039        ecsr::Aef,
11040        Ecsr_SPEC,
11041        crate::common::RW,
11042    > {
11043        crate::common::RegisterField::<
11044            2,
11045            0x1,
11046            1,
11047            0,
11048            ecsr::Aef,
11049            ecsr::Aef,
11050            Ecsr_SPEC,
11051            crate::common::RW,
11052        >::from_register(self, 0)
11053    }
11054
11055    #[doc = "Form Error Flag"]
11056    #[inline(always)]
11057    pub fn fef(
11058        self,
11059    ) -> crate::common::RegisterField<
11060        1,
11061        0x1,
11062        1,
11063        0,
11064        ecsr::Fef,
11065        ecsr::Fef,
11066        Ecsr_SPEC,
11067        crate::common::RW,
11068    > {
11069        crate::common::RegisterField::<
11070            1,
11071            0x1,
11072            1,
11073            0,
11074            ecsr::Fef,
11075            ecsr::Fef,
11076            Ecsr_SPEC,
11077            crate::common::RW,
11078        >::from_register(self, 0)
11079    }
11080
11081    #[doc = "Stuff Error Flag"]
11082    #[inline(always)]
11083    pub fn sef(
11084        self,
11085    ) -> crate::common::RegisterField<
11086        0,
11087        0x1,
11088        1,
11089        0,
11090        ecsr::Sef,
11091        ecsr::Sef,
11092        Ecsr_SPEC,
11093        crate::common::RW,
11094    > {
11095        crate::common::RegisterField::<
11096            0,
11097            0x1,
11098            1,
11099            0,
11100            ecsr::Sef,
11101            ecsr::Sef,
11102            Ecsr_SPEC,
11103            crate::common::RW,
11104        >::from_register(self, 0)
11105    }
11106}
11107impl ::core::default::Default for Ecsr {
11108    #[inline(always)]
11109    fn default() -> Ecsr {
11110        <crate::RegValueT<Ecsr_SPEC> as RegisterValue<_>>::new(0)
11111    }
11112}
11113pub mod ecsr {
11114
11115    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11116    pub struct Edpm_SPEC;
11117    pub type Edpm = crate::EnumBitfieldStruct<u8, Edpm_SPEC>;
11118    impl Edpm {
11119        #[doc = "Output of first detected error code"]
11120        pub const _0: Self = Self::new(0);
11121
11122        #[doc = "Output of accumulated error code"]
11123        pub const _1: Self = Self::new(1);
11124    }
11125    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11126    pub struct Adef_SPEC;
11127    pub type Adef = crate::EnumBitfieldStruct<u8, Adef_SPEC>;
11128    impl Adef {
11129        #[doc = "No ACK delimiter error detected"]
11130        pub const _0: Self = Self::new(0);
11131
11132        #[doc = "ACK delimiter error detected"]
11133        pub const _1: Self = Self::new(1);
11134    }
11135    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11136    pub struct Be0F_SPEC;
11137    pub type Be0F = crate::EnumBitfieldStruct<u8, Be0F_SPEC>;
11138    impl Be0F {
11139        #[doc = "No bit error (dominant) detected"]
11140        pub const _0: Self = Self::new(0);
11141
11142        #[doc = "Bit error (dominant) detected"]
11143        pub const _1: Self = Self::new(1);
11144    }
11145    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11146    pub struct Be1F_SPEC;
11147    pub type Be1F = crate::EnumBitfieldStruct<u8, Be1F_SPEC>;
11148    impl Be1F {
11149        #[doc = "No bit error (recessive) detected"]
11150        pub const _0: Self = Self::new(0);
11151
11152        #[doc = "Bit error (recessive) detected"]
11153        pub const _1: Self = Self::new(1);
11154    }
11155    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11156    pub struct Cef_SPEC;
11157    pub type Cef = crate::EnumBitfieldStruct<u8, Cef_SPEC>;
11158    impl Cef {
11159        #[doc = "No CRC error detected"]
11160        pub const _0: Self = Self::new(0);
11161
11162        #[doc = "CRC error detected"]
11163        pub const _1: Self = Self::new(1);
11164    }
11165    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11166    pub struct Aef_SPEC;
11167    pub type Aef = crate::EnumBitfieldStruct<u8, Aef_SPEC>;
11168    impl Aef {
11169        #[doc = "No ACK error detected"]
11170        pub const _0: Self = Self::new(0);
11171
11172        #[doc = "ACK error detected"]
11173        pub const _1: Self = Self::new(1);
11174    }
11175    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11176    pub struct Fef_SPEC;
11177    pub type Fef = crate::EnumBitfieldStruct<u8, Fef_SPEC>;
11178    impl Fef {
11179        #[doc = "No form error detected"]
11180        pub const _0: Self = Self::new(0);
11181
11182        #[doc = "Form error detected"]
11183        pub const _1: Self = Self::new(1);
11184    }
11185    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11186    pub struct Sef_SPEC;
11187    pub type Sef = crate::EnumBitfieldStruct<u8, Sef_SPEC>;
11188    impl Sef {
11189        #[doc = "No stuff error detected"]
11190        pub const _0: Self = Self::new(0);
11191
11192        #[doc = "Stuff error detected"]
11193        pub const _1: Self = Self::new(1);
11194    }
11195}
11196#[doc(hidden)]
11197#[derive(Copy, Clone, Eq, PartialEq)]
11198pub struct Cssr_SPEC;
11199impl crate::sealed::RegSpec for Cssr_SPEC {
11200    type DataType = u8;
11201}
11202
11203#[doc = "Channel Search Support Register"]
11204pub type Cssr = crate::RegValueT<Cssr_SPEC>;
11205
11206impl Cssr {
11207    #[doc = "When the value for the channel search is input, the channel number is output to MSSR."]
11208    #[inline(always)]
11209    pub fn cssr(
11210        self,
11211    ) -> crate::common::RegisterField<0, 0xff, 1, 0, u8, u8, Cssr_SPEC, crate::common::RW> {
11212        crate::common::RegisterField::<0,0xff,1,0,u8,u8,Cssr_SPEC,crate::common::RW>::from_register(self,0)
11213    }
11214}
11215impl ::core::default::Default for Cssr {
11216    #[inline(always)]
11217    fn default() -> Cssr {
11218        <crate::RegValueT<Cssr_SPEC> as RegisterValue<_>>::new(0)
11219    }
11220}
11221
11222#[doc(hidden)]
11223#[derive(Copy, Clone, Eq, PartialEq)]
11224pub struct Mssr_SPEC;
11225impl crate::sealed::RegSpec for Mssr_SPEC {
11226    type DataType = u8;
11227}
11228
11229#[doc = "Mailbox Search Status Register"]
11230pub type Mssr = crate::RegValueT<Mssr_SPEC>;
11231
11232impl Mssr {
11233    #[doc = "Search Result Status"]
11234    #[inline(always)]
11235    pub fn sest(
11236        self,
11237    ) -> crate::common::RegisterField<
11238        7,
11239        0x1,
11240        1,
11241        0,
11242        mssr::Sest,
11243        mssr::Sest,
11244        Mssr_SPEC,
11245        crate::common::R,
11246    > {
11247        crate::common::RegisterField::<
11248            7,
11249            0x1,
11250            1,
11251            0,
11252            mssr::Sest,
11253            mssr::Sest,
11254            Mssr_SPEC,
11255            crate::common::R,
11256        >::from_register(self, 0)
11257    }
11258
11259    #[doc = "These bits are read as 00."]
11260    #[inline(always)]
11261    pub fn reserved(
11262        self,
11263    ) -> crate::common::RegisterField<5, 0x3, 1, 0, u8, u8, Mssr_SPEC, crate::common::R> {
11264        crate::common::RegisterField::<5,0x3,1,0,u8,u8,Mssr_SPEC,crate::common::R>::from_register(self,0)
11265    }
11266
11267    #[doc = "Search Result Mailbox Number Status These bits output the smallest mailbox number that is searched in each mode of MSMR."]
11268    #[inline(always)]
11269    pub fn mbnst(
11270        self,
11271    ) -> crate::common::RegisterField<0, 0x1f, 1, 0, u8, u8, Mssr_SPEC, crate::common::R> {
11272        crate::common::RegisterField::<0,0x1f,1,0,u8,u8,Mssr_SPEC,crate::common::R>::from_register(self,0)
11273    }
11274}
11275impl ::core::default::Default for Mssr {
11276    #[inline(always)]
11277    fn default() -> Mssr {
11278        <crate::RegValueT<Mssr_SPEC> as RegisterValue<_>>::new(128)
11279    }
11280}
11281pub mod mssr {
11282
11283    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11284    pub struct Sest_SPEC;
11285    pub type Sest = crate::EnumBitfieldStruct<u8, Sest_SPEC>;
11286    impl Sest {
11287        #[doc = "Search result found"]
11288        pub const _0: Self = Self::new(0);
11289
11290        #[doc = "No search result"]
11291        pub const _1: Self = Self::new(1);
11292    }
11293}
11294#[doc(hidden)]
11295#[derive(Copy, Clone, Eq, PartialEq)]
11296pub struct Msmr_SPEC;
11297impl crate::sealed::RegSpec for Msmr_SPEC {
11298    type DataType = u8;
11299}
11300
11301#[doc = "Mailbox Search Mode Register"]
11302pub type Msmr = crate::RegValueT<Msmr_SPEC>;
11303
11304impl Msmr {
11305    #[doc = "These bits are read as 000000. The write value should be 000000."]
11306    #[inline(always)]
11307    pub fn reserved(
11308        self,
11309    ) -> crate::common::RegisterField<2, 0x3f, 1, 0, u8, u8, Msmr_SPEC, crate::common::RW> {
11310        crate::common::RegisterField::<2,0x3f,1,0,u8,u8,Msmr_SPEC,crate::common::RW>::from_register(self,0)
11311    }
11312
11313    #[doc = "Mailbox Search Mode Select"]
11314    #[inline(always)]
11315    pub fn mbsm(
11316        self,
11317    ) -> crate::common::RegisterField<
11318        0,
11319        0x3,
11320        1,
11321        0,
11322        msmr::Mbsm,
11323        msmr::Mbsm,
11324        Msmr_SPEC,
11325        crate::common::RW,
11326    > {
11327        crate::common::RegisterField::<
11328            0,
11329            0x3,
11330            1,
11331            0,
11332            msmr::Mbsm,
11333            msmr::Mbsm,
11334            Msmr_SPEC,
11335            crate::common::RW,
11336        >::from_register(self, 0)
11337    }
11338}
11339impl ::core::default::Default for Msmr {
11340    #[inline(always)]
11341    fn default() -> Msmr {
11342        <crate::RegValueT<Msmr_SPEC> as RegisterValue<_>>::new(0)
11343    }
11344}
11345pub mod msmr {
11346
11347    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11348    pub struct Mbsm_SPEC;
11349    pub type Mbsm = crate::EnumBitfieldStruct<u8, Mbsm_SPEC>;
11350    impl Mbsm {
11351        #[doc = "Receive mailbox search mode"]
11352        pub const _00: Self = Self::new(0);
11353
11354        #[doc = "Transmit mailbox search mode"]
11355        pub const _01: Self = Self::new(1);
11356
11357        #[doc = "Message lost search mode"]
11358        pub const _10: Self = Self::new(2);
11359
11360        #[doc = "Channel search mode"]
11361        pub const _11: Self = Self::new(3);
11362    }
11363}
11364#[doc(hidden)]
11365#[derive(Copy, Clone, Eq, PartialEq)]
11366pub struct Tsr_SPEC;
11367impl crate::sealed::RegSpec for Tsr_SPEC {
11368    type DataType = u16;
11369}
11370
11371#[doc = "Time Stamp Register"]
11372pub type Tsr = crate::RegValueT<Tsr_SPEC>;
11373
11374impl Tsr {
11375    #[doc = "Free-running counter value for the time stamp function"]
11376    #[inline(always)]
11377    pub fn tsr(
11378        self,
11379    ) -> crate::common::RegisterField<0, 0xffff, 1, 0, u16, u16, Tsr_SPEC, crate::common::R> {
11380        crate::common::RegisterField::<0,0xffff,1,0,u16,u16,Tsr_SPEC,crate::common::R>::from_register(self,0)
11381    }
11382}
11383impl ::core::default::Default for Tsr {
11384    #[inline(always)]
11385    fn default() -> Tsr {
11386        <crate::RegValueT<Tsr_SPEC> as RegisterValue<_>>::new(0)
11387    }
11388}
11389
11390#[doc(hidden)]
11391#[derive(Copy, Clone, Eq, PartialEq)]
11392pub struct Afsr_SPEC;
11393impl crate::sealed::RegSpec for Afsr_SPEC {
11394    type DataType = u16;
11395}
11396
11397#[doc = "Acceptance Filter Support Register"]
11398pub type Afsr = crate::RegValueT<Afsr_SPEC>;
11399
11400impl Afsr {
11401    #[doc = "After the standard ID of a received message is written, the value converted for data table search can be read."]
11402    #[inline(always)]
11403    pub fn afsr(
11404        self,
11405    ) -> crate::common::RegisterField<0, 0xffff, 1, 0, u16, u16, Afsr_SPEC, crate::common::RW> {
11406        crate::common::RegisterField::<0,0xffff,1,0,u16,u16,Afsr_SPEC,crate::common::RW>::from_register(self,0)
11407    }
11408}
11409impl ::core::default::Default for Afsr {
11410    #[inline(always)]
11411    fn default() -> Afsr {
11412        <crate::RegValueT<Afsr_SPEC> as RegisterValue<_>>::new(0)
11413    }
11414}
11415
11416#[doc(hidden)]
11417#[derive(Copy, Clone, Eq, PartialEq)]
11418pub struct Tcr_SPEC;
11419impl crate::sealed::RegSpec for Tcr_SPEC {
11420    type DataType = u8;
11421}
11422
11423#[doc = "Test Control Register"]
11424pub type Tcr = crate::RegValueT<Tcr_SPEC>;
11425
11426impl Tcr {
11427    #[doc = "These bits are read as 00000. The write value should be 00000."]
11428    #[inline(always)]
11429    pub fn reserved(
11430        self,
11431    ) -> crate::common::RegisterField<3, 0x1f, 1, 0, u8, u8, Tcr_SPEC, crate::common::RW> {
11432        crate::common::RegisterField::<3,0x1f,1,0,u8,u8,Tcr_SPEC,crate::common::RW>::from_register(self,0)
11433    }
11434
11435    #[doc = "CAN Test Mode Select"]
11436    #[inline(always)]
11437    pub fn tstm(
11438        self,
11439    ) -> crate::common::RegisterField<1, 0x3, 1, 0, tcr::Tstm, tcr::Tstm, Tcr_SPEC, crate::common::RW>
11440    {
11441        crate::common::RegisterField::<
11442            1,
11443            0x3,
11444            1,
11445            0,
11446            tcr::Tstm,
11447            tcr::Tstm,
11448            Tcr_SPEC,
11449            crate::common::RW,
11450        >::from_register(self, 0)
11451    }
11452
11453    #[doc = "CAN Test Mode Enable"]
11454    #[inline(always)]
11455    pub fn tste(
11456        self,
11457    ) -> crate::common::RegisterField<0, 0x1, 1, 0, tcr::Tste, tcr::Tste, Tcr_SPEC, crate::common::RW>
11458    {
11459        crate::common::RegisterField::<
11460            0,
11461            0x1,
11462            1,
11463            0,
11464            tcr::Tste,
11465            tcr::Tste,
11466            Tcr_SPEC,
11467            crate::common::RW,
11468        >::from_register(self, 0)
11469    }
11470}
11471impl ::core::default::Default for Tcr {
11472    #[inline(always)]
11473    fn default() -> Tcr {
11474        <crate::RegValueT<Tcr_SPEC> as RegisterValue<_>>::new(0)
11475    }
11476}
11477pub mod tcr {
11478
11479    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11480    pub struct Tstm_SPEC;
11481    pub type Tstm = crate::EnumBitfieldStruct<u8, Tstm_SPEC>;
11482    impl Tstm {
11483        #[doc = "Other than CAN test mode"]
11484        pub const _00: Self = Self::new(0);
11485
11486        #[doc = "Listen-only mode"]
11487        pub const _01: Self = Self::new(1);
11488
11489        #[doc = "Self-test mode 0 (external loopback)"]
11490        pub const _10: Self = Self::new(2);
11491
11492        #[doc = "Self-test mode 1 (internal loopback)"]
11493        pub const _11: Self = Self::new(3);
11494    }
11495    #[derive(Clone, Copy, Eq, PartialEq, Ord, PartialOrd)]
11496    pub struct Tste_SPEC;
11497    pub type Tste = crate::EnumBitfieldStruct<u8, Tste_SPEC>;
11498    impl Tste {
11499        #[doc = "CAN test mode disabled"]
11500        pub const _0: Self = Self::new(0);
11501
11502        #[doc = "CAN test mode enabled"]
11503        pub const _1: Self = Self::new(1);
11504    }
11505}