1#![cfg_attr(not(feature = "tracing"), no_std)]
20#![allow(non_camel_case_types)]
21#![doc = "Arm Cortex-M85 based Microcontroller RA8E2 group"]
22pub mod common;
23pub use common::*;
24
25#[cfg(feature = "tracing")]
26pub mod reg_name;
27#[cfg(feature = "tracing")]
28pub mod tracing;
29
30#[cfg(feature = "acmphs0")]
31pub mod acmphs0;
32#[cfg(feature = "acmphs0_ns")]
33pub mod acmphs0_ns;
34#[cfg(feature = "adc120")]
35pub mod adc120;
36#[cfg(feature = "adc120_ns")]
37pub mod adc120_ns;
38#[cfg(feature = "adc121")]
39pub mod adc121;
40#[cfg(feature = "adc121_ns")]
41pub mod adc121_ns;
42#[cfg(feature = "agt0")]
43pub mod agt0;
44#[cfg(feature = "agt0_ns")]
45pub mod agt0_ns;
46#[cfg(feature = "bus")]
47pub mod bus;
48#[cfg(feature = "bus_ns")]
49pub mod bus_ns;
50#[cfg(feature = "cac")]
51pub mod cac;
52#[cfg(feature = "cac_ns")]
53pub mod cac_ns;
54#[cfg(feature = "canfd0")]
55pub mod canfd0;
56#[cfg(feature = "canfd0_ns")]
57pub mod canfd0_ns;
58#[cfg(feature = "cpscu")]
59pub mod cpscu;
60#[cfg(feature = "cpscu_ns")]
61pub mod cpscu_ns;
62#[cfg(feature = "cpu_ctrl")]
63pub mod cpu_ctrl;
64#[cfg(feature = "cpu_ctrl_ns")]
65pub mod cpu_ctrl_ns;
66#[cfg(feature = "cpu_dbg")]
67pub mod cpu_dbg;
68#[cfg(feature = "cpu_dbg_ns")]
69pub mod cpu_dbg_ns;
70#[cfg(feature = "crc")]
71pub mod crc;
72#[cfg(feature = "crc_ns")]
73pub mod crc_ns;
74#[cfg(feature = "dac12")]
75pub mod dac12;
76#[cfg(feature = "dac12_ns")]
77pub mod dac12_ns;
78#[cfg(feature = "dma0")]
79pub mod dma0;
80#[cfg(feature = "dma0_ns")]
81pub mod dma0_ns;
82#[cfg(feature = "dmac00")]
83pub mod dmac00;
84#[cfg(feature = "dmac00_ns")]
85pub mod dmac00_ns;
86#[cfg(feature = "doc_b")]
87pub mod doc_b;
88#[cfg(feature = "doc_b_ns")]
89pub mod doc_b_ns;
90#[cfg(feature = "drw")]
91pub mod drw;
92#[cfg(feature = "drw_ns")]
93pub mod drw_ns;
94#[cfg(feature = "dtc0")]
95pub mod dtc0;
96#[cfg(feature = "dtc0_ns")]
97pub mod dtc0_ns;
98#[cfg(feature = "eccmb0")]
99pub mod eccmb0;
100#[cfg(feature = "eccmb0_ns")]
101pub mod eccmb0_ns;
102#[cfg(feature = "elc")]
103pub mod elc;
104#[cfg(feature = "elc_ns")]
105pub mod elc_ns;
106#[cfg(feature = "faci")]
107pub mod faci;
108#[cfg(feature = "faci_ns")]
109pub mod faci_ns;
110#[cfg(feature = "fcache")]
111pub mod fcache;
112#[cfg(feature = "fcache_ns")]
113pub mod fcache_ns;
114#[cfg(feature = "flad")]
115pub mod flad;
116#[cfg(feature = "flad_ns")]
117pub mod flad_ns;
118#[cfg(feature = "glcdc")]
119pub mod glcdc;
120#[cfg(feature = "glcdc_ns")]
121pub mod glcdc_ns;
122#[cfg(feature = "gpt1610")]
123pub mod gpt1610;
124#[cfg(feature = "gpt1610_ns")]
125pub mod gpt1610_ns;
126#[cfg(feature = "gpt168")]
127pub mod gpt168;
128#[cfg(feature = "gpt168_ns")]
129pub mod gpt168_ns;
130#[cfg(feature = "gpt320")]
131pub mod gpt320;
132#[cfg(feature = "gpt320_ns")]
133pub mod gpt320_ns;
134#[cfg(feature = "icu")]
135pub mod icu;
136#[cfg(feature = "icu_common")]
137pub mod icu_common;
138#[cfg(feature = "icu_common_ns")]
139pub mod icu_common_ns;
140#[cfg(feature = "icu_ns")]
141pub mod icu_ns;
142#[cfg(feature = "iic0")]
143pub mod iic0;
144#[cfg(feature = "iic0_ns")]
145pub mod iic0_ns;
146#[cfg(feature = "iic0wu")]
147pub mod iic0wu;
148#[cfg(feature = "iic0wu_ns")]
149pub mod iic0wu_ns;
150#[cfg(feature = "iwdt")]
151pub mod iwdt;
152#[cfg(feature = "iwdt_ns")]
153pub mod iwdt_ns;
154#[cfg(feature = "mstp")]
155pub mod mstp;
156#[cfg(feature = "mstp_ns")]
157pub mod mstp_ns;
158#[cfg(feature = "ocd_cpu")]
159pub mod ocd_cpu;
160#[cfg(feature = "ocd_cpu_ns")]
161pub mod ocd_cpu_ns;
162#[cfg(feature = "ospi0_b")]
163pub mod ospi0_b;
164#[cfg(feature = "ospi0_b_ns")]
165pub mod ospi0_b_ns;
166#[cfg(feature = "pfs")]
167pub mod pfs;
168#[cfg(feature = "pfs_ns")]
169pub mod pfs_ns;
170#[cfg(feature = "poeg")]
171pub mod poeg;
172#[cfg(feature = "poeg_ns")]
173pub mod poeg_ns;
174#[cfg(feature = "port0")]
175pub mod port0;
176#[cfg(feature = "port0_ns")]
177pub mod port0_ns;
178#[cfg(feature = "port1")]
179pub mod port1;
180#[cfg(feature = "port1_ns")]
181pub mod port1_ns;
182#[cfg(feature = "porta")]
183pub mod porta;
184#[cfg(feature = "porta_ns")]
185pub mod porta_ns;
186#[cfg(feature = "portb")]
187pub mod portb;
188#[cfg(feature = "portb_ns")]
189pub mod portb_ns;
190#[cfg(feature = "pscu")]
191pub mod pscu;
192#[cfg(feature = "pscu_ns")]
193pub mod pscu_ns;
194#[cfg(feature = "rmpu")]
195pub mod rmpu;
196#[cfg(feature = "rmpu_ns")]
197pub mod rmpu_ns;
198#[cfg(feature = "rtc")]
199pub mod rtc;
200#[cfg(feature = "rtc_ns")]
201pub mod rtc_ns;
202#[cfg(feature = "sci0_b")]
203pub mod sci0_b;
204#[cfg(feature = "sci0_b_ns")]
205pub mod sci0_b_ns;
206#[cfg(feature = "spi0_b")]
207pub mod spi0_b;
208#[cfg(feature = "spi0_b_ns")]
209pub mod spi0_b_ns;
210#[cfg(feature = "sram")]
211pub mod sram;
212#[cfg(feature = "sram_ns")]
213pub mod sram_ns;
214#[cfg(feature = "ssie0")]
215pub mod ssie0;
216#[cfg(feature = "ssie0_ns")]
217pub mod ssie0_ns;
218#[cfg(feature = "sysc")]
219pub mod sysc;
220#[cfg(feature = "sysc_ns")]
221pub mod sysc_ns;
222#[cfg(feature = "tsd")]
223pub mod tsd;
224#[cfg(feature = "tsd_ns")]
225pub mod tsd_ns;
226#[cfg(feature = "tsn")]
227pub mod tsn;
228#[cfg(feature = "tsn_ns")]
229pub mod tsn_ns;
230#[cfg(feature = "ulpt0")]
231pub mod ulpt0;
232#[cfg(feature = "ulpt0_ns")]
233pub mod ulpt0_ns;
234#[cfg(feature = "usbfs")]
235pub mod usbfs;
236#[cfg(feature = "usbfs_ns")]
237pub mod usbfs_ns;
238#[cfg(feature = "wdt0")]
239pub mod wdt0;
240#[cfg(feature = "wdt0_ns")]
241pub mod wdt0_ns;
242
243#[cfg(feature = "rmpu")]
244#[derive(Copy, Clone, Eq, PartialEq)]
245pub struct Rmpu {
246 ptr: *mut u8,
247}
248#[cfg(feature = "rmpu")]
249pub const RMPU: self::Rmpu = self::Rmpu {
250 ptr: 0x40000000u32 as _,
251};
252#[cfg(feature = "sram")]
253#[derive(Copy, Clone, Eq, PartialEq)]
254pub struct Sram {
255 ptr: *mut u8,
256}
257#[cfg(feature = "sram")]
258pub const SRAM: self::Sram = self::Sram {
259 ptr: 0x40002000u32 as _,
260};
261#[cfg(feature = "bus")]
262#[derive(Copy, Clone, Eq, PartialEq)]
263pub struct Bus {
264 ptr: *mut u8,
265}
266#[cfg(feature = "bus")]
267pub const BUS: self::Bus = self::Bus {
268 ptr: 0x40003000u32 as _,
269};
270#[cfg(feature = "icu_common")]
271#[derive(Copy, Clone, Eq, PartialEq)]
272pub struct IcuCommon {
273 ptr: *mut u8,
274}
275#[cfg(feature = "icu_common")]
276pub const ICU_COMMON: self::IcuCommon = self::IcuCommon {
277 ptr: 0x40006000u32 as _,
278};
279#[cfg(feature = "cpscu")]
280#[derive(Copy, Clone, Eq, PartialEq)]
281pub struct Cpscu {
282 ptr: *mut u8,
283}
284#[cfg(feature = "cpscu")]
285pub const CPSCU: self::Cpscu = self::Cpscu {
286 ptr: 0x40008000u32 as _,
287};
288#[cfg(feature = "dmac00")]
289#[derive(Copy, Clone, Eq, PartialEq)]
290pub struct Dmac00 {
291 ptr: *mut u8,
292}
293#[cfg(feature = "dmac00")]
294pub const DMAC00: self::Dmac00 = self::Dmac00 {
295 ptr: 0x4000a000u32 as _,
296};
297#[cfg(feature = "dmac01")]
298pub const DMAC01: self::Dmac00 = self::Dmac00 {
299 ptr: 0x4000a040u32 as _,
300};
301#[cfg(feature = "dmac02")]
302pub const DMAC02: self::Dmac00 = self::Dmac00 {
303 ptr: 0x4000a080u32 as _,
304};
305#[cfg(feature = "dmac03")]
306pub const DMAC03: self::Dmac00 = self::Dmac00 {
307 ptr: 0x4000a0c0u32 as _,
308};
309#[cfg(feature = "dmac04")]
310pub const DMAC04: self::Dmac00 = self::Dmac00 {
311 ptr: 0x4000a100u32 as _,
312};
313#[cfg(feature = "dmac05")]
314pub const DMAC05: self::Dmac00 = self::Dmac00 {
315 ptr: 0x4000a140u32 as _,
316};
317#[cfg(feature = "dmac06")]
318pub const DMAC06: self::Dmac00 = self::Dmac00 {
319 ptr: 0x4000a180u32 as _,
320};
321#[cfg(feature = "dmac07")]
322pub const DMAC07: self::Dmac00 = self::Dmac00 {
323 ptr: 0x4000a1c0u32 as _,
324};
325#[cfg(feature = "dma0")]
326#[derive(Copy, Clone, Eq, PartialEq)]
327pub struct Dma0 {
328 ptr: *mut u8,
329}
330#[cfg(feature = "dma0")]
331pub const DMA0: self::Dma0 = self::Dma0 {
332 ptr: 0x4000a800u32 as _,
333};
334#[cfg(feature = "dtc0")]
335#[derive(Copy, Clone, Eq, PartialEq)]
336pub struct Dtc0 {
337 ptr: *mut u8,
338}
339#[cfg(feature = "dtc0")]
340pub const DTC0: self::Dtc0 = self::Dtc0 {
341 ptr: 0x4000ac00u32 as _,
342};
343#[cfg(feature = "icu")]
344#[derive(Copy, Clone, Eq, PartialEq)]
345pub struct Icu {
346 ptr: *mut u8,
347}
348#[cfg(feature = "icu")]
349pub const ICU: self::Icu = self::Icu {
350 ptr: 0x4000c000u32 as _,
351};
352#[cfg(feature = "cpu_ctrl")]
353#[derive(Copy, Clone, Eq, PartialEq)]
354pub struct CpuCtrl {
355 ptr: *mut u8,
356}
357#[cfg(feature = "cpu_ctrl")]
358pub const CPU_CTRL: self::CpuCtrl = self::CpuCtrl {
359 ptr: 0x4000f000u32 as _,
360};
361#[cfg(feature = "ocd_cpu")]
362#[derive(Copy, Clone, Eq, PartialEq)]
363pub struct OcdCpu {
364 ptr: *mut u8,
365}
366#[cfg(feature = "ocd_cpu")]
367pub const OCD_CPU: self::OcdCpu = self::OcdCpu {
368 ptr: 0x40011000u32 as _,
369};
370#[cfg(feature = "cpu_dbg")]
371#[derive(Copy, Clone, Eq, PartialEq)]
372pub struct CpuDbg {
373 ptr: *mut u8,
374}
375#[cfg(feature = "cpu_dbg")]
376pub const CPU_DBG: self::CpuDbg = self::CpuDbg {
377 ptr: 0x4001b000u32 as _,
378};
379#[cfg(feature = "fcache")]
380#[derive(Copy, Clone, Eq, PartialEq)]
381pub struct Fcache {
382 ptr: *mut u8,
383}
384#[cfg(feature = "fcache")]
385pub const FCACHE: self::Fcache = self::Fcache {
386 ptr: 0x4001c100u32 as _,
387};
388#[cfg(feature = "sysc")]
389#[derive(Copy, Clone, Eq, PartialEq)]
390pub struct Sysc {
391 ptr: *mut u8,
392}
393#[cfg(feature = "sysc")]
394pub const SYSC: self::Sysc = self::Sysc {
395 ptr: 0x4001e000u32 as _,
396};
397#[cfg(feature = "tsd")]
398#[derive(Copy, Clone, Eq, PartialEq)]
399pub struct Tsd {
400 ptr: *mut u8,
401}
402#[cfg(feature = "tsd")]
403pub const TSD: self::Tsd = self::Tsd {
404 ptr: 0x4011b000u32 as _,
405};
406#[cfg(feature = "flad")]
407#[derive(Copy, Clone, Eq, PartialEq)]
408pub struct Flad {
409 ptr: *mut u8,
410}
411#[cfg(feature = "flad")]
412pub const FLAD: self::Flad = self::Flad {
413 ptr: 0x4011c000u32 as _,
414};
415#[cfg(feature = "faci")]
416#[derive(Copy, Clone, Eq, PartialEq)]
417pub struct Faci {
418 ptr: *mut u8,
419}
420#[cfg(feature = "faci")]
421pub const FACI: self::Faci = self::Faci {
422 ptr: 0x4011e000u32 as _,
423};
424#[cfg(feature = "elc")]
425#[derive(Copy, Clone, Eq, PartialEq)]
426pub struct Elc {
427 ptr: *mut u8,
428}
429#[cfg(feature = "elc")]
430pub const ELC: self::Elc = self::Elc {
431 ptr: 0x40201000u32 as _,
432};
433#[cfg(feature = "rtc")]
434#[derive(Copy, Clone, Eq, PartialEq)]
435pub struct Rtc {
436 ptr: *mut u8,
437}
438#[cfg(feature = "rtc")]
439pub const RTC: self::Rtc = self::Rtc {
440 ptr: 0x40202000u32 as _,
441};
442#[cfg(feature = "iwdt")]
443#[derive(Copy, Clone, Eq, PartialEq)]
444pub struct Iwdt {
445 ptr: *mut u8,
446}
447#[cfg(feature = "iwdt")]
448pub const IWDT: self::Iwdt = self::Iwdt {
449 ptr: 0x40202200u32 as _,
450};
451#[cfg(feature = "cac")]
452#[derive(Copy, Clone, Eq, PartialEq)]
453pub struct Cac {
454 ptr: *mut u8,
455}
456#[cfg(feature = "cac")]
457pub const CAC: self::Cac = self::Cac {
458 ptr: 0x40202400u32 as _,
459};
460#[cfg(feature = "wdt0")]
461#[derive(Copy, Clone, Eq, PartialEq)]
462pub struct Wdt0 {
463 ptr: *mut u8,
464}
465#[cfg(feature = "wdt0")]
466pub const WDT0: self::Wdt0 = self::Wdt0 {
467 ptr: 0x40202600u32 as _,
468};
469#[cfg(feature = "mstp")]
470#[derive(Copy, Clone, Eq, PartialEq)]
471pub struct Mstp {
472 ptr: *mut u8,
473}
474#[cfg(feature = "mstp")]
475pub const MSTP: self::Mstp = self::Mstp {
476 ptr: 0x40203000u32 as _,
477};
478#[cfg(feature = "pscu")]
479#[derive(Copy, Clone, Eq, PartialEq)]
480pub struct Pscu {
481 ptr: *mut u8,
482}
483#[cfg(feature = "pscu")]
484pub const PSCU: self::Pscu = self::Pscu {
485 ptr: 0x40204000u32 as _,
486};
487#[cfg(feature = "poeg")]
488#[derive(Copy, Clone, Eq, PartialEq)]
489pub struct Poeg {
490 ptr: *mut u8,
491}
492#[cfg(feature = "poeg")]
493pub const POEG: self::Poeg = self::Poeg {
494 ptr: 0x40212000u32 as _,
495};
496#[cfg(feature = "ulpt0")]
497#[derive(Copy, Clone, Eq, PartialEq)]
498pub struct Ulpt0 {
499 ptr: *mut u8,
500}
501#[cfg(feature = "ulpt0")]
502pub const ULPT0: self::Ulpt0 = self::Ulpt0 {
503 ptr: 0x40220000u32 as _,
504};
505#[cfg(feature = "ulpt1")]
506pub const ULPT1: self::Ulpt0 = self::Ulpt0 {
507 ptr: 0x40220100u32 as _,
508};
509#[cfg(feature = "agt0")]
510#[derive(Copy, Clone, Eq, PartialEq)]
511pub struct Agt0 {
512 ptr: *mut u8,
513}
514#[cfg(feature = "agt0")]
515pub const AGT0: self::Agt0 = self::Agt0 {
516 ptr: 0x40221000u32 as _,
517};
518#[cfg(feature = "agt1")]
519pub const AGT1: self::Agt0 = self::Agt0 {
520 ptr: 0x40221100u32 as _,
521};
522#[cfg(feature = "tsn")]
523#[derive(Copy, Clone, Eq, PartialEq)]
524pub struct Tsn {
525 ptr: *mut u8,
526}
527#[cfg(feature = "tsn")]
528pub const TSN: self::Tsn = self::Tsn {
529 ptr: 0x40235000u32 as _,
530};
531#[cfg(feature = "acmphs0")]
532#[derive(Copy, Clone, Eq, PartialEq)]
533pub struct Acmphs0 {
534 ptr: *mut u8,
535}
536#[cfg(feature = "acmphs0")]
537pub const ACMPHS0: self::Acmphs0 = self::Acmphs0 {
538 ptr: 0x40236000u32 as _,
539};
540#[cfg(feature = "acmphs1")]
541pub const ACMPHS1: self::Acmphs0 = self::Acmphs0 {
542 ptr: 0x40236100u32 as _,
543};
544#[cfg(feature = "usbfs")]
545#[derive(Copy, Clone, Eq, PartialEq)]
546pub struct Usbfs {
547 ptr: *mut u8,
548}
549#[cfg(feature = "usbfs")]
550pub const USBFS: self::Usbfs = self::Usbfs {
551 ptr: 0x40250000u32 as _,
552};
553#[cfg(feature = "ssie0")]
554#[derive(Copy, Clone, Eq, PartialEq)]
555pub struct Ssie0 {
556 ptr: *mut u8,
557}
558#[cfg(feature = "ssie0")]
559pub const SSIE0: self::Ssie0 = self::Ssie0 {
560 ptr: 0x4025d000u32 as _,
561};
562#[cfg(feature = "ssie1")]
563pub const SSIE1: self::Ssie0 = self::Ssie0 {
564 ptr: 0x4025d100u32 as _,
565};
566#[cfg(feature = "iic0")]
567#[derive(Copy, Clone, Eq, PartialEq)]
568pub struct Iic0 {
569 ptr: *mut u8,
570}
571#[cfg(feature = "iic0")]
572pub const IIC0: self::Iic0 = self::Iic0 {
573 ptr: 0x4025e000u32 as _,
574};
575#[cfg(feature = "iic0wu")]
576#[derive(Copy, Clone, Eq, PartialEq)]
577pub struct Iic0Wu {
578 ptr: *mut u8,
579}
580#[cfg(feature = "iic0wu")]
581pub const IIC0WU: self::Iic0Wu = self::Iic0Wu {
582 ptr: 0x4025e014u32 as _,
583};
584#[cfg(feature = "iic1")]
585pub const IIC1: self::Iic0 = self::Iic0 {
586 ptr: 0x4025e100u32 as _,
587};
588#[cfg(feature = "ospi0_b")]
589#[derive(Copy, Clone, Eq, PartialEq)]
590pub struct Ospi0B {
591 ptr: *mut u8,
592}
593#[cfg(feature = "ospi0_b")]
594pub const OSPI0_B: self::Ospi0B = self::Ospi0B {
595 ptr: 0x40268000u32 as _,
596};
597#[cfg(feature = "crc")]
598#[derive(Copy, Clone, Eq, PartialEq)]
599pub struct Crc {
600 ptr: *mut u8,
601}
602#[cfg(feature = "crc")]
603pub const CRC: self::Crc = self::Crc {
604 ptr: 0x40310000u32 as _,
605};
606#[cfg(feature = "doc_b")]
607#[derive(Copy, Clone, Eq, PartialEq)]
608pub struct DocB {
609 ptr: *mut u8,
610}
611#[cfg(feature = "doc_b")]
612pub const DOC_B: self::DocB = self::DocB {
613 ptr: 0x40311000u32 as _,
614};
615#[cfg(feature = "gpt320")]
616#[derive(Copy, Clone, Eq, PartialEq)]
617pub struct Gpt320 {
618 ptr: *mut u8,
619}
620#[cfg(feature = "gpt320")]
621pub const GPT320: self::Gpt320 = self::Gpt320 {
622 ptr: 0x40322000u32 as _,
623};
624#[cfg(feature = "gpt321")]
625pub const GPT321: self::Gpt320 = self::Gpt320 {
626 ptr: 0x40322100u32 as _,
627};
628#[cfg(feature = "gpt322")]
629pub const GPT322: self::Gpt320 = self::Gpt320 {
630 ptr: 0x40322200u32 as _,
631};
632#[cfg(feature = "gpt323")]
633pub const GPT323: self::Gpt320 = self::Gpt320 {
634 ptr: 0x40322300u32 as _,
635};
636#[cfg(feature = "gpt324")]
637pub const GPT324: self::Gpt320 = self::Gpt320 {
638 ptr: 0x40322400u32 as _,
639};
640#[cfg(feature = "gpt325")]
641pub const GPT325: self::Gpt320 = self::Gpt320 {
642 ptr: 0x40322500u32 as _,
643};
644#[cfg(feature = "gpt326")]
645pub const GPT326: self::Gpt320 = self::Gpt320 {
646 ptr: 0x40322600u32 as _,
647};
648#[cfg(feature = "gpt327")]
649pub const GPT327: self::Gpt320 = self::Gpt320 {
650 ptr: 0x40322700u32 as _,
651};
652#[cfg(feature = "gpt168")]
653#[derive(Copy, Clone, Eq, PartialEq)]
654pub struct Gpt168 {
655 ptr: *mut u8,
656}
657#[cfg(feature = "gpt168")]
658pub const GPT168: self::Gpt168 = self::Gpt168 {
659 ptr: 0x40322800u32 as _,
660};
661#[cfg(feature = "gpt169")]
662pub const GPT169: self::Gpt168 = self::Gpt168 {
663 ptr: 0x40322900u32 as _,
664};
665#[cfg(feature = "gpt1610")]
666#[derive(Copy, Clone, Eq, PartialEq)]
667pub struct Gpt1610 {
668 ptr: *mut u8,
669}
670#[cfg(feature = "gpt1610")]
671pub const GPT1610: self::Gpt1610 = self::Gpt1610 {
672 ptr: 0x40322a00u32 as _,
673};
674#[cfg(feature = "gpt1611")]
675pub const GPT1611: self::Gpt1610 = self::Gpt1610 {
676 ptr: 0x40322b00u32 as _,
677};
678#[cfg(feature = "gpt1612")]
679pub const GPT1612: self::Gpt1610 = self::Gpt1610 {
680 ptr: 0x40322c00u32 as _,
681};
682#[cfg(feature = "gpt1613")]
683pub const GPT1613: self::Gpt1610 = self::Gpt1610 {
684 ptr: 0x40322d00u32 as _,
685};
686#[cfg(feature = "adc120")]
687#[derive(Copy, Clone, Eq, PartialEq)]
688pub struct Adc120 {
689 ptr: *mut u8,
690}
691#[cfg(feature = "adc120")]
692pub const ADC120: self::Adc120 = self::Adc120 {
693 ptr: 0x40332000u32 as _,
694};
695#[cfg(feature = "adc121")]
696#[derive(Copy, Clone, Eq, PartialEq)]
697pub struct Adc121 {
698 ptr: *mut u8,
699}
700#[cfg(feature = "adc121")]
701pub const ADC121: self::Adc121 = self::Adc121 {
702 ptr: 0x40332200u32 as _,
703};
704#[cfg(feature = "dac12")]
705#[derive(Copy, Clone, Eq, PartialEq)]
706pub struct Dac12 {
707 ptr: *mut u8,
708}
709#[cfg(feature = "dac12")]
710pub const DAC12: self::Dac12 = self::Dac12 {
711 ptr: 0x40333000u32 as _,
712};
713#[cfg(feature = "glcdc")]
714#[derive(Copy, Clone, Eq, PartialEq)]
715pub struct Glcdc {
716 ptr: *mut u8,
717}
718#[cfg(feature = "glcdc")]
719pub const GLCDC: self::Glcdc = self::Glcdc {
720 ptr: 0x40342000u32 as _,
721};
722#[cfg(feature = "drw")]
723#[derive(Copy, Clone, Eq, PartialEq)]
724pub struct Drw {
725 ptr: *mut u8,
726}
727#[cfg(feature = "drw")]
728pub const DRW: self::Drw = self::Drw {
729 ptr: 0x40344000u32 as _,
730};
731#[cfg(feature = "sci0_b")]
732#[derive(Copy, Clone, Eq, PartialEq)]
733pub struct Sci0B {
734 ptr: *mut u8,
735}
736#[cfg(feature = "sci0_b")]
737pub const SCI0_B: self::Sci0B = self::Sci0B {
738 ptr: 0x40358000u32 as _,
739};
740#[cfg(feature = "sci1_b")]
741pub const SCI1_B: self::Sci0B = self::Sci0B {
742 ptr: 0x40358100u32 as _,
743};
744#[cfg(feature = "sci2_b")]
745pub const SCI2_B: self::Sci0B = self::Sci0B {
746 ptr: 0x40358200u32 as _,
747};
748#[cfg(feature = "sci3_b")]
749pub const SCI3_B: self::Sci0B = self::Sci0B {
750 ptr: 0x40358300u32 as _,
751};
752#[cfg(feature = "sci4_b")]
753pub const SCI4_B: self::Sci0B = self::Sci0B {
754 ptr: 0x40358400u32 as _,
755};
756#[cfg(feature = "sci9_b")]
757pub const SCI9_B: self::Sci0B = self::Sci0B {
758 ptr: 0x40358900u32 as _,
759};
760#[cfg(feature = "spi0_b")]
761#[derive(Copy, Clone, Eq, PartialEq)]
762pub struct Spi0B {
763 ptr: *mut u8,
764}
765#[cfg(feature = "spi0_b")]
766pub const SPI0_B: self::Spi0B = self::Spi0B {
767 ptr: 0x4035c000u32 as _,
768};
769#[cfg(feature = "spi1_b")]
770pub const SPI1_B: self::Spi0B = self::Spi0B {
771 ptr: 0x4035c100u32 as _,
772};
773#[cfg(feature = "eccmb0")]
774#[derive(Copy, Clone, Eq, PartialEq)]
775pub struct Eccmb0 {
776 ptr: *mut u8,
777}
778#[cfg(feature = "eccmb0")]
779pub const ECCMB0: self::Eccmb0 = self::Eccmb0 {
780 ptr: 0x4036f200u32 as _,
781};
782#[cfg(feature = "eccmb1")]
783pub const ECCMB1: self::Eccmb0 = self::Eccmb0 {
784 ptr: 0x4036f300u32 as _,
785};
786#[cfg(feature = "canfd0")]
787#[derive(Copy, Clone, Eq, PartialEq)]
788pub struct Canfd0 {
789 ptr: *mut u8,
790}
791#[cfg(feature = "canfd0")]
792pub const CANFD0: self::Canfd0 = self::Canfd0 {
793 ptr: 0x40380000u32 as _,
794};
795#[cfg(feature = "canfd1")]
796pub const CANFD1: self::Canfd0 = self::Canfd0 {
797 ptr: 0x40382000u32 as _,
798};
799#[cfg(feature = "port0")]
800#[derive(Copy, Clone, Eq, PartialEq)]
801pub struct Port0 {
802 ptr: *mut u8,
803}
804#[cfg(feature = "port0")]
805pub const PORT0: self::Port0 = self::Port0 {
806 ptr: 0x40400000u32 as _,
807};
808#[cfg(feature = "port1")]
809#[derive(Copy, Clone, Eq, PartialEq)]
810pub struct Port1 {
811 ptr: *mut u8,
812}
813#[cfg(feature = "port1")]
814pub const PORT1: self::Port1 = self::Port1 {
815 ptr: 0x40400020u32 as _,
816};
817#[cfg(feature = "port2")]
818pub const PORT2: self::Port1 = self::Port1 {
819 ptr: 0x40400040u32 as _,
820};
821#[cfg(feature = "port3")]
822pub const PORT3: self::Port1 = self::Port1 {
823 ptr: 0x40400060u32 as _,
824};
825#[cfg(feature = "port4")]
826pub const PORT4: self::Port1 = self::Port1 {
827 ptr: 0x40400080u32 as _,
828};
829#[cfg(feature = "port5")]
830pub const PORT5: self::Port0 = self::Port0 {
831 ptr: 0x404000a0u32 as _,
832};
833#[cfg(feature = "port6")]
834pub const PORT6: self::Port0 = self::Port0 {
835 ptr: 0x404000c0u32 as _,
836};
837#[cfg(feature = "port7")]
838pub const PORT7: self::Port0 = self::Port0 {
839 ptr: 0x404000e0u32 as _,
840};
841#[cfg(feature = "port8")]
842pub const PORT8: self::Port0 = self::Port0 {
843 ptr: 0x40400100u32 as _,
844};
845#[cfg(feature = "port9")]
846pub const PORT9: self::Port0 = self::Port0 {
847 ptr: 0x40400120u32 as _,
848};
849#[cfg(feature = "porta")]
850#[derive(Copy, Clone, Eq, PartialEq)]
851pub struct Porta {
852 ptr: *mut u8,
853}
854#[cfg(feature = "porta")]
855pub const PORTA: self::Porta = self::Porta {
856 ptr: 0x40400140u32 as _,
857};
858#[cfg(feature = "portb")]
859#[derive(Copy, Clone, Eq, PartialEq)]
860pub struct Portb {
861 ptr: *mut u8,
862}
863#[cfg(feature = "portb")]
864pub const PORTB: self::Portb = self::Portb {
865 ptr: 0x40400160u32 as _,
866};
867#[cfg(feature = "pfs")]
868#[derive(Copy, Clone, Eq, PartialEq)]
869pub struct Pfs {
870 ptr: *mut u8,
871}
872#[cfg(feature = "pfs")]
873pub const PFS: self::Pfs = self::Pfs {
874 ptr: 0x40400800u32 as _,
875};
876#[cfg(feature = "rmpu_ns")]
877#[derive(Copy, Clone, Eq, PartialEq)]
878pub struct RmpuNs {
879 ptr: *mut u8,
880}
881#[cfg(feature = "rmpu_ns")]
882pub const RMPU_NS: self::RmpuNs = self::RmpuNs {
883 ptr: 0x50000000u32 as _,
884};
885#[cfg(feature = "sram_ns")]
886#[derive(Copy, Clone, Eq, PartialEq)]
887pub struct SramNs {
888 ptr: *mut u8,
889}
890#[cfg(feature = "sram_ns")]
891pub const SRAM_NS: self::SramNs = self::SramNs {
892 ptr: 0x50002000u32 as _,
893};
894#[cfg(feature = "bus_ns")]
895#[derive(Copy, Clone, Eq, PartialEq)]
896pub struct BusNs {
897 ptr: *mut u8,
898}
899#[cfg(feature = "bus_ns")]
900pub const BUS_NS: self::BusNs = self::BusNs {
901 ptr: 0x50003000u32 as _,
902};
903#[cfg(feature = "icu_common_ns")]
904#[derive(Copy, Clone, Eq, PartialEq)]
905pub struct IcuCommonNs {
906 ptr: *mut u8,
907}
908#[cfg(feature = "icu_common_ns")]
909pub const ICU_COMMON_NS: self::IcuCommonNs = self::IcuCommonNs {
910 ptr: 0x50006000u32 as _,
911};
912#[cfg(feature = "cpscu_ns")]
913#[derive(Copy, Clone, Eq, PartialEq)]
914pub struct CpscuNs {
915 ptr: *mut u8,
916}
917#[cfg(feature = "cpscu_ns")]
918pub const CPSCU_NS: self::CpscuNs = self::CpscuNs {
919 ptr: 0x50008000u32 as _,
920};
921#[cfg(feature = "dmac00_ns")]
922#[derive(Copy, Clone, Eq, PartialEq)]
923pub struct Dmac00Ns {
924 ptr: *mut u8,
925}
926#[cfg(feature = "dmac00_ns")]
927pub const DMAC00_NS: self::Dmac00Ns = self::Dmac00Ns {
928 ptr: 0x5000a000u32 as _,
929};
930#[cfg(feature = "dmac01_ns")]
931pub const DMAC01_NS: self::Dmac00Ns = self::Dmac00Ns {
932 ptr: 0x5000a040u32 as _,
933};
934#[cfg(feature = "dmac02_ns")]
935pub const DMAC02_NS: self::Dmac00Ns = self::Dmac00Ns {
936 ptr: 0x5000a080u32 as _,
937};
938#[cfg(feature = "dmac03_ns")]
939pub const DMAC03_NS: self::Dmac00Ns = self::Dmac00Ns {
940 ptr: 0x5000a0c0u32 as _,
941};
942#[cfg(feature = "dmac04_ns")]
943pub const DMAC04_NS: self::Dmac00Ns = self::Dmac00Ns {
944 ptr: 0x5000a100u32 as _,
945};
946#[cfg(feature = "dmac05_ns")]
947pub const DMAC05_NS: self::Dmac00Ns = self::Dmac00Ns {
948 ptr: 0x5000a140u32 as _,
949};
950#[cfg(feature = "dmac06_ns")]
951pub const DMAC06_NS: self::Dmac00Ns = self::Dmac00Ns {
952 ptr: 0x5000a180u32 as _,
953};
954#[cfg(feature = "dmac07_ns")]
955pub const DMAC07_NS: self::Dmac00Ns = self::Dmac00Ns {
956 ptr: 0x5000a1c0u32 as _,
957};
958#[cfg(feature = "dma0_ns")]
959#[derive(Copy, Clone, Eq, PartialEq)]
960pub struct Dma0Ns {
961 ptr: *mut u8,
962}
963#[cfg(feature = "dma0_ns")]
964pub const DMA0_NS: self::Dma0Ns = self::Dma0Ns {
965 ptr: 0x5000a800u32 as _,
966};
967#[cfg(feature = "dtc0_ns")]
968#[derive(Copy, Clone, Eq, PartialEq)]
969pub struct Dtc0Ns {
970 ptr: *mut u8,
971}
972#[cfg(feature = "dtc0_ns")]
973pub const DTC0_NS: self::Dtc0Ns = self::Dtc0Ns {
974 ptr: 0x5000ac00u32 as _,
975};
976#[cfg(feature = "icu_ns")]
977#[derive(Copy, Clone, Eq, PartialEq)]
978pub struct IcuNs {
979 ptr: *mut u8,
980}
981#[cfg(feature = "icu_ns")]
982pub const ICU_NS: self::IcuNs = self::IcuNs {
983 ptr: 0x5000c000u32 as _,
984};
985#[cfg(feature = "cpu_ctrl_ns")]
986#[derive(Copy, Clone, Eq, PartialEq)]
987pub struct CpuCtrlNs {
988 ptr: *mut u8,
989}
990#[cfg(feature = "cpu_ctrl_ns")]
991pub const CPU_CTRL_NS: self::CpuCtrlNs = self::CpuCtrlNs {
992 ptr: 0x5000f000u32 as _,
993};
994#[cfg(feature = "ocd_cpu_ns")]
995#[derive(Copy, Clone, Eq, PartialEq)]
996pub struct OcdCpuNs {
997 ptr: *mut u8,
998}
999#[cfg(feature = "ocd_cpu_ns")]
1000pub const OCD_CPU_NS: self::OcdCpuNs = self::OcdCpuNs {
1001 ptr: 0x50011000u32 as _,
1002};
1003#[cfg(feature = "cpu_dbg_ns")]
1004#[derive(Copy, Clone, Eq, PartialEq)]
1005pub struct CpuDbgNs {
1006 ptr: *mut u8,
1007}
1008#[cfg(feature = "cpu_dbg_ns")]
1009pub const CPU_DBG_NS: self::CpuDbgNs = self::CpuDbgNs {
1010 ptr: 0x5001b000u32 as _,
1011};
1012#[cfg(feature = "fcache_ns")]
1013#[derive(Copy, Clone, Eq, PartialEq)]
1014pub struct FcacheNs {
1015 ptr: *mut u8,
1016}
1017#[cfg(feature = "fcache_ns")]
1018pub const FCACHE_NS: self::FcacheNs = self::FcacheNs {
1019 ptr: 0x5001c100u32 as _,
1020};
1021#[cfg(feature = "sysc_ns")]
1022#[derive(Copy, Clone, Eq, PartialEq)]
1023pub struct SyscNs {
1024 ptr: *mut u8,
1025}
1026#[cfg(feature = "sysc_ns")]
1027pub const SYSC_NS: self::SyscNs = self::SyscNs {
1028 ptr: 0x5001e000u32 as _,
1029};
1030#[cfg(feature = "tsd_ns")]
1031#[derive(Copy, Clone, Eq, PartialEq)]
1032pub struct TsdNs {
1033 ptr: *mut u8,
1034}
1035#[cfg(feature = "tsd_ns")]
1036pub const TSD_NS: self::TsdNs = self::TsdNs {
1037 ptr: 0x5011b000u32 as _,
1038};
1039#[cfg(feature = "flad_ns")]
1040#[derive(Copy, Clone, Eq, PartialEq)]
1041pub struct FladNs {
1042 ptr: *mut u8,
1043}
1044#[cfg(feature = "flad_ns")]
1045pub const FLAD_NS: self::FladNs = self::FladNs {
1046 ptr: 0x5011c000u32 as _,
1047};
1048#[cfg(feature = "faci_ns")]
1049#[derive(Copy, Clone, Eq, PartialEq)]
1050pub struct FaciNs {
1051 ptr: *mut u8,
1052}
1053#[cfg(feature = "faci_ns")]
1054pub const FACI_NS: self::FaciNs = self::FaciNs {
1055 ptr: 0x5011e000u32 as _,
1056};
1057#[cfg(feature = "elc_ns")]
1058#[derive(Copy, Clone, Eq, PartialEq)]
1059pub struct ElcNs {
1060 ptr: *mut u8,
1061}
1062#[cfg(feature = "elc_ns")]
1063pub const ELC_NS: self::ElcNs = self::ElcNs {
1064 ptr: 0x50201000u32 as _,
1065};
1066#[cfg(feature = "rtc_ns")]
1067#[derive(Copy, Clone, Eq, PartialEq)]
1068pub struct RtcNs {
1069 ptr: *mut u8,
1070}
1071#[cfg(feature = "rtc_ns")]
1072pub const RTC_NS: self::RtcNs = self::RtcNs {
1073 ptr: 0x50202000u32 as _,
1074};
1075#[cfg(feature = "iwdt_ns")]
1076#[derive(Copy, Clone, Eq, PartialEq)]
1077pub struct IwdtNs {
1078 ptr: *mut u8,
1079}
1080#[cfg(feature = "iwdt_ns")]
1081pub const IWDT_NS: self::IwdtNs = self::IwdtNs {
1082 ptr: 0x50202200u32 as _,
1083};
1084#[cfg(feature = "cac_ns")]
1085#[derive(Copy, Clone, Eq, PartialEq)]
1086pub struct CacNs {
1087 ptr: *mut u8,
1088}
1089#[cfg(feature = "cac_ns")]
1090pub const CAC_NS: self::CacNs = self::CacNs {
1091 ptr: 0x50202400u32 as _,
1092};
1093#[cfg(feature = "wdt0_ns")]
1094#[derive(Copy, Clone, Eq, PartialEq)]
1095pub struct Wdt0Ns {
1096 ptr: *mut u8,
1097}
1098#[cfg(feature = "wdt0_ns")]
1099pub const WDT0_NS: self::Wdt0Ns = self::Wdt0Ns {
1100 ptr: 0x50202600u32 as _,
1101};
1102#[cfg(feature = "mstp_ns")]
1103#[derive(Copy, Clone, Eq, PartialEq)]
1104pub struct MstpNs {
1105 ptr: *mut u8,
1106}
1107#[cfg(feature = "mstp_ns")]
1108pub const MSTP_NS: self::MstpNs = self::MstpNs {
1109 ptr: 0x50203000u32 as _,
1110};
1111#[cfg(feature = "pscu_ns")]
1112#[derive(Copy, Clone, Eq, PartialEq)]
1113pub struct PscuNs {
1114 ptr: *mut u8,
1115}
1116#[cfg(feature = "pscu_ns")]
1117pub const PSCU_NS: self::PscuNs = self::PscuNs {
1118 ptr: 0x50204000u32 as _,
1119};
1120#[cfg(feature = "poeg_ns")]
1121#[derive(Copy, Clone, Eq, PartialEq)]
1122pub struct PoegNs {
1123 ptr: *mut u8,
1124}
1125#[cfg(feature = "poeg_ns")]
1126pub const POEG_NS: self::PoegNs = self::PoegNs {
1127 ptr: 0x50212000u32 as _,
1128};
1129#[cfg(feature = "ulpt0_ns")]
1130#[derive(Copy, Clone, Eq, PartialEq)]
1131pub struct Ulpt0Ns {
1132 ptr: *mut u8,
1133}
1134#[cfg(feature = "ulpt0_ns")]
1135pub const ULPT0_NS: self::Ulpt0Ns = self::Ulpt0Ns {
1136 ptr: 0x50220000u32 as _,
1137};
1138#[cfg(feature = "ulpt1_ns")]
1139pub const ULPT1_NS: self::Ulpt0Ns = self::Ulpt0Ns {
1140 ptr: 0x50220100u32 as _,
1141};
1142#[cfg(feature = "agt0_ns")]
1143#[derive(Copy, Clone, Eq, PartialEq)]
1144pub struct Agt0Ns {
1145 ptr: *mut u8,
1146}
1147#[cfg(feature = "agt0_ns")]
1148pub const AGT0_NS: self::Agt0Ns = self::Agt0Ns {
1149 ptr: 0x50221000u32 as _,
1150};
1151#[cfg(feature = "agt1_ns")]
1152pub const AGT1_NS: self::Agt0Ns = self::Agt0Ns {
1153 ptr: 0x50221100u32 as _,
1154};
1155#[cfg(feature = "tsn_ns")]
1156#[derive(Copy, Clone, Eq, PartialEq)]
1157pub struct TsnNs {
1158 ptr: *mut u8,
1159}
1160#[cfg(feature = "tsn_ns")]
1161pub const TSN_NS: self::TsnNs = self::TsnNs {
1162 ptr: 0x50235000u32 as _,
1163};
1164#[cfg(feature = "acmphs0_ns")]
1165#[derive(Copy, Clone, Eq, PartialEq)]
1166pub struct Acmphs0Ns {
1167 ptr: *mut u8,
1168}
1169#[cfg(feature = "acmphs0_ns")]
1170pub const ACMPHS0_NS: self::Acmphs0Ns = self::Acmphs0Ns {
1171 ptr: 0x50236000u32 as _,
1172};
1173#[cfg(feature = "acmphs1_ns")]
1174pub const ACMPHS1_NS: self::Acmphs0Ns = self::Acmphs0Ns {
1175 ptr: 0x50236100u32 as _,
1176};
1177#[cfg(feature = "usbfs_ns")]
1178#[derive(Copy, Clone, Eq, PartialEq)]
1179pub struct UsbfsNs {
1180 ptr: *mut u8,
1181}
1182#[cfg(feature = "usbfs_ns")]
1183pub const USBFS_NS: self::UsbfsNs = self::UsbfsNs {
1184 ptr: 0x50250000u32 as _,
1185};
1186#[cfg(feature = "ssie0_ns")]
1187#[derive(Copy, Clone, Eq, PartialEq)]
1188pub struct Ssie0Ns {
1189 ptr: *mut u8,
1190}
1191#[cfg(feature = "ssie0_ns")]
1192pub const SSIE0_NS: self::Ssie0Ns = self::Ssie0Ns {
1193 ptr: 0x5025d000u32 as _,
1194};
1195#[cfg(feature = "ssie1_ns")]
1196pub const SSIE1_NS: self::Ssie0Ns = self::Ssie0Ns {
1197 ptr: 0x5025d100u32 as _,
1198};
1199#[cfg(feature = "iic0_ns")]
1200#[derive(Copy, Clone, Eq, PartialEq)]
1201pub struct Iic0Ns {
1202 ptr: *mut u8,
1203}
1204#[cfg(feature = "iic0_ns")]
1205pub const IIC0_NS: self::Iic0Ns = self::Iic0Ns {
1206 ptr: 0x5025e000u32 as _,
1207};
1208#[cfg(feature = "iic0wu_ns")]
1209#[derive(Copy, Clone, Eq, PartialEq)]
1210pub struct Iic0WuNs {
1211 ptr: *mut u8,
1212}
1213#[cfg(feature = "iic0wu_ns")]
1214pub const IIC0WU_NS: self::Iic0WuNs = self::Iic0WuNs {
1215 ptr: 0x5025e014u32 as _,
1216};
1217#[cfg(feature = "iic1_ns")]
1218pub const IIC1_NS: self::Iic0Ns = self::Iic0Ns {
1219 ptr: 0x5025e100u32 as _,
1220};
1221#[cfg(feature = "ospi0_b_ns")]
1222#[derive(Copy, Clone, Eq, PartialEq)]
1223pub struct Ospi0BNs {
1224 ptr: *mut u8,
1225}
1226#[cfg(feature = "ospi0_b_ns")]
1227pub const OSPI0_B_NS: self::Ospi0BNs = self::Ospi0BNs {
1228 ptr: 0x50268000u32 as _,
1229};
1230#[cfg(feature = "crc_ns")]
1231#[derive(Copy, Clone, Eq, PartialEq)]
1232pub struct CrcNs {
1233 ptr: *mut u8,
1234}
1235#[cfg(feature = "crc_ns")]
1236pub const CRC_NS: self::CrcNs = self::CrcNs {
1237 ptr: 0x50310000u32 as _,
1238};
1239#[cfg(feature = "doc_b_ns")]
1240#[derive(Copy, Clone, Eq, PartialEq)]
1241pub struct DocBNs {
1242 ptr: *mut u8,
1243}
1244#[cfg(feature = "doc_b_ns")]
1245pub const DOC_B_NS: self::DocBNs = self::DocBNs {
1246 ptr: 0x50311000u32 as _,
1247};
1248#[cfg(feature = "gpt320_ns")]
1249#[derive(Copy, Clone, Eq, PartialEq)]
1250pub struct Gpt320Ns {
1251 ptr: *mut u8,
1252}
1253#[cfg(feature = "gpt320_ns")]
1254pub const GPT320_NS: self::Gpt320Ns = self::Gpt320Ns {
1255 ptr: 0x50322000u32 as _,
1256};
1257#[cfg(feature = "gpt321_ns")]
1258pub const GPT321_NS: self::Gpt320Ns = self::Gpt320Ns {
1259 ptr: 0x50322100u32 as _,
1260};
1261#[cfg(feature = "gpt322_ns")]
1262pub const GPT322_NS: self::Gpt320Ns = self::Gpt320Ns {
1263 ptr: 0x50322200u32 as _,
1264};
1265#[cfg(feature = "gpt323_ns")]
1266pub const GPT323_NS: self::Gpt320Ns = self::Gpt320Ns {
1267 ptr: 0x50322300u32 as _,
1268};
1269#[cfg(feature = "gpt324_ns")]
1270pub const GPT324_NS: self::Gpt320Ns = self::Gpt320Ns {
1271 ptr: 0x50322400u32 as _,
1272};
1273#[cfg(feature = "gpt325_ns")]
1274pub const GPT325_NS: self::Gpt320Ns = self::Gpt320Ns {
1275 ptr: 0x50322500u32 as _,
1276};
1277#[cfg(feature = "gpt326_ns")]
1278pub const GPT326_NS: self::Gpt320Ns = self::Gpt320Ns {
1279 ptr: 0x50322600u32 as _,
1280};
1281#[cfg(feature = "gpt327_ns")]
1282pub const GPT327_NS: self::Gpt320Ns = self::Gpt320Ns {
1283 ptr: 0x50322700u32 as _,
1284};
1285#[cfg(feature = "gpt168_ns")]
1286#[derive(Copy, Clone, Eq, PartialEq)]
1287pub struct Gpt168Ns {
1288 ptr: *mut u8,
1289}
1290#[cfg(feature = "gpt168_ns")]
1291pub const GPT168_NS: self::Gpt168Ns = self::Gpt168Ns {
1292 ptr: 0x50322800u32 as _,
1293};
1294#[cfg(feature = "gpt169_ns")]
1295pub const GPT169_NS: self::Gpt168Ns = self::Gpt168Ns {
1296 ptr: 0x50322900u32 as _,
1297};
1298#[cfg(feature = "gpt1610_ns")]
1299#[derive(Copy, Clone, Eq, PartialEq)]
1300pub struct Gpt1610Ns {
1301 ptr: *mut u8,
1302}
1303#[cfg(feature = "gpt1610_ns")]
1304pub const GPT1610_NS: self::Gpt1610Ns = self::Gpt1610Ns {
1305 ptr: 0x50322a00u32 as _,
1306};
1307#[cfg(feature = "gpt1611_ns")]
1308pub const GPT1611_NS: self::Gpt1610Ns = self::Gpt1610Ns {
1309 ptr: 0x50322b00u32 as _,
1310};
1311#[cfg(feature = "gpt1612_ns")]
1312pub const GPT1612_NS: self::Gpt1610Ns = self::Gpt1610Ns {
1313 ptr: 0x50322c00u32 as _,
1314};
1315#[cfg(feature = "gpt1613_ns")]
1316pub const GPT1613_NS: self::Gpt1610Ns = self::Gpt1610Ns {
1317 ptr: 0x50322d00u32 as _,
1318};
1319#[cfg(feature = "adc120_ns")]
1320#[derive(Copy, Clone, Eq, PartialEq)]
1321pub struct Adc120Ns {
1322 ptr: *mut u8,
1323}
1324#[cfg(feature = "adc120_ns")]
1325pub const ADC120_NS: self::Adc120Ns = self::Adc120Ns {
1326 ptr: 0x50332000u32 as _,
1327};
1328#[cfg(feature = "adc121_ns")]
1329#[derive(Copy, Clone, Eq, PartialEq)]
1330pub struct Adc121Ns {
1331 ptr: *mut u8,
1332}
1333#[cfg(feature = "adc121_ns")]
1334pub const ADC121_NS: self::Adc121Ns = self::Adc121Ns {
1335 ptr: 0x50332200u32 as _,
1336};
1337#[cfg(feature = "dac12_ns")]
1338#[derive(Copy, Clone, Eq, PartialEq)]
1339pub struct Dac12Ns {
1340 ptr: *mut u8,
1341}
1342#[cfg(feature = "dac12_ns")]
1343pub const DAC12_NS: self::Dac12Ns = self::Dac12Ns {
1344 ptr: 0x50333000u32 as _,
1345};
1346#[cfg(feature = "glcdc_ns")]
1347#[derive(Copy, Clone, Eq, PartialEq)]
1348pub struct GlcdcNs {
1349 ptr: *mut u8,
1350}
1351#[cfg(feature = "glcdc_ns")]
1352pub const GLCDC_NS: self::GlcdcNs = self::GlcdcNs {
1353 ptr: 0x50342000u32 as _,
1354};
1355#[cfg(feature = "drw_ns")]
1356#[derive(Copy, Clone, Eq, PartialEq)]
1357pub struct DrwNs {
1358 ptr: *mut u8,
1359}
1360#[cfg(feature = "drw_ns")]
1361pub const DRW_NS: self::DrwNs = self::DrwNs {
1362 ptr: 0x50344000u32 as _,
1363};
1364#[cfg(feature = "sci0_b_ns")]
1365#[derive(Copy, Clone, Eq, PartialEq)]
1366pub struct Sci0BNs {
1367 ptr: *mut u8,
1368}
1369#[cfg(feature = "sci0_b_ns")]
1370pub const SCI0_B_NS: self::Sci0BNs = self::Sci0BNs {
1371 ptr: 0x50358000u32 as _,
1372};
1373#[cfg(feature = "sci1_b_ns")]
1374pub const SCI1_B_NS: self::Sci0BNs = self::Sci0BNs {
1375 ptr: 0x50358100u32 as _,
1376};
1377#[cfg(feature = "sci2_b_ns")]
1378pub const SCI2_B_NS: self::Sci0BNs = self::Sci0BNs {
1379 ptr: 0x50358200u32 as _,
1380};
1381#[cfg(feature = "sci3_b_ns")]
1382pub const SCI3_B_NS: self::Sci0BNs = self::Sci0BNs {
1383 ptr: 0x50358300u32 as _,
1384};
1385#[cfg(feature = "sci4_b_ns")]
1386pub const SCI4_B_NS: self::Sci0BNs = self::Sci0BNs {
1387 ptr: 0x50358400u32 as _,
1388};
1389#[cfg(feature = "sci9_b_ns")]
1390pub const SCI9_B_NS: self::Sci0BNs = self::Sci0BNs {
1391 ptr: 0x50358900u32 as _,
1392};
1393#[cfg(feature = "spi0_b_ns")]
1394#[derive(Copy, Clone, Eq, PartialEq)]
1395pub struct Spi0BNs {
1396 ptr: *mut u8,
1397}
1398#[cfg(feature = "spi0_b_ns")]
1399pub const SPI0_B_NS: self::Spi0BNs = self::Spi0BNs {
1400 ptr: 0x5035c000u32 as _,
1401};
1402#[cfg(feature = "spi1_b_ns")]
1403pub const SPI1_B_NS: self::Spi0BNs = self::Spi0BNs {
1404 ptr: 0x5035c100u32 as _,
1405};
1406#[cfg(feature = "eccmb0_ns")]
1407#[derive(Copy, Clone, Eq, PartialEq)]
1408pub struct Eccmb0Ns {
1409 ptr: *mut u8,
1410}
1411#[cfg(feature = "eccmb0_ns")]
1412pub const ECCMB0_NS: self::Eccmb0Ns = self::Eccmb0Ns {
1413 ptr: 0x5036f200u32 as _,
1414};
1415#[cfg(feature = "eccmb1_ns")]
1416pub const ECCMB1_NS: self::Eccmb0Ns = self::Eccmb0Ns {
1417 ptr: 0x5036f300u32 as _,
1418};
1419#[cfg(feature = "canfd0_ns")]
1420#[derive(Copy, Clone, Eq, PartialEq)]
1421pub struct Canfd0Ns {
1422 ptr: *mut u8,
1423}
1424#[cfg(feature = "canfd0_ns")]
1425pub const CANFD0_NS: self::Canfd0Ns = self::Canfd0Ns {
1426 ptr: 0x50380000u32 as _,
1427};
1428#[cfg(feature = "canfd1_ns")]
1429pub const CANFD1_NS: self::Canfd0Ns = self::Canfd0Ns {
1430 ptr: 0x50382000u32 as _,
1431};
1432#[cfg(feature = "port0_ns")]
1433#[derive(Copy, Clone, Eq, PartialEq)]
1434pub struct Port0Ns {
1435 ptr: *mut u8,
1436}
1437#[cfg(feature = "port0_ns")]
1438pub const PORT0_NS: self::Port0Ns = self::Port0Ns {
1439 ptr: 0x50400000u32 as _,
1440};
1441#[cfg(feature = "port1_ns")]
1442#[derive(Copy, Clone, Eq, PartialEq)]
1443pub struct Port1Ns {
1444 ptr: *mut u8,
1445}
1446#[cfg(feature = "port1_ns")]
1447pub const PORT1_NS: self::Port1Ns = self::Port1Ns {
1448 ptr: 0x50400020u32 as _,
1449};
1450#[cfg(feature = "port2_ns")]
1451pub const PORT2_NS: self::Port1Ns = self::Port1Ns {
1452 ptr: 0x50400040u32 as _,
1453};
1454#[cfg(feature = "port3_ns")]
1455pub const PORT3_NS: self::Port1Ns = self::Port1Ns {
1456 ptr: 0x50400060u32 as _,
1457};
1458#[cfg(feature = "port4_ns")]
1459pub const PORT4_NS: self::Port1Ns = self::Port1Ns {
1460 ptr: 0x50400080u32 as _,
1461};
1462#[cfg(feature = "port5_ns")]
1463pub const PORT5_NS: self::Port0Ns = self::Port0Ns {
1464 ptr: 0x504000a0u32 as _,
1465};
1466#[cfg(feature = "port6_ns")]
1467pub const PORT6_NS: self::Port0Ns = self::Port0Ns {
1468 ptr: 0x504000c0u32 as _,
1469};
1470#[cfg(feature = "port7_ns")]
1471pub const PORT7_NS: self::Port0Ns = self::Port0Ns {
1472 ptr: 0x504000e0u32 as _,
1473};
1474#[cfg(feature = "port8_ns")]
1475pub const PORT8_NS: self::Port0Ns = self::Port0Ns {
1476 ptr: 0x50400100u32 as _,
1477};
1478#[cfg(feature = "port9_ns")]
1479pub const PORT9_NS: self::Port0Ns = self::Port0Ns {
1480 ptr: 0x50400120u32 as _,
1481};
1482#[cfg(feature = "porta_ns")]
1483#[derive(Copy, Clone, Eq, PartialEq)]
1484pub struct PortaNs {
1485 ptr: *mut u8,
1486}
1487#[cfg(feature = "porta_ns")]
1488pub const PORTA_NS: self::PortaNs = self::PortaNs {
1489 ptr: 0x50400140u32 as _,
1490};
1491#[cfg(feature = "portb_ns")]
1492#[derive(Copy, Clone, Eq, PartialEq)]
1493pub struct PortbNs {
1494 ptr: *mut u8,
1495}
1496#[cfg(feature = "portb_ns")]
1497pub const PORTB_NS: self::PortbNs = self::PortbNs {
1498 ptr: 0x50400160u32 as _,
1499};
1500#[cfg(feature = "pfs_ns")]
1501#[derive(Copy, Clone, Eq, PartialEq)]
1502pub struct PfsNs {
1503 ptr: *mut u8,
1504}
1505#[cfg(feature = "pfs_ns")]
1506pub const PFS_NS: self::PfsNs = self::PfsNs {
1507 ptr: 0x50400800u32 as _,
1508};
1509
1510pub use cortex_m::peripheral::Peripherals as CorePeripherals;
1511pub use cortex_m::peripheral::{CBP, CPUID, DCB, DWT, FPB, FPU, ITM, MPU, NVIC, SCB, SYST, TPIU};
1512#[doc = "Number available in the NVIC for configuring priority"]
1513pub const NVIC_PRIO_BITS: u8 = 4;
1514#[doc(hidden)]
1515pub union Vector {
1516 _handler: unsafe extern "C" fn(),
1517 _reserved: u32,
1518}
1519#[cfg(feature = "rt")]
1520pub use self::Interrupt as interrupt;
1521#[cfg(feature = "rt")]
1522pub use cortex_m_rt::interrupt;
1523#[cfg(feature = "rt")]
1524pub mod interrupt_handlers {
1525 unsafe extern "C" {
1526 pub fn IEL0();
1527 pub fn IEL1();
1528 pub fn IEL2();
1529 pub fn IEL3();
1530 pub fn IEL4();
1531 pub fn IEL5();
1532 pub fn IEL6();
1533 pub fn IEL7();
1534 pub fn IEL8();
1535 pub fn IEL9();
1536 pub fn IEL10();
1537 pub fn IEL11();
1538 pub fn IEL12();
1539 pub fn IEL13();
1540 pub fn IEL14();
1541 pub fn IEL15();
1542 pub fn IEL16();
1543 pub fn IEL17();
1544 pub fn IEL18();
1545 pub fn IEL19();
1546 pub fn IEL20();
1547 pub fn IEL21();
1548 pub fn IEL22();
1549 pub fn IEL23();
1550 pub fn IEL24();
1551 pub fn IEL25();
1552 pub fn IEL26();
1553 pub fn IEL27();
1554 pub fn IEL28();
1555 pub fn IEL29();
1556 pub fn IEL30();
1557 pub fn IEL31();
1558 pub fn IEL32();
1559 pub fn IEL33();
1560 pub fn IEL34();
1561 pub fn IEL35();
1562 pub fn IEL36();
1563 pub fn IEL37();
1564 pub fn IEL38();
1565 pub fn IEL39();
1566 pub fn IEL40();
1567 pub fn IEL41();
1568 pub fn IEL42();
1569 pub fn IEL43();
1570 pub fn IEL44();
1571 pub fn IEL45();
1572 pub fn IEL46();
1573 pub fn IEL47();
1574 pub fn IEL48();
1575 pub fn IEL49();
1576 pub fn IEL50();
1577 pub fn IEL51();
1578 pub fn IEL52();
1579 pub fn IEL53();
1580 pub fn IEL54();
1581 pub fn IEL55();
1582 pub fn IEL56();
1583 pub fn IEL57();
1584 pub fn IEL58();
1585 pub fn IEL59();
1586 pub fn IEL60();
1587 pub fn IEL61();
1588 pub fn IEL62();
1589 pub fn IEL63();
1590 pub fn IEL64();
1591 pub fn IEL65();
1592 pub fn IEL66();
1593 pub fn IEL67();
1594 pub fn IEL68();
1595 pub fn IEL69();
1596 pub fn IEL70();
1597 pub fn IEL71();
1598 pub fn IEL72();
1599 pub fn IEL73();
1600 pub fn IEL74();
1601 pub fn IEL75();
1602 pub fn IEL76();
1603 pub fn IEL77();
1604 pub fn IEL78();
1605 pub fn IEL79();
1606 pub fn IEL80();
1607 pub fn IEL81();
1608 pub fn IEL82();
1609 pub fn IEL83();
1610 pub fn IEL84();
1611 pub fn IEL85();
1612 pub fn IEL86();
1613 pub fn IEL87();
1614 pub fn IEL88();
1615 pub fn IEL89();
1616 pub fn IEL90();
1617 pub fn IEL91();
1618 pub fn IEL92();
1619 pub fn IEL93();
1620 pub fn IEL94();
1621 pub fn IEL95();
1622 }
1623}
1624#[cfg(feature = "rt")]
1625#[doc(hidden)]
1626#[unsafe(link_section = ".vector_table.interrupts")]
1627#[unsafe(no_mangle)]
1628pub static __INTERRUPTS: [Vector; 96] = [
1629 Vector {
1630 _handler: interrupt_handlers::IEL0,
1631 },
1632 Vector {
1633 _handler: interrupt_handlers::IEL1,
1634 },
1635 Vector {
1636 _handler: interrupt_handlers::IEL2,
1637 },
1638 Vector {
1639 _handler: interrupt_handlers::IEL3,
1640 },
1641 Vector {
1642 _handler: interrupt_handlers::IEL4,
1643 },
1644 Vector {
1645 _handler: interrupt_handlers::IEL5,
1646 },
1647 Vector {
1648 _handler: interrupt_handlers::IEL6,
1649 },
1650 Vector {
1651 _handler: interrupt_handlers::IEL7,
1652 },
1653 Vector {
1654 _handler: interrupt_handlers::IEL8,
1655 },
1656 Vector {
1657 _handler: interrupt_handlers::IEL9,
1658 },
1659 Vector {
1660 _handler: interrupt_handlers::IEL10,
1661 },
1662 Vector {
1663 _handler: interrupt_handlers::IEL11,
1664 },
1665 Vector {
1666 _handler: interrupt_handlers::IEL12,
1667 },
1668 Vector {
1669 _handler: interrupt_handlers::IEL13,
1670 },
1671 Vector {
1672 _handler: interrupt_handlers::IEL14,
1673 },
1674 Vector {
1675 _handler: interrupt_handlers::IEL15,
1676 },
1677 Vector {
1678 _handler: interrupt_handlers::IEL16,
1679 },
1680 Vector {
1681 _handler: interrupt_handlers::IEL17,
1682 },
1683 Vector {
1684 _handler: interrupt_handlers::IEL18,
1685 },
1686 Vector {
1687 _handler: interrupt_handlers::IEL19,
1688 },
1689 Vector {
1690 _handler: interrupt_handlers::IEL20,
1691 },
1692 Vector {
1693 _handler: interrupt_handlers::IEL21,
1694 },
1695 Vector {
1696 _handler: interrupt_handlers::IEL22,
1697 },
1698 Vector {
1699 _handler: interrupt_handlers::IEL23,
1700 },
1701 Vector {
1702 _handler: interrupt_handlers::IEL24,
1703 },
1704 Vector {
1705 _handler: interrupt_handlers::IEL25,
1706 },
1707 Vector {
1708 _handler: interrupt_handlers::IEL26,
1709 },
1710 Vector {
1711 _handler: interrupt_handlers::IEL27,
1712 },
1713 Vector {
1714 _handler: interrupt_handlers::IEL28,
1715 },
1716 Vector {
1717 _handler: interrupt_handlers::IEL29,
1718 },
1719 Vector {
1720 _handler: interrupt_handlers::IEL30,
1721 },
1722 Vector {
1723 _handler: interrupt_handlers::IEL31,
1724 },
1725 Vector {
1726 _handler: interrupt_handlers::IEL32,
1727 },
1728 Vector {
1729 _handler: interrupt_handlers::IEL33,
1730 },
1731 Vector {
1732 _handler: interrupt_handlers::IEL34,
1733 },
1734 Vector {
1735 _handler: interrupt_handlers::IEL35,
1736 },
1737 Vector {
1738 _handler: interrupt_handlers::IEL36,
1739 },
1740 Vector {
1741 _handler: interrupt_handlers::IEL37,
1742 },
1743 Vector {
1744 _handler: interrupt_handlers::IEL38,
1745 },
1746 Vector {
1747 _handler: interrupt_handlers::IEL39,
1748 },
1749 Vector {
1750 _handler: interrupt_handlers::IEL40,
1751 },
1752 Vector {
1753 _handler: interrupt_handlers::IEL41,
1754 },
1755 Vector {
1756 _handler: interrupt_handlers::IEL42,
1757 },
1758 Vector {
1759 _handler: interrupt_handlers::IEL43,
1760 },
1761 Vector {
1762 _handler: interrupt_handlers::IEL44,
1763 },
1764 Vector {
1765 _handler: interrupt_handlers::IEL45,
1766 },
1767 Vector {
1768 _handler: interrupt_handlers::IEL46,
1769 },
1770 Vector {
1771 _handler: interrupt_handlers::IEL47,
1772 },
1773 Vector {
1774 _handler: interrupt_handlers::IEL48,
1775 },
1776 Vector {
1777 _handler: interrupt_handlers::IEL49,
1778 },
1779 Vector {
1780 _handler: interrupt_handlers::IEL50,
1781 },
1782 Vector {
1783 _handler: interrupt_handlers::IEL51,
1784 },
1785 Vector {
1786 _handler: interrupt_handlers::IEL52,
1787 },
1788 Vector {
1789 _handler: interrupt_handlers::IEL53,
1790 },
1791 Vector {
1792 _handler: interrupt_handlers::IEL54,
1793 },
1794 Vector {
1795 _handler: interrupt_handlers::IEL55,
1796 },
1797 Vector {
1798 _handler: interrupt_handlers::IEL56,
1799 },
1800 Vector {
1801 _handler: interrupt_handlers::IEL57,
1802 },
1803 Vector {
1804 _handler: interrupt_handlers::IEL58,
1805 },
1806 Vector {
1807 _handler: interrupt_handlers::IEL59,
1808 },
1809 Vector {
1810 _handler: interrupt_handlers::IEL60,
1811 },
1812 Vector {
1813 _handler: interrupt_handlers::IEL61,
1814 },
1815 Vector {
1816 _handler: interrupt_handlers::IEL62,
1817 },
1818 Vector {
1819 _handler: interrupt_handlers::IEL63,
1820 },
1821 Vector {
1822 _handler: interrupt_handlers::IEL64,
1823 },
1824 Vector {
1825 _handler: interrupt_handlers::IEL65,
1826 },
1827 Vector {
1828 _handler: interrupt_handlers::IEL66,
1829 },
1830 Vector {
1831 _handler: interrupt_handlers::IEL67,
1832 },
1833 Vector {
1834 _handler: interrupt_handlers::IEL68,
1835 },
1836 Vector {
1837 _handler: interrupt_handlers::IEL69,
1838 },
1839 Vector {
1840 _handler: interrupt_handlers::IEL70,
1841 },
1842 Vector {
1843 _handler: interrupt_handlers::IEL71,
1844 },
1845 Vector {
1846 _handler: interrupt_handlers::IEL72,
1847 },
1848 Vector {
1849 _handler: interrupt_handlers::IEL73,
1850 },
1851 Vector {
1852 _handler: interrupt_handlers::IEL74,
1853 },
1854 Vector {
1855 _handler: interrupt_handlers::IEL75,
1856 },
1857 Vector {
1858 _handler: interrupt_handlers::IEL76,
1859 },
1860 Vector {
1861 _handler: interrupt_handlers::IEL77,
1862 },
1863 Vector {
1864 _handler: interrupt_handlers::IEL78,
1865 },
1866 Vector {
1867 _handler: interrupt_handlers::IEL79,
1868 },
1869 Vector {
1870 _handler: interrupt_handlers::IEL80,
1871 },
1872 Vector {
1873 _handler: interrupt_handlers::IEL81,
1874 },
1875 Vector {
1876 _handler: interrupt_handlers::IEL82,
1877 },
1878 Vector {
1879 _handler: interrupt_handlers::IEL83,
1880 },
1881 Vector {
1882 _handler: interrupt_handlers::IEL84,
1883 },
1884 Vector {
1885 _handler: interrupt_handlers::IEL85,
1886 },
1887 Vector {
1888 _handler: interrupt_handlers::IEL86,
1889 },
1890 Vector {
1891 _handler: interrupt_handlers::IEL87,
1892 },
1893 Vector {
1894 _handler: interrupt_handlers::IEL88,
1895 },
1896 Vector {
1897 _handler: interrupt_handlers::IEL89,
1898 },
1899 Vector {
1900 _handler: interrupt_handlers::IEL90,
1901 },
1902 Vector {
1903 _handler: interrupt_handlers::IEL91,
1904 },
1905 Vector {
1906 _handler: interrupt_handlers::IEL92,
1907 },
1908 Vector {
1909 _handler: interrupt_handlers::IEL93,
1910 },
1911 Vector {
1912 _handler: interrupt_handlers::IEL94,
1913 },
1914 Vector {
1915 _handler: interrupt_handlers::IEL95,
1916 },
1917];
1918#[doc = "Enumeration of all the interrupts."]
1919#[derive(Copy, Clone, Debug, PartialEq, Eq)]
1920#[repr(u16)]
1921pub enum Interrupt {
1922 #[doc = "ICU Interrupt 0"]
1923 IEL0 = 0,
1924
1925 #[doc = "ICU Interrupt 1"]
1926 IEL1 = 1,
1927
1928 #[doc = "ICU Interrupt 2"]
1929 IEL2 = 2,
1930
1931 #[doc = "ICU Interrupt 3"]
1932 IEL3 = 3,
1933
1934 #[doc = "ICU Interrupt 4"]
1935 IEL4 = 4,
1936
1937 #[doc = "ICU Interrupt 5"]
1938 IEL5 = 5,
1939
1940 #[doc = "ICU Interrupt 6"]
1941 IEL6 = 6,
1942
1943 #[doc = "ICU Interrupt 7"]
1944 IEL7 = 7,
1945
1946 #[doc = "ICU Interrupt 8"]
1947 IEL8 = 8,
1948
1949 #[doc = "ICU Interrupt 9"]
1950 IEL9 = 9,
1951
1952 #[doc = "ICU Interrupt 10"]
1953 IEL10 = 10,
1954
1955 #[doc = "ICU Interrupt 11"]
1956 IEL11 = 11,
1957
1958 #[doc = "ICU Interrupt 12"]
1959 IEL12 = 12,
1960
1961 #[doc = "ICU Interrupt 13"]
1962 IEL13 = 13,
1963
1964 #[doc = "ICU Interrupt 14"]
1965 IEL14 = 14,
1966
1967 #[doc = "ICU Interrupt 15"]
1968 IEL15 = 15,
1969
1970 #[doc = "ICU Interrupt 16"]
1971 IEL16 = 16,
1972
1973 #[doc = "ICU Interrupt 17"]
1974 IEL17 = 17,
1975
1976 #[doc = "ICU Interrupt 18"]
1977 IEL18 = 18,
1978
1979 #[doc = "ICU Interrupt 19"]
1980 IEL19 = 19,
1981
1982 #[doc = "ICU Interrupt 20"]
1983 IEL20 = 20,
1984
1985 #[doc = "ICU Interrupt 21"]
1986 IEL21 = 21,
1987
1988 #[doc = "ICU Interrupt 22"]
1989 IEL22 = 22,
1990
1991 #[doc = "ICU Interrupt 23"]
1992 IEL23 = 23,
1993
1994 #[doc = "ICU Interrupt 24"]
1995 IEL24 = 24,
1996
1997 #[doc = "ICU Interrupt 25"]
1998 IEL25 = 25,
1999
2000 #[doc = "ICU Interrupt 26"]
2001 IEL26 = 26,
2002
2003 #[doc = "ICU Interrupt 27"]
2004 IEL27 = 27,
2005
2006 #[doc = "ICU Interrupt 28"]
2007 IEL28 = 28,
2008
2009 #[doc = "ICU Interrupt 29"]
2010 IEL29 = 29,
2011
2012 #[doc = "ICU Interrupt 30"]
2013 IEL30 = 30,
2014
2015 #[doc = "ICU Interrupt 31"]
2016 IEL31 = 31,
2017
2018 #[doc = "ICU Interrupt 32"]
2019 IEL32 = 32,
2020
2021 #[doc = "ICU Interrupt 33"]
2022 IEL33 = 33,
2023
2024 #[doc = "ICU Interrupt 34"]
2025 IEL34 = 34,
2026
2027 #[doc = "ICU Interrupt 35"]
2028 IEL35 = 35,
2029
2030 #[doc = "ICU Interrupt 36"]
2031 IEL36 = 36,
2032
2033 #[doc = "ICU Interrupt 37"]
2034 IEL37 = 37,
2035
2036 #[doc = "ICU Interrupt 38"]
2037 IEL38 = 38,
2038
2039 #[doc = "ICU Interrupt 39"]
2040 IEL39 = 39,
2041
2042 #[doc = "ICU Interrupt 40"]
2043 IEL40 = 40,
2044
2045 #[doc = "ICU Interrupt 41"]
2046 IEL41 = 41,
2047
2048 #[doc = "ICU Interrupt 42"]
2049 IEL42 = 42,
2050
2051 #[doc = "ICU Interrupt 43"]
2052 IEL43 = 43,
2053
2054 #[doc = "ICU Interrupt 44"]
2055 IEL44 = 44,
2056
2057 #[doc = "ICU Interrupt 45"]
2058 IEL45 = 45,
2059
2060 #[doc = "ICU Interrupt 46"]
2061 IEL46 = 46,
2062
2063 #[doc = "ICU Interrupt 47"]
2064 IEL47 = 47,
2065
2066 #[doc = "ICU Interrupt 48"]
2067 IEL48 = 48,
2068
2069 #[doc = "ICU Interrupt 49"]
2070 IEL49 = 49,
2071
2072 #[doc = "ICU Interrupt 50"]
2073 IEL50 = 50,
2074
2075 #[doc = "ICU Interrupt 51"]
2076 IEL51 = 51,
2077
2078 #[doc = "ICU Interrupt 52"]
2079 IEL52 = 52,
2080
2081 #[doc = "ICU Interrupt 53"]
2082 IEL53 = 53,
2083
2084 #[doc = "ICU Interrupt 54"]
2085 IEL54 = 54,
2086
2087 #[doc = "ICU Interrupt 55"]
2088 IEL55 = 55,
2089
2090 #[doc = "ICU Interrupt 56"]
2091 IEL56 = 56,
2092
2093 #[doc = "ICU Interrupt 57"]
2094 IEL57 = 57,
2095
2096 #[doc = "ICU Interrupt 58"]
2097 IEL58 = 58,
2098
2099 #[doc = "ICU Interrupt 59"]
2100 IEL59 = 59,
2101
2102 #[doc = "ICU Interrupt 60"]
2103 IEL60 = 60,
2104
2105 #[doc = "ICU Interrupt 61"]
2106 IEL61 = 61,
2107
2108 #[doc = "ICU Interrupt 62"]
2109 IEL62 = 62,
2110
2111 #[doc = "ICU Interrupt 63"]
2112 IEL63 = 63,
2113
2114 #[doc = "ICU Interrupt 64"]
2115 IEL64 = 64,
2116
2117 #[doc = "ICU Interrupt 65"]
2118 IEL65 = 65,
2119
2120 #[doc = "ICU Interrupt 66"]
2121 IEL66 = 66,
2122
2123 #[doc = "ICU Interrupt 67"]
2124 IEL67 = 67,
2125
2126 #[doc = "ICU Interrupt 68"]
2127 IEL68 = 68,
2128
2129 #[doc = "ICU Interrupt 69"]
2130 IEL69 = 69,
2131
2132 #[doc = "ICU Interrupt 70"]
2133 IEL70 = 70,
2134
2135 #[doc = "ICU Interrupt 71"]
2136 IEL71 = 71,
2137
2138 #[doc = "ICU Interrupt 72"]
2139 IEL72 = 72,
2140
2141 #[doc = "ICU Interrupt 73"]
2142 IEL73 = 73,
2143
2144 #[doc = "ICU Interrupt 74"]
2145 IEL74 = 74,
2146
2147 #[doc = "ICU Interrupt 75"]
2148 IEL75 = 75,
2149
2150 #[doc = "ICU Interrupt 76"]
2151 IEL76 = 76,
2152
2153 #[doc = "ICU Interrupt 77"]
2154 IEL77 = 77,
2155
2156 #[doc = "ICU Interrupt 78"]
2157 IEL78 = 78,
2158
2159 #[doc = "ICU Interrupt 79"]
2160 IEL79 = 79,
2161
2162 #[doc = "ICU Interrupt 80"]
2163 IEL80 = 80,
2164
2165 #[doc = "ICU Interrupt 81"]
2166 IEL81 = 81,
2167
2168 #[doc = "ICU Interrupt 82"]
2169 IEL82 = 82,
2170
2171 #[doc = "ICU Interrupt 83"]
2172 IEL83 = 83,
2173
2174 #[doc = "ICU Interrupt 84"]
2175 IEL84 = 84,
2176
2177 #[doc = "ICU Interrupt 85"]
2178 IEL85 = 85,
2179
2180 #[doc = "ICU Interrupt 86"]
2181 IEL86 = 86,
2182
2183 #[doc = "ICU Interrupt 87"]
2184 IEL87 = 87,
2185
2186 #[doc = "ICU Interrupt 88"]
2187 IEL88 = 88,
2188
2189 #[doc = "ICU Interrupt 89"]
2190 IEL89 = 89,
2191
2192 #[doc = "ICU Interrupt 90"]
2193 IEL90 = 90,
2194
2195 #[doc = "ICU Interrupt 91"]
2196 IEL91 = 91,
2197
2198 #[doc = "ICU Interrupt 92"]
2199 IEL92 = 92,
2200
2201 #[doc = "ICU Interrupt 93"]
2202 IEL93 = 93,
2203
2204 #[doc = "ICU Interrupt 94"]
2205 IEL94 = 94,
2206
2207 #[doc = "ICU Interrupt 95"]
2208 IEL95 = 95,
2209}
2210unsafe impl cortex_m::interrupt::InterruptNumber for Interrupt {
2211 #[inline(always)]
2212 fn number(self) -> u16 {
2213 self as u16
2214 }
2215}
2216#[allow(non_snake_case)]
2217pub struct Peripherals {
2219 #[cfg(feature = "rmpu")]
2220 pub RMPU: self::Rmpu,
2221 #[cfg(feature = "sram")]
2222 pub SRAM: self::Sram,
2223 #[cfg(feature = "bus")]
2224 pub BUS: self::Bus,
2225 #[cfg(feature = "icu_common")]
2226 pub ICU_COMMON: self::IcuCommon,
2227 #[cfg(feature = "cpscu")]
2228 pub CPSCU: self::Cpscu,
2229 #[cfg(feature = "dmac00")]
2230 pub DMAC00: self::Dmac00,
2231 #[cfg(feature = "dmac01")]
2232 pub DMAC01: self::Dmac00,
2233 #[cfg(feature = "dmac02")]
2234 pub DMAC02: self::Dmac00,
2235 #[cfg(feature = "dmac03")]
2236 pub DMAC03: self::Dmac00,
2237 #[cfg(feature = "dmac04")]
2238 pub DMAC04: self::Dmac00,
2239 #[cfg(feature = "dmac05")]
2240 pub DMAC05: self::Dmac00,
2241 #[cfg(feature = "dmac06")]
2242 pub DMAC06: self::Dmac00,
2243 #[cfg(feature = "dmac07")]
2244 pub DMAC07: self::Dmac00,
2245 #[cfg(feature = "dma0")]
2246 pub DMA0: self::Dma0,
2247 #[cfg(feature = "dtc0")]
2248 pub DTC0: self::Dtc0,
2249 #[cfg(feature = "icu")]
2250 pub ICU: self::Icu,
2251 #[cfg(feature = "cpu_ctrl")]
2252 pub CPU_CTRL: self::CpuCtrl,
2253 #[cfg(feature = "ocd_cpu")]
2254 pub OCD_CPU: self::OcdCpu,
2255 #[cfg(feature = "cpu_dbg")]
2256 pub CPU_DBG: self::CpuDbg,
2257 #[cfg(feature = "fcache")]
2258 pub FCACHE: self::Fcache,
2259 #[cfg(feature = "sysc")]
2260 pub SYSC: self::Sysc,
2261 #[cfg(feature = "tsd")]
2262 pub TSD: self::Tsd,
2263 #[cfg(feature = "flad")]
2264 pub FLAD: self::Flad,
2265 #[cfg(feature = "faci")]
2266 pub FACI: self::Faci,
2267 #[cfg(feature = "elc")]
2268 pub ELC: self::Elc,
2269 #[cfg(feature = "rtc")]
2270 pub RTC: self::Rtc,
2271 #[cfg(feature = "iwdt")]
2272 pub IWDT: self::Iwdt,
2273 #[cfg(feature = "cac")]
2274 pub CAC: self::Cac,
2275 #[cfg(feature = "wdt0")]
2276 pub WDT0: self::Wdt0,
2277 #[cfg(feature = "mstp")]
2278 pub MSTP: self::Mstp,
2279 #[cfg(feature = "pscu")]
2280 pub PSCU: self::Pscu,
2281 #[cfg(feature = "poeg")]
2282 pub POEG: self::Poeg,
2283 #[cfg(feature = "ulpt0")]
2284 pub ULPT0: self::Ulpt0,
2285 #[cfg(feature = "ulpt1")]
2286 pub ULPT1: self::Ulpt0,
2287 #[cfg(feature = "agt0")]
2288 pub AGT0: self::Agt0,
2289 #[cfg(feature = "agt1")]
2290 pub AGT1: self::Agt0,
2291 #[cfg(feature = "tsn")]
2292 pub TSN: self::Tsn,
2293 #[cfg(feature = "acmphs0")]
2294 pub ACMPHS0: self::Acmphs0,
2295 #[cfg(feature = "acmphs1")]
2296 pub ACMPHS1: self::Acmphs0,
2297 #[cfg(feature = "usbfs")]
2298 pub USBFS: self::Usbfs,
2299 #[cfg(feature = "ssie0")]
2300 pub SSIE0: self::Ssie0,
2301 #[cfg(feature = "ssie1")]
2302 pub SSIE1: self::Ssie0,
2303 #[cfg(feature = "iic0")]
2304 pub IIC0: self::Iic0,
2305 #[cfg(feature = "iic0wu")]
2306 pub IIC0WU: self::Iic0Wu,
2307 #[cfg(feature = "iic1")]
2308 pub IIC1: self::Iic0,
2309 #[cfg(feature = "ospi0_b")]
2310 pub OSPI0_B: self::Ospi0B,
2311 #[cfg(feature = "crc")]
2312 pub CRC: self::Crc,
2313 #[cfg(feature = "doc_b")]
2314 pub DOC_B: self::DocB,
2315 #[cfg(feature = "gpt320")]
2316 pub GPT320: self::Gpt320,
2317 #[cfg(feature = "gpt321")]
2318 pub GPT321: self::Gpt320,
2319 #[cfg(feature = "gpt322")]
2320 pub GPT322: self::Gpt320,
2321 #[cfg(feature = "gpt323")]
2322 pub GPT323: self::Gpt320,
2323 #[cfg(feature = "gpt324")]
2324 pub GPT324: self::Gpt320,
2325 #[cfg(feature = "gpt325")]
2326 pub GPT325: self::Gpt320,
2327 #[cfg(feature = "gpt326")]
2328 pub GPT326: self::Gpt320,
2329 #[cfg(feature = "gpt327")]
2330 pub GPT327: self::Gpt320,
2331 #[cfg(feature = "gpt168")]
2332 pub GPT168: self::Gpt168,
2333 #[cfg(feature = "gpt169")]
2334 pub GPT169: self::Gpt168,
2335 #[cfg(feature = "gpt1610")]
2336 pub GPT1610: self::Gpt1610,
2337 #[cfg(feature = "gpt1611")]
2338 pub GPT1611: self::Gpt1610,
2339 #[cfg(feature = "gpt1612")]
2340 pub GPT1612: self::Gpt1610,
2341 #[cfg(feature = "gpt1613")]
2342 pub GPT1613: self::Gpt1610,
2343 #[cfg(feature = "adc120")]
2344 pub ADC120: self::Adc120,
2345 #[cfg(feature = "adc121")]
2346 pub ADC121: self::Adc121,
2347 #[cfg(feature = "dac12")]
2348 pub DAC12: self::Dac12,
2349 #[cfg(feature = "glcdc")]
2350 pub GLCDC: self::Glcdc,
2351 #[cfg(feature = "drw")]
2352 pub DRW: self::Drw,
2353 #[cfg(feature = "sci0_b")]
2354 pub SCI0_B: self::Sci0B,
2355 #[cfg(feature = "sci1_b")]
2356 pub SCI1_B: self::Sci0B,
2357 #[cfg(feature = "sci2_b")]
2358 pub SCI2_B: self::Sci0B,
2359 #[cfg(feature = "sci3_b")]
2360 pub SCI3_B: self::Sci0B,
2361 #[cfg(feature = "sci4_b")]
2362 pub SCI4_B: self::Sci0B,
2363 #[cfg(feature = "sci9_b")]
2364 pub SCI9_B: self::Sci0B,
2365 #[cfg(feature = "spi0_b")]
2366 pub SPI0_B: self::Spi0B,
2367 #[cfg(feature = "spi1_b")]
2368 pub SPI1_B: self::Spi0B,
2369 #[cfg(feature = "eccmb0")]
2370 pub ECCMB0: self::Eccmb0,
2371 #[cfg(feature = "eccmb1")]
2372 pub ECCMB1: self::Eccmb0,
2373 #[cfg(feature = "canfd0")]
2374 pub CANFD0: self::Canfd0,
2375 #[cfg(feature = "canfd1")]
2376 pub CANFD1: self::Canfd0,
2377 #[cfg(feature = "port0")]
2378 pub PORT0: self::Port0,
2379 #[cfg(feature = "port1")]
2380 pub PORT1: self::Port1,
2381 #[cfg(feature = "port2")]
2382 pub PORT2: self::Port1,
2383 #[cfg(feature = "port3")]
2384 pub PORT3: self::Port1,
2385 #[cfg(feature = "port4")]
2386 pub PORT4: self::Port1,
2387 #[cfg(feature = "port5")]
2388 pub PORT5: self::Port0,
2389 #[cfg(feature = "port6")]
2390 pub PORT6: self::Port0,
2391 #[cfg(feature = "port7")]
2392 pub PORT7: self::Port0,
2393 #[cfg(feature = "port8")]
2394 pub PORT8: self::Port0,
2395 #[cfg(feature = "port9")]
2396 pub PORT9: self::Port0,
2397 #[cfg(feature = "porta")]
2398 pub PORTA: self::Porta,
2399 #[cfg(feature = "portb")]
2400 pub PORTB: self::Portb,
2401 #[cfg(feature = "pfs")]
2402 pub PFS: self::Pfs,
2403 #[cfg(feature = "rmpu_ns")]
2404 pub RMPU_NS: self::RmpuNs,
2405 #[cfg(feature = "sram_ns")]
2406 pub SRAM_NS: self::SramNs,
2407 #[cfg(feature = "bus_ns")]
2408 pub BUS_NS: self::BusNs,
2409 #[cfg(feature = "icu_common_ns")]
2410 pub ICU_COMMON_NS: self::IcuCommonNs,
2411 #[cfg(feature = "cpscu_ns")]
2412 pub CPSCU_NS: self::CpscuNs,
2413 #[cfg(feature = "dmac00_ns")]
2414 pub DMAC00_NS: self::Dmac00Ns,
2415 #[cfg(feature = "dmac01_ns")]
2416 pub DMAC01_NS: self::Dmac00Ns,
2417 #[cfg(feature = "dmac02_ns")]
2418 pub DMAC02_NS: self::Dmac00Ns,
2419 #[cfg(feature = "dmac03_ns")]
2420 pub DMAC03_NS: self::Dmac00Ns,
2421 #[cfg(feature = "dmac04_ns")]
2422 pub DMAC04_NS: self::Dmac00Ns,
2423 #[cfg(feature = "dmac05_ns")]
2424 pub DMAC05_NS: self::Dmac00Ns,
2425 #[cfg(feature = "dmac06_ns")]
2426 pub DMAC06_NS: self::Dmac00Ns,
2427 #[cfg(feature = "dmac07_ns")]
2428 pub DMAC07_NS: self::Dmac00Ns,
2429 #[cfg(feature = "dma0_ns")]
2430 pub DMA0_NS: self::Dma0Ns,
2431 #[cfg(feature = "dtc0_ns")]
2432 pub DTC0_NS: self::Dtc0Ns,
2433 #[cfg(feature = "icu_ns")]
2434 pub ICU_NS: self::IcuNs,
2435 #[cfg(feature = "cpu_ctrl_ns")]
2436 pub CPU_CTRL_NS: self::CpuCtrlNs,
2437 #[cfg(feature = "ocd_cpu_ns")]
2438 pub OCD_CPU_NS: self::OcdCpuNs,
2439 #[cfg(feature = "cpu_dbg_ns")]
2440 pub CPU_DBG_NS: self::CpuDbgNs,
2441 #[cfg(feature = "fcache_ns")]
2442 pub FCACHE_NS: self::FcacheNs,
2443 #[cfg(feature = "sysc_ns")]
2444 pub SYSC_NS: self::SyscNs,
2445 #[cfg(feature = "tsd_ns")]
2446 pub TSD_NS: self::TsdNs,
2447 #[cfg(feature = "flad_ns")]
2448 pub FLAD_NS: self::FladNs,
2449 #[cfg(feature = "faci_ns")]
2450 pub FACI_NS: self::FaciNs,
2451 #[cfg(feature = "elc_ns")]
2452 pub ELC_NS: self::ElcNs,
2453 #[cfg(feature = "rtc_ns")]
2454 pub RTC_NS: self::RtcNs,
2455 #[cfg(feature = "iwdt_ns")]
2456 pub IWDT_NS: self::IwdtNs,
2457 #[cfg(feature = "cac_ns")]
2458 pub CAC_NS: self::CacNs,
2459 #[cfg(feature = "wdt0_ns")]
2460 pub WDT0_NS: self::Wdt0Ns,
2461 #[cfg(feature = "mstp_ns")]
2462 pub MSTP_NS: self::MstpNs,
2463 #[cfg(feature = "pscu_ns")]
2464 pub PSCU_NS: self::PscuNs,
2465 #[cfg(feature = "poeg_ns")]
2466 pub POEG_NS: self::PoegNs,
2467 #[cfg(feature = "ulpt0_ns")]
2468 pub ULPT0_NS: self::Ulpt0Ns,
2469 #[cfg(feature = "ulpt1_ns")]
2470 pub ULPT1_NS: self::Ulpt0Ns,
2471 #[cfg(feature = "agt0_ns")]
2472 pub AGT0_NS: self::Agt0Ns,
2473 #[cfg(feature = "agt1_ns")]
2474 pub AGT1_NS: self::Agt0Ns,
2475 #[cfg(feature = "tsn_ns")]
2476 pub TSN_NS: self::TsnNs,
2477 #[cfg(feature = "acmphs0_ns")]
2478 pub ACMPHS0_NS: self::Acmphs0Ns,
2479 #[cfg(feature = "acmphs1_ns")]
2480 pub ACMPHS1_NS: self::Acmphs0Ns,
2481 #[cfg(feature = "usbfs_ns")]
2482 pub USBFS_NS: self::UsbfsNs,
2483 #[cfg(feature = "ssie0_ns")]
2484 pub SSIE0_NS: self::Ssie0Ns,
2485 #[cfg(feature = "ssie1_ns")]
2486 pub SSIE1_NS: self::Ssie0Ns,
2487 #[cfg(feature = "iic0_ns")]
2488 pub IIC0_NS: self::Iic0Ns,
2489 #[cfg(feature = "iic0wu_ns")]
2490 pub IIC0WU_NS: self::Iic0WuNs,
2491 #[cfg(feature = "iic1_ns")]
2492 pub IIC1_NS: self::Iic0Ns,
2493 #[cfg(feature = "ospi0_b_ns")]
2494 pub OSPI0_B_NS: self::Ospi0BNs,
2495 #[cfg(feature = "crc_ns")]
2496 pub CRC_NS: self::CrcNs,
2497 #[cfg(feature = "doc_b_ns")]
2498 pub DOC_B_NS: self::DocBNs,
2499 #[cfg(feature = "gpt320_ns")]
2500 pub GPT320_NS: self::Gpt320Ns,
2501 #[cfg(feature = "gpt321_ns")]
2502 pub GPT321_NS: self::Gpt320Ns,
2503 #[cfg(feature = "gpt322_ns")]
2504 pub GPT322_NS: self::Gpt320Ns,
2505 #[cfg(feature = "gpt323_ns")]
2506 pub GPT323_NS: self::Gpt320Ns,
2507 #[cfg(feature = "gpt324_ns")]
2508 pub GPT324_NS: self::Gpt320Ns,
2509 #[cfg(feature = "gpt325_ns")]
2510 pub GPT325_NS: self::Gpt320Ns,
2511 #[cfg(feature = "gpt326_ns")]
2512 pub GPT326_NS: self::Gpt320Ns,
2513 #[cfg(feature = "gpt327_ns")]
2514 pub GPT327_NS: self::Gpt320Ns,
2515 #[cfg(feature = "gpt168_ns")]
2516 pub GPT168_NS: self::Gpt168Ns,
2517 #[cfg(feature = "gpt169_ns")]
2518 pub GPT169_NS: self::Gpt168Ns,
2519 #[cfg(feature = "gpt1610_ns")]
2520 pub GPT1610_NS: self::Gpt1610Ns,
2521 #[cfg(feature = "gpt1611_ns")]
2522 pub GPT1611_NS: self::Gpt1610Ns,
2523 #[cfg(feature = "gpt1612_ns")]
2524 pub GPT1612_NS: self::Gpt1610Ns,
2525 #[cfg(feature = "gpt1613_ns")]
2526 pub GPT1613_NS: self::Gpt1610Ns,
2527 #[cfg(feature = "adc120_ns")]
2528 pub ADC120_NS: self::Adc120Ns,
2529 #[cfg(feature = "adc121_ns")]
2530 pub ADC121_NS: self::Adc121Ns,
2531 #[cfg(feature = "dac12_ns")]
2532 pub DAC12_NS: self::Dac12Ns,
2533 #[cfg(feature = "glcdc_ns")]
2534 pub GLCDC_NS: self::GlcdcNs,
2535 #[cfg(feature = "drw_ns")]
2536 pub DRW_NS: self::DrwNs,
2537 #[cfg(feature = "sci0_b_ns")]
2538 pub SCI0_B_NS: self::Sci0BNs,
2539 #[cfg(feature = "sci1_b_ns")]
2540 pub SCI1_B_NS: self::Sci0BNs,
2541 #[cfg(feature = "sci2_b_ns")]
2542 pub SCI2_B_NS: self::Sci0BNs,
2543 #[cfg(feature = "sci3_b_ns")]
2544 pub SCI3_B_NS: self::Sci0BNs,
2545 #[cfg(feature = "sci4_b_ns")]
2546 pub SCI4_B_NS: self::Sci0BNs,
2547 #[cfg(feature = "sci9_b_ns")]
2548 pub SCI9_B_NS: self::Sci0BNs,
2549 #[cfg(feature = "spi0_b_ns")]
2550 pub SPI0_B_NS: self::Spi0BNs,
2551 #[cfg(feature = "spi1_b_ns")]
2552 pub SPI1_B_NS: self::Spi0BNs,
2553 #[cfg(feature = "eccmb0_ns")]
2554 pub ECCMB0_NS: self::Eccmb0Ns,
2555 #[cfg(feature = "eccmb1_ns")]
2556 pub ECCMB1_NS: self::Eccmb0Ns,
2557 #[cfg(feature = "canfd0_ns")]
2558 pub CANFD0_NS: self::Canfd0Ns,
2559 #[cfg(feature = "canfd1_ns")]
2560 pub CANFD1_NS: self::Canfd0Ns,
2561 #[cfg(feature = "port0_ns")]
2562 pub PORT0_NS: self::Port0Ns,
2563 #[cfg(feature = "port1_ns")]
2564 pub PORT1_NS: self::Port1Ns,
2565 #[cfg(feature = "port2_ns")]
2566 pub PORT2_NS: self::Port1Ns,
2567 #[cfg(feature = "port3_ns")]
2568 pub PORT3_NS: self::Port1Ns,
2569 #[cfg(feature = "port4_ns")]
2570 pub PORT4_NS: self::Port1Ns,
2571 #[cfg(feature = "port5_ns")]
2572 pub PORT5_NS: self::Port0Ns,
2573 #[cfg(feature = "port6_ns")]
2574 pub PORT6_NS: self::Port0Ns,
2575 #[cfg(feature = "port7_ns")]
2576 pub PORT7_NS: self::Port0Ns,
2577 #[cfg(feature = "port8_ns")]
2578 pub PORT8_NS: self::Port0Ns,
2579 #[cfg(feature = "port9_ns")]
2580 pub PORT9_NS: self::Port0Ns,
2581 #[cfg(feature = "porta_ns")]
2582 pub PORTA_NS: self::PortaNs,
2583 #[cfg(feature = "portb_ns")]
2584 pub PORTB_NS: self::PortbNs,
2585 #[cfg(feature = "pfs_ns")]
2586 pub PFS_NS: self::PfsNs,
2587}
2588
2589impl Peripherals {
2590 #[inline]
2593 pub fn take() -> Option<Self> {
2594 Some(Self::steal())
2595 }
2596
2597 #[inline]
2600 pub fn steal() -> Self {
2601 Peripherals {
2602 #[cfg(feature = "rmpu")]
2603 RMPU: crate::RMPU,
2604 #[cfg(feature = "sram")]
2605 SRAM: crate::SRAM,
2606 #[cfg(feature = "bus")]
2607 BUS: crate::BUS,
2608 #[cfg(feature = "icu_common")]
2609 ICU_COMMON: crate::ICU_COMMON,
2610 #[cfg(feature = "cpscu")]
2611 CPSCU: crate::CPSCU,
2612 #[cfg(feature = "dmac00")]
2613 DMAC00: crate::DMAC00,
2614 #[cfg(feature = "dmac01")]
2615 DMAC01: crate::DMAC01,
2616 #[cfg(feature = "dmac02")]
2617 DMAC02: crate::DMAC02,
2618 #[cfg(feature = "dmac03")]
2619 DMAC03: crate::DMAC03,
2620 #[cfg(feature = "dmac04")]
2621 DMAC04: crate::DMAC04,
2622 #[cfg(feature = "dmac05")]
2623 DMAC05: crate::DMAC05,
2624 #[cfg(feature = "dmac06")]
2625 DMAC06: crate::DMAC06,
2626 #[cfg(feature = "dmac07")]
2627 DMAC07: crate::DMAC07,
2628 #[cfg(feature = "dma0")]
2629 DMA0: crate::DMA0,
2630 #[cfg(feature = "dtc0")]
2631 DTC0: crate::DTC0,
2632 #[cfg(feature = "icu")]
2633 ICU: crate::ICU,
2634 #[cfg(feature = "cpu_ctrl")]
2635 CPU_CTRL: crate::CPU_CTRL,
2636 #[cfg(feature = "ocd_cpu")]
2637 OCD_CPU: crate::OCD_CPU,
2638 #[cfg(feature = "cpu_dbg")]
2639 CPU_DBG: crate::CPU_DBG,
2640 #[cfg(feature = "fcache")]
2641 FCACHE: crate::FCACHE,
2642 #[cfg(feature = "sysc")]
2643 SYSC: crate::SYSC,
2644 #[cfg(feature = "tsd")]
2645 TSD: crate::TSD,
2646 #[cfg(feature = "flad")]
2647 FLAD: crate::FLAD,
2648 #[cfg(feature = "faci")]
2649 FACI: crate::FACI,
2650 #[cfg(feature = "elc")]
2651 ELC: crate::ELC,
2652 #[cfg(feature = "rtc")]
2653 RTC: crate::RTC,
2654 #[cfg(feature = "iwdt")]
2655 IWDT: crate::IWDT,
2656 #[cfg(feature = "cac")]
2657 CAC: crate::CAC,
2658 #[cfg(feature = "wdt0")]
2659 WDT0: crate::WDT0,
2660 #[cfg(feature = "mstp")]
2661 MSTP: crate::MSTP,
2662 #[cfg(feature = "pscu")]
2663 PSCU: crate::PSCU,
2664 #[cfg(feature = "poeg")]
2665 POEG: crate::POEG,
2666 #[cfg(feature = "ulpt0")]
2667 ULPT0: crate::ULPT0,
2668 #[cfg(feature = "ulpt1")]
2669 ULPT1: crate::ULPT1,
2670 #[cfg(feature = "agt0")]
2671 AGT0: crate::AGT0,
2672 #[cfg(feature = "agt1")]
2673 AGT1: crate::AGT1,
2674 #[cfg(feature = "tsn")]
2675 TSN: crate::TSN,
2676 #[cfg(feature = "acmphs0")]
2677 ACMPHS0: crate::ACMPHS0,
2678 #[cfg(feature = "acmphs1")]
2679 ACMPHS1: crate::ACMPHS1,
2680 #[cfg(feature = "usbfs")]
2681 USBFS: crate::USBFS,
2682 #[cfg(feature = "ssie0")]
2683 SSIE0: crate::SSIE0,
2684 #[cfg(feature = "ssie1")]
2685 SSIE1: crate::SSIE1,
2686 #[cfg(feature = "iic0")]
2687 IIC0: crate::IIC0,
2688 #[cfg(feature = "iic0wu")]
2689 IIC0WU: crate::IIC0WU,
2690 #[cfg(feature = "iic1")]
2691 IIC1: crate::IIC1,
2692 #[cfg(feature = "ospi0_b")]
2693 OSPI0_B: crate::OSPI0_B,
2694 #[cfg(feature = "crc")]
2695 CRC: crate::CRC,
2696 #[cfg(feature = "doc_b")]
2697 DOC_B: crate::DOC_B,
2698 #[cfg(feature = "gpt320")]
2699 GPT320: crate::GPT320,
2700 #[cfg(feature = "gpt321")]
2701 GPT321: crate::GPT321,
2702 #[cfg(feature = "gpt322")]
2703 GPT322: crate::GPT322,
2704 #[cfg(feature = "gpt323")]
2705 GPT323: crate::GPT323,
2706 #[cfg(feature = "gpt324")]
2707 GPT324: crate::GPT324,
2708 #[cfg(feature = "gpt325")]
2709 GPT325: crate::GPT325,
2710 #[cfg(feature = "gpt326")]
2711 GPT326: crate::GPT326,
2712 #[cfg(feature = "gpt327")]
2713 GPT327: crate::GPT327,
2714 #[cfg(feature = "gpt168")]
2715 GPT168: crate::GPT168,
2716 #[cfg(feature = "gpt169")]
2717 GPT169: crate::GPT169,
2718 #[cfg(feature = "gpt1610")]
2719 GPT1610: crate::GPT1610,
2720 #[cfg(feature = "gpt1611")]
2721 GPT1611: crate::GPT1611,
2722 #[cfg(feature = "gpt1612")]
2723 GPT1612: crate::GPT1612,
2724 #[cfg(feature = "gpt1613")]
2725 GPT1613: crate::GPT1613,
2726 #[cfg(feature = "adc120")]
2727 ADC120: crate::ADC120,
2728 #[cfg(feature = "adc121")]
2729 ADC121: crate::ADC121,
2730 #[cfg(feature = "dac12")]
2731 DAC12: crate::DAC12,
2732 #[cfg(feature = "glcdc")]
2733 GLCDC: crate::GLCDC,
2734 #[cfg(feature = "drw")]
2735 DRW: crate::DRW,
2736 #[cfg(feature = "sci0_b")]
2737 SCI0_B: crate::SCI0_B,
2738 #[cfg(feature = "sci1_b")]
2739 SCI1_B: crate::SCI1_B,
2740 #[cfg(feature = "sci2_b")]
2741 SCI2_B: crate::SCI2_B,
2742 #[cfg(feature = "sci3_b")]
2743 SCI3_B: crate::SCI3_B,
2744 #[cfg(feature = "sci4_b")]
2745 SCI4_B: crate::SCI4_B,
2746 #[cfg(feature = "sci9_b")]
2747 SCI9_B: crate::SCI9_B,
2748 #[cfg(feature = "spi0_b")]
2749 SPI0_B: crate::SPI0_B,
2750 #[cfg(feature = "spi1_b")]
2751 SPI1_B: crate::SPI1_B,
2752 #[cfg(feature = "eccmb0")]
2753 ECCMB0: crate::ECCMB0,
2754 #[cfg(feature = "eccmb1")]
2755 ECCMB1: crate::ECCMB1,
2756 #[cfg(feature = "canfd0")]
2757 CANFD0: crate::CANFD0,
2758 #[cfg(feature = "canfd1")]
2759 CANFD1: crate::CANFD1,
2760 #[cfg(feature = "port0")]
2761 PORT0: crate::PORT0,
2762 #[cfg(feature = "port1")]
2763 PORT1: crate::PORT1,
2764 #[cfg(feature = "port2")]
2765 PORT2: crate::PORT2,
2766 #[cfg(feature = "port3")]
2767 PORT3: crate::PORT3,
2768 #[cfg(feature = "port4")]
2769 PORT4: crate::PORT4,
2770 #[cfg(feature = "port5")]
2771 PORT5: crate::PORT5,
2772 #[cfg(feature = "port6")]
2773 PORT6: crate::PORT6,
2774 #[cfg(feature = "port7")]
2775 PORT7: crate::PORT7,
2776 #[cfg(feature = "port8")]
2777 PORT8: crate::PORT8,
2778 #[cfg(feature = "port9")]
2779 PORT9: crate::PORT9,
2780 #[cfg(feature = "porta")]
2781 PORTA: crate::PORTA,
2782 #[cfg(feature = "portb")]
2783 PORTB: crate::PORTB,
2784 #[cfg(feature = "pfs")]
2785 PFS: crate::PFS,
2786 #[cfg(feature = "rmpu_ns")]
2787 RMPU_NS: crate::RMPU_NS,
2788 #[cfg(feature = "sram_ns")]
2789 SRAM_NS: crate::SRAM_NS,
2790 #[cfg(feature = "bus_ns")]
2791 BUS_NS: crate::BUS_NS,
2792 #[cfg(feature = "icu_common_ns")]
2793 ICU_COMMON_NS: crate::ICU_COMMON_NS,
2794 #[cfg(feature = "cpscu_ns")]
2795 CPSCU_NS: crate::CPSCU_NS,
2796 #[cfg(feature = "dmac00_ns")]
2797 DMAC00_NS: crate::DMAC00_NS,
2798 #[cfg(feature = "dmac01_ns")]
2799 DMAC01_NS: crate::DMAC01_NS,
2800 #[cfg(feature = "dmac02_ns")]
2801 DMAC02_NS: crate::DMAC02_NS,
2802 #[cfg(feature = "dmac03_ns")]
2803 DMAC03_NS: crate::DMAC03_NS,
2804 #[cfg(feature = "dmac04_ns")]
2805 DMAC04_NS: crate::DMAC04_NS,
2806 #[cfg(feature = "dmac05_ns")]
2807 DMAC05_NS: crate::DMAC05_NS,
2808 #[cfg(feature = "dmac06_ns")]
2809 DMAC06_NS: crate::DMAC06_NS,
2810 #[cfg(feature = "dmac07_ns")]
2811 DMAC07_NS: crate::DMAC07_NS,
2812 #[cfg(feature = "dma0_ns")]
2813 DMA0_NS: crate::DMA0_NS,
2814 #[cfg(feature = "dtc0_ns")]
2815 DTC0_NS: crate::DTC0_NS,
2816 #[cfg(feature = "icu_ns")]
2817 ICU_NS: crate::ICU_NS,
2818 #[cfg(feature = "cpu_ctrl_ns")]
2819 CPU_CTRL_NS: crate::CPU_CTRL_NS,
2820 #[cfg(feature = "ocd_cpu_ns")]
2821 OCD_CPU_NS: crate::OCD_CPU_NS,
2822 #[cfg(feature = "cpu_dbg_ns")]
2823 CPU_DBG_NS: crate::CPU_DBG_NS,
2824 #[cfg(feature = "fcache_ns")]
2825 FCACHE_NS: crate::FCACHE_NS,
2826 #[cfg(feature = "sysc_ns")]
2827 SYSC_NS: crate::SYSC_NS,
2828 #[cfg(feature = "tsd_ns")]
2829 TSD_NS: crate::TSD_NS,
2830 #[cfg(feature = "flad_ns")]
2831 FLAD_NS: crate::FLAD_NS,
2832 #[cfg(feature = "faci_ns")]
2833 FACI_NS: crate::FACI_NS,
2834 #[cfg(feature = "elc_ns")]
2835 ELC_NS: crate::ELC_NS,
2836 #[cfg(feature = "rtc_ns")]
2837 RTC_NS: crate::RTC_NS,
2838 #[cfg(feature = "iwdt_ns")]
2839 IWDT_NS: crate::IWDT_NS,
2840 #[cfg(feature = "cac_ns")]
2841 CAC_NS: crate::CAC_NS,
2842 #[cfg(feature = "wdt0_ns")]
2843 WDT0_NS: crate::WDT0_NS,
2844 #[cfg(feature = "mstp_ns")]
2845 MSTP_NS: crate::MSTP_NS,
2846 #[cfg(feature = "pscu_ns")]
2847 PSCU_NS: crate::PSCU_NS,
2848 #[cfg(feature = "poeg_ns")]
2849 POEG_NS: crate::POEG_NS,
2850 #[cfg(feature = "ulpt0_ns")]
2851 ULPT0_NS: crate::ULPT0_NS,
2852 #[cfg(feature = "ulpt1_ns")]
2853 ULPT1_NS: crate::ULPT1_NS,
2854 #[cfg(feature = "agt0_ns")]
2855 AGT0_NS: crate::AGT0_NS,
2856 #[cfg(feature = "agt1_ns")]
2857 AGT1_NS: crate::AGT1_NS,
2858 #[cfg(feature = "tsn_ns")]
2859 TSN_NS: crate::TSN_NS,
2860 #[cfg(feature = "acmphs0_ns")]
2861 ACMPHS0_NS: crate::ACMPHS0_NS,
2862 #[cfg(feature = "acmphs1_ns")]
2863 ACMPHS1_NS: crate::ACMPHS1_NS,
2864 #[cfg(feature = "usbfs_ns")]
2865 USBFS_NS: crate::USBFS_NS,
2866 #[cfg(feature = "ssie0_ns")]
2867 SSIE0_NS: crate::SSIE0_NS,
2868 #[cfg(feature = "ssie1_ns")]
2869 SSIE1_NS: crate::SSIE1_NS,
2870 #[cfg(feature = "iic0_ns")]
2871 IIC0_NS: crate::IIC0_NS,
2872 #[cfg(feature = "iic0wu_ns")]
2873 IIC0WU_NS: crate::IIC0WU_NS,
2874 #[cfg(feature = "iic1_ns")]
2875 IIC1_NS: crate::IIC1_NS,
2876 #[cfg(feature = "ospi0_b_ns")]
2877 OSPI0_B_NS: crate::OSPI0_B_NS,
2878 #[cfg(feature = "crc_ns")]
2879 CRC_NS: crate::CRC_NS,
2880 #[cfg(feature = "doc_b_ns")]
2881 DOC_B_NS: crate::DOC_B_NS,
2882 #[cfg(feature = "gpt320_ns")]
2883 GPT320_NS: crate::GPT320_NS,
2884 #[cfg(feature = "gpt321_ns")]
2885 GPT321_NS: crate::GPT321_NS,
2886 #[cfg(feature = "gpt322_ns")]
2887 GPT322_NS: crate::GPT322_NS,
2888 #[cfg(feature = "gpt323_ns")]
2889 GPT323_NS: crate::GPT323_NS,
2890 #[cfg(feature = "gpt324_ns")]
2891 GPT324_NS: crate::GPT324_NS,
2892 #[cfg(feature = "gpt325_ns")]
2893 GPT325_NS: crate::GPT325_NS,
2894 #[cfg(feature = "gpt326_ns")]
2895 GPT326_NS: crate::GPT326_NS,
2896 #[cfg(feature = "gpt327_ns")]
2897 GPT327_NS: crate::GPT327_NS,
2898 #[cfg(feature = "gpt168_ns")]
2899 GPT168_NS: crate::GPT168_NS,
2900 #[cfg(feature = "gpt169_ns")]
2901 GPT169_NS: crate::GPT169_NS,
2902 #[cfg(feature = "gpt1610_ns")]
2903 GPT1610_NS: crate::GPT1610_NS,
2904 #[cfg(feature = "gpt1611_ns")]
2905 GPT1611_NS: crate::GPT1611_NS,
2906 #[cfg(feature = "gpt1612_ns")]
2907 GPT1612_NS: crate::GPT1612_NS,
2908 #[cfg(feature = "gpt1613_ns")]
2909 GPT1613_NS: crate::GPT1613_NS,
2910 #[cfg(feature = "adc120_ns")]
2911 ADC120_NS: crate::ADC120_NS,
2912 #[cfg(feature = "adc121_ns")]
2913 ADC121_NS: crate::ADC121_NS,
2914 #[cfg(feature = "dac12_ns")]
2915 DAC12_NS: crate::DAC12_NS,
2916 #[cfg(feature = "glcdc_ns")]
2917 GLCDC_NS: crate::GLCDC_NS,
2918 #[cfg(feature = "drw_ns")]
2919 DRW_NS: crate::DRW_NS,
2920 #[cfg(feature = "sci0_b_ns")]
2921 SCI0_B_NS: crate::SCI0_B_NS,
2922 #[cfg(feature = "sci1_b_ns")]
2923 SCI1_B_NS: crate::SCI1_B_NS,
2924 #[cfg(feature = "sci2_b_ns")]
2925 SCI2_B_NS: crate::SCI2_B_NS,
2926 #[cfg(feature = "sci3_b_ns")]
2927 SCI3_B_NS: crate::SCI3_B_NS,
2928 #[cfg(feature = "sci4_b_ns")]
2929 SCI4_B_NS: crate::SCI4_B_NS,
2930 #[cfg(feature = "sci9_b_ns")]
2931 SCI9_B_NS: crate::SCI9_B_NS,
2932 #[cfg(feature = "spi0_b_ns")]
2933 SPI0_B_NS: crate::SPI0_B_NS,
2934 #[cfg(feature = "spi1_b_ns")]
2935 SPI1_B_NS: crate::SPI1_B_NS,
2936 #[cfg(feature = "eccmb0_ns")]
2937 ECCMB0_NS: crate::ECCMB0_NS,
2938 #[cfg(feature = "eccmb1_ns")]
2939 ECCMB1_NS: crate::ECCMB1_NS,
2940 #[cfg(feature = "canfd0_ns")]
2941 CANFD0_NS: crate::CANFD0_NS,
2942 #[cfg(feature = "canfd1_ns")]
2943 CANFD1_NS: crate::CANFD1_NS,
2944 #[cfg(feature = "port0_ns")]
2945 PORT0_NS: crate::PORT0_NS,
2946 #[cfg(feature = "port1_ns")]
2947 PORT1_NS: crate::PORT1_NS,
2948 #[cfg(feature = "port2_ns")]
2949 PORT2_NS: crate::PORT2_NS,
2950 #[cfg(feature = "port3_ns")]
2951 PORT3_NS: crate::PORT3_NS,
2952 #[cfg(feature = "port4_ns")]
2953 PORT4_NS: crate::PORT4_NS,
2954 #[cfg(feature = "port5_ns")]
2955 PORT5_NS: crate::PORT5_NS,
2956 #[cfg(feature = "port6_ns")]
2957 PORT6_NS: crate::PORT6_NS,
2958 #[cfg(feature = "port7_ns")]
2959 PORT7_NS: crate::PORT7_NS,
2960 #[cfg(feature = "port8_ns")]
2961 PORT8_NS: crate::PORT8_NS,
2962 #[cfg(feature = "port9_ns")]
2963 PORT9_NS: crate::PORT9_NS,
2964 #[cfg(feature = "porta_ns")]
2965 PORTA_NS: crate::PORTA_NS,
2966 #[cfg(feature = "portb_ns")]
2967 PORTB_NS: crate::PORTB_NS,
2968 #[cfg(feature = "pfs_ns")]
2969 PFS_NS: crate::PFS_NS,
2970 }
2971 }
2972}