mk20d7/sim/
mod.rs

1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - System Options Register 1"]
5    pub sopt1: SOPT1,
6    #[doc = "0x04 - SOPT1 Configuration Register"]
7    pub sopt1cfg: SOPT1CFG,
8    _reserved0: [u8; 4092usize],
9    #[doc = "0x1004 - System Options Register 2"]
10    pub sopt2: SOPT2,
11    _reserved1: [u8; 4usize],
12    #[doc = "0x100c - System Options Register 4"]
13    pub sopt4: SOPT4,
14    #[doc = "0x1010 - System Options Register 5"]
15    pub sopt5: SOPT5,
16    _reserved2: [u8; 4usize],
17    #[doc = "0x1018 - System Options Register 7"]
18    pub sopt7: SOPT7,
19    _reserved3: [u8; 8usize],
20    #[doc = "0x1024 - System Device Identification Register"]
21    pub sdid: SDID,
22    #[doc = "0x1028 - System Clock Gating Control Register 1"]
23    pub scgc1: SCGC1,
24    #[doc = "0x102c - System Clock Gating Control Register 2"]
25    pub scgc2: SCGC2,
26    #[doc = "0x1030 - System Clock Gating Control Register 3"]
27    pub scgc3: SCGC3,
28    #[doc = "0x1034 - System Clock Gating Control Register 4"]
29    pub scgc4: SCGC4,
30    #[doc = "0x1038 - System Clock Gating Control Register 5"]
31    pub scgc5: SCGC5,
32    #[doc = "0x103c - System Clock Gating Control Register 6"]
33    pub scgc6: SCGC6,
34    #[doc = "0x1040 - System Clock Gating Control Register 7"]
35    pub scgc7: SCGC7,
36    #[doc = "0x1044 - System Clock Divider Register 1"]
37    pub clkdiv1: CLKDIV1,
38    #[doc = "0x1048 - System Clock Divider Register 2"]
39    pub clkdiv2: CLKDIV2,
40    #[doc = "0x104c - Flash Configuration Register 1"]
41    pub fcfg1: FCFG1,
42    #[doc = "0x1050 - Flash Configuration Register 2"]
43    pub fcfg2: FCFG2,
44    #[doc = "0x1054 - Unique Identification Register High"]
45    pub uidh: UIDH,
46    #[doc = "0x1058 - Unique Identification Register Mid-High"]
47    pub uidmh: UIDMH,
48    #[doc = "0x105c - Unique Identification Register Mid Low"]
49    pub uidml: UIDML,
50    #[doc = "0x1060 - Unique Identification Register Low"]
51    pub uidl: UIDL,
52}
53#[doc = "System Options Register 1"]
54pub struct SOPT1 {
55    register: ::vcell::VolatileCell<u32>,
56}
57#[doc = "System Options Register 1"]
58pub mod sopt1;
59#[doc = "SOPT1 Configuration Register"]
60pub struct SOPT1CFG {
61    register: ::vcell::VolatileCell<u32>,
62}
63#[doc = "SOPT1 Configuration Register"]
64pub mod sopt1cfg;
65#[doc = "System Options Register 2"]
66pub struct SOPT2 {
67    register: ::vcell::VolatileCell<u32>,
68}
69#[doc = "System Options Register 2"]
70pub mod sopt2;
71#[doc = "System Options Register 4"]
72pub struct SOPT4 {
73    register: ::vcell::VolatileCell<u32>,
74}
75#[doc = "System Options Register 4"]
76pub mod sopt4;
77#[doc = "System Options Register 5"]
78pub struct SOPT5 {
79    register: ::vcell::VolatileCell<u32>,
80}
81#[doc = "System Options Register 5"]
82pub mod sopt5;
83#[doc = "System Options Register 7"]
84pub struct SOPT7 {
85    register: ::vcell::VolatileCell<u32>,
86}
87#[doc = "System Options Register 7"]
88pub mod sopt7;
89#[doc = "System Device Identification Register"]
90pub struct SDID {
91    register: ::vcell::VolatileCell<u32>,
92}
93#[doc = "System Device Identification Register"]
94pub mod sdid;
95#[doc = "System Clock Gating Control Register 1"]
96pub struct SCGC1 {
97    register: ::vcell::VolatileCell<u32>,
98}
99#[doc = "System Clock Gating Control Register 1"]
100pub mod scgc1;
101#[doc = "System Clock Gating Control Register 2"]
102pub struct SCGC2 {
103    register: ::vcell::VolatileCell<u32>,
104}
105#[doc = "System Clock Gating Control Register 2"]
106pub mod scgc2;
107#[doc = "System Clock Gating Control Register 3"]
108pub struct SCGC3 {
109    register: ::vcell::VolatileCell<u32>,
110}
111#[doc = "System Clock Gating Control Register 3"]
112pub mod scgc3;
113#[doc = "System Clock Gating Control Register 4"]
114pub struct SCGC4 {
115    register: ::vcell::VolatileCell<u32>,
116}
117#[doc = "System Clock Gating Control Register 4"]
118pub mod scgc4;
119#[doc = "System Clock Gating Control Register 5"]
120pub struct SCGC5 {
121    register: ::vcell::VolatileCell<u32>,
122}
123#[doc = "System Clock Gating Control Register 5"]
124pub mod scgc5;
125#[doc = "System Clock Gating Control Register 6"]
126pub struct SCGC6 {
127    register: ::vcell::VolatileCell<u32>,
128}
129#[doc = "System Clock Gating Control Register 6"]
130pub mod scgc6;
131#[doc = "System Clock Gating Control Register 7"]
132pub struct SCGC7 {
133    register: ::vcell::VolatileCell<u32>,
134}
135#[doc = "System Clock Gating Control Register 7"]
136pub mod scgc7;
137#[doc = "System Clock Divider Register 1"]
138pub struct CLKDIV1 {
139    register: ::vcell::VolatileCell<u32>,
140}
141#[doc = "System Clock Divider Register 1"]
142pub mod clkdiv1;
143#[doc = "System Clock Divider Register 2"]
144pub struct CLKDIV2 {
145    register: ::vcell::VolatileCell<u32>,
146}
147#[doc = "System Clock Divider Register 2"]
148pub mod clkdiv2;
149#[doc = "Flash Configuration Register 1"]
150pub struct FCFG1 {
151    register: ::vcell::VolatileCell<u32>,
152}
153#[doc = "Flash Configuration Register 1"]
154pub mod fcfg1;
155#[doc = "Flash Configuration Register 2"]
156pub struct FCFG2 {
157    register: ::vcell::VolatileCell<u32>,
158}
159#[doc = "Flash Configuration Register 2"]
160pub mod fcfg2;
161#[doc = "Unique Identification Register High"]
162pub struct UIDH {
163    register: ::vcell::VolatileCell<u32>,
164}
165#[doc = "Unique Identification Register High"]
166pub mod uidh;
167#[doc = "Unique Identification Register Mid-High"]
168pub struct UIDMH {
169    register: ::vcell::VolatileCell<u32>,
170}
171#[doc = "Unique Identification Register Mid-High"]
172pub mod uidmh;
173#[doc = "Unique Identification Register Mid Low"]
174pub struct UIDML {
175    register: ::vcell::VolatileCell<u32>,
176}
177#[doc = "Unique Identification Register Mid Low"]
178pub mod uidml;
179#[doc = "Unique Identification Register Low"]
180pub struct UIDL {
181    register: ::vcell::VolatileCell<u32>,
182}
183#[doc = "Unique Identification Register Low"]
184pub mod uidl;