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