1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x0100],
5 #[doc = "0x100 - A security violation has been detected for the RAM memory space"]
6 pub events_ramaccerr: EVENTS_RAMACCERR,
7 #[doc = "0x104 - A security violation has been detected for the flash memory space"]
8 pub events_flashaccerr: EVENTS_FLASHACCERR,
9 #[doc = "0x108 - A security violation has been detected on one or several peripherals"]
10 pub events_periphaccerr: EVENTS_PERIPHACCERR,
11 _reserved3: [u8; 0x74],
12 #[doc = "0x180 - Publish configuration for event RAMACCERR"]
13 pub publish_ramaccerr: PUBLISH_RAMACCERR,
14 #[doc = "0x184 - Publish configuration for event FLASHACCERR"]
15 pub publish_flashaccerr: PUBLISH_FLASHACCERR,
16 #[doc = "0x188 - Publish configuration for event PERIPHACCERR"]
17 pub publish_periphaccerr: PUBLISH_PERIPHACCERR,
18 _reserved6: [u8; 0x0174],
19 #[doc = "0x300 - Enable or disable interrupt"]
20 pub inten: INTEN,
21 #[doc = "0x304 - Enable interrupt"]
22 pub intenset: INTENSET,
23 #[doc = "0x308 - Disable interrupt"]
24 pub intenclr: INTENCLR,
25 _reserved9: [u8; 0xf4],
26 #[doc = "0x400 - Show implemented features for the current device"]
27 pub cap: CAP,
28 #[doc = "0x404 - Configure bits to lock down CPU features at runtime"]
29 pub cpulock: CPULOCK,
30 _reserved11: [u8; 0x38],
31 #[doc = "0x440 - Unspecified"]
32 pub extdomain: [EXTDOMAIN; 1],
33 _reserved12: [u8; 0x3c],
34 #[doc = "0x480..0x488 - Unspecified"]
35 pub dppi: [DPPI; 1],
36 _reserved13: [u8; 0x38],
37 #[doc = "0x4c0..0x4d0 - Unspecified"]
38 pub gpioport: [GPIOPORT; 2],
39 _reserved14: [u8; 0x30],
40 #[doc = "0x500..0x510 - Unspecified"]
41 pub flashnsc: [FLASHNSC; 2],
42 _reserved15: [u8; 0x30],
43 #[doc = "0x540..0x550 - Unspecified"]
44 pub ramnsc: [RAMNSC; 2],
45 _reserved16: [u8; 0xb0],
46 #[doc = "0x600..0x700 - Unspecified"]
47 pub flashregion: [FLASHREGION; 64],
48 #[doc = "0x700..0x800 - Unspecified"]
49 pub ramregion: [RAMREGION; 64],
50 #[doc = "0x800..0xc00 - Unspecified"]
51 pub periphid: [PERIPHID; 256],
52}
53#[doc = "EVENTS_RAMACCERR (rw) register accessor: an alias for `Reg<EVENTS_RAMACCERR_SPEC>`"]
54pub type EVENTS_RAMACCERR = crate::Reg<events_ramaccerr::EVENTS_RAMACCERR_SPEC>;
55#[doc = "A security violation has been detected for the RAM memory space"]
56pub mod events_ramaccerr;
57#[doc = "EVENTS_FLASHACCERR (rw) register accessor: an alias for `Reg<EVENTS_FLASHACCERR_SPEC>`"]
58pub type EVENTS_FLASHACCERR = crate::Reg<events_flashaccerr::EVENTS_FLASHACCERR_SPEC>;
59#[doc = "A security violation has been detected for the flash memory space"]
60pub mod events_flashaccerr;
61#[doc = "EVENTS_PERIPHACCERR (rw) register accessor: an alias for `Reg<EVENTS_PERIPHACCERR_SPEC>`"]
62pub type EVENTS_PERIPHACCERR = crate::Reg<events_periphaccerr::EVENTS_PERIPHACCERR_SPEC>;
63#[doc = "A security violation has been detected on one or several peripherals"]
64pub mod events_periphaccerr;
65#[doc = "PUBLISH_RAMACCERR (rw) register accessor: an alias for `Reg<PUBLISH_RAMACCERR_SPEC>`"]
66pub type PUBLISH_RAMACCERR = crate::Reg<publish_ramaccerr::PUBLISH_RAMACCERR_SPEC>;
67#[doc = "Publish configuration for event RAMACCERR"]
68pub mod publish_ramaccerr;
69#[doc = "PUBLISH_FLASHACCERR (rw) register accessor: an alias for `Reg<PUBLISH_FLASHACCERR_SPEC>`"]
70pub type PUBLISH_FLASHACCERR = crate::Reg<publish_flashaccerr::PUBLISH_FLASHACCERR_SPEC>;
71#[doc = "Publish configuration for event FLASHACCERR"]
72pub mod publish_flashaccerr;
73#[doc = "PUBLISH_PERIPHACCERR (rw) register accessor: an alias for `Reg<PUBLISH_PERIPHACCERR_SPEC>`"]
74pub type PUBLISH_PERIPHACCERR = crate::Reg<publish_periphaccerr::PUBLISH_PERIPHACCERR_SPEC>;
75#[doc = "Publish configuration for event PERIPHACCERR"]
76pub mod publish_periphaccerr;
77#[doc = "INTEN (rw) register accessor: an alias for `Reg<INTEN_SPEC>`"]
78pub type INTEN = crate::Reg<inten::INTEN_SPEC>;
79#[doc = "Enable or disable interrupt"]
80pub mod inten;
81#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
82pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
83#[doc = "Enable interrupt"]
84pub mod intenset;
85#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
86pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
87#[doc = "Disable interrupt"]
88pub mod intenclr;
89#[doc = "CAP (r) register accessor: an alias for `Reg<CAP_SPEC>`"]
90pub type CAP = crate::Reg<cap::CAP_SPEC>;
91#[doc = "Show implemented features for the current device"]
92pub mod cap;
93#[doc = "CPULOCK (rw) register accessor: an alias for `Reg<CPULOCK_SPEC>`"]
94pub type CPULOCK = crate::Reg<cpulock::CPULOCK_SPEC>;
95#[doc = "Configure bits to lock down CPU features at runtime"]
96pub mod cpulock;
97#[doc = "Unspecified"]
98pub use extdomain::EXTDOMAIN;
99#[doc = r"Cluster"]
100#[doc = "Unspecified"]
101pub mod extdomain;
102#[doc = "Unspecified"]
103pub use dppi::DPPI;
104#[doc = r"Cluster"]
105#[doc = "Unspecified"]
106pub mod dppi;
107#[doc = "Unspecified"]
108pub use gpioport::GPIOPORT;
109#[doc = r"Cluster"]
110#[doc = "Unspecified"]
111pub mod gpioport;
112#[doc = "Unspecified"]
113pub use flashnsc::FLASHNSC;
114#[doc = r"Cluster"]
115#[doc = "Unspecified"]
116pub mod flashnsc;
117#[doc = "Unspecified"]
118pub use ramnsc::RAMNSC;
119#[doc = r"Cluster"]
120#[doc = "Unspecified"]
121pub mod ramnsc;
122#[doc = "Unspecified"]
123pub use flashregion::FLASHREGION;
124#[doc = r"Cluster"]
125#[doc = "Unspecified"]
126pub mod flashregion;
127#[doc = "Unspecified"]
128pub use ramregion::RAMREGION;
129#[doc = r"Cluster"]
130#[doc = "Unspecified"]
131pub mod ramregion;
132#[doc = "Unspecified"]
133pub use periphid::PERIPHID;
134#[doc = r"Cluster"]
135#[doc = "Unspecified"]
136pub mod periphid;