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