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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
///Register block
/**CR (rw) register accessor: Clock 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/STM32G081.html#RCC:CR)
For information about available fields see [`mod@cr`] module*/
pub type CR = crate Reg;
///Clock control register
/**ICSCR (rw) register accessor: Internal clock sources calibration register
You can [`read`](crate::Reg::read) this register and get [`icscr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`icscr::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/STM32G081.html#RCC:ICSCR)
For information about available fields see [`mod@icscr`] module*/
pub type ICSCR = crate Reg;
///Internal clock sources calibration register
/**CFGR (rw) register accessor: Clock configuration register
You can [`read`](crate::Reg::read) this register and get [`cfgr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cfgr::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/STM32G081.html#RCC:CFGR)
For information about available fields see [`mod@cfgr`] module*/
pub type CFGR = crate Reg;
///Clock configuration register
/**PLLCFGR (rw) register accessor: PLL configuration register
You can [`read`](crate::Reg::read) this register and get [`pllcfgr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`pllcfgr::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/STM32G081.html#RCC:PLLCFGR)
For information about available fields see [`mod@pllcfgr`] module*/
pub type PLLCFGR = crate Reg;
///PLL configuration register
/**CIER (rw) register accessor: Clock interrupt enable register
You can [`read`](crate::Reg::read) this register and get [`cier::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cier::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/STM32G081.html#RCC:CIER)
For information about available fields see [`mod@cier`] module*/
pub type CIER = crate Reg;
///Clock interrupt enable register
/**CIFR (r) register accessor: Clock interrupt flag register
You can [`read`](crate::Reg::read) this register and get [`cifr::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G081.html#RCC:CIFR)
For information about available fields see [`mod@cifr`] module*/
pub type CIFR = crate Reg;
///Clock interrupt flag register
/**CICR (w) register accessor: Clock interrupt clear register
You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`cicr::W`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).
See register [structure](https://stm32-rs.github.io/stm32-rs/STM32G081.html#RCC:CICR)
For information about available fields see [`mod@cicr`] module*/
pub type CICR = crate Reg;
///Clock interrupt clear register
/**AHBRSTR (rw) register accessor: AHB peripheral reset register
You can [`read`](crate::Reg::read) this register and get [`ahbrstr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ahbrstr::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/STM32G081.html#RCC:AHBRSTR)
For information about available fields see [`mod@ahbrstr`] module*/
pub type AHBRSTR = crate Reg;
///AHB peripheral reset register
/**IOPRSTR (rw) register accessor: GPIO reset register
You can [`read`](crate::Reg::read) this register and get [`ioprstr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ioprstr::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/STM32G081.html#RCC:IOPRSTR)
For information about available fields see [`mod@ioprstr`] module*/
pub type IOPRSTR = crate Reg;
///GPIO reset register
/**APBRSTR1 (rw) register accessor: APB peripheral reset register 1
You can [`read`](crate::Reg::read) this register and get [`apbrstr1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apbrstr1::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/STM32G081.html#RCC:APBRSTR1)
For information about available fields see [`mod@apbrstr1`] module*/
pub type APBRSTR1 = crate Reg;
///APB peripheral reset register 1
/**APBRSTR2 (rw) register accessor: APB peripheral reset register 2
You can [`read`](crate::Reg::read) this register and get [`apbrstr2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apbrstr2::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/STM32G081.html#RCC:APBRSTR2)
For information about available fields see [`mod@apbrstr2`] module*/
pub type APBRSTR2 = crate Reg;
///APB peripheral reset register 2
/**IOPENR (rw) register accessor: GPIO clock enable register
You can [`read`](crate::Reg::read) this register and get [`iopenr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`iopenr::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/STM32G081.html#RCC:IOPENR)
For information about available fields see [`mod@iopenr`] module*/
pub type IOPENR = crate Reg;
///GPIO clock enable register
/**AHBENR (rw) register accessor: AHB peripheral clock enable register
You can [`read`](crate::Reg::read) this register and get [`ahbenr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ahbenr::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/STM32G081.html#RCC:AHBENR)
For information about available fields see [`mod@ahbenr`] module*/
pub type AHBENR = crate Reg;
///AHB peripheral clock enable register
/**APBENR1 (rw) register accessor: APB peripheral clock enable register 1
You can [`read`](crate::Reg::read) this register and get [`apbenr1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apbenr1::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/STM32G081.html#RCC:APBENR1)
For information about available fields see [`mod@apbenr1`] module*/
pub type APBENR1 = crate Reg;
///APB peripheral clock enable register 1
/**APBENR2 (rw) register accessor: APB peripheral clock enable register 2
You can [`read`](crate::Reg::read) this register and get [`apbenr2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apbenr2::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/STM32G081.html#RCC:APBENR2)
For information about available fields see [`mod@apbenr2`] module*/
pub type APBENR2 = crate Reg;
///APB peripheral clock enable register 2
/**IOPSMENR (rw) register accessor: GPIO in Sleep mode clock enable register
You can [`read`](crate::Reg::read) this register and get [`iopsmenr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`iopsmenr::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/STM32G081.html#RCC:IOPSMENR)
For information about available fields see [`mod@iopsmenr`] module*/
pub type IOPSMENR = crate Reg;
///GPIO in Sleep mode clock enable register
/**AHBSMENR (rw) register accessor: AHB peripheral clock enable in Sleep mode register
You can [`read`](crate::Reg::read) this register and get [`ahbsmenr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ahbsmenr::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/STM32G081.html#RCC:AHBSMENR)
For information about available fields see [`mod@ahbsmenr`] module*/
pub type AHBSMENR = crate Reg;
///AHB peripheral clock enable in Sleep mode register
/**APBSMENR1 (rw) register accessor: APB peripheral clock enable in Sleep mode register 1
You can [`read`](crate::Reg::read) this register and get [`apbsmenr1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apbsmenr1::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/STM32G081.html#RCC:APBSMENR1)
For information about available fields see [`mod@apbsmenr1`] module*/
pub type APBSMENR1 = crate Reg;
///APB peripheral clock enable in Sleep mode register 1
/**APBSMENR2 (rw) register accessor: APB peripheral clock enable in Sleep mode register 2
You can [`read`](crate::Reg::read) this register and get [`apbsmenr2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`apbsmenr2::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/STM32G081.html#RCC:APBSMENR2)
For information about available fields see [`mod@apbsmenr2`] module*/
pub type APBSMENR2 = crate Reg;
///APB peripheral clock enable in Sleep mode register 2
/**CCIPR (rw) register accessor: Peripherals independent clock configuration register
You can [`read`](crate::Reg::read) this register and get [`ccipr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`ccipr::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/STM32G081.html#RCC:CCIPR)
For information about available fields see [`mod@ccipr`] module*/
pub type CCIPR = crate Reg;
///Peripherals independent clock configuration register
/**BDCR (rw) register accessor: RTC domain control register
You can [`read`](crate::Reg::read) this register and get [`bdcr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`bdcr::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/STM32G081.html#RCC:BDCR)
For information about available fields see [`mod@bdcr`] module*/
pub type BDCR = crate Reg;
///RTC domain control register
/**CSR (rw) register accessor: Control/status register
You can [`read`](crate::Reg::read) this register and get [`csr::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`csr::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/STM32G081.html#RCC:CSR)
For information about available fields see [`mod@csr`] module*/
pub type CSR = crate Reg;
///Control/status register