1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Interrupt Enable Register"]
5 pub ier: IER,
6 #[doc = "0x04 - Interrupt Disable Register"]
7 pub idr: IDR,
8 #[doc = "0x08 - Interrupt Mask Register"]
9 pub imr: IMR,
10 #[doc = "0x0c - Interrupt Status Register"]
11 pub isr: ISR,
12 #[doc = "0x10 - Interrupt Clear Register"]
13 pub icr: ICR,
14 #[doc = "0x14 - Power and Clocks Status Register"]
15 pub pclksr: PCLKSR,
16 #[doc = "0x18 - Unlock Register"]
17 pub unlock: UNLOCK,
18 #[doc = "0x1c - Chip Specific Configuration Register"]
19 pub cscr: CSCR,
20 #[doc = "0x20 - Oscillator Control Register"]
21 pub oscctrl0: OSCCTRL0,
22 #[doc = "0x24 - PLL0 Control Register"]
23 pub pll: PLL,
24 #[doc = "0x28 - DFLL0 Config Register"]
25 pub dfll0conf: DFLL0CONF,
26 #[doc = "0x2c - DFLL Value Register"]
27 pub dfll0val: DFLL0VAL,
28 #[doc = "0x30 - DFLL0 Multiplier Register"]
29 pub dfll0mul: DFLL0MUL,
30 #[doc = "0x34 - DFLL0 Step Register"]
31 pub dfll0step: DFLL0STEP,
32 #[doc = "0x38 - DFLL0 Spread Spectrum Generator Control Register"]
33 pub dfll0ssg: DFLL0SSG,
34 #[doc = "0x3c - DFLL0 Ratio Registe"]
35 pub dfll0ratio: DFLL0RATIO,
36 #[doc = "0x40 - DFLL0 Synchronization Register"]
37 pub dfll0sync: DFLL0SYNC,
38 #[doc = "0x44 - System RC Oscillator Calibration Register"]
39 pub rccr: RCCR,
40 #[doc = "0x48 - 4/8/12 MHz RC Oscillator Configuration Register"]
41 pub rcfastcfg: RCFASTCFG,
42 #[doc = "0x4c - 4/8/12 MHz RC Oscillator Status Register"]
43 pub rcfastsr: RCFASTSR,
44 #[doc = "0x50 - 80 MHz RC Oscillator Register"]
45 pub rc80mcr: RC80MCR,
46 _reserved21: [u8; 0x10],
47 #[doc = "0x64 - High Resolution Prescaler Control Register"]
48 pub hrpcr: HRPCR,
49 #[doc = "0x68 - Fractional Prescaler Control Register"]
50 pub fpcr: FPCR,
51 #[doc = "0x6c - Fractional Prescaler Multiplier Register"]
52 pub fpmul: FPMUL,
53 #[doc = "0x70 - Fractional Prescaler DIVIDER Register"]
54 pub fpdiv: FPDIV,
55 #[doc = "0x74..0xa4 - Generic Clock Control"]
56 pub gcctrl: [GCCTRL; 12],
57 _reserved26: [u8; 0x0334],
58 #[doc = "0x3d8 - 4/8/12 MHz RC Oscillator Version Register"]
59 pub rcfastversion: RCFASTVERSION,
60 #[doc = "0x3dc - Generic Clock Prescaler Version Register"]
61 pub gclkprescversion: GCLKPRESCVERSION,
62 #[doc = "0x3e0 - PLL Version Register"]
63 pub pllifaversion: PLLIFAVERSION,
64 #[doc = "0x3e4 - Oscillator 0 Version Register"]
65 pub oscifaversion: OSCIFAVERSION,
66 #[doc = "0x3e8 - DFLL Version Register"]
67 pub dfllifbversion: DFLLIFBVERSION,
68 #[doc = "0x3ec - System RC Oscillator Version Register"]
69 pub rcoscifaversion: RCOSCIFAVERSION,
70 #[doc = "0x3f0 - Frequency Locked Oscillator Version Register"]
71 pub floversion: FLOVERSION,
72 #[doc = "0x3f4 - 80MHz RC Oscillator Version Register"]
73 pub rc80mversion: RC80MVERSION,
74 #[doc = "0x3f8 - Generic Clock Version Register"]
75 pub gclkifversion: GCLKIFVERSION,
76 #[doc = "0x3fc - SCIF Version Register"]
77 pub version: VERSION,
78}
79#[doc = "CSCR (rw) register accessor: an alias for `Reg<CSCR_SPEC>`"]
80pub type CSCR = crate::Reg<cscr::CSCR_SPEC>;
81#[doc = "Chip Specific Configuration Register"]
82pub mod cscr;
83#[doc = "DFLLIFBVERSION (r) register accessor: an alias for `Reg<DFLLIFBVERSION_SPEC>`"]
84pub type DFLLIFBVERSION = crate::Reg<dfllifbversion::DFLLIFBVERSION_SPEC>;
85#[doc = "DFLL Version Register"]
86pub mod dfllifbversion;
87#[doc = "DFLL0CONF (rw) register accessor: an alias for `Reg<DFLL0CONF_SPEC>`"]
88pub type DFLL0CONF = crate::Reg<dfll0conf::DFLL0CONF_SPEC>;
89#[doc = "DFLL0 Config Register"]
90pub mod dfll0conf;
91#[doc = "DFLL0MUL (rw) register accessor: an alias for `Reg<DFLL0MUL_SPEC>`"]
92pub type DFLL0MUL = crate::Reg<dfll0mul::DFLL0MUL_SPEC>;
93#[doc = "DFLL0 Multiplier Register"]
94pub mod dfll0mul;
95#[doc = "DFLL0RATIO (r) register accessor: an alias for `Reg<DFLL0RATIO_SPEC>`"]
96pub type DFLL0RATIO = crate::Reg<dfll0ratio::DFLL0RATIO_SPEC>;
97#[doc = "DFLL0 Ratio Registe"]
98pub mod dfll0ratio;
99#[doc = "DFLL0SSG (rw) register accessor: an alias for `Reg<DFLL0SSG_SPEC>`"]
100pub type DFLL0SSG = crate::Reg<dfll0ssg::DFLL0SSG_SPEC>;
101#[doc = "DFLL0 Spread Spectrum Generator Control Register"]
102pub mod dfll0ssg;
103#[doc = "DFLL0STEP (rw) register accessor: an alias for `Reg<DFLL0STEP_SPEC>`"]
104pub type DFLL0STEP = crate::Reg<dfll0step::DFLL0STEP_SPEC>;
105#[doc = "DFLL0 Step Register"]
106pub mod dfll0step;
107#[doc = "DFLL0SYNC (w) register accessor: an alias for `Reg<DFLL0SYNC_SPEC>`"]
108pub type DFLL0SYNC = crate::Reg<dfll0sync::DFLL0SYNC_SPEC>;
109#[doc = "DFLL0 Synchronization Register"]
110pub mod dfll0sync;
111#[doc = "DFLL0VAL (rw) register accessor: an alias for `Reg<DFLL0VAL_SPEC>`"]
112pub type DFLL0VAL = crate::Reg<dfll0val::DFLL0VAL_SPEC>;
113#[doc = "DFLL Value Register"]
114pub mod dfll0val;
115#[doc = "FLOVERSION (r) register accessor: an alias for `Reg<FLOVERSION_SPEC>`"]
116pub type FLOVERSION = crate::Reg<floversion::FLOVERSION_SPEC>;
117#[doc = "Frequency Locked Oscillator Version Register"]
118pub mod floversion;
119#[doc = "FPCR (rw) register accessor: an alias for `Reg<FPCR_SPEC>`"]
120pub type FPCR = crate::Reg<fpcr::FPCR_SPEC>;
121#[doc = "Fractional Prescaler Control Register"]
122pub mod fpcr;
123#[doc = "FPDIV (rw) register accessor: an alias for `Reg<FPDIV_SPEC>`"]
124pub type FPDIV = crate::Reg<fpdiv::FPDIV_SPEC>;
125#[doc = "Fractional Prescaler DIVIDER Register"]
126pub mod fpdiv;
127#[doc = "FPMUL (rw) register accessor: an alias for `Reg<FPMUL_SPEC>`"]
128pub type FPMUL = crate::Reg<fpmul::FPMUL_SPEC>;
129#[doc = "Fractional Prescaler Multiplier Register"]
130pub mod fpmul;
131#[doc = "GCCTRL (rw) register accessor: an alias for `Reg<GCCTRL_SPEC>`"]
132pub type GCCTRL = crate::Reg<gcctrl::GCCTRL_SPEC>;
133#[doc = "Generic Clock Control"]
134pub mod gcctrl;
135#[doc = "GCLKIFVERSION (r) register accessor: an alias for `Reg<GCLKIFVERSION_SPEC>`"]
136pub type GCLKIFVERSION = crate::Reg<gclkifversion::GCLKIFVERSION_SPEC>;
137#[doc = "Generic Clock Version Register"]
138pub mod gclkifversion;
139#[doc = "GCLKPRESCVERSION (r) register accessor: an alias for `Reg<GCLKPRESCVERSION_SPEC>`"]
140pub type GCLKPRESCVERSION = crate::Reg<gclkprescversion::GCLKPRESCVERSION_SPEC>;
141#[doc = "Generic Clock Prescaler Version Register"]
142pub mod gclkprescversion;
143#[doc = "HRPCR (rw) register accessor: an alias for `Reg<HRPCR_SPEC>`"]
144pub type HRPCR = crate::Reg<hrpcr::HRPCR_SPEC>;
145#[doc = "High Resolution Prescaler Control Register"]
146pub mod hrpcr;
147#[doc = "ICR (w) register accessor: an alias for `Reg<ICR_SPEC>`"]
148pub type ICR = crate::Reg<icr::ICR_SPEC>;
149#[doc = "Interrupt Clear Register"]
150pub mod icr;
151#[doc = "IDR (w) register accessor: an alias for `Reg<IDR_SPEC>`"]
152pub type IDR = crate::Reg<idr::IDR_SPEC>;
153#[doc = "Interrupt Disable Register"]
154pub mod idr;
155#[doc = "IER (w) register accessor: an alias for `Reg<IER_SPEC>`"]
156pub type IER = crate::Reg<ier::IER_SPEC>;
157#[doc = "Interrupt Enable Register"]
158pub mod ier;
159#[doc = "IMR (r) register accessor: an alias for `Reg<IMR_SPEC>`"]
160pub type IMR = crate::Reg<imr::IMR_SPEC>;
161#[doc = "Interrupt Mask Register"]
162pub mod imr;
163#[doc = "ISR (r) register accessor: an alias for `Reg<ISR_SPEC>`"]
164pub type ISR = crate::Reg<isr::ISR_SPEC>;
165#[doc = "Interrupt Status Register"]
166pub mod isr;
167#[doc = "OSCCTRL0 (rw) register accessor: an alias for `Reg<OSCCTRL0_SPEC>`"]
168pub type OSCCTRL0 = crate::Reg<oscctrl0::OSCCTRL0_SPEC>;
169#[doc = "Oscillator Control Register"]
170pub mod oscctrl0;
171#[doc = "OSCIFAVERSION (r) register accessor: an alias for `Reg<OSCIFAVERSION_SPEC>`"]
172pub type OSCIFAVERSION = crate::Reg<oscifaversion::OSCIFAVERSION_SPEC>;
173#[doc = "Oscillator 0 Version Register"]
174pub mod oscifaversion;
175#[doc = "PCLKSR (r) register accessor: an alias for `Reg<PCLKSR_SPEC>`"]
176pub type PCLKSR = crate::Reg<pclksr::PCLKSR_SPEC>;
177#[doc = "Power and Clocks Status Register"]
178pub mod pclksr;
179#[doc = "PLLIFAVERSION (r) register accessor: an alias for `Reg<PLLIFAVERSION_SPEC>`"]
180pub type PLLIFAVERSION = crate::Reg<pllifaversion::PLLIFAVERSION_SPEC>;
181#[doc = "PLL Version Register"]
182pub mod pllifaversion;
183#[doc = "PLL (rw) register accessor: an alias for `Reg<PLL_SPEC>`"]
184pub type PLL = crate::Reg<pll::PLL_SPEC>;
185#[doc = "PLL0 Control Register"]
186pub mod pll;
187#[doc = "RCCR (rw) register accessor: an alias for `Reg<RCCR_SPEC>`"]
188pub type RCCR = crate::Reg<rccr::RCCR_SPEC>;
189#[doc = "System RC Oscillator Calibration Register"]
190pub mod rccr;
191#[doc = "RCFASTCFG (rw) register accessor: an alias for `Reg<RCFASTCFG_SPEC>`"]
192pub type RCFASTCFG = crate::Reg<rcfastcfg::RCFASTCFG_SPEC>;
193#[doc = "4/8/12 MHz RC Oscillator Configuration Register"]
194pub mod rcfastcfg;
195#[doc = "RCFASTSR (rw) register accessor: an alias for `Reg<RCFASTSR_SPEC>`"]
196pub type RCFASTSR = crate::Reg<rcfastsr::RCFASTSR_SPEC>;
197#[doc = "4/8/12 MHz RC Oscillator Status Register"]
198pub mod rcfastsr;
199#[doc = "RCFASTVERSION (r) register accessor: an alias for `Reg<RCFASTVERSION_SPEC>`"]
200pub type RCFASTVERSION = crate::Reg<rcfastversion::RCFASTVERSION_SPEC>;
201#[doc = "4/8/12 MHz RC Oscillator Version Register"]
202pub mod rcfastversion;
203#[doc = "RCOSCIFAVERSION (r) register accessor: an alias for `Reg<RCOSCIFAVERSION_SPEC>`"]
204pub type RCOSCIFAVERSION = crate::Reg<rcoscifaversion::RCOSCIFAVERSION_SPEC>;
205#[doc = "System RC Oscillator Version Register"]
206pub mod rcoscifaversion;
207#[doc = "RC80MCR (rw) register accessor: an alias for `Reg<RC80MCR_SPEC>`"]
208pub type RC80MCR = crate::Reg<rc80mcr::RC80MCR_SPEC>;
209#[doc = "80 MHz RC Oscillator Register"]
210pub mod rc80mcr;
211#[doc = "RC80MVERSION (r) register accessor: an alias for `Reg<RC80MVERSION_SPEC>`"]
212pub type RC80MVERSION = crate::Reg<rc80mversion::RC80MVERSION_SPEC>;
213#[doc = "80MHz RC Oscillator Version Register"]
214pub mod rc80mversion;
215#[doc = "UNLOCK (w) register accessor: an alias for `Reg<UNLOCK_SPEC>`"]
216pub type UNLOCK = crate::Reg<unlock::UNLOCK_SPEC>;
217#[doc = "Unlock Register"]
218pub mod unlock;
219#[doc = "VERSION (r) register accessor: an alias for `Reg<VERSION_SPEC>`"]
220pub type VERSION = crate::Reg<version::VERSION_SPEC>;
221#[doc = "SCIF Version Register"]
222pub mod version;