WB32F10x Standard Peripherals Firmware Library

wb32f10x_rcc.h
Go to the documentation of this file.
1
10 /* Define to prevent recursive inclusion -------------------------------------*/
11 #ifndef __WB32F10x_RCC_H
12 #define __WB32F10x_RCC_H
13
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17
18 /* Includes ------------------------------------------------------------------*/
19 #include "wb32f10x.h"
20
29 /* Exported types ------------------------------------------------------------*/
30
31 typedef struct
32 {
33 uint32_t MAINCLK_Frequency;
34 uint32_t AHBCLK_Frequency;
35 uint32_t APB1CLK_Frequency;
36 uint32_t APB2CLK_Frequency;
37 } RCC_ClocksTypeDef;
38
39 /* Exported constants --------------------------------------------------------*/
40
48 #define RCC_PLLSource_HSE_Div1 ((uint32_t)0x00000100)
49 #define RCC_PLLSource_HSE_Div2 ((uint32_t)0x00000101)
50 #define RCC_PLLSource_HSE_Div3 ((uint32_t)0x00000103)
51 #define RCC_PLLSource_HSE_Div4 ((uint32_t)0x00000105)
52 #define RCC_PLLSource_HSE_Div5 ((uint32_t)0x00000107)
53 #define RCC_PLLSource_HSE_Div6 ((uint32_t)0x00000109)
54 #define RCC_PLLSource_HSE_Div7 ((uint32_t)0x0000010B)
55 #define RCC_PLLSource_HSE_Div8 ((uint32_t)0x0000010D)
56 #define RCC_PLLSource_HSE_Div9 ((uint32_t)0x0000010F)
57 #define RCC_PLLSource_HSE_Div10 ((uint32_t)0x00000111)
58 #define RCC_PLLSource_HSE_Div11 ((uint32_t)0x00000113)
59 #define RCC_PLLSource_HSE_Div12 ((uint32_t)0x00000115)
60 #define RCC_PLLSource_HSE_Div13 ((uint32_t)0x00000117)
61 #define RCC_PLLSource_HSE_Div14 ((uint32_t)0x00000119)
62 #define RCC_PLLSource_HSE_Div15 ((uint32_t)0x0000011B)
63 #define RCC_PLLSource_HSE_Div16 ((uint32_t)0x0000011D)
64 #define RCC_PLLSource_MHSI_Div1 ((uint32_t)0x00000000)
65 #define RCC_PLLSource_MHSI_Div2 ((uint32_t)0x00000001)
66 #define RCC_PLLSource_MHSI_Div3 ((uint32_t)0x00000003)
67 #define RCC_PLLSource_MHSI_Div4 ((uint32_t)0x00000005)
68 #define RCC_PLLSource_MHSI_Div5 ((uint32_t)0x00000007)
69 #define RCC_PLLSource_MHSI_Div6 ((uint32_t)0x00000009)
70 #define RCC_PLLSource_MHSI_Div7 ((uint32_t)0x0000000B)
71 #define RCC_PLLSource_MHSI_Div8 ((uint32_t)0x0000000D)
72 #define RCC_PLLSource_MHSI_Div9 ((uint32_t)0x0000000F)
73 #define RCC_PLLSource_MHSI_Div10 ((uint32_t)0x00000011)
74 #define RCC_PLLSource_MHSI_Div11 ((uint32_t)0x00000013)
75 #define RCC_PLLSource_MHSI_Div12 ((uint32_t)0x00000015)
76 #define RCC_PLLSource_MHSI_Div13 ((uint32_t)0x00000017)
77 #define RCC_PLLSource_MHSI_Div14 ((uint32_t)0x00000019)
78 #define RCC_PLLSource_MHSI_Div15 ((uint32_t)0x0000001B)
79 #define RCC_PLLSource_MHSI_Div16 ((uint32_t)0x0000001D)
80
88 #define RCC_MAINCLKSource_MHSI ((uint32_t)0x00000000)
89 #define RCC_MAINCLKSource_FHSI ((uint32_t)0x00000001)
90 #define RCC_MAINCLKSource_PLLCLK ((uint32_t)0x00000002)
91 #define RCC_MAINCLKSource_HSE ((uint32_t)0x00000003)
92
100 #define RCC_USBCLKSource_MAINCLK_Div1 ((uint32_t)0x00000000)
101 #define RCC_USBCLKSource_MAINCLK_1Div5 ((uint32_t)0x00000005)
102 #define RCC_USBCLKSource_MAINCLK_Div2 ((uint32_t)0x00000001)
103 #define RCC_USBCLKSource_MAINCLK_Div3 ((uint32_t)0x00000003)
104
112 #define RCC_MAINCLK_Div1 ((uint32_t)0x00000000)
113 #define RCC_MAINCLK_Div2 ((uint32_t)0x00000001)
114 #define RCC_MAINCLK_Div3 ((uint32_t)0x00000003)
115 #define RCC_MAINCLK_Div4 ((uint32_t)0x00000005)
116 #define RCC_MAINCLK_Div5 ((uint32_t)0x00000007)
117 #define RCC_MAINCLK_Div6 ((uint32_t)0x00000009)
118 #define RCC_MAINCLK_Div7 ((uint32_t)0x0000000B)
119 #define RCC_MAINCLK_Div8 ((uint32_t)0x0000000D)
120 #define RCC_MAINCLK_Div9 ((uint32_t)0x0000000F)
121 #define RCC_MAINCLK_Div10 ((uint32_t)0x00000011)
122 #define RCC_MAINCLK_Div11 ((uint32_t)0x00000013)
123 #define RCC_MAINCLK_Div12 ((uint32_t)0x00000015)
124 #define RCC_MAINCLK_Div13 ((uint32_t)0x00000017)
125 #define RCC_MAINCLK_Div14 ((uint32_t)0x00000019)
126 #define RCC_MAINCLK_Div15 ((uint32_t)0x0000001B)
127 #define RCC_MAINCLK_Div16 ((uint32_t)0x0000001D)
128 #define RCC_MAINCLK_Div17 ((uint32_t)0x0000001F)
129 #define RCC_MAINCLK_Div18 ((uint32_t)0x00000021)
130 #define RCC_MAINCLK_Div19 ((uint32_t)0x00000023)
131 #define RCC_MAINCLK_Div20 ((uint32_t)0x00000025)
132 #define RCC_MAINCLK_Div21 ((uint32_t)0x00000027)
133 #define RCC_MAINCLK_Div22 ((uint32_t)0x00000029)
134 #define RCC_MAINCLK_Div23 ((uint32_t)0x0000002B)
135 #define RCC_MAINCLK_Div24 ((uint32_t)0x0000002D)
136 #define RCC_MAINCLK_Div25 ((uint32_t)0x0000002F)
137 #define RCC_MAINCLK_Div26 ((uint32_t)0x00000031)
138 #define RCC_MAINCLK_Div27 ((uint32_t)0x00000033)
139 #define RCC_MAINCLK_Div28 ((uint32_t)0x00000035)
140 #define RCC_MAINCLK_Div29 ((uint32_t)0x00000037)
141 #define RCC_MAINCLK_Div30 ((uint32_t)0x00000039)
142 #define RCC_MAINCLK_Div31 ((uint32_t)0x0000003B)
143 #define RCC_MAINCLK_Div32 ((uint32_t)0x0000003D)
144 #define RCC_MAINCLK_Div33 ((uint32_t)0x0000003F)
145 #define RCC_MAINCLK_Div34 ((uint32_t)0x00000041)
146 #define RCC_MAINCLK_Div35 ((uint32_t)0x00000043)
147 #define RCC_MAINCLK_Div36 ((uint32_t)0x00000045)
148 #define RCC_MAINCLK_Div37 ((uint32_t)0x00000047)
149 #define RCC_MAINCLK_Div38 ((uint32_t)0x00000049)
150 #define RCC_MAINCLK_Div39 ((uint32_t)0x0000004B)
151 #define RCC_MAINCLK_Div40 ((uint32_t)0x0000004D)
152 #define RCC_MAINCLK_Div41 ((uint32_t)0x0000004F)
153 #define RCC_MAINCLK_Div42 ((uint32_t)0x00000051)
154 #define RCC_MAINCLK_Div43 ((uint32_t)0x00000053)
155 #define RCC_MAINCLK_Div44 ((uint32_t)0x00000055)
156 #define RCC_MAINCLK_Div45 ((uint32_t)0x00000057)
157 #define RCC_MAINCLK_Div46 ((uint32_t)0x00000059)
158 #define RCC_MAINCLK_Div47 ((uint32_t)0x0000005B)
159 #define RCC_MAINCLK_Div48 ((uint32_t)0x0000005D)
160 #define RCC_MAINCLK_Div49 ((uint32_t)0x0000005F)
161 #define RCC_MAINCLK_Div50 ((uint32_t)0x00000061)
162 #define RCC_MAINCLK_Div51 ((uint32_t)0x00000063)
163 #define RCC_MAINCLK_Div52 ((uint32_t)0x00000065)
164 #define RCC_MAINCLK_Div53 ((uint32_t)0x00000067)
165 #define RCC_MAINCLK_Div54 ((uint32_t)0x00000069)
166 #define RCC_MAINCLK_Div55 ((uint32_t)0x0000006B)
167 #define RCC_MAINCLK_Div56 ((uint32_t)0x0000006D)
168 #define RCC_MAINCLK_Div57 ((uint32_t)0x0000006F)
169 #define RCC_MAINCLK_Div58 ((uint32_t)0x00000071)
170 #define RCC_MAINCLK_Div59 ((uint32_t)0x00000073)
171 #define RCC_MAINCLK_Div60 ((uint32_t)0x00000075)
172 #define RCC_MAINCLK_Div61 ((uint32_t)0x00000077)
173 #define RCC_MAINCLK_Div62 ((uint32_t)0x00000079)
174 #define RCC_MAINCLK_Div63 ((uint32_t)0x0000007B)
175 #define RCC_MAINCLK_Div64 ((uint32_t)0x0000007D)
176
184 #define RCC_MCLKSource_MAINCLK_Div1 ((uint32_t)0x00000000)
185 #define RCC_MCLKSource_MAINCLK_Div2 ((uint32_t)0x00000001)
186 #define RCC_MCLKSource_MAINCLK_Div3 ((uint32_t)0x00000003)
187 #define RCC_MCLKSource_MAINCLK_Div4 ((uint32_t)0x00000005)
188 #define RCC_MCLKSource_MAINCLK_Div5 ((uint32_t)0x00000007)
189 #define RCC_MCLKSource_MAINCLK_Div6 ((uint32_t)0x00000009)
190 #define RCC_MCLKSource_MAINCLK_Div7 ((uint32_t)0x0000000B)
191 #define RCC_MCLKSource_MAINCLK_Div8 ((uint32_t)0x0000000D)
192 #define RCC_MCLKSource_MAINCLK_Div9 ((uint32_t)0x0000000F)
193 #define RCC_MCLKSource_MAINCLK_Div10 ((uint32_t)0x00000011)
194 #define RCC_MCLKSource_MAINCLK_Div11 ((uint32_t)0x00000013)
195 #define RCC_MCLKSource_MAINCLK_Div12 ((uint32_t)0x00000015)
196 #define RCC_MCLKSource_MAINCLK_Div13 ((uint32_t)0x00000017)
197 #define RCC_MCLKSource_MAINCLK_Div14 ((uint32_t)0x00000019)
198 #define RCC_MCLKSource_MAINCLK_Div15 ((uint32_t)0x0000001B)
199 #define RCC_MCLKSource_MAINCLK_Div16 ((uint32_t)0x0000001D)
200 #define RCC_MCLKSource_MAINCLK_Div17 ((uint32_t)0x0000001F)
201 #define RCC_MCLKSource_MAINCLK_Div18 ((uint32_t)0x00000021)
202 #define RCC_MCLKSource_MAINCLK_Div19 ((uint32_t)0x00000023)
203 #define RCC_MCLKSource_MAINCLK_Div20 ((uint32_t)0x00000025)
204 #define RCC_MCLKSource_MAINCLK_Div21 ((uint32_t)0x00000027)
205 #define RCC_MCLKSource_MAINCLK_Div22 ((uint32_t)0x00000029)
206 #define RCC_MCLKSource_MAINCLK_Div23 ((uint32_t)0x0000002B)
207 #define RCC_MCLKSource_MAINCLK_Div24 ((uint32_t)0x0000002D)
208 #define RCC_MCLKSource_MAINCLK_Div25 ((uint32_t)0x0000002F)
209 #define RCC_MCLKSource_MAINCLK_Div26 ((uint32_t)0x00000031)
210 #define RCC_MCLKSource_MAINCLK_Div27 ((uint32_t)0x00000033)
211 #define RCC_MCLKSource_MAINCLK_Div28 ((uint32_t)0x00000035)
212 #define RCC_MCLKSource_MAINCLK_Div29 ((uint32_t)0x00000037)
213 #define RCC_MCLKSource_MAINCLK_Div30 ((uint32_t)0x00000039)
214 #define RCC_MCLKSource_MAINCLK_Div31 ((uint32_t)0x0000003B)
215 #define RCC_MCLKSource_MAINCLK_Div32 ((uint32_t)0x0000003D)
216 #define RCC_MCLKSource_MAINCLK_Div33 ((uint32_t)0x0000003F)
217 #define RCC_MCLKSource_MAINCLK_Div34 ((uint32_t)0x00000041)
218 #define RCC_MCLKSource_MAINCLK_Div35 ((uint32_t)0x00000043)
219 #define RCC_MCLKSource_MAINCLK_Div36 ((uint32_t)0x00000045)
220 #define RCC_MCLKSource_MAINCLK_Div37 ((uint32_t)0x00000047)
221 #define RCC_MCLKSource_MAINCLK_Div38 ((uint32_t)0x00000049)
222 #define RCC_MCLKSource_MAINCLK_Div39 ((uint32_t)0x0000004B)
223 #define RCC_MCLKSource_MAINCLK_Div40 ((uint32_t)0x0000004D)
224 #define RCC_MCLKSource_MAINCLK_Div41 ((uint32_t)0x0000004F)
225 #define RCC_MCLKSource_MAINCLK_Div42 ((uint32_t)0x00000051)
226 #define RCC_MCLKSource_MAINCLK_Div43 ((uint32_t)0x00000053)
227 #define RCC_MCLKSource_MAINCLK_Div44 ((uint32_t)0x00000055)
228 #define RCC_MCLKSource_MAINCLK_Div45 ((uint32_t)0x00000057)
229 #define RCC_MCLKSource_MAINCLK_Div46 ((uint32_t)0x00000059)
230 #define RCC_MCLKSource_MAINCLK_Div47 ((uint32_t)0x0000005B)
231 #define RCC_MCLKSource_MAINCLK_Div48 ((uint32_t)0x0000005D)
232 #define RCC_MCLKSource_MAINCLK_Div49 ((uint32_t)0x0000005F)
233 #define RCC_MCLKSource_MAINCLK_Div50 ((uint32_t)0x00000061)
234 #define RCC_MCLKSource_MAINCLK_Div51 ((uint32_t)0x00000063)
235 #define RCC_MCLKSource_MAINCLK_Div52 ((uint32_t)0x00000065)
236 #define RCC_MCLKSource_MAINCLK_Div53 ((uint32_t)0x00000067)
237 #define RCC_MCLKSource_MAINCLK_Div54 ((uint32_t)0x00000069)
238 #define RCC_MCLKSource_MAINCLK_Div55 ((uint32_t)0x0000006B)
239 #define RCC_MCLKSource_MAINCLK_Div56 ((uint32_t)0x0000006D)
240 #define RCC_MCLKSource_MAINCLK_Div57 ((uint32_t)0x0000006F)
241 #define RCC_MCLKSource_MAINCLK_Div58 ((uint32_t)0x00000071)
242 #define RCC_MCLKSource_MAINCLK_Div59 ((uint32_t)0x00000073)
243 #define RCC_MCLKSource_MAINCLK_Div60 ((uint32_t)0x00000075)
244 #define RCC_MCLKSource_MAINCLK_Div61 ((uint32_t)0x00000077)
245 #define RCC_MCLKSource_MAINCLK_Div62 ((uint32_t)0x00000079)
246 #define RCC_MCLKSource_MAINCLK_Div63 ((uint32_t)0x0000007B)
247 #define RCC_MCLKSource_MAINCLK_Div64 ((uint32_t)0x0000007D)
248 #define RCC_MCLKSource_FHSI_Div1 ((uint32_t)0x00000100)
249 #define RCC_MCLKSource_FHSI_Div2 ((uint32_t)0x00000101)
250 #define RCC_MCLKSource_FHSI_Div3 ((uint32_t)0x00000103)
251 #define RCC_MCLKSource_FHSI_Div4 ((uint32_t)0x00000105)
252 #define RCC_MCLKSource_FHSI_Div5 ((uint32_t)0x00000107)
253 #define RCC_MCLKSource_FHSI_Div6 ((uint32_t)0x00000109)
254 #define RCC_MCLKSource_FHSI_Div7 ((uint32_t)0x0000010B)
255 #define RCC_MCLKSource_FHSI_Div8 ((uint32_t)0x0000010D)
256 #define RCC_MCLKSource_FHSI_Div9 ((uint32_t)0x0000010F)
257 #define RCC_MCLKSource_FHSI_Div10 ((uint32_t)0x00000111)
258 #define RCC_MCLKSource_FHSI_Div11 ((uint32_t)0x00000113)
259 #define RCC_MCLKSource_FHSI_Div12 ((uint32_t)0x00000115)
260 #define RCC_MCLKSource_FHSI_Div13 ((uint32_t)0x00000117)
261 #define RCC_MCLKSource_FHSI_Div14 ((uint32_t)0x00000119)
262 #define RCC_MCLKSource_FHSI_Div15 ((uint32_t)0x0000011B)
263 #define RCC_MCLKSource_FHSI_Div16 ((uint32_t)0x0000011D)
264 #define RCC_MCLKSource_FHSI_Div17 ((uint32_t)0x0000011F)
265 #define RCC_MCLKSource_FHSI_Div18 ((uint32_t)0x00000121)
266 #define RCC_MCLKSource_FHSI_Div19 ((uint32_t)0x00000123)
267 #define RCC_MCLKSource_FHSI_Div20 ((uint32_t)0x00000125)
268 #define RCC_MCLKSource_FHSI_Div21 ((uint32_t)0x00000127)
269 #define RCC_MCLKSource_FHSI_Div22 ((uint32_t)0x00000129)
270 #define RCC_MCLKSource_FHSI_Div23 ((uint32_t)0x0000012B)
271 #define RCC_MCLKSource_FHSI_Div24 ((uint32_t)0x0000012D)
272 #define RCC_MCLKSource_FHSI_Div25 ((uint32_t)0x0000012F)
273 #define RCC_MCLKSource_FHSI_Div26 ((uint32_t)0x00000131)
274 #define RCC_MCLKSource_FHSI_Div27 ((uint32_t)0x00000133)
275 #define RCC_MCLKSource_FHSI_Div28 ((uint32_t)0x00000135)
276 #define RCC_MCLKSource_FHSI_Div29 ((uint32_t)0x00000137)
277 #define RCC_MCLKSource_FHSI_Div30 ((uint32_t)0x00000139)
278 #define RCC_MCLKSource_FHSI_Div31 ((uint32_t)0x0000013B)
279 #define RCC_MCLKSource_FHSI_Div32 ((uint32_t)0x0000013D)
280 #define RCC_MCLKSource_FHSI_Div33 ((uint32_t)0x0000013F)
281 #define RCC_MCLKSource_FHSI_Div34 ((uint32_t)0x00000141)
282 #define RCC_MCLKSource_FHSI_Div35 ((uint32_t)0x00000143)
283 #define RCC_MCLKSource_FHSI_Div36 ((uint32_t)0x00000145)
284 #define RCC_MCLKSource_FHSI_Div37 ((uint32_t)0x00000147)
285 #define RCC_MCLKSource_FHSI_Div38 ((uint32_t)0x00000149)
286 #define RCC_MCLKSource_FHSI_Div39 ((uint32_t)0x0000014B)
287 #define RCC_MCLKSource_FHSI_Div40 ((uint32_t)0x0000014D)
288 #define RCC_MCLKSource_FHSI_Div41 ((uint32_t)0x0000014F)
289 #define RCC_MCLKSource_FHSI_Div42 ((uint32_t)0x00000151)
290 #define RCC_MCLKSource_FHSI_Div43 ((uint32_t)0x00000153)
291 #define RCC_MCLKSource_FHSI_Div44 ((uint32_t)0x00000155)
292 #define RCC_MCLKSource_FHSI_Div45 ((uint32_t)0x00000157)
293 #define RCC_MCLKSource_FHSI_Div46 ((uint32_t)0x00000159)
294 #define RCC_MCLKSource_FHSI_Div47 ((uint32_t)0x0000015B)
295 #define RCC_MCLKSource_FHSI_Div48 ((uint32_t)0x0000015D)
296 #define RCC_MCLKSource_FHSI_Div49 ((uint32_t)0x0000015F)
297 #define RCC_MCLKSource_FHSI_Div50 ((uint32_t)0x00000161)
298 #define RCC_MCLKSource_FHSI_Div51 ((uint32_t)0x00000163)
299 #define RCC_MCLKSource_FHSI_Div52 ((uint32_t)0x00000165)
300 #define RCC_MCLKSource_FHSI_Div53 ((uint32_t)0x00000167)
301 #define RCC_MCLKSource_FHSI_Div54 ((uint32_t)0x00000169)
302 #define RCC_MCLKSource_FHSI_Div55 ((uint32_t)0x0000016B)
303 #define RCC_MCLKSource_FHSI_Div56 ((uint32_t)0x0000016D)
304 #define RCC_MCLKSource_FHSI_Div57 ((uint32_t)0x0000016F)
305 #define RCC_MCLKSource_FHSI_Div58 ((uint32_t)0x00000171)
306 #define RCC_MCLKSource_FHSI_Div59 ((uint32_t)0x00000173)
307 #define RCC_MCLKSource_FHSI_Div60 ((uint32_t)0x00000175)
308 #define RCC_MCLKSource_FHSI_Div61 ((uint32_t)0x00000177)
309 #define RCC_MCLKSource_FHSI_Div62 ((uint32_t)0x00000179)
310 #define RCC_MCLKSource_FHSI_Div63 ((uint32_t)0x0000017B)
311 #define RCC_MCLKSource_FHSI_Div64 ((uint32_t)0x0000017D)
312
320 #define RCC_MCLK_Div1 ((uint32_t)0x00000000)
321 #define RCC_MCLK_Div2 ((uint32_t)0x00000001)
322 #define RCC_MCLK_Div3 ((uint32_t)0x00000003)
323 #define RCC_MCLK_Div4 ((uint32_t)0x00000005)
324 #define RCC_MCLK_Div5 ((uint32_t)0x00000007)
325 #define RCC_MCLK_Div6 ((uint32_t)0x00000009)
326 #define RCC_MCLK_Div7 ((uint32_t)0x0000000B)
327 #define RCC_MCLK_Div8 ((uint32_t)0x0000000D)
328 #define RCC_MCLK_Div9 ((uint32_t)0x0000000F)
329 #define RCC_MCLK_Div10 ((uint32_t)0x00000011)
330 #define RCC_MCLK_Div11 ((uint32_t)0x00000013)
331 #define RCC_MCLK_Div12 ((uint32_t)0x00000015)
332 #define RCC_MCLK_Div13 ((uint32_t)0x00000017)
333 #define RCC_MCLK_Div14 ((uint32_t)0x00000019)
334 #define RCC_MCLK_Div15 ((uint32_t)0x0000001B)
335 #define RCC_MCLK_Div16 ((uint32_t)0x0000001D)
336 #define RCC_MCLK_Div17 ((uint32_t)0x0000001F)
337 #define RCC_MCLK_Div18 ((uint32_t)0x00000021)
338 #define RCC_MCLK_Div19 ((uint32_t)0x00000023)
339 #define RCC_MCLK_Div20 ((uint32_t)0x00000025)
340 #define RCC_MCLK_Div21 ((uint32_t)0x00000027)
341 #define RCC_MCLK_Div22 ((uint32_t)0x00000029)
342 #define RCC_MCLK_Div23 ((uint32_t)0x0000002B)
343 #define RCC_MCLK_Div24 ((uint32_t)0x0000002D)
344 #define RCC_MCLK_Div25 ((uint32_t)0x0000002F)
345 #define RCC_MCLK_Div26 ((uint32_t)0x00000031)
346 #define RCC_MCLK_Div27 ((uint32_t)0x00000033)
347 #define RCC_MCLK_Div28 ((uint32_t)0x00000035)
348 #define RCC_MCLK_Div29 ((uint32_t)0x00000037)
349 #define RCC_MCLK_Div30 ((uint32_t)0x00000039)
350 #define RCC_MCLK_Div31 ((uint32_t)0x0000003B)
351 #define RCC_MCLK_Div32 ((uint32_t)0x0000003D)
352 #define RCC_MCLK_Div33 ((uint32_t)0x0000003F)
353 #define RCC_MCLK_Div34 ((uint32_t)0x00000041)
354 #define RCC_MCLK_Div35 ((uint32_t)0x00000043)
355 #define RCC_MCLK_Div36 ((uint32_t)0x00000045)
356 #define RCC_MCLK_Div37 ((uint32_t)0x00000047)
357 #define RCC_MCLK_Div38 ((uint32_t)0x00000049)
358 #define RCC_MCLK_Div39 ((uint32_t)0x0000004B)
359 #define RCC_MCLK_Div40 ((uint32_t)0x0000004D)
360 #define RCC_MCLK_Div41 ((uint32_t)0x0000004F)
361 #define RCC_MCLK_Div42 ((uint32_t)0x00000051)
362 #define RCC_MCLK_Div43 ((uint32_t)0x00000053)
363 #define RCC_MCLK_Div44 ((uint32_t)0x00000055)
364 #define RCC_MCLK_Div45 ((uint32_t)0x00000057)
365 #define RCC_MCLK_Div46 ((uint32_t)0x00000059)
366 #define RCC_MCLK_Div47 ((uint32_t)0x0000005B)
367 #define RCC_MCLK_Div48 ((uint32_t)0x0000005D)
368 #define RCC_MCLK_Div49 ((uint32_t)0x0000005F)
369 #define RCC_MCLK_Div50 ((uint32_t)0x00000061)
370 #define RCC_MCLK_Div51 ((uint32_t)0x00000063)
371 #define RCC_MCLK_Div52 ((uint32_t)0x00000065)
372 #define RCC_MCLK_Div53 ((uint32_t)0x00000067)
373 #define RCC_MCLK_Div54 ((uint32_t)0x00000069)
374 #define RCC_MCLK_Div55 ((uint32_t)0x0000006B)
375 #define RCC_MCLK_Div56 ((uint32_t)0x0000006D)
376 #define RCC_MCLK_Div57 ((uint32_t)0x0000006F)
377 #define RCC_MCLK_Div58 ((uint32_t)0x00000071)
378 #define RCC_MCLK_Div59 ((uint32_t)0x00000073)
379 #define RCC_MCLK_Div60 ((uint32_t)0x00000075)
380 #define RCC_MCLK_Div61 ((uint32_t)0x00000077)
381 #define RCC_MCLK_Div62 ((uint32_t)0x00000079)
382 #define RCC_MCLK_Div63 ((uint32_t)0x0000007B)
383 #define RCC_MCLK_Div64 ((uint32_t)0x0000007D)
384 #define RCC_MCLK_Div65 ((uint32_t)0x0000007F)
385 #define RCC_MCLK_Div66 ((uint32_t)0x00000081)
386 #define RCC_MCLK_Div67 ((uint32_t)0x00000083)
387 #define RCC_MCLK_Div68 ((uint32_t)0x00000085)
388 #define RCC_MCLK_Div69 ((uint32_t)0x00000087)
389 #define RCC_MCLK_Div70 ((uint32_t)0x00000089)
390 #define RCC_MCLK_Div71 ((uint32_t)0x0000008B)
391 #define RCC_MCLK_Div72 ((uint32_t)0x0000008D)
392 #define RCC_MCLK_Div73 ((uint32_t)0x0000008F)
393 #define RCC_MCLK_Div74 ((uint32_t)0x00000091)
394 #define RCC_MCLK_Div75 ((uint32_t)0x00000093)
395 #define RCC_MCLK_Div76 ((uint32_t)0x00000095)
396 #define RCC_MCLK_Div77 ((uint32_t)0x00000097)
397 #define RCC_MCLK_Div78 ((uint32_t)0x00000099)
398 #define RCC_MCLK_Div79 ((uint32_t)0x0000009B)
399 #define RCC_MCLK_Div80 ((uint32_t)0x0000009D)
400 #define RCC_MCLK_Div81 ((uint32_t)0x0000009F)
401 #define RCC_MCLK_Div82 ((uint32_t)0x000000A1)
402 #define RCC_MCLK_Div83 ((uint32_t)0x000000A3)
403 #define RCC_MCLK_Div84 ((uint32_t)0x000000A5)
404 #define RCC_MCLK_Div85 ((uint32_t)0x000000A7)
405 #define RCC_MCLK_Div86 ((uint32_t)0x000000A9)
406 #define RCC_MCLK_Div87 ((uint32_t)0x000000AB)
407 #define RCC_MCLK_Div88 ((uint32_t)0x000000AD)
408 #define RCC_MCLK_Div89 ((uint32_t)0x000000AF)
409 #define RCC_MCLK_Div90 ((uint32_t)0x000000B1)
410 #define RCC_MCLK_Div91 ((uint32_t)0x000000B3)
411 #define RCC_MCLK_Div92 ((uint32_t)0x000000B5)
412 #define RCC_MCLK_Div93 ((uint32_t)0x000000B7)
413 #define RCC_MCLK_Div94 ((uint32_t)0x000000B9)
414 #define RCC_MCLK_Div95 ((uint32_t)0x000000BB)
415 #define RCC_MCLK_Div96 ((uint32_t)0x000000BD)
416 #define RCC_MCLK_Div97 ((uint32_t)0x000000BF)
417 #define RCC_MCLK_Div98 ((uint32_t)0x000000C1)
418 #define RCC_MCLK_Div99 ((uint32_t)0x000000C3)
419 #define RCC_MCLK_Div100 ((uint32_t)0x000000C5)
420 #define RCC_MCLK_Div101 ((uint32_t)0x000000C7)
421 #define RCC_MCLK_Div102 ((uint32_t)0x000000C9)
422 #define RCC_MCLK_Div103 ((uint32_t)0x000000CB)
423 #define RCC_MCLK_Div104 ((uint32_t)0x000000CD)
424 #define RCC_MCLK_Div105 ((uint32_t)0x000000CF)
425 #define RCC_MCLK_Div106 ((uint32_t)0x000000D1)
426 #define RCC_MCLK_Div107 ((uint32_t)0x000000D3)
427 #define RCC_MCLK_Div108 ((uint32_t)0x000000D5)
428 #define RCC_MCLK_Div109 ((uint32_t)0x000000D7)
429 #define RCC_MCLK_Div110 ((uint32_t)0x000000D9)
430 #define RCC_MCLK_Div111 ((uint32_t)0x000000DB)
431 #define RCC_MCLK_Div112 ((uint32_t)0x000000DD)
432 #define RCC_MCLK_Div113 ((uint32_t)0x000000DF)
433 #define RCC_MCLK_Div114 ((uint32_t)0x000000E1)
434 #define RCC_MCLK_Div115 ((uint32_t)0x000000E3)
435 #define RCC_MCLK_Div116 ((uint32_t)0x000000E5)
436 #define RCC_MCLK_Div117 ((uint32_t)0x000000E7)
437 #define RCC_MCLK_Div118 ((uint32_t)0x000000E9)
438 #define RCC_MCLK_Div119 ((uint32_t)0x000000EB)
439 #define RCC_MCLK_Div120 ((uint32_t)0x000000ED)
440 #define RCC_MCLK_Div121 ((uint32_t)0x000000EF)
441 #define RCC_MCLK_Div122 ((uint32_t)0x000000F1)
442 #define RCC_MCLK_Div123 ((uint32_t)0x000000F3)
443 #define RCC_MCLK_Div124 ((uint32_t)0x000000F5)
444 #define RCC_MCLK_Div125 ((uint32_t)0x000000F7)
445 #define RCC_MCLK_Div126 ((uint32_t)0x000000F9)
446 #define RCC_MCLK_Div127 ((uint32_t)0x000000FB)
447 #define RCC_MCLK_Div128 ((uint32_t)0x000000FD)
448 #define RCC_MCLK_Div129 ((uint32_t)0x000000FF)
449 #define RCC_MCLK_Div130 ((uint32_t)0x00000101)
450 #define RCC_MCLK_Div131 ((uint32_t)0x00000103)
451 #define RCC_MCLK_Div132 ((uint32_t)0x00000105)
452 #define RCC_MCLK_Div133 ((uint32_t)0x00000107)
453 #define RCC_MCLK_Div134 ((uint32_t)0x00000109)
454 #define RCC_MCLK_Div135 ((uint32_t)0x0000010B)
455 #define RCC_MCLK_Div136 ((uint32_t)0x0000010D)
456 #define RCC_MCLK_Div137 ((uint32_t)0x0000010F)
457 #define RCC_MCLK_Div138 ((uint32_t)0x00000111)
458 #define RCC_MCLK_Div139 ((uint32_t)0x00000113)
459 #define RCC_MCLK_Div140 ((uint32_t)0x00000115)
460 #define RCC_MCLK_Div141 ((uint32_t)0x00000117)
461 #define RCC_MCLK_Div142 ((uint32_t)0x00000119)
462 #define RCC_MCLK_Div143 ((uint32_t)0x0000011B)
463 #define RCC_MCLK_Div144 ((uint32_t)0x0000011D)
464 #define RCC_MCLK_Div145 ((uint32_t)0x0000011F)
465 #define RCC_MCLK_Div146 ((uint32_t)0x00000121)
466 #define RCC_MCLK_Div147 ((uint32_t)0x00000123)
467 #define RCC_MCLK_Div148 ((uint32_t)0x00000125)
468 #define RCC_MCLK_Div149 ((uint32_t)0x00000127)
469 #define RCC_MCLK_Div150 ((uint32_t)0x00000129)
470 #define RCC_MCLK_Div151 ((uint32_t)0x0000012B)
471 #define RCC_MCLK_Div152 ((uint32_t)0x0000012D)
472 #define RCC_MCLK_Div153 ((uint32_t)0x0000012F)
473 #define RCC_MCLK_Div154 ((uint32_t)0x00000131)
474 #define RCC_MCLK_Div155 ((uint32_t)0x00000133)
475 #define RCC_MCLK_Div156 ((uint32_t)0x00000135)
476 #define RCC_MCLK_Div157 ((uint32_t)0x00000137)
477 #define RCC_MCLK_Div158 ((uint32_t)0x00000139)
478 #define RCC_MCLK_Div159 ((uint32_t)0x0000013B)
479 #define RCC_MCLK_Div160 ((uint32_t)0x0000013D)
480 #define RCC_MCLK_Div161 ((uint32_t)0x0000013F)
481 #define RCC_MCLK_Div162 ((uint32_t)0x00000141)
482 #define RCC_MCLK_Div163 ((uint32_t)0x00000143)
483 #define RCC_MCLK_Div164 ((uint32_t)0x00000145)
484 #define RCC_MCLK_Div165 ((uint32_t)0x00000147)
485 #define RCC_MCLK_Div166 ((uint32_t)0x00000149)
486 #define RCC_MCLK_Div167 ((uint32_t)0x0000014B)
487 #define RCC_MCLK_Div168 ((uint32_t)0x0000014D)
488 #define RCC_MCLK_Div169 ((uint32_t)0x0000014F)
489 #define RCC_MCLK_Div170 ((uint32_t)0x00000151)
490 #define RCC_MCLK_Div171 ((uint32_t)0x00000153)
491 #define RCC_MCLK_Div172 ((uint32_t)0x00000155)
492 #define RCC_MCLK_Div173 ((uint32_t)0x00000157)
493 #define RCC_MCLK_Div174 ((uint32_t)0x00000159)
494 #define RCC_MCLK_Div175 ((uint32_t)0x0000015B)
495 #define RCC_MCLK_Div176 ((uint32_t)0x0000015D)
496 #define RCC_MCLK_Div177 ((uint32_t)0x0000015F)
497 #define RCC_MCLK_Div178 ((uint32_t)0x00000161)
498 #define RCC_MCLK_Div179 ((uint32_t)0x00000163)
499 #define RCC_MCLK_Div180 ((uint32_t)0x00000165)
500 #define RCC_MCLK_Div181 ((uint32_t)0x00000167)
501 #define RCC_MCLK_Div182 ((uint32_t)0x00000169)
502 #define RCC_MCLK_Div183 ((uint32_t)0x0000016B)
503 #define RCC_MCLK_Div184 ((uint32_t)0x0000016D)
504 #define RCC_MCLK_Div185 ((uint32_t)0x0000016F)
505 #define RCC_MCLK_Div186 ((uint32_t)0x00000171)
506 #define RCC_MCLK_Div187 ((uint32_t)0x00000173)
507 #define RCC_MCLK_Div188 ((uint32_t)0x00000175)
508 #define RCC_MCLK_Div189 ((uint32_t)0x00000177)
509 #define RCC_MCLK_Div190 ((uint32_t)0x00000179)
510 #define RCC_MCLK_Div191 ((uint32_t)0x0000017B)
511 #define RCC_MCLK_Div192 ((uint32_t)0x0000017D)
512 #define RCC_MCLK_Div193 ((uint32_t)0x0000017F)
513 #define RCC_MCLK_Div194 ((uint32_t)0x00000181)
514 #define RCC_MCLK_Div195 ((uint32_t)0x00000183)
515 #define RCC_MCLK_Div196 ((uint32_t)0x00000185)
516 #define RCC_MCLK_Div197 ((uint32_t)0x00000187)
517 #define RCC_MCLK_Div198 ((uint32_t)0x00000189)
518 #define RCC_MCLK_Div199 ((uint32_t)0x0000018B)
519 #define RCC_MCLK_Div200 ((uint32_t)0x0000018D)
520 #define RCC_MCLK_Div201 ((uint32_t)0x0000018F)
521 #define RCC_MCLK_Div202 ((uint32_t)0x00000191)
522 #define RCC_MCLK_Div203 ((uint32_t)0x00000193)
523 #define RCC_MCLK_Div204 ((uint32_t)0x00000195)
524 #define RCC_MCLK_Div205 ((uint32_t)0x00000197)
525 #define RCC_MCLK_Div206 ((uint32_t)0x00000199)
526 #define RCC_MCLK_Div207 ((uint32_t)0x0000019B)
527 #define RCC_MCLK_Div208 ((uint32_t)0x0000019D)
528 #define RCC_MCLK_Div209 ((uint32_t)0x0000019F)
529 #define RCC_MCLK_Div210 ((uint32_t)0x000001A1)
530 #define RCC_MCLK_Div211 ((uint32_t)0x000001A3)
531 #define RCC_MCLK_Div212 ((uint32_t)0x000001A5)
532 #define RCC_MCLK_Div213 ((uint32_t)0x000001A7)
533 #define RCC_MCLK_Div214 ((uint32_t)0x000001A9)
534 #define RCC_MCLK_Div215 ((uint32_t)0x000001AB)
535 #define RCC_MCLK_Div216 ((uint32_t)0x000001AD)
536 #define RCC_MCLK_Div217 ((uint32_t)0x000001AF)
537 #define RCC_MCLK_Div218 ((uint32_t)0x000001B1)
538 #define RCC_MCLK_Div219 ((uint32_t)0x000001B3)
539 #define RCC_MCLK_Div220 ((uint32_t)0x000001B5)
540 #define RCC_MCLK_Div221 ((uint32_t)0x000001B7)
541 #define RCC_MCLK_Div222 ((uint32_t)0x000001B9)
542 #define RCC_MCLK_Div223 ((uint32_t)0x000001BB)
543 #define RCC_MCLK_Div224 ((uint32_t)0x000001BD)
544 #define RCC_MCLK_Div225 ((uint32_t)0x000001BF)
545 #define RCC_MCLK_Div226 ((uint32_t)0x000001C1)
546 #define RCC_MCLK_Div227 ((uint32_t)0x000001C3)
547 #define RCC_MCLK_Div228 ((uint32_t)0x000001C5)
548 #define RCC_MCLK_Div229 ((uint32_t)0x000001C7)
549 #define RCC_MCLK_Div230 ((uint32_t)0x000001C9)
550 #define RCC_MCLK_Div231 ((uint32_t)0x000001CB)
551 #define RCC_MCLK_Div232 ((uint32_t)0x000001CD)
552 #define RCC_MCLK_Div233 ((uint32_t)0x000001CF)
553 #define RCC_MCLK_Div234 ((uint32_t)0x000001D1)
554 #define RCC_MCLK_Div235 ((uint32_t)0x000001D3)
555 #define RCC_MCLK_Div236 ((uint32_t)0x000001D5)
556 #define RCC_MCLK_Div237 ((uint32_t)0x000001D7)
557 #define RCC_MCLK_Div238 ((uint32_t)0x000001D9)
558 #define RCC_MCLK_Div239 ((uint32_t)0x000001DB)
559 #define RCC_MCLK_Div240 ((uint32_t)0x000001DD)
560 #define RCC_MCLK_Div241 ((uint32_t)0x000001DF)
561 #define RCC_MCLK_Div242 ((uint32_t)0x000001E1)
562 #define RCC_MCLK_Div243 ((uint32_t)0x000001E3)
563 #define RCC_MCLK_Div244 ((uint32_t)0x000001E5)
564 #define RCC_MCLK_Div245 ((uint32_t)0x000001E7)
565 #define RCC_MCLK_Div246 ((uint32_t)0x000001E9)
566 #define RCC_MCLK_Div247 ((uint32_t)0x000001EB)
567 #define RCC_MCLK_Div248 ((uint32_t)0x000001ED)
568 #define RCC_MCLK_Div249 ((uint32_t)0x000001EF)
569 #define RCC_MCLK_Div250 ((uint32_t)0x000001F1)
570 #define RCC_MCLK_Div251 ((uint32_t)0x000001F3)
571 #define RCC_MCLK_Div252 ((uint32_t)0x000001F5)
572 #define RCC_MCLK_Div253 ((uint32_t)0x000001F7)
573 #define RCC_MCLK_Div254 ((uint32_t)0x000001F9)
574 #define RCC_MCLK_Div255 ((uint32_t)0x000001FB)
575 #define RCC_MCLK_Div256 ((uint32_t)0x000001FD)
576 #define RCC_MCLK_Div257 ((uint32_t)0x000001FF)
577 #define RCC_MCLK_Div258 ((uint32_t)0x00000201)
578 #define RCC_MCLK_Div259 ((uint32_t)0x00000203)
579 #define RCC_MCLK_Div260 ((uint32_t)0x00000205)
580 #define RCC_MCLK_Div261 ((uint32_t)0x00000207)
581 #define RCC_MCLK_Div262 ((uint32_t)0x00000209)
582 #define RCC_MCLK_Div263 ((uint32_t)0x0000020B)
583 #define RCC_MCLK_Div264 ((uint32_t)0x0000020D)
584 #define RCC_MCLK_Div265 ((uint32_t)0x0000020F)
585 #define RCC_MCLK_Div266 ((uint32_t)0x00000211)
586 #define RCC_MCLK_Div267 ((uint32_t)0x00000213)
587 #define RCC_MCLK_Div268 ((uint32_t)0x00000215)
588 #define RCC_MCLK_Div269 ((uint32_t)0x00000217)
589 #define RCC_MCLK_Div270 ((uint32_t)0x00000219)
590 #define RCC_MCLK_Div271 ((uint32_t)0x0000021B)
591 #define RCC_MCLK_Div272 ((uint32_t)0x0000021D)
592 #define RCC_MCLK_Div273 ((uint32_t)0x0000021F)
593 #define RCC_MCLK_Div274 ((uint32_t)0x00000221)
594 #define RCC_MCLK_Div275 ((uint32_t)0x00000223)
595 #define RCC_MCLK_Div276 ((uint32_t)0x00000225)
596 #define RCC_MCLK_Div277 ((uint32_t)0x00000227)
597 #define RCC_MCLK_Div278 ((uint32_t)0x00000229)
598 #define RCC_MCLK_Div279 ((uint32_t)0x0000022B)
599 #define RCC_MCLK_Div280 ((uint32_t)0x0000022D)
600 #define RCC_MCLK_Div281 ((uint32_t)0x0000022F)
601 #define RCC_MCLK_Div282 ((uint32_t)0x00000231)
602 #define RCC_MCLK_Div283 ((uint32_t)0x00000233)
603 #define RCC_MCLK_Div284 ((uint32_t)0x00000235)
604 #define RCC_MCLK_Div285 ((uint32_t)0x00000237)
605 #define RCC_MCLK_Div286 ((uint32_t)0x00000239)
606 #define RCC_MCLK_Div287 ((uint32_t)0x0000023B)
607 #define RCC_MCLK_Div288 ((uint32_t)0x0000023D)
608 #define RCC_MCLK_Div289 ((uint32_t)0x0000023F)
609 #define RCC_MCLK_Div290 ((uint32_t)0x00000241)
610 #define RCC_MCLK_Div291 ((uint32_t)0x00000243)
611 #define RCC_MCLK_Div292 ((uint32_t)0x00000245)
612 #define RCC_MCLK_Div293 ((uint32_t)0x00000247)
613 #define RCC_MCLK_Div294 ((uint32_t)0x00000249)
614 #define RCC_MCLK_Div295 ((uint32_t)0x0000024B)
615 #define RCC_MCLK_Div296 ((uint32_t)0x0000024D)
616 #define RCC_MCLK_Div297 ((uint32_t)0x0000024F)
617 #define RCC_MCLK_Div298 ((uint32_t)0x00000251)
618 #define RCC_MCLK_Div299 ((uint32_t)0x00000253)
619 #define RCC_MCLK_Div300 ((uint32_t)0x00000255)
620 #define RCC_MCLK_Div301 ((uint32_t)0x00000257)
621 #define RCC_MCLK_Div302 ((uint32_t)0x00000259)
622 #define RCC_MCLK_Div303 ((uint32_t)0x0000025B)
623 #define RCC_MCLK_Div304 ((uint32_t)0x0000025D)
624 #define RCC_MCLK_Div305 ((uint32_t)0x0000025F)
625 #define RCC_MCLK_Div306 ((uint32_t)0x00000261)
626 #define RCC_MCLK_Div307 ((uint32_t)0x00000263)
627 #define RCC_MCLK_Div308 ((uint32_t)0x00000265)
628 #define RCC_MCLK_Div309 ((uint32_t)0x00000267)
629 #define RCC_MCLK_Div310 ((uint32_t)0x00000269)
630 #define RCC_MCLK_Div311 ((uint32_t)0x0000026B)
631 #define RCC_MCLK_Div312 ((uint32_t)0x0000026D)
632 #define RCC_MCLK_Div313 ((uint32_t)0x0000026F)
633 #define RCC_MCLK_Div314 ((uint32_t)0x00000271)
634 #define RCC_MCLK_Div315 ((uint32_t)0x00000273)
635 #define RCC_MCLK_Div316 ((uint32_t)0x00000275)
636 #define RCC_MCLK_Div317 ((uint32_t)0x00000277)
637 #define RCC_MCLK_Div318 ((uint32_t)0x00000279)
638 #define RCC_MCLK_Div319 ((uint32_t)0x0000027B)
639 #define RCC_MCLK_Div320 ((uint32_t)0x0000027D)
640 #define RCC_MCLK_Div321 ((uint32_t)0x0000027F)
641 #define RCC_MCLK_Div322 ((uint32_t)0x00000281)
642 #define RCC_MCLK_Div323 ((uint32_t)0x00000283)
643 #define RCC_MCLK_Div324 ((uint32_t)0x00000285)
644 #define RCC_MCLK_Div325 ((uint32_t)0x00000287)
645 #define RCC_MCLK_Div326 ((uint32_t)0x00000289)
646 #define RCC_MCLK_Div327 ((uint32_t)0x0000028B)
647 #define RCC_MCLK_Div328 ((uint32_t)0x0000028D)
648 #define RCC_MCLK_Div329 ((uint32_t)0x0000028F)
649 #define RCC_MCLK_Div330 ((uint32_t)0x00000291)
650 #define RCC_MCLK_Div331 ((uint32_t)0x00000293)
651 #define RCC_MCLK_Div332 ((uint32_t)0x00000295)
652 #define RCC_MCLK_Div333 ((uint32_t)0x00000297)
653 #define RCC_MCLK_Div334 ((uint32_t)0x00000299)
654 #define RCC_MCLK_Div335 ((uint32_t)0x0000029B)
655 #define RCC_MCLK_Div336 ((uint32_t)0x0000029D)
656 #define RCC_MCLK_Div337 ((uint32_t)0x0000029F)
657 #define RCC_MCLK_Div338 ((uint32_t)0x000002A1)
658 #define RCC_MCLK_Div339 ((uint32_t)0x000002A3)
659 #define RCC_MCLK_Div340 ((uint32_t)0x000002A5)
660 #define RCC_MCLK_Div341 ((uint32_t)0x000002A7)
661 #define RCC_MCLK_Div342 ((uint32_t)0x000002A9)
662 #define RCC_MCLK_Div343 ((uint32_t)0x000002AB)
663 #define RCC_MCLK_Div344 ((uint32_t)0x000002AD)
664 #define RCC_MCLK_Div345 ((uint32_t)0x000002AF)
665 #define RCC_MCLK_Div346 ((uint32_t)0x000002B1)
666 #define RCC_MCLK_Div347 ((uint32_t)0x000002B3)
667 #define RCC_MCLK_Div348 ((uint32_t)0x000002B5)
668 #define RCC_MCLK_Div349 ((uint32_t)0x000002B7)
669 #define RCC_MCLK_Div350 ((uint32_t)0x000002B9)
670 #define RCC_MCLK_Div351 ((uint32_t)0x000002BB)
671 #define RCC_MCLK_Div352 ((uint32_t)0x000002BD)
672 #define RCC_MCLK_Div353 ((uint32_t)0x000002BF)
673 #define RCC_MCLK_Div354 ((uint32_t)0x000002C1)
674 #define RCC_MCLK_Div355 ((uint32_t)0x000002C3)
675 #define RCC_MCLK_Div356 ((uint32_t)0x000002C5)
676 #define RCC_MCLK_Div357 ((uint32_t)0x000002C7)
677 #define RCC_MCLK_Div358 ((uint32_t)0x000002C9)
678 #define RCC_MCLK_Div359 ((uint32_t)0x000002CB)
679 #define RCC_MCLK_Div360 ((uint32_t)0x000002CD)
680 #define RCC_MCLK_Div361 ((uint32_t)0x000002CF)
681 #define RCC_MCLK_Div362 ((uint32_t)0x000002D1)
682 #define RCC_MCLK_Div363 ((uint32_t)0x000002D3)
683 #define RCC_MCLK_Div364 ((uint32_t)0x000002D5)
684 #define RCC_MCLK_Div365 ((uint32_t)0x000002D7)
685 #define RCC_MCLK_Div366 ((uint32_t)0x000002D9)
686 #define RCC_MCLK_Div367 ((uint32_t)0x000002DB)
687 #define RCC_MCLK_Div368 ((uint32_t)0x000002DD)
688 #define RCC_MCLK_Div369 ((uint32_t)0x000002DF)
689 #define RCC_MCLK_Div370 ((uint32_t)0x000002E1)
690 #define RCC_MCLK_Div371 ((uint32_t)0x000002E3)
691 #define RCC_MCLK_Div372 ((uint32_t)0x000002E5)
692 #define RCC_MCLK_Div373 ((uint32_t)0x000002E7)
693 #define RCC_MCLK_Div374 ((uint32_t)0x000002E9)
694 #define RCC_MCLK_Div375 ((uint32_t)0x000002EB)
695 #define RCC_MCLK_Div376 ((uint32_t)0x000002ED)
696 #define RCC_MCLK_Div377 ((uint32_t)0x000002EF)
697 #define RCC_MCLK_Div378 ((uint32_t)0x000002F1)
698 #define RCC_MCLK_Div379 ((uint32_t)0x000002F3)
699 #define RCC_MCLK_Div380 ((uint32_t)0x000002F5)
700 #define RCC_MCLK_Div381 ((uint32_t)0x000002F7)
701 #define RCC_MCLK_Div382 ((uint32_t)0x000002F9)
702 #define RCC_MCLK_Div383 ((uint32_t)0x000002FB)
703 #define RCC_MCLK_Div384 ((uint32_t)0x000002FD)
704 #define RCC_MCLK_Div385 ((uint32_t)0x000002FF)
705 #define RCC_MCLK_Div386 ((uint32_t)0x00000301)
706 #define RCC_MCLK_Div387 ((uint32_t)0x00000303)
707 #define RCC_MCLK_Div388 ((uint32_t)0x00000305)
708 #define RCC_MCLK_Div389 ((uint32_t)0x00000307)
709 #define RCC_MCLK_Div390 ((uint32_t)0x00000309)
710 #define RCC_MCLK_Div391 ((uint32_t)0x0000030B)
711 #define RCC_MCLK_Div392 ((uint32_t)0x0000030D)
712 #define RCC_MCLK_Div393 ((uint32_t)0x0000030F)
713 #define RCC_MCLK_Div394 ((uint32_t)0x00000311)
714 #define RCC_MCLK_Div395 ((uint32_t)0x00000313)
715 #define RCC_MCLK_Div396 ((uint32_t)0x00000315)
716 #define RCC_MCLK_Div397 ((uint32_t)0x00000317)
717 #define RCC_MCLK_Div398 ((uint32_t)0x00000319)
718 #define RCC_MCLK_Div399 ((uint32_t)0x0000031B)
719 #define RCC_MCLK_Div400 ((uint32_t)0x0000031D)
720 #define RCC_MCLK_Div401 ((uint32_t)0x0000031F)
721 #define RCC_MCLK_Div402 ((uint32_t)0x00000321)
722 #define RCC_MCLK_Div403 ((uint32_t)0x00000323)
723 #define RCC_MCLK_Div404 ((uint32_t)0x00000325)
724 #define RCC_MCLK_Div405 ((uint32_t)0x00000327)
725 #define RCC_MCLK_Div406 ((uint32_t)0x00000329)
726 #define RCC_MCLK_Div407 ((uint32_t)0x0000032B)
727 #define RCC_MCLK_Div408 ((uint32_t)0x0000032D)
728 #define RCC_MCLK_Div409 ((uint32_t)0x0000032F)
729 #define RCC_MCLK_Div410 ((uint32_t)0x00000331)
730 #define RCC_MCLK_Div411 ((uint32_t)0x00000333)
731 #define RCC_MCLK_Div412 ((uint32_t)0x00000335)
732 #define RCC_MCLK_Div413 ((uint32_t)0x00000337)
733 #define RCC_MCLK_Div414 ((uint32_t)0x00000339)
734 #define RCC_MCLK_Div415 ((uint32_t)0x0000033B)
735 #define RCC_MCLK_Div416 ((uint32_t)0x0000033D)
736 #define RCC_MCLK_Div417 ((uint32_t)0x0000033F)
737 #define RCC_MCLK_Div418 ((uint32_t)0x00000341)
738 #define RCC_MCLK_Div419 ((uint32_t)0x00000343)
739 #define RCC_MCLK_Div420 ((uint32_t)0x00000345)
740 #define RCC_MCLK_Div421 ((uint32_t)0x00000347)
741 #define RCC_MCLK_Div422 ((uint32_t)0x00000349)
742 #define RCC_MCLK_Div423 ((uint32_t)0x0000034B)
743 #define RCC_MCLK_Div424 ((uint32_t)0x0000034D)
744 #define RCC_MCLK_Div425 ((uint32_t)0x0000034F)
745 #define RCC_MCLK_Div426 ((uint32_t)0x00000351)
746 #define RCC_MCLK_Div427 ((uint32_t)0x00000353)
747 #define RCC_MCLK_Div428 ((uint32_t)0x00000355)
748 #define RCC_MCLK_Div429 ((uint32_t)0x00000357)
749 #define RCC_MCLK_Div430 ((uint32_t)0x00000359)
750 #define RCC_MCLK_Div431 ((uint32_t)0x0000035B)
751 #define RCC_MCLK_Div432 ((uint32_t)0x0000035D)
752 #define RCC_MCLK_Div433 ((uint32_t)0x0000035F)
753 #define RCC_MCLK_Div434 ((uint32_t)0x00000361)
754 #define RCC_MCLK_Div435 ((uint32_t)0x00000363)
755 #define RCC_MCLK_Div436 ((uint32_t)0x00000365)
756 #define RCC_MCLK_Div437 ((uint32_t)0x00000367)
757 #define RCC_MCLK_Div438 ((uint32_t)0x00000369)
758 #define RCC_MCLK_Div439 ((uint32_t)0x0000036B)
759 #define RCC_MCLK_Div440 ((uint32_t)0x0000036D)
760 #define RCC_MCLK_Div441 ((uint32_t)0x0000036F)
761 #define RCC_MCLK_Div442 ((uint32_t)0x00000371)
762 #define RCC_MCLK_Div443 ((uint32_t)0x00000373)
763 #define RCC_MCLK_Div444 ((uint32_t)0x00000375)
764 #define RCC_MCLK_Div445 ((uint32_t)0x00000377)
765 #define RCC_MCLK_Div446 ((uint32_t)0x00000379)
766 #define RCC_MCLK_Div447 ((uint32_t)0x0000037B)
767 #define RCC_MCLK_Div448 ((uint32_t)0x0000037D)
768 #define RCC_MCLK_Div449 ((uint32_t)0x0000037F)
769 #define RCC_MCLK_Div450 ((uint32_t)0x00000381)
770 #define RCC_MCLK_Div451 ((uint32_t)0x00000383)
771 #define RCC_MCLK_Div452 ((uint32_t)0x00000385)
772 #define RCC_MCLK_Div453 ((uint32_t)0x00000387)
773 #define RCC_MCLK_Div454 ((uint32_t)0x00000389)
774 #define RCC_MCLK_Div455 ((uint32_t)0x0000038B)
775 #define RCC_MCLK_Div456 ((uint32_t)0x0000038D)
776 #define RCC_MCLK_Div457 ((uint32_t)0x0000038F)
777 #define RCC_MCLK_Div458 ((uint32_t)0x00000391)
778 #define RCC_MCLK_Div459 ((uint32_t)0x00000393)
779 #define RCC_MCLK_Div460 ((uint32_t)0x00000395)
780 #define RCC_MCLK_Div461 ((uint32_t)0x00000397)
781 #define RCC_MCLK_Div462 ((uint32_t)0x00000399)
782 #define RCC_MCLK_Div463 ((uint32_t)0x0000039B)
783 #define RCC_MCLK_Div464 ((uint32_t)0x0000039D)
784 #define RCC_MCLK_Div465 ((uint32_t)0x0000039F)
785 #define RCC_MCLK_Div466 ((uint32_t)0x000003A1)
786 #define RCC_MCLK_Div467 ((uint32_t)0x000003A3)
787 #define RCC_MCLK_Div468 ((uint32_t)0x000003A5)
788 #define RCC_MCLK_Div469 ((uint32_t)0x000003A7)
789 #define RCC_MCLK_Div470 ((uint32_t)0x000003A9)
790 #define RCC_MCLK_Div471 ((uint32_t)0x000003AB)
791 #define RCC_MCLK_Div472 ((uint32_t)0x000003AD)
792 #define RCC_MCLK_Div473 ((uint32_t)0x000003AF)
793 #define RCC_MCLK_Div474 ((uint32_t)0x000003B1)
794 #define RCC_MCLK_Div475 ((uint32_t)0x000003B3)
795 #define RCC_MCLK_Div476 ((uint32_t)0x000003B5)
796 #define RCC_MCLK_Div477 ((uint32_t)0x000003B7)
797 #define RCC_MCLK_Div478 ((uint32_t)0x000003B9)
798 #define RCC_MCLK_Div479 ((uint32_t)0x000003BB)
799 #define RCC_MCLK_Div480 ((uint32_t)0x000003BD)
800 #define RCC_MCLK_Div481 ((uint32_t)0x000003BF)
801 #define RCC_MCLK_Div482 ((uint32_t)0x000003C1)
802 #define RCC_MCLK_Div483 ((uint32_t)0x000003C3)
803 #define RCC_MCLK_Div484 ((uint32_t)0x000003C5)
804 #define RCC_MCLK_Div485 ((uint32_t)0x000003C7)
805 #define RCC_MCLK_Div486 ((uint32_t)0x000003C9)
806 #define RCC_MCLK_Div487 ((uint32_t)0x000003CB)
807 #define RCC_MCLK_Div488 ((uint32_t)0x000003CD)
808 #define RCC_MCLK_Div489 ((uint32_t)0x000003CF)
809 #define RCC_MCLK_Div490 ((uint32_t)0x000003D1)
810 #define RCC_MCLK_Div491 ((uint32_t)0x000003D3)
811 #define RCC_MCLK_Div492 ((uint32_t)0x000003D5)
812 #define RCC_MCLK_Div493 ((uint32_t)0x000003D7)
813 #define RCC_MCLK_Div494 ((uint32_t)0x000003D9)
814 #define RCC_MCLK_Div495 ((uint32_t)0x000003DB)
815 #define RCC_MCLK_Div496 ((uint32_t)0x000003DD)
816 #define RCC_MCLK_Div497 ((uint32_t)0x000003DF)
817 #define RCC_MCLK_Div498 ((uint32_t)0x000003E1)
818 #define RCC_MCLK_Div499 ((uint32_t)0x000003E3)
819 #define RCC_MCLK_Div500 ((uint32_t)0x000003E5)
820 #define RCC_MCLK_Div501 ((uint32_t)0x000003E7)
821 #define RCC_MCLK_Div502 ((uint32_t)0x000003E9)
822 #define RCC_MCLK_Div503 ((uint32_t)0x000003EB)
823 #define RCC_MCLK_Div504 ((uint32_t)0x000003ED)
824 #define RCC_MCLK_Div505 ((uint32_t)0x000003EF)
825 #define RCC_MCLK_Div506 ((uint32_t)0x000003F1)
826 #define RCC_MCLK_Div507 ((uint32_t)0x000003F3)
827 #define RCC_MCLK_Div508 ((uint32_t)0x000003F5)
828 #define RCC_MCLK_Div509 ((uint32_t)0x000003F7)
829 #define RCC_MCLK_Div510 ((uint32_t)0x000003F9)
830 #define RCC_MCLK_Div511 ((uint32_t)0x000003FB)
831 #define RCC_MCLK_Div512 ((uint32_t)0x000003FD)
832
840 #define RCC_USBFIFOCLKSource_AHBCLK ((uint32_t)0x00000000)
841 #define RCC_USBFIFOCLKSource_USBCLK ((uint32_t)0x00000001)
842
850 #define RCC_MCO_NoClock ((uint32_t)0x00000000)
851 #define RCC_MCO_AHBCLK ((uint32_t)0x00000001)
852 #define RCC_MCO_HSE ((uint32_t)0x00000002)
853 #define RCC_MCO_MHSI ((uint32_t)0x00000004)
854 #define RCC_MCO_PLLCLK_Div2 ((uint32_t)0x00000008)
855 #define RCC_MCO_MCLK ((uint32_t)0x00000010)
856
864 #define RCC_AHBPeriph_IWDG ((uint32_t)0x00000004)
865 #define RCC_AHBPeriph_USB ((uint32_t)0x00000200)
866 #define RCC_AHBPeriph_ISO ((uint32_t)0x00000400)
867 #define RCC_AHBPeriph_FLASH ((uint32_t)0x00000800)
868 #define RCC_AHBPeriph_CACHE ((uint32_t)0x00001000)
869 #define RCC_AHBPeriph_SYS ((uint32_t)0x00002000)
870 #define RCC_AHBPeriph_DMAC1Bridge ((uint32_t)0x00004000)
871 #define RCC_AHBPeriph_DMAC2Bridge ((uint32_t)0x00008000)
872 #define RCC_AHBPeriph_CRC_SFM ((uint32_t)0x00010000)
873 #define RCC_AHBPeriph_BKP ((uint32_t)0x04000000)
874
882 #define RCC_APB1Periph_DMAC1 ((uint32_t)0x00000001)
883 #define RCC_APB1Periph_TIM1 ((uint32_t)0x00000002)
884 #define RCC_APB1Periph_TIM2 ((uint32_t)0x00000004)
885 #define RCC_APB1Periph_TIM3 ((uint32_t)0x00000008)
886 #define RCC_APB1Periph_TIM4 ((uint32_t)0x00000010)
887 #define RCC_APB1Periph_GPIOA ((uint32_t)0x00000020)
888 #define RCC_APB1Periph_GPIOB ((uint32_t)0x00000040)
889 #define RCC_APB1Periph_GPIOC ((uint32_t)0x00000080)
890 #define RCC_APB1Periph_GPIOD ((uint32_t)0x00000100)
891 #define RCC_APB1Periph_EXTI ((uint32_t)0x00000200)
892 #define RCC_APB1Periph_AFIO ((uint32_t)0x00000400)
893 #define RCC_APB1Periph_ADC ((uint32_t)0x00000800)
894 #define RCC_APB1Periph_QSPI ((uint32_t)0x00001000)
895 #define RCC_APB1Periph_SPIS1 ((uint32_t)0x00002000)
896 #define RCC_APB1Periph_UART1 ((uint32_t)0x00004000)
897 #define RCC_APB1Periph_BMX1 ((uint32_t)0x00008000)
898
906 #define RCC_APB2Periph_DMAC2 ((uint32_t)0x00000001)
907 #define RCC_APB2Periph_WWDG ((uint32_t)0x00000002)
908 #define RCC_APB2Periph_UART2 ((uint32_t)0x00000004)
909 #define RCC_APB2Periph_UART3 ((uint32_t)0x00000008)
910 #define RCC_APB2Periph_SPIM2 ((uint32_t)0x00000010)
911 #define RCC_APB2Periph_SPIS2 ((uint32_t)0x00000020)
912 #define RCC_APB2Periph_I2S ((uint32_t)0x00000040)
913 #define RCC_APB2Periph_I2C1 ((uint32_t)0x00000080)
914 #define RCC_APB2Periph_I2C2 ((uint32_t)0x00000100)
915 #define RCC_APB2Periph_RNG ((uint32_t)0x00000200)
916 #define RCC_APB2Periph_LED ((uint32_t)0x00000400)
917 #define RCC_APB2Periph_BMX2 ((uint32_t)0x00000800)
918
926 #define RCC_RSTFLAG_LPWRRST ((uint32_t)0x00000001)
927 #define RCC_RSTFLAG_WWDGRST ((uint32_t)0x00000002)
928 #define RCC_RSTFLAG_IWDGRST ((uint32_t)0x00000004)
929 #define RCC_RSTFLAG_SFTRST ((uint32_t)0x00000008)
930 #define RCC_RSTFLAG_PORRST ((uint32_t)0x00000010)
931 #define RCC_RSTFLAG_PINRST ((uint32_t)0x00000020)
932
940 /* Exported macro ------------------------------------------------------------*/
941 /* Exported functions --------------------------------------------------------*/
942
943 void RCC_PLLSourceConfig(uint32_t RCC_PLLSource, FunctionalState NewState);
944 void RCC_MAINCLKConfig(uint32_t RCC_MAINCLKSource);
945 void RCC_USBCLKConfig(uint32_t RCC_USBCLKSource, FunctionalState NewState);
946 void RCC_AHBCLKConfig(uint32_t RCC_MAINCLK);
947 void RCC_APB1CLKConfig(uint32_t RCC_MAINCLK, FunctionalState NewState);
948 void RCC_APB2CLKConfig(uint32_t RCC_MAINCLK, FunctionalState NewState);
949 void RCC_MCLKConfig(uint32_t RCC_MCLKSource, FunctionalState NewState);
950 void RCC_I2SCLKConfig(uint32_t RCC_MCLK, FunctionalState NewState);
951 void RCC_I2SCLKResetCmd(FunctionalState NewState);
952 void RCC_RNGCLKCmd(FunctionalState NewState);
953 void RCC_IWDGCLKCmd(FunctionalState NewState);
954 void RCC_DCSSCLKCmd(FunctionalState NewState);
955 void RCC_SPIS1CLKCmd(FunctionalState NewState);
956 void RCC_SPIS2CLKCmd(FunctionalState NewState);
957 void RCC_USBFIFOCLKConfig(uint32_t RCC_USBFIFOCLKSource);
958 void RCC_USBFIFOCLKCmd(FunctionalState NewState);
959 void RCC_MCOConfig(uint32_t RCC_MCO);
960 void RCC_GetClocksFreq(RCC_ClocksTypeDef* RCC_Clocks);
961 void RCC_AHBPeriphClockCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState);
962 void RCC_APB1PeriphClockCmd(uint32_t RCC_APB1Periph, FunctionalState NewState);
963 void RCC_APB2PeriphClockCmd(uint32_t RCC_APB2Periph, FunctionalState NewState);
964 void RCC_AHBPeriphResetCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState);
965 void RCC_APB1PeriphResetCmd(uint32_t RCC_APB1Periph, FunctionalState NewState);
966 void RCC_APB2PeriphResetCmd(uint32_t RCC_APB2Periph, FunctionalState NewState);
967 void RCC_BackupResetCmd(FunctionalState NewState);
968 FlagStatus RCC_GetResetFlagStatus(uint32_t RCC_RSTFLAG);
969 void RCC_ClearResetFlags(void);
970
979 #ifdef __cplusplus
980 }
981 #endif
982
983 #endif /* __WB32F10x_RCC_H */
RCC_I2SCLKConfig
void RCC_I2SCLKConfig(uint32_t RCC_MCLK, FunctionalState NewState)
Configures the I2S SCLK clock (I2SCLK).
Definition: wb32f10x_rcc.c:185
RCC_ClocksTypeDef::AHBCLK_Frequency
uint32_t AHBCLK_Frequency
Definition: wb32f10x_rcc.h:34
RCC_RNGCLKCmd
void RCC_RNGCLKCmd(FunctionalState NewState)
Enables or disables the RNG clock (RNGCLK).
Definition: wb32f10x_rcc.c:217
RCC_AHBCLKConfig
void RCC_AHBCLKConfig(uint32_t RCC_MAINCLK)
Configures the AHB clock (AHBCLK).
Definition: wb32f10x_rcc.c:104
RCC_DCSSCLKCmd
void RCC_DCSSCLKCmd(FunctionalState NewState)
Enables or disables the DCSS clock.
Definition: wb32f10x_rcc.c:245
RCC_ClearResetFlags
void RCC_ClearResetFlags(void)
Clears the RCC reset flags.
Definition: wb32f10x_rcc.c:608
RCC_APB2PeriphClockCmd
void RCC_APB2PeriphClockCmd(uint32_t RCC_APB2Periph, FunctionalState NewState)
Enables or disables the APB2 peripheral clock.
Definition: wb32f10x_rcc.c:460
RCC_ClocksTypeDef::MAINCLK_Frequency
uint32_t MAINCLK_Frequency
Definition: wb32f10x_rcc.h:33
RCC_APB1CLKConfig
void RCC_APB1CLKConfig(uint32_t RCC_MAINCLK, FunctionalState NewState)
Configures the APB1 clock (APB1CLK).
Definition: wb32f10x_rcc.c:119
RCC_SPIS1CLKCmd
void RCC_SPIS1CLKCmd(FunctionalState NewState)
Enables or disables the SPIS1 clock (SPIS1CLK).
Definition: wb32f10x_rcc.c:261
RCC_MAINCLKConfig
void RCC_MAINCLKConfig(uint32_t RCC_MAINCLKSource)
Configures the main clock (MAINCLK).
Definition: wb32f10x_rcc.c:64
RCC_USBFIFOCLKConfig
void RCC_USBFIFOCLKConfig(uint32_t RCC_USBFIFOCLKSource)
Configures the USB FIFO clock (USBFIFOCLK).
Definition: wb32f10x_rcc.c:285
RCC_AHBPeriphClockCmd
void RCC_AHBPeriphClockCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState)
Enables or disables the AHB peripheral clock.
Definition: wb32f10x_rcc.c:392
RCC_USBCLKConfig
void RCC_USBCLKConfig(uint32_t RCC_USBCLKSource, FunctionalState NewState)
Configures the USB clock (USBCLK).
Definition: wb32f10x_rcc.c:82
RCC_I2SCLKResetCmd
void RCC_I2SCLKResetCmd(FunctionalState NewState)
Forces or releases the I2S SCLK clock domain reset.
Definition: wb32f10x_rcc.c:206
RCC_PLLSourceConfig
void RCC_PLLSourceConfig(uint32_t RCC_PLLSource, FunctionalState NewState)
Configures the PLL clock source.
Definition: wb32f10x_rcc.c:40
RCC_GetResetFlagStatus
FlagStatus RCC_GetResetFlagStatus(uint32_t RCC_RSTFLAG)
Checks whether the specified RCC reset flag is set or not.
Definition: wb32f10x_rcc.c:584
RCC_USBFIFOCLKCmd
void RCC_USBFIFOCLKCmd(FunctionalState NewState)
Enables or disables the USB FIFO clock (USBFIFOCLK).
Definition: wb32f10x_rcc.c:296
RCC_ClocksTypeDef::APB2CLK_Frequency
uint32_t APB2CLK_Frequency
Definition: wb32f10x_rcc.h:36
RCC_MCOConfig
void RCC_MCOConfig(uint32_t RCC_MCO)
Selects the clock source to output on MCO pin.
Definition: wb32f10x_rcc.c:318
RCC_APB1PeriphClockCmd
void RCC_APB1PeriphClockCmd(uint32_t RCC_APB1Periph, FunctionalState NewState)
Enables or disables the APB1 peripheral clock.
Definition: wb32f10x_rcc.c:430
RCC_APB2CLKConfig
void RCC_APB2CLKConfig(uint32_t RCC_MAINCLK, FunctionalState NewState)
Configures the APB2 clock (APB2CLK).
Definition: wb32f10x_rcc.c:141
RCC_IWDGCLKCmd
void RCC_IWDGCLKCmd(FunctionalState NewState)
Enables or disables the IWDG clock (IWDGCLK).
Definition: wb32f10x_rcc.c:229
RCC_ClocksTypeDef::APB1CLK_Frequency
uint32_t APB1CLK_Frequency
Definition: wb32f10x_rcc.h:35
RCC_APB1PeriphResetCmd
void RCC_APB1PeriphResetCmd(uint32_t RCC_APB1Periph, FunctionalState NewState)
Forces or releases APB1 peripheral reset.
Definition: wb32f10x_rcc.c:520
RCC_MCLKConfig
void RCC_MCLKConfig(uint32_t RCC_MCLKSource, FunctionalState NewState)
Configures the I2S MCLK clock (MCLK).
Definition: wb32f10x_rcc.c:162
RCC_SPIS2CLKCmd
void RCC_SPIS2CLKCmd(FunctionalState NewState)
Enables or disables the SPIS2 clock (SPIS2CLK).
Definition: wb32f10x_rcc.c:272
RCC_AHBPeriphResetCmd
void RCC_AHBPeriphResetCmd(uint32_t RCC_AHBPeriph, FunctionalState NewState)
Forces or releases AHB peripheral reset.
Definition: wb32f10x_rcc.c:484
RCC_GetClocksFreq
void RCC_GetClocksFreq(RCC_ClocksTypeDef *RCC_Clocks)
Returns the frequencies of different on chip clocks.
Definition: wb32f10x_rcc.c:330
RCC_APB2PeriphResetCmd
void RCC_APB2PeriphResetCmd(uint32_t RCC_APB2Periph, FunctionalState NewState)
Forces or releases APB2 peripheral reset.
Definition: wb32f10x_rcc.c:550
RCC_ClocksTypeDef
Definition: wb32f10x_rcc.h:31
RCC_BackupResetCmd
void RCC_BackupResetCmd(FunctionalState NewState)
Forces or releases the Backup domain reset.
Definition: wb32f10x_rcc.c:567