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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
///Register block
/**ACR (rw) register accessor: Access control register
You can [`read`](crate::Reg::read) this register and get [`acr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`acr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:ACR)
For information about available fields see [`mod@acr`] module*/
pub type ACR = crate Reg;
///Access control register
/**KEYR (w) register accessor: Flash key register
You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`keyr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:KEYR)
For information about available fields see [`mod@keyr`] module*/
pub type KEYR = crate Reg;
///Flash key register
/**OPTKEYR (w) register accessor: Option byte key register
You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`optkeyr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:OPTKEYR)
For information about available fields see [`mod@optkeyr`] module*/
pub type OPTKEYR = crate Reg;
///Option byte key register
/**SR (rw) register accessor: Status register
You can [`read`](crate::Reg::read) this register and get [`sr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`sr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:SR)
For information about available fields see [`mod@sr`] module*/
pub type SR = crate Reg;
///Status register
/**CR (rw) register accessor: Flash control register
You can [`read`](crate::Reg::read) this register and get [`cr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:CR)
For information about available fields see [`mod@cr`] module*/
pub type CR = crate Reg;
///Flash control register
/**ECCR (rw) register accessor: Flash ECC register
You can [`read`](crate::Reg::read) this register and get [`eccr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`eccr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:ECCR)
For information about available fields see [`mod@eccr`] module*/
pub type ECCR = crate Reg;
///Flash ECC register
/**ECCR2 (rw) register accessor: Flash ECC register 2
You can [`read`](crate::Reg::read) this register and get [`eccr2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`eccr2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:ECCR2)
For information about available fields see [`mod@eccr2`] module*/
pub type ECCR2 = crate Reg;
///Flash ECC register 2
/**OPTR (rw) register accessor: Flash option register
You can [`read`](crate::Reg::read) this register and get [`optr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`optr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:OPTR)
For information about available fields see [`mod@optr`] module*/
pub type OPTR = crate Reg;
///Flash option register
/**PCROP1ASR (r) register accessor: Flash PCROP zone A Start address register
You can [`read`](crate::Reg::read) this register and get [`pcrop1asr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP1ASR)
For information about available fields see [`mod@pcrop1asr`] module*/
pub type PCROP1ASR = crate Reg;
///Flash PCROP zone A Start address register
/**PCROP1AER (r) register accessor: Flash PCROP zone A End address register
You can [`read`](crate::Reg::read) this register and get [`pcrop1aer::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP1AER)
For information about available fields see [`mod@pcrop1aer`] module*/
pub type PCROP1AER = crate Reg;
///Flash PCROP zone A End address register
/**WRP1AR (rw) register accessor: Flash WRP area A address register
You can [`read`](crate::Reg::read) this register and get [`wrp1ar::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wrp1ar::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:WRP1AR)
For information about available fields see [`mod@wrp1ar`] module*/
pub type WRP1AR = crate Reg;
///Flash WRP area A address register
/**WRP1BR (rw) register accessor: Flash WRP area B address register
You can [`read`](crate::Reg::read) this register and get [`wrp1br::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wrp1br::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:WRP1BR)
For information about available fields see [`mod@wrp1br`] module*/
pub type WRP1BR = crate Reg;
///Flash WRP area B address register
/**PCROP1BSR (r) register accessor: Flash PCROP zone B Start address register
You can [`read`](crate::Reg::read) this register and get [`pcrop1bsr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP1BSR)
For information about available fields see [`mod@pcrop1bsr`] module*/
pub type PCROP1BSR = crate Reg;
///Flash PCROP zone B Start address register
/**PCROP1BER (rw) register accessor: Flash PCROP area B End address register
You can [`read`](crate::Reg::read) this register and get [`pcrop1ber::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pcrop1ber::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP1BER)
For information about available fields see [`mod@pcrop1ber`] module*/
pub type PCROP1BER = crate Reg;
///Flash PCROP area B End address register
/**PCROP2ASR (rw) register accessor: Flash PCROP2 area A start address register
You can [`read`](crate::Reg::read) this register and get [`pcrop2asr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pcrop2asr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP2ASR)
For information about available fields see [`mod@pcrop2asr`] module*/
pub type PCROP2ASR = crate Reg;
///Flash PCROP2 area A start address register
/**PCROP2AER (rw) register accessor: Flash PCROP2 area A end address register
You can [`read`](crate::Reg::read) this register and get [`pcrop2aer::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pcrop2aer::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP2AER)
For information about available fields see [`mod@pcrop2aer`] module*/
pub type PCROP2AER = crate Reg;
///Flash PCROP2 area A end address register
/**WRP2AR (rw) register accessor: Flash WRP2 area A address register
You can [`read`](crate::Reg::read) this register and get [`wrp2ar::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wrp2ar::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:WRP2AR)
For information about available fields see [`mod@wrp2ar`] module*/
pub type WRP2AR = crate Reg;
///Flash WRP2 area A address register
/**WRP2BR (rw) register accessor: Flash WRP2 area B address register
You can [`read`](crate::Reg::read) this register and get [`wrp2br::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`wrp2br::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:WRP2BR)
For information about available fields see [`mod@wrp2br`] module*/
pub type WRP2BR = crate Reg;
///Flash WRP2 area B address register
/**PCROP2BSR (rw) register accessor: FLASH PCROP2 area B start address register
You can [`read`](crate::Reg::read) this register and get [`pcrop2bsr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pcrop2bsr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP2BSR)
For information about available fields see [`mod@pcrop2bsr`] module*/
pub type PCROP2BSR = crate Reg;
///FLASH PCROP2 area B start address register
/**PCROP2BER (rw) register accessor: FLASH PCROP2 area B end address register
You can [`read`](crate::Reg::read) this register and get [`pcrop2ber::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pcrop2ber::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:PCROP2BER)
For information about available fields see [`mod@pcrop2ber`] module*/
pub type PCROP2BER = crate Reg;
///FLASH PCROP2 area B end address register
/**SECR (rw) register accessor: Flash Security register
You can [`read`](crate::Reg::read) this register and get [`secr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`secr::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G0C1.html#FLASH:SECR)
For information about available fields see [`mod@secr`] module*/
pub type SECR = crate Reg;
///Flash Security register