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; 0xfc],
26 #[doc = "0x500 - System OFF register"]
27 pub systemoff: SYSTEMOFF,
28 _reserved9: [u8; 0x0c],
29 #[doc = "0x510 - Power failure comparator configuration"]
30 pub pofcon: POFCON,
31 _reserved10: [u8; 0x08],
32 #[doc = "0x51c - General purpose retention register"]
33 pub gpregret: GPREGRET,
34 #[doc = "0x520 - General purpose retention register"]
35 pub gpregret2: GPREGRET2,
36 _reserved12: [u8; 0x54],
37 #[doc = "0x578 - DC/DC enable register"]
38 pub dcdcen: DCDCEN,
39 _reserved13: [u8; 0x0384],
40 #[doc = "0x900..0x90c - Unspecified"]
41 pub ram0: RAM,
42 _reserved14: [u8; 0x04],
43 #[doc = "0x910..0x91c - Unspecified"]
44 pub ram1: RAM,
45 _reserved15: [u8; 0x04],
46 #[doc = "0x920..0x92c - Unspecified"]
47 pub ram2: RAM,
48 _reserved16: [u8; 0x04],
49 #[doc = "0x930..0x93c - Unspecified"]
50 pub ram3: RAM,
51 _reserved17: [u8; 0x04],
52 #[doc = "0x940..0x94c - Unspecified"]
53 pub ram4: RAM,
54 _reserved18: [u8; 0x04],
55 #[doc = "0x950..0x95c - Unspecified"]
56 pub ram5: RAM,
57 _reserved19: [u8; 0x04],
58 #[doc = "0x960..0x96c - Unspecified"]
59 pub ram6: RAM,
60 _reserved20: [u8; 0x04],
61 #[doc = "0x970..0x97c - Unspecified"]
62 pub ram7: RAM,
63}
64#[doc = "TASKS_CONSTLAT (w) register accessor: an alias for `Reg<TASKS_CONSTLAT_SPEC>`"]
65pub type TASKS_CONSTLAT = crate::Reg<tasks_constlat::TASKS_CONSTLAT_SPEC>;
66#[doc = "Enable Constant Latency mode"]
67pub mod tasks_constlat;
68#[doc = "TASKS_LOWPWR (w) register accessor: an alias for `Reg<TASKS_LOWPWR_SPEC>`"]
69pub type TASKS_LOWPWR = crate::Reg<tasks_lowpwr::TASKS_LOWPWR_SPEC>;
70#[doc = "Enable Low-power mode (variable latency)"]
71pub mod tasks_lowpwr;
72#[doc = "EVENTS_POFWARN (rw) register accessor: an alias for `Reg<EVENTS_POFWARN_SPEC>`"]
73pub type EVENTS_POFWARN = crate::Reg<events_pofwarn::EVENTS_POFWARN_SPEC>;
74#[doc = "Power failure warning"]
75pub mod events_pofwarn;
76#[doc = "EVENTS_SLEEPENTER (rw) register accessor: an alias for `Reg<EVENTS_SLEEPENTER_SPEC>`"]
77pub type EVENTS_SLEEPENTER = crate::Reg<events_sleepenter::EVENTS_SLEEPENTER_SPEC>;
78#[doc = "CPU entered WFI/WFE sleep"]
79pub mod events_sleepenter;
80#[doc = "EVENTS_SLEEPEXIT (rw) register accessor: an alias for `Reg<EVENTS_SLEEPEXIT_SPEC>`"]
81pub type EVENTS_SLEEPEXIT = crate::Reg<events_sleepexit::EVENTS_SLEEPEXIT_SPEC>;
82#[doc = "CPU exited WFI/WFE sleep"]
83pub mod events_sleepexit;
84#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
85pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
86#[doc = "Enable interrupt"]
87pub mod intenset;
88#[doc = "INTENCLR (rw) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
89pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
90#[doc = "Disable interrupt"]
91pub mod intenclr;
92#[doc = "RESETREAS (rw) register accessor: an alias for `Reg<RESETREAS_SPEC>`"]
93pub type RESETREAS = crate::Reg<resetreas::RESETREAS_SPEC>;
94#[doc = "Reset reason"]
95pub mod resetreas;
96#[doc = "SYSTEMOFF (w) register accessor: an alias for `Reg<SYSTEMOFF_SPEC>`"]
97pub type SYSTEMOFF = crate::Reg<systemoff::SYSTEMOFF_SPEC>;
98#[doc = "System OFF register"]
99pub mod systemoff;
100#[doc = "POFCON (rw) register accessor: an alias for `Reg<POFCON_SPEC>`"]
101pub type POFCON = crate::Reg<pofcon::POFCON_SPEC>;
102#[doc = "Power failure comparator configuration"]
103pub mod pofcon;
104#[doc = "GPREGRET (rw) register accessor: an alias for `Reg<GPREGRET_SPEC>`"]
105pub type GPREGRET = crate::Reg<gpregret::GPREGRET_SPEC>;
106#[doc = "General purpose retention register"]
107pub mod gpregret;
108#[doc = "GPREGRET2 (rw) register accessor: an alias for `Reg<GPREGRET2_SPEC>`"]
109pub type GPREGRET2 = crate::Reg<gpregret2::GPREGRET2_SPEC>;
110#[doc = "General purpose retention register"]
111pub mod gpregret2;
112#[doc = "DCDCEN (rw) register accessor: an alias for `Reg<DCDCEN_SPEC>`"]
113pub type DCDCEN = crate::Reg<dcdcen::DCDCEN_SPEC>;
114#[doc = "DC/DC enable register"]
115pub mod dcdcen;
116#[doc = "Unspecified"]
117pub use ram::RAM;
118#[doc = r"Cluster"]
119#[doc = "Unspecified"]
120pub mod ram;