Skip to main content

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