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