1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x78],
5 #[doc = "0x78 - Enable constant latency mode"]
6 pub tasks_constlat: TASKS_CONSTLAT,
7 #[doc = "0x7c - Enable low power mode (variable latency)"]
8 pub tasks_lowpwr: TASKS_LOWPWR,
9 _reserved2: [u8; 0x88],
10 #[doc = "0x108 - Power failure warning"]
11 pub events_pofwarn: EVENTS_POFWARN,
12 _reserved3: [u8; 0x08],
13 #[doc = "0x114 - CPU entered WFI/WFE sleep"]
14 pub events_sleepenter: EVENTS_SLEEPENTER,
15 #[doc = "0x118 - CPU exited WFI/WFE sleep"]
16 pub events_sleepexit: EVENTS_SLEEPEXIT,
17 _reserved5: [u8; 0x01e8],
18 #[doc = "0x304 - Enable interrupt"]
19 pub intenset: INTENSET,
20 #[doc = "0x308 - Disable interrupt"]
21 pub intenclr: INTENCLR,
22 _reserved7: [u8; 0xf4],
23 #[doc = "0x400 - Reset reason"]
24 pub resetreas: RESETREAS,
25 _reserved8: [u8; 0x24],
26 #[doc = "0x428 - Deprecated register - RAM status register"]
27 pub ramstatus: RAMSTATUS,
28 _reserved9: [u8; 0xd4],
29 #[doc = "0x500 - System OFF register"]
30 pub systemoff: SYSTEMOFF,
31 _reserved10: [u8; 0x0c],
32 #[doc = "0x510 - Power failure comparator configuration"]
33 pub pofcon: POFCON,
34 _reserved11: [u8; 0x08],
35 #[doc = "0x51c - General purpose retention register"]
36 pub gpregret: GPREGRET,
37 #[doc = "0x520 - General purpose retention register"]
38 pub gpregret2: GPREGRET2,
39 #[doc = "0x524 - Deprecated register - RAM on/off register (this register is retained)"]
40 pub ramon: RAMON,
41 _reserved14: [u8; 0x2c],
42 #[doc = "0x554 - Deprecated register - RAM on/off register (this register is retained)"]
43 pub ramonb: RAMONB,
44 _reserved15: [u8; 0x20],
45 #[doc = "0x578 - DC/DC enable register"]
46 pub dcdcen: DCDCEN,
47 _reserved16: [u8; 0x0384],
48 #[doc = "0x900..0x90c - Unspecified"]
49 pub ram0: RAM,
50 _reserved17: [u8; 0x04],
51 #[doc = "0x910..0x91c - Unspecified"]
52 pub ram1: RAM,
53 _reserved18: [u8; 0x04],
54 #[doc = "0x920..0x92c - Unspecified"]
55 pub ram2: RAM,
56 _reserved19: [u8; 0x04],
57 #[doc = "0x930..0x93c - Unspecified"]
58 pub ram3: RAM,
59 _reserved20: [u8; 0x04],
60 #[doc = "0x940..0x94c - Unspecified"]
61 pub ram4: RAM,
62 _reserved21: [u8; 0x04],
63 #[doc = "0x950..0x95c - Unspecified"]
64 pub ram5: RAM,
65 _reserved22: [u8; 0x04],
66 #[doc = "0x960..0x96c - Unspecified"]
67 pub ram6: RAM,
68 _reserved23: [u8; 0x04],
69 #[doc = "0x970..0x97c - Unspecified"]
70 pub ram7: RAM,
71}
72#[doc = "TASKS_CONSTLAT (w) register accessor: an alias for `Reg<TASKS_CONSTLAT_SPEC>`"]
73pub type TASKS_CONSTLAT = crate::Reg<tasks_constlat::TASKS_CONSTLAT_SPEC>;
74#[doc = "Enable constant latency mode"]
75pub mod tasks_constlat;
76#[doc = "TASKS_LOWPWR (w) register accessor: an alias for `Reg<TASKS_LOWPWR_SPEC>`"]
77pub type TASKS_LOWPWR = crate::Reg<tasks_lowpwr::TASKS_LOWPWR_SPEC>;
78#[doc = "Enable low power mode (variable latency)"]
79pub mod tasks_lowpwr;
80#[doc = "EVENTS_POFWARN (rw) register accessor: an alias for `Reg<EVENTS_POFWARN_SPEC>`"]
81pub type EVENTS_POFWARN = crate::Reg<events_pofwarn::EVENTS_POFWARN_SPEC>;
82#[doc = "Power failure warning"]
83pub mod events_pofwarn;
84#[doc = "EVENTS_SLEEPENTER (rw) register accessor: an alias for `Reg<EVENTS_SLEEPENTER_SPEC>`"]
85pub type EVENTS_SLEEPENTER = crate::Reg<events_sleepenter::EVENTS_SLEEPENTER_SPEC>;
86#[doc = "CPU entered WFI/WFE sleep"]
87pub mod events_sleepenter;
88#[doc = "EVENTS_SLEEPEXIT (rw) register accessor: an alias for `Reg<EVENTS_SLEEPEXIT_SPEC>`"]
89pub type EVENTS_SLEEPEXIT = crate::Reg<events_sleepexit::EVENTS_SLEEPEXIT_SPEC>;
90#[doc = "CPU exited WFI/WFE sleep"]
91pub mod events_sleepexit;
92#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
93pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
94#[doc = "Enable interrupt"]
95pub mod intenset;
96#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
97pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
98#[doc = "Disable interrupt"]
99pub mod intenclr;
100#[doc = "RESETREAS (rw) register accessor: an alias for `Reg<RESETREAS_SPEC>`"]
101pub type RESETREAS = crate::Reg<resetreas::RESETREAS_SPEC>;
102#[doc = "Reset reason"]
103pub mod resetreas;
104#[doc = "RAMSTATUS (r) register accessor: an alias for `Reg<RAMSTATUS_SPEC>`"]
105pub type RAMSTATUS = crate::Reg<ramstatus::RAMSTATUS_SPEC>;
106#[doc = "Deprecated register - RAM status register"]
107pub mod ramstatus;
108#[doc = "SYSTEMOFF (w) register accessor: an alias for `Reg<SYSTEMOFF_SPEC>`"]
109pub type SYSTEMOFF = crate::Reg<systemoff::SYSTEMOFF_SPEC>;
110#[doc = "System OFF register"]
111pub mod systemoff;
112#[doc = "POFCON (rw) register accessor: an alias for `Reg<POFCON_SPEC>`"]
113pub type POFCON = crate::Reg<pofcon::POFCON_SPEC>;
114#[doc = "Power failure comparator configuration"]
115pub mod pofcon;
116#[doc = "GPREGRET (rw) register accessor: an alias for `Reg<GPREGRET_SPEC>`"]
117pub type GPREGRET = crate::Reg<gpregret::GPREGRET_SPEC>;
118#[doc = "General purpose retention register"]
119pub mod gpregret;
120#[doc = "GPREGRET2 (rw) register accessor: an alias for `Reg<GPREGRET2_SPEC>`"]
121pub type GPREGRET2 = crate::Reg<gpregret2::GPREGRET2_SPEC>;
122#[doc = "General purpose retention register"]
123pub mod gpregret2;
124#[doc = "RAMON (rw) register accessor: an alias for `Reg<RAMON_SPEC>`"]
125pub type RAMON = crate::Reg<ramon::RAMON_SPEC>;
126#[doc = "Deprecated register - RAM on/off register (this register is retained)"]
127pub mod ramon;
128#[doc = "RAMONB (rw) register accessor: an alias for `Reg<RAMONB_SPEC>`"]
129pub type RAMONB = crate::Reg<ramonb::RAMONB_SPEC>;
130#[doc = "Deprecated register - RAM on/off register (this register is retained)"]
131pub mod ramonb;
132#[doc = "DCDCEN (rw) register accessor: an alias for `Reg<DCDCEN_SPEC>`"]
133pub type DCDCEN = crate::Reg<dcdcen::DCDCEN_SPEC>;
134#[doc = "DC/DC enable register"]
135pub mod dcdcen;
136#[doc = "Unspecified"]
137pub use ram::RAM;
138#[doc = r"Cluster"]
139#[doc = "Unspecified"]
140pub mod ram;