nrf9160_pac/
spu_s.rs

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    _reserved10: [u8; 0x3c],
29    #[doc = "0x440 - Unspecified"]
30    pub extdomain: [EXTDOMAIN; 1],
31    _reserved11: [u8; 0x3c],
32    #[doc = "0x480..0x488 - Unspecified"]
33    pub dppi: [DPPI; 1],
34    _reserved12: [u8; 0x38],
35    #[doc = "0x4c0..0x4c8 - Unspecified"]
36    pub gpioport: [GPIOPORT; 1],
37    _reserved13: [u8; 0x38],
38    #[doc = "0x500..0x510 - Unspecified"]
39    pub flashnsc: [FLASHNSC; 2],
40    _reserved14: [u8; 0x30],
41    #[doc = "0x540..0x550 - Unspecified"]
42    pub ramnsc: [RAMNSC; 2],
43    _reserved15: [u8; 0xb0],
44    #[doc = "0x600..0x680 - Unspecified"]
45    pub flashregion: [FLASHREGION; 32],
46    _reserved16: [u8; 0x80],
47    #[doc = "0x700..0x780 - Unspecified"]
48    pub ramregion: [RAMREGION; 32],
49    _reserved17: [u8; 0x80],
50    #[doc = "0x800..0x90c - Unspecified"]
51    pub periphid: [PERIPHID; 67],
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 = "Unspecified"]
94pub use extdomain::EXTDOMAIN;
95#[doc = r"Cluster"]
96#[doc = "Unspecified"]
97pub mod extdomain;
98#[doc = "Unspecified"]
99pub use dppi::DPPI;
100#[doc = r"Cluster"]
101#[doc = "Unspecified"]
102pub mod dppi;
103#[doc = "Unspecified"]
104pub use gpioport::GPIOPORT;
105#[doc = r"Cluster"]
106#[doc = "Unspecified"]
107pub mod gpioport;
108#[doc = "Unspecified"]
109pub use flashnsc::FLASHNSC;
110#[doc = r"Cluster"]
111#[doc = "Unspecified"]
112pub mod flashnsc;
113#[doc = "Unspecified"]
114pub use ramnsc::RAMNSC;
115#[doc = r"Cluster"]
116#[doc = "Unspecified"]
117pub mod ramnsc;
118#[doc = "Unspecified"]
119pub use flashregion::FLASHREGION;
120#[doc = r"Cluster"]
121#[doc = "Unspecified"]
122pub mod flashregion;
123#[doc = "Unspecified"]
124pub use ramregion::RAMREGION;
125#[doc = r"Cluster"]
126#[doc = "Unspecified"]
127pub mod ramregion;
128#[doc = "Unspecified"]
129pub use periphid::PERIPHID;
130#[doc = r"Cluster"]
131#[doc = "Unspecified"]
132pub mod periphid;