1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register"]
5 pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
6 _reserved1: [u8; 0x04],
7 #[doc = "0x08 - Configuration Lock Register"]
8 pub lock: crate::Reg<lock::LOCK_SPEC>,
9 _reserved2: [u8; 0x18],
10 #[doc = "0x24 - Auxiliary Control Register"]
11 pub auxctrl: crate::Reg<auxctrl::AUXCTRL_SPEC>,
12 _reserved3: [u8; 0x04],
13 #[doc = "0x2c - Energy mode 4 configuration register"]
14 pub em4conf: crate::Reg<em4conf::EM4CONF_SPEC>,
15 #[doc = "0x30 - Backup Power configuration register"]
16 pub buctrl: crate::Reg<buctrl::BUCTRL_SPEC>,
17 #[doc = "0x34 - Power connection configuration register"]
18 pub pwrconf: crate::Reg<pwrconf::PWRCONF_SPEC>,
19 #[doc = "0x38 - Backup mode inactive configuration register"]
20 pub buinact: crate::Reg<buinact::BUINACT_SPEC>,
21 #[doc = "0x3c - Backup mode active configuration register"]
22 pub buact: crate::Reg<buact::BUACT_SPEC>,
23 #[doc = "0x40 - Status register"]
24 pub status: crate::Reg<status::STATUS_SPEC>,
25 #[doc = "0x44 - I/O Routing Register"]
26 pub route: crate::Reg<route::ROUTE_SPEC>,
27 #[doc = "0x48 - Interrupt Flag Register"]
28 pub if_: crate::Reg<if_::IF_SPEC>,
29 #[doc = "0x4c - Interrupt Flag Set Register"]
30 pub ifs: crate::Reg<ifs::IFS_SPEC>,
31 #[doc = "0x50 - Interrupt Flag Clear Register"]
32 pub ifc: crate::Reg<ifc::IFC_SPEC>,
33 #[doc = "0x54 - Interrupt Enable Register"]
34 pub ien: crate::Reg<ien::IEN_SPEC>,
35 #[doc = "0x58 - BU_VIN Backup BOD calibration"]
36 pub bubodbuvincal: crate::Reg<bubodbuvincal::BUBODBUVINCAL_SPEC>,
37 #[doc = "0x5c - Unregulated power Backup BOD calibration"]
38 pub bubodunregcal: crate::Reg<bubodunregcal::BUBODUNREGCAL_SPEC>,
39}
40#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
41pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
42#[doc = "Control Register"]
43pub mod ctrl;
44#[doc = "LOCK register accessor: an alias for `Reg<LOCK_SPEC>`"]
45pub type LOCK = crate::Reg<lock::LOCK_SPEC>;
46#[doc = "Configuration Lock Register"]
47pub mod lock;
48#[doc = "AUXCTRL register accessor: an alias for `Reg<AUXCTRL_SPEC>`"]
49pub type AUXCTRL = crate::Reg<auxctrl::AUXCTRL_SPEC>;
50#[doc = "Auxiliary Control Register"]
51pub mod auxctrl;
52#[doc = "EM4CONF register accessor: an alias for `Reg<EM4CONF_SPEC>`"]
53pub type EM4CONF = crate::Reg<em4conf::EM4CONF_SPEC>;
54#[doc = "Energy mode 4 configuration register"]
55pub mod em4conf;
56#[doc = "BUCTRL register accessor: an alias for `Reg<BUCTRL_SPEC>`"]
57pub type BUCTRL = crate::Reg<buctrl::BUCTRL_SPEC>;
58#[doc = "Backup Power configuration register"]
59pub mod buctrl;
60#[doc = "PWRCONF register accessor: an alias for `Reg<PWRCONF_SPEC>`"]
61pub type PWRCONF = crate::Reg<pwrconf::PWRCONF_SPEC>;
62#[doc = "Power connection configuration register"]
63pub mod pwrconf;
64#[doc = "BUINACT register accessor: an alias for `Reg<BUINACT_SPEC>`"]
65pub type BUINACT = crate::Reg<buinact::BUINACT_SPEC>;
66#[doc = "Backup mode inactive configuration register"]
67pub mod buinact;
68#[doc = "BUACT register accessor: an alias for `Reg<BUACT_SPEC>`"]
69pub type BUACT = crate::Reg<buact::BUACT_SPEC>;
70#[doc = "Backup mode active configuration register"]
71pub mod buact;
72#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
73pub type STATUS = crate::Reg<status::STATUS_SPEC>;
74#[doc = "Status register"]
75pub mod status;
76#[doc = "ROUTE register accessor: an alias for `Reg<ROUTE_SPEC>`"]
77pub type ROUTE = crate::Reg<route::ROUTE_SPEC>;
78#[doc = "I/O Routing Register"]
79pub mod route;
80#[doc = "IF register accessor: an alias for `Reg<IF_SPEC>`"]
81pub type IF = crate::Reg<if_::IF_SPEC>;
82#[doc = "Interrupt Flag Register"]
83pub mod if_;
84#[doc = "IFS register accessor: an alias for `Reg<IFS_SPEC>`"]
85pub type IFS = crate::Reg<ifs::IFS_SPEC>;
86#[doc = "Interrupt Flag Set Register"]
87pub mod ifs;
88#[doc = "IFC register accessor: an alias for `Reg<IFC_SPEC>`"]
89pub type IFC = crate::Reg<ifc::IFC_SPEC>;
90#[doc = "Interrupt Flag Clear Register"]
91pub mod ifc;
92#[doc = "IEN register accessor: an alias for `Reg<IEN_SPEC>`"]
93pub type IEN = crate::Reg<ien::IEN_SPEC>;
94#[doc = "Interrupt Enable Register"]
95pub mod ien;
96#[doc = "BUBODBUVINCAL register accessor: an alias for `Reg<BUBODBUVINCAL_SPEC>`"]
97pub type BUBODBUVINCAL = crate::Reg<bubodbuvincal::BUBODBUVINCAL_SPEC>;
98#[doc = "BU_VIN Backup BOD calibration"]
99pub mod bubodbuvincal;
100#[doc = "BUBODUNREGCAL register accessor: an alias for `Reg<BUBODUNREGCAL_SPEC>`"]
101pub type BUBODUNREGCAL = crate::Reg<bubodunregcal::BUBODUNREGCAL_SPEC>;
102#[doc = "Unregulated power Backup BOD calibration"]
103pub mod bubodunregcal;