1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - CMU Control Register"]
5 pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
6 #[doc = "0x04 - High Frequency Core Clock Division Register"]
7 pub hfcoreclkdiv: crate::Reg<hfcoreclkdiv::HFCORECLKDIV_SPEC>,
8 #[doc = "0x08 - High Frequency Peripheral Clock Division Register"]
9 pub hfperclkdiv: crate::Reg<hfperclkdiv::HFPERCLKDIV_SPEC>,
10 #[doc = "0x0c - HFRCO Control Register"]
11 pub hfrcoctrl: crate::Reg<hfrcoctrl::HFRCOCTRL_SPEC>,
12 #[doc = "0x10 - LFRCO Control Register"]
13 pub lfrcoctrl: crate::Reg<lfrcoctrl::LFRCOCTRL_SPEC>,
14 #[doc = "0x14 - AUXHFRCO Control Register"]
15 pub auxhfrcoctrl: crate::Reg<auxhfrcoctrl::AUXHFRCOCTRL_SPEC>,
16 #[doc = "0x18 - Calibration Control Register"]
17 pub calctrl: crate::Reg<calctrl::CALCTRL_SPEC>,
18 #[doc = "0x1c - Calibration Counter Register"]
19 pub calcnt: crate::Reg<calcnt::CALCNT_SPEC>,
20 #[doc = "0x20 - Oscillator Enable/Disable Command Register"]
21 pub oscencmd: crate::Reg<oscencmd::OSCENCMD_SPEC>,
22 #[doc = "0x24 - Command Register"]
23 pub cmd: crate::Reg<cmd::CMD_SPEC>,
24 #[doc = "0x28 - Low Frequency Clock Select Register"]
25 pub lfclksel: crate::Reg<lfclksel::LFCLKSEL_SPEC>,
26 #[doc = "0x2c - Status Register"]
27 pub status: crate::Reg<status::STATUS_SPEC>,
28 #[doc = "0x30 - Interrupt Flag Register"]
29 pub if_: crate::Reg<if_::IF_SPEC>,
30 #[doc = "0x34 - Interrupt Flag Set Register"]
31 pub ifs: crate::Reg<ifs::IFS_SPEC>,
32 #[doc = "0x38 - Interrupt Flag Clear Register"]
33 pub ifc: crate::Reg<ifc::IFC_SPEC>,
34 #[doc = "0x3c - Interrupt Enable Register"]
35 pub ien: crate::Reg<ien::IEN_SPEC>,
36 #[doc = "0x40 - High Frequency Core Clock Enable Register 0"]
37 pub hfcoreclken0: crate::Reg<hfcoreclken0::HFCORECLKEN0_SPEC>,
38 #[doc = "0x44 - High Frequency Peripheral Clock Enable Register 0"]
39 pub hfperclken0: crate::Reg<hfperclken0::HFPERCLKEN0_SPEC>,
40 _reserved18: [u8; 0x08],
41 #[doc = "0x50 - Synchronization Busy Register"]
42 pub syncbusy: crate::Reg<syncbusy::SYNCBUSY_SPEC>,
43 #[doc = "0x54 - Freeze Register"]
44 pub freeze: crate::Reg<freeze::FREEZE_SPEC>,
45 #[doc = "0x58 - Low Frequency A Clock Enable Register 0 (Async Reg)"]
46 pub lfaclken0: crate::Reg<lfaclken0::LFACLKEN0_SPEC>,
47 _reserved21: [u8; 0x04],
48 #[doc = "0x60 - Low Frequency B Clock Enable Register 0 (Async Reg)"]
49 pub lfbclken0: crate::Reg<lfbclken0::LFBCLKEN0_SPEC>,
50 _reserved22: [u8; 0x04],
51 #[doc = "0x68 - Low Frequency A Prescaler Register 0 (Async Reg)"]
52 pub lfapresc0: crate::Reg<lfapresc0::LFAPRESC0_SPEC>,
53 _reserved23: [u8; 0x04],
54 #[doc = "0x70 - Low Frequency B Prescaler Register 0 (Async Reg)"]
55 pub lfbpresc0: crate::Reg<lfbpresc0::LFBPRESC0_SPEC>,
56 _reserved24: [u8; 0x04],
57 #[doc = "0x78 - PCNT Control Register"]
58 pub pcntctrl: crate::Reg<pcntctrl::PCNTCTRL_SPEC>,
59 #[doc = "0x7c - LCD Control Register"]
60 pub lcdctrl: crate::Reg<lcdctrl::LCDCTRL_SPEC>,
61 #[doc = "0x80 - I/O Routing Register"]
62 pub route: crate::Reg<route::ROUTE_SPEC>,
63 #[doc = "0x84 - Configuration Lock Register"]
64 pub lock: crate::Reg<lock::LOCK_SPEC>,
65}
66#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
67pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
68#[doc = "CMU Control Register"]
69pub mod ctrl;
70#[doc = "HFCORECLKDIV register accessor: an alias for `Reg<HFCORECLKDIV_SPEC>`"]
71pub type HFCORECLKDIV = crate::Reg<hfcoreclkdiv::HFCORECLKDIV_SPEC>;
72#[doc = "High Frequency Core Clock Division Register"]
73pub mod hfcoreclkdiv;
74#[doc = "HFPERCLKDIV register accessor: an alias for `Reg<HFPERCLKDIV_SPEC>`"]
75pub type HFPERCLKDIV = crate::Reg<hfperclkdiv::HFPERCLKDIV_SPEC>;
76#[doc = "High Frequency Peripheral Clock Division Register"]
77pub mod hfperclkdiv;
78#[doc = "HFRCOCTRL register accessor: an alias for `Reg<HFRCOCTRL_SPEC>`"]
79pub type HFRCOCTRL = crate::Reg<hfrcoctrl::HFRCOCTRL_SPEC>;
80#[doc = "HFRCO Control Register"]
81pub mod hfrcoctrl;
82#[doc = "LFRCOCTRL register accessor: an alias for `Reg<LFRCOCTRL_SPEC>`"]
83pub type LFRCOCTRL = crate::Reg<lfrcoctrl::LFRCOCTRL_SPEC>;
84#[doc = "LFRCO Control Register"]
85pub mod lfrcoctrl;
86#[doc = "AUXHFRCOCTRL register accessor: an alias for `Reg<AUXHFRCOCTRL_SPEC>`"]
87pub type AUXHFRCOCTRL = crate::Reg<auxhfrcoctrl::AUXHFRCOCTRL_SPEC>;
88#[doc = "AUXHFRCO Control Register"]
89pub mod auxhfrcoctrl;
90#[doc = "CALCTRL register accessor: an alias for `Reg<CALCTRL_SPEC>`"]
91pub type CALCTRL = crate::Reg<calctrl::CALCTRL_SPEC>;
92#[doc = "Calibration Control Register"]
93pub mod calctrl;
94#[doc = "CALCNT register accessor: an alias for `Reg<CALCNT_SPEC>`"]
95pub type CALCNT = crate::Reg<calcnt::CALCNT_SPEC>;
96#[doc = "Calibration Counter Register"]
97pub mod calcnt;
98#[doc = "OSCENCMD register accessor: an alias for `Reg<OSCENCMD_SPEC>`"]
99pub type OSCENCMD = crate::Reg<oscencmd::OSCENCMD_SPEC>;
100#[doc = "Oscillator Enable/Disable Command Register"]
101pub mod oscencmd;
102#[doc = "CMD register accessor: an alias for `Reg<CMD_SPEC>`"]
103pub type CMD = crate::Reg<cmd::CMD_SPEC>;
104#[doc = "Command Register"]
105pub mod cmd;
106#[doc = "LFCLKSEL register accessor: an alias for `Reg<LFCLKSEL_SPEC>`"]
107pub type LFCLKSEL = crate::Reg<lfclksel::LFCLKSEL_SPEC>;
108#[doc = "Low Frequency Clock Select Register"]
109pub mod lfclksel;
110#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
111pub type STATUS = crate::Reg<status::STATUS_SPEC>;
112#[doc = "Status Register"]
113pub mod status;
114#[doc = "IF register accessor: an alias for `Reg<IF_SPEC>`"]
115pub type IF = crate::Reg<if_::IF_SPEC>;
116#[doc = "Interrupt Flag Register"]
117pub mod if_;
118#[doc = "IFS register accessor: an alias for `Reg<IFS_SPEC>`"]
119pub type IFS = crate::Reg<ifs::IFS_SPEC>;
120#[doc = "Interrupt Flag Set Register"]
121pub mod ifs;
122#[doc = "IFC register accessor: an alias for `Reg<IFC_SPEC>`"]
123pub type IFC = crate::Reg<ifc::IFC_SPEC>;
124#[doc = "Interrupt Flag Clear Register"]
125pub mod ifc;
126#[doc = "IEN register accessor: an alias for `Reg<IEN_SPEC>`"]
127pub type IEN = crate::Reg<ien::IEN_SPEC>;
128#[doc = "Interrupt Enable Register"]
129pub mod ien;
130#[doc = "HFCORECLKEN0 register accessor: an alias for `Reg<HFCORECLKEN0_SPEC>`"]
131pub type HFCORECLKEN0 = crate::Reg<hfcoreclken0::HFCORECLKEN0_SPEC>;
132#[doc = "High Frequency Core Clock Enable Register 0"]
133pub mod hfcoreclken0;
134#[doc = "HFPERCLKEN0 register accessor: an alias for `Reg<HFPERCLKEN0_SPEC>`"]
135pub type HFPERCLKEN0 = crate::Reg<hfperclken0::HFPERCLKEN0_SPEC>;
136#[doc = "High Frequency Peripheral Clock Enable Register 0"]
137pub mod hfperclken0;
138#[doc = "SYNCBUSY register accessor: an alias for `Reg<SYNCBUSY_SPEC>`"]
139pub type SYNCBUSY = crate::Reg<syncbusy::SYNCBUSY_SPEC>;
140#[doc = "Synchronization Busy Register"]
141pub mod syncbusy;
142#[doc = "FREEZE register accessor: an alias for `Reg<FREEZE_SPEC>`"]
143pub type FREEZE = crate::Reg<freeze::FREEZE_SPEC>;
144#[doc = "Freeze Register"]
145pub mod freeze;
146#[doc = "LFACLKEN0 register accessor: an alias for `Reg<LFACLKEN0_SPEC>`"]
147pub type LFACLKEN0 = crate::Reg<lfaclken0::LFACLKEN0_SPEC>;
148#[doc = "Low Frequency A Clock Enable Register 0 (Async Reg)"]
149pub mod lfaclken0;
150#[doc = "LFBCLKEN0 register accessor: an alias for `Reg<LFBCLKEN0_SPEC>`"]
151pub type LFBCLKEN0 = crate::Reg<lfbclken0::LFBCLKEN0_SPEC>;
152#[doc = "Low Frequency B Clock Enable Register 0 (Async Reg)"]
153pub mod lfbclken0;
154#[doc = "LFAPRESC0 register accessor: an alias for `Reg<LFAPRESC0_SPEC>`"]
155pub type LFAPRESC0 = crate::Reg<lfapresc0::LFAPRESC0_SPEC>;
156#[doc = "Low Frequency A Prescaler Register 0 (Async Reg)"]
157pub mod lfapresc0;
158#[doc = "LFBPRESC0 register accessor: an alias for `Reg<LFBPRESC0_SPEC>`"]
159pub type LFBPRESC0 = crate::Reg<lfbpresc0::LFBPRESC0_SPEC>;
160#[doc = "Low Frequency B Prescaler Register 0 (Async Reg)"]
161pub mod lfbpresc0;
162#[doc = "PCNTCTRL register accessor: an alias for `Reg<PCNTCTRL_SPEC>`"]
163pub type PCNTCTRL = crate::Reg<pcntctrl::PCNTCTRL_SPEC>;
164#[doc = "PCNT Control Register"]
165pub mod pcntctrl;
166#[doc = "LCDCTRL register accessor: an alias for `Reg<LCDCTRL_SPEC>`"]
167pub type LCDCTRL = crate::Reg<lcdctrl::LCDCTRL_SPEC>;
168#[doc = "LCD Control Register"]
169pub mod lcdctrl;
170#[doc = "ROUTE register accessor: an alias for `Reg<ROUTE_SPEC>`"]
171pub type ROUTE = crate::Reg<route::ROUTE_SPEC>;
172#[doc = "I/O Routing Register"]
173pub mod route;
174#[doc = "LOCK register accessor: an alias for `Reg<LOCK_SPEC>`"]
175pub type LOCK = crate::Reg<lock::LOCK_SPEC>;
176#[doc = "Configuration Lock Register"]
177pub mod lock;