ra6m4/
rmpu.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - MMPU Operation After Detection Register"]
5    pub mmpuoad: MMPUOAD,
6    _reserved1: [u8; 0x02],
7    #[doc = "0x04 - MMPU Operation After Detection Protect Register"]
8    pub mmpuoadpt: MMPUOADPT,
9    _reserved2: [u8; 0xfa],
10    #[doc = "0x100 - MMPU Enable Register for DMAC"]
11    pub mmpuendmac: MMPUENDMAC,
12    _reserved3: [u8; 0x02],
13    #[doc = "0x104 - MMPU Enable Protect Register for DMAC"]
14    pub mmpuenptdmac: MMPUENPTDMAC,
15    _reserved4: [u8; 0x02],
16    #[doc = "0x108 - MMPU Regions Protect Register for DMAC"]
17    pub mmpurptdmac: MMPURPTDMAC,
18    _reserved5: [u8; 0x02],
19    #[doc = "0x10c - MMPU Regions Protect register for DMAC Secure"]
20    pub mmpurptdmac_sec: MMPURPTDMAC_SEC,
21    _reserved6: [u8; 0xf2],
22    #[doc = "0x200 - MMPU Access Control Register for DMAC"]
23    pub mmpuacdmac0: MMPUACDMAC,
24    _reserved7: [u8; 0x02],
25    #[doc = "0x204 - MMPU Start Address Register for DMAC"]
26    pub mmpusdmac0: MMPUSDMAC,
27    #[doc = "0x208 - MMPU End Address Register for DMAC"]
28    pub mmpuedmac0: MMPUEDMAC,
29    _reserved9: [u8; 0x04],
30    #[doc = "0x210 - MMPU Access Control Register for DMAC"]
31    pub mmpuacdmac1: MMPUACDMAC,
32    _reserved10: [u8; 0x02],
33    #[doc = "0x214 - MMPU Start Address Register for DMAC"]
34    pub mmpusdmac1: MMPUSDMAC,
35    #[doc = "0x218 - MMPU End Address Register for DMAC"]
36    pub mmpuedmac1: MMPUEDMAC,
37    _reserved12: [u8; 0x04],
38    #[doc = "0x220 - MMPU Access Control Register for DMAC"]
39    pub mmpuacdmac2: MMPUACDMAC,
40    _reserved13: [u8; 0x02],
41    #[doc = "0x224 - MMPU Start Address Register for DMAC"]
42    pub mmpusdmac2: MMPUSDMAC,
43    #[doc = "0x228 - MMPU End Address Register for DMAC"]
44    pub mmpuedmac2: MMPUEDMAC,
45    _reserved15: [u8; 0x04],
46    #[doc = "0x230 - MMPU Access Control Register for DMAC"]
47    pub mmpuacdmac3: MMPUACDMAC,
48    _reserved16: [u8; 0x02],
49    #[doc = "0x234 - MMPU Start Address Register for DMAC"]
50    pub mmpusdmac3: MMPUSDMAC,
51    #[doc = "0x238 - MMPU End Address Register for DMAC"]
52    pub mmpuedmac3: MMPUEDMAC,
53    _reserved18: [u8; 0x04],
54    #[doc = "0x240 - MMPU Access Control Register for DMAC"]
55    pub mmpuacdmac4: MMPUACDMAC,
56    _reserved19: [u8; 0x02],
57    #[doc = "0x244 - MMPU Start Address Register for DMAC"]
58    pub mmpusdmac4: MMPUSDMAC,
59    #[doc = "0x248 - MMPU End Address Register for DMAC"]
60    pub mmpuedmac4: MMPUEDMAC,
61    _reserved21: [u8; 0x04],
62    #[doc = "0x250 - MMPU Access Control Register for DMAC"]
63    pub mmpuacdmac5: MMPUACDMAC,
64    _reserved22: [u8; 0x02],
65    #[doc = "0x254 - MMPU Start Address Register for DMAC"]
66    pub mmpusdmac5: MMPUSDMAC,
67    #[doc = "0x258 - MMPU End Address Register for DMAC"]
68    pub mmpuedmac5: MMPUEDMAC,
69    _reserved24: [u8; 0x04],
70    #[doc = "0x260 - MMPU Access Control Register for DMAC"]
71    pub mmpuacdmac6: MMPUACDMAC,
72    _reserved25: [u8; 0x02],
73    #[doc = "0x264 - MMPU Start Address Register for DMAC"]
74    pub mmpusdmac6: MMPUSDMAC,
75    #[doc = "0x268 - MMPU End Address Register for DMAC"]
76    pub mmpuedmac6: MMPUEDMAC,
77    _reserved27: [u8; 0x04],
78    #[doc = "0x270 - MMPU Access Control Register for DMAC"]
79    pub mmpuacdmac7: MMPUACDMAC,
80    _reserved28: [u8; 0x02],
81    #[doc = "0x274 - MMPU Start Address Register for DMAC"]
82    pub mmpusdmac7: MMPUSDMAC,
83    #[doc = "0x278 - MMPU End Address Register for DMAC"]
84    pub mmpuedmac7: MMPUEDMAC,
85    _reserved30: [u8; 0x0284],
86    #[doc = "0x500 - MMPU Enable Register for EDMAC"]
87    pub mmpuenedmac: MMPUENEDMAC,
88    _reserved31: [u8; 0x02],
89    #[doc = "0x504 - MMPU Enable Protect Register for EDMAC"]
90    pub mmpuenptedmac: MMPUENPTEDMAC,
91    _reserved32: [u8; 0x02],
92    #[doc = "0x508 - MMPU Regions Protect Register for EDMAC"]
93    pub mmpurptedmac: MMPURPTEDMAC,
94    _reserved33: [u8; 0xf6],
95    #[doc = "0x600 - MMPU Access Control Register for EDMAC"]
96    pub mmpuacedmac0: MMPUACEDMAC,
97    _reserved34: [u8; 0x02],
98    #[doc = "0x604 - MMPU Start Address Register for EDMAC"]
99    pub mmpusedmac0: MMPUSEDMAC,
100    #[doc = "0x608 - MMPU End Address Register for EDMAC"]
101    pub mmpueedmac0: MMPUEEDMAC,
102    _reserved36: [u8; 0x04],
103    #[doc = "0x610 - MMPU Access Control Register for EDMAC"]
104    pub mmpuacedmac1: MMPUACEDMAC,
105    _reserved37: [u8; 0x02],
106    #[doc = "0x614 - MMPU Start Address Register for EDMAC"]
107    pub mmpusedmac1: MMPUSEDMAC,
108    #[doc = "0x618 - MMPU End Address Register for EDMAC"]
109    pub mmpueedmac1: MMPUEEDMAC,
110    _reserved39: [u8; 0x04],
111    #[doc = "0x620 - MMPU Access Control Register for EDMAC"]
112    pub mmpuacedmac2: MMPUACEDMAC,
113    _reserved40: [u8; 0x02],
114    #[doc = "0x624 - MMPU Start Address Register for EDMAC"]
115    pub mmpusedmac2: MMPUSEDMAC,
116    #[doc = "0x628 - MMPU End Address Register for EDMAC"]
117    pub mmpueedmac2: MMPUEEDMAC,
118    _reserved42: [u8; 0x04],
119    #[doc = "0x630 - MMPU Access Control Register for EDMAC"]
120    pub mmpuacedmac3: MMPUACEDMAC,
121    _reserved43: [u8; 0x02],
122    #[doc = "0x634 - MMPU Start Address Register for EDMAC"]
123    pub mmpusedmac3: MMPUSEDMAC,
124    #[doc = "0x638 - MMPU End Address Register for EDMAC"]
125    pub mmpueedmac3: MMPUEEDMAC,
126    _reserved45: [u8; 0x06c4],
127    #[doc = "0xd00 - Stack Pointer Monitor Operation After Detection Register"]
128    pub mspmpuoad: MSPMPUOAD,
129    _reserved46: [u8; 0x02],
130    #[doc = "0xd04 - Stack Pointer Monitor Access Control Register"]
131    pub mspmpuctl: MSPMPUCTL,
132    #[doc = "0xd06 - Stack Pointer Monitor Protection Register"]
133    pub mspmpupt: MSPMPUPT,
134    #[doc = "0xd08 - Main Stack Pointer (MSP) Monitor Start Address Register"]
135    pub mspmpusa: MSPMPUSA,
136    #[doc = "0xd0c - Main Stack Pointer (MSP) Monitor End Address Register"]
137    pub mspmpuea: MSPMPUEA,
138    #[doc = "0xd10 - Stack Pointer Monitor Operation After Detection Register"]
139    pub pspmpuoad: PSPMPUOAD,
140    _reserved51: [u8; 0x02],
141    #[doc = "0xd14 - Stack Pointer Monitor Access Control Register"]
142    pub pspmpuctl: PSPMPUCTL,
143    #[doc = "0xd16 - Stack Pointer Monitor Protection Register"]
144    pub pspmpupt: PSPMPUPT,
145    #[doc = "0xd18 - Process Stack Pointer (PSP) Monitor Start Address Register"]
146    pub pspmpusa: PSPMPUSA,
147    #[doc = "0xd1c - Process Stack Pointer (PSP) Monitor End Address Register"]
148    pub pspmpuea: PSPMPUEA,
149}
150#[doc = "MMPUOAD (rw) register accessor: an alias for `Reg<MMPUOAD_SPEC>`"]
151pub type MMPUOAD = crate::Reg<mmpuoad::MMPUOAD_SPEC>;
152#[doc = "MMPU Operation After Detection Register"]
153pub mod mmpuoad;
154#[doc = "MMPUOADPT (rw) register accessor: an alias for `Reg<MMPUOADPT_SPEC>`"]
155pub type MMPUOADPT = crate::Reg<mmpuoadpt::MMPUOADPT_SPEC>;
156#[doc = "MMPU Operation After Detection Protect Register"]
157pub mod mmpuoadpt;
158#[doc = "MMPUENDMAC (rw) register accessor: an alias for `Reg<MMPUENDMAC_SPEC>`"]
159pub type MMPUENDMAC = crate::Reg<mmpuendmac::MMPUENDMAC_SPEC>;
160#[doc = "MMPU Enable Register for DMAC"]
161pub mod mmpuendmac;
162#[doc = "MMPUENPTDMAC (rw) register accessor: an alias for `Reg<MMPUENPTDMAC_SPEC>`"]
163pub type MMPUENPTDMAC = crate::Reg<mmpuenptdmac::MMPUENPTDMAC_SPEC>;
164#[doc = "MMPU Enable Protect Register for DMAC"]
165pub mod mmpuenptdmac;
166#[doc = "MMPURPTDMAC (rw) register accessor: an alias for `Reg<MMPURPTDMAC_SPEC>`"]
167pub type MMPURPTDMAC = crate::Reg<mmpurptdmac::MMPURPTDMAC_SPEC>;
168#[doc = "MMPU Regions Protect Register for DMAC"]
169pub mod mmpurptdmac;
170#[doc = "MMPURPTDMAC_SEC (rw) register accessor: an alias for `Reg<MMPURPTDMAC_SEC_SPEC>`"]
171pub type MMPURPTDMAC_SEC = crate::Reg<mmpurptdmac_sec::MMPURPTDMAC_SEC_SPEC>;
172#[doc = "MMPU Regions Protect register for DMAC Secure"]
173pub mod mmpurptdmac_sec;
174#[doc = "MMPUACDMAC (rw) register accessor: an alias for `Reg<MMPUACDMAC_SPEC>`"]
175pub type MMPUACDMAC = crate::Reg<mmpuacdmac::MMPUACDMAC_SPEC>;
176#[doc = "MMPU Access Control Register for DMAC"]
177pub mod mmpuacdmac;
178#[doc = "MMPUSDMAC (rw) register accessor: an alias for `Reg<MMPUSDMAC_SPEC>`"]
179pub type MMPUSDMAC = crate::Reg<mmpusdmac::MMPUSDMAC_SPEC>;
180#[doc = "MMPU Start Address Register for DMAC"]
181pub mod mmpusdmac;
182#[doc = "MMPUEDMAC (rw) register accessor: an alias for `Reg<MMPUEDMAC_SPEC>`"]
183pub type MMPUEDMAC = crate::Reg<mmpuedmac::MMPUEDMAC_SPEC>;
184#[doc = "MMPU End Address Register for DMAC"]
185pub mod mmpuedmac;
186#[doc = "MMPUENEDMAC (rw) register accessor: an alias for `Reg<MMPUENEDMAC_SPEC>`"]
187pub type MMPUENEDMAC = crate::Reg<mmpuenedmac::MMPUENEDMAC_SPEC>;
188#[doc = "MMPU Enable Register for EDMAC"]
189pub mod mmpuenedmac;
190#[doc = "MMPUENPTEDMAC (rw) register accessor: an alias for `Reg<MMPUENPTEDMAC_SPEC>`"]
191pub type MMPUENPTEDMAC = crate::Reg<mmpuenptedmac::MMPUENPTEDMAC_SPEC>;
192#[doc = "MMPU Enable Protect Register for EDMAC"]
193pub mod mmpuenptedmac;
194#[doc = "MMPURPTEDMAC (rw) register accessor: an alias for `Reg<MMPURPTEDMAC_SPEC>`"]
195pub type MMPURPTEDMAC = crate::Reg<mmpurptedmac::MMPURPTEDMAC_SPEC>;
196#[doc = "MMPU Regions Protect Register for EDMAC"]
197pub mod mmpurptedmac;
198#[doc = "MMPUACEDMAC (rw) register accessor: an alias for `Reg<MMPUACEDMAC_SPEC>`"]
199pub type MMPUACEDMAC = crate::Reg<mmpuacedmac::MMPUACEDMAC_SPEC>;
200#[doc = "MMPU Access Control Register for EDMAC"]
201pub mod mmpuacedmac;
202#[doc = "MMPUSEDMAC (rw) register accessor: an alias for `Reg<MMPUSEDMAC_SPEC>`"]
203pub type MMPUSEDMAC = crate::Reg<mmpusedmac::MMPUSEDMAC_SPEC>;
204#[doc = "MMPU Start Address Register for EDMAC"]
205pub mod mmpusedmac;
206#[doc = "MMPUEEDMAC (rw) register accessor: an alias for `Reg<MMPUEEDMAC_SPEC>`"]
207pub type MMPUEEDMAC = crate::Reg<mmpueedmac::MMPUEEDMAC_SPEC>;
208#[doc = "MMPU End Address Register for EDMAC"]
209pub mod mmpueedmac;
210#[doc = "MSPMPUOAD (rw) register accessor: an alias for `Reg<MSPMPUOAD_SPEC>`"]
211pub type MSPMPUOAD = crate::Reg<mspmpuoad::MSPMPUOAD_SPEC>;
212#[doc = "Stack Pointer Monitor Operation After Detection Register"]
213pub mod mspmpuoad;
214#[doc = "MSPMPUCTL (rw) register accessor: an alias for `Reg<MSPMPUCTL_SPEC>`"]
215pub type MSPMPUCTL = crate::Reg<mspmpuctl::MSPMPUCTL_SPEC>;
216#[doc = "Stack Pointer Monitor Access Control Register"]
217pub mod mspmpuctl;
218#[doc = "MSPMPUPT (rw) register accessor: an alias for `Reg<MSPMPUPT_SPEC>`"]
219pub type MSPMPUPT = crate::Reg<mspmpupt::MSPMPUPT_SPEC>;
220#[doc = "Stack Pointer Monitor Protection Register"]
221pub mod mspmpupt;
222#[doc = "MSPMPUSA (rw) register accessor: an alias for `Reg<MSPMPUSA_SPEC>`"]
223pub type MSPMPUSA = crate::Reg<mspmpusa::MSPMPUSA_SPEC>;
224#[doc = "Main Stack Pointer (MSP) Monitor Start Address Register"]
225pub mod mspmpusa;
226#[doc = "MSPMPUEA (rw) register accessor: an alias for `Reg<MSPMPUEA_SPEC>`"]
227pub type MSPMPUEA = crate::Reg<mspmpuea::MSPMPUEA_SPEC>;
228#[doc = "Main Stack Pointer (MSP) Monitor End Address Register"]
229pub mod mspmpuea;
230#[doc = "PSPMPUOAD (rw) register accessor: an alias for `Reg<PSPMPUOAD_SPEC>`"]
231pub type PSPMPUOAD = crate::Reg<pspmpuoad::PSPMPUOAD_SPEC>;
232#[doc = "Stack Pointer Monitor Operation After Detection Register"]
233pub mod pspmpuoad;
234#[doc = "PSPMPUCTL (rw) register accessor: an alias for `Reg<PSPMPUCTL_SPEC>`"]
235pub type PSPMPUCTL = crate::Reg<pspmpuctl::PSPMPUCTL_SPEC>;
236#[doc = "Stack Pointer Monitor Access Control Register"]
237pub mod pspmpuctl;
238#[doc = "PSPMPUPT (rw) register accessor: an alias for `Reg<PSPMPUPT_SPEC>`"]
239pub type PSPMPUPT = crate::Reg<pspmpupt::PSPMPUPT_SPEC>;
240#[doc = "Stack Pointer Monitor Protection Register"]
241pub mod pspmpupt;
242#[doc = "PSPMPUSA (rw) register accessor: an alias for `Reg<PSPMPUSA_SPEC>`"]
243pub type PSPMPUSA = crate::Reg<pspmpusa::PSPMPUSA_SPEC>;
244#[doc = "Process Stack Pointer (PSP) Monitor Start Address Register"]
245pub mod pspmpusa;
246#[doc = "PSPMPUEA (rw) register accessor: an alias for `Reg<PSPMPUEA_SPEC>`"]
247pub type PSPMPUEA = crate::Reg<pspmpuea::PSPMPUEA_SPEC>;
248#[doc = "Process Stack Pointer (PSP) Monitor End Address Register"]
249pub mod pspmpuea;