1 | # 1 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Drivers\\STM32G0xx_HAL_Driver\\Src\\stm32g0xx_hal_cryp_ex.c" |
---|
2 | # 1 "<built-in>" 1 |
---|
3 | # 1 "<built-in>" 3 |
---|
4 | # 380 "<built-in>" 3 |
---|
5 | # 1 "<command line>" 1 |
---|
6 | # 1 "<built-in>" 2 |
---|
7 | # 1 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Drivers\\STM32G0xx_HAL_Driver\\Src\\stm32g0xx_hal_cryp_ex.c" 2 |
---|
8 | # 24 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Drivers\\STM32G0xx_HAL_Driver\\Src\\stm32g0xx_hal_cryp_ex.c" |
---|
9 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1 |
---|
10 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
11 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 1 |
---|
12 | # 195 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
13 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 1 |
---|
14 | # 27 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
15 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 1 |
---|
16 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" |
---|
17 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 1 |
---|
18 | # 119 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
---|
19 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 1 |
---|
20 | # 69 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
---|
21 | typedef enum |
---|
22 | { |
---|
23 | |
---|
24 | NonMaskableInt_IRQn = -14, |
---|
25 | HardFault_IRQn = -13, |
---|
26 | SVCall_IRQn = -5, |
---|
27 | PendSV_IRQn = -2, |
---|
28 | SysTick_IRQn = -1, |
---|
29 | |
---|
30 | WWDG_IRQn = 0, |
---|
31 | RTC_TAMP_IRQn = 2, |
---|
32 | FLASH_IRQn = 3, |
---|
33 | RCC_IRQn = 4, |
---|
34 | EXTI0_1_IRQn = 5, |
---|
35 | EXTI2_3_IRQn = 6, |
---|
36 | EXTI4_15_IRQn = 7, |
---|
37 | DMA1_Channel1_IRQn = 9, |
---|
38 | DMA1_Channel2_3_IRQn = 10, |
---|
39 | DMA1_Ch4_7_DMAMUX1_OVR_IRQn = 11, |
---|
40 | ADC1_IRQn = 12, |
---|
41 | TIM1_BRK_UP_TRG_COM_IRQn = 13, |
---|
42 | TIM1_CC_IRQn = 14, |
---|
43 | TIM3_IRQn = 16, |
---|
44 | TIM6_IRQn = 17, |
---|
45 | TIM7_IRQn = 18, |
---|
46 | TIM14_IRQn = 19, |
---|
47 | TIM15_IRQn = 20, |
---|
48 | TIM16_IRQn = 21, |
---|
49 | TIM17_IRQn = 22, |
---|
50 | I2C1_IRQn = 23, |
---|
51 | I2C2_IRQn = 24, |
---|
52 | SPI1_IRQn = 25, |
---|
53 | SPI2_IRQn = 26, |
---|
54 | USART1_IRQn = 27, |
---|
55 | USART2_IRQn = 28, |
---|
56 | USART3_4_IRQn = 29, |
---|
57 | } IRQn_Type; |
---|
58 | |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | |
---|
63 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 1 |
---|
64 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 1 3 |
---|
71 | # 20 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3 |
---|
72 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 1 3 |
---|
73 | # 17 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
74 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 1 3 |
---|
75 | # 67 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 3 |
---|
76 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 1 3 |
---|
77 | # 35 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 3 |
---|
78 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 1 3 |
---|
79 | # 748 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
80 | static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_PARTIAL_WORD_func(char *addr, unsigned w, int n) { |
---|
81 | switch (n) { |
---|
82 | default: addr[3] = (-1) > 0 ? w : w >> 24; |
---|
83 | case 3: addr[2] = (-1) > 0 ? w >> 8 : w >> 16; |
---|
84 | case 2: addr[1] = (-1) > 0 ? w >> 16 : w >> 8; |
---|
85 | case 1: addr[0] = (-1) > 0 ? w >> 24 : w; |
---|
86 | case 0: ; |
---|
87 | } |
---|
88 | } |
---|
89 | |
---|
90 | static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_WORD_func(char *addr, unsigned w) { |
---|
91 | __SEGGER_RTL_WR_PARTIAL_WORD_func(addr, w, 4); |
---|
92 | } |
---|
93 | |
---|
94 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_RD_WORD_func(const void *addr) { |
---|
95 | const unsigned char *pAddr = (const unsigned char *)addr; |
---|
96 | |
---|
97 | return pAddr[0] * ((-1) > 0 ? 0x1000000u : 0x1u) + |
---|
98 | pAddr[1] * ((-1) > 0 ? 0x10000u : 0x100u) + |
---|
99 | pAddr[2] * ((-1) > 0 ? 0x100u : 0x10000u) + |
---|
100 | pAddr[3] * ((-1) > 0 ? 0x1u : 0x1000000u); |
---|
101 | } |
---|
102 | |
---|
103 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_BYTE_PATTERN_func(unsigned x) { |
---|
104 | return x * 0x01010101uL; |
---|
105 | } |
---|
106 | |
---|
107 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_HEAD_func(const void *pOrigin, unsigned Word, unsigned Standin) { |
---|
108 | unsigned Mask; |
---|
109 | unsigned Fill; |
---|
110 | |
---|
111 | (void)pOrigin; |
---|
112 | |
---|
113 | Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin); |
---|
114 | # 792 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
115 | Mask = 0xFFFFFFFFu; |
---|
116 | Mask <<= 8 * (((unsigned)(pOrigin)) & 3u); |
---|
117 | |
---|
118 | return (Word & Mask) | (Fill & ~Mask); |
---|
119 | |
---|
120 | |
---|
121 | } |
---|
122 | |
---|
123 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_TAIL_func(unsigned n, unsigned Word, unsigned Standin) { |
---|
124 | unsigned Mask; |
---|
125 | unsigned Fill; |
---|
126 | # 817 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
127 | if (n >= 4) { |
---|
128 | return Word; |
---|
129 | } else { |
---|
130 | Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin); |
---|
131 | Mask = 0xFFFFFFFFu << (8 * n); |
---|
132 | |
---|
133 | return (Fill & Mask) | (Word & ~Mask); |
---|
134 | } |
---|
135 | |
---|
136 | |
---|
137 | } |
---|
138 | |
---|
139 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_CHECK_func(unsigned x) { |
---|
140 | |
---|
141 | |
---|
142 | |
---|
143 | |
---|
144 | |
---|
145 | |
---|
146 | |
---|
147 | return ((x-0x01010101u) & ~x & 0x80808080u); |
---|
148 | |
---|
149 | |
---|
150 | } |
---|
151 | |
---|
152 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_INDEX_func(unsigned x, unsigned y) { |
---|
153 | # 866 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
154 | if ((x & 0x000000FFuL) != (y & 0x000000FFuL)) { return 0; } |
---|
155 | if ((x & 0x0000FF00uL) != (y & 0x0000FF00uL)) { return 1; } |
---|
156 | if ((x & 0x00FF0000uL) != (y & 0x00FF0000uL)) { return 2; } |
---|
157 | if ((x & 0xFF000000uL) != (y & 0xFF000000uL)) { return 3; } |
---|
158 | return 4; |
---|
159 | |
---|
160 | |
---|
161 | } |
---|
162 | |
---|
163 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_BYTE_func(unsigned x, int Index) { |
---|
164 | |
---|
165 | |
---|
166 | |
---|
167 | return (x >> (8*Index)) & 0xFF; |
---|
168 | |
---|
169 | } |
---|
170 | |
---|
171 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_INDEX_func(unsigned x) { |
---|
172 | # 919 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
173 | if ((x & 0x000000FFuL) == 0) { return 0; } |
---|
174 | if ((x & 0x0000FF00uL) == 0) { return 1; } |
---|
175 | if ((x & 0x00FF0000uL) == 0) { return 2; } |
---|
176 | if ((x & 0xFF000000uL) == 0) { return 3; } |
---|
177 | return 4; |
---|
178 | |
---|
179 | |
---|
180 | } |
---|
181 | |
---|
182 | static __inline__ __attribute__((__always_inline__)) _Bool __SEGGER_RTL_atomic_is_lock_free(unsigned size, const volatile void *ptr) { |
---|
183 | switch (size) { |
---|
184 | case 1: return 1; |
---|
185 | case 2: return ((unsigned)ptr & 1) == 0; |
---|
186 | case 4: return ((unsigned)ptr & 3) == 0; |
---|
187 | default: return 0; |
---|
188 | } |
---|
189 | } |
---|
190 | # 946 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
191 | extern const int __aeabi_SIGABRT; |
---|
192 | extern const int __aeabi_SIGINT; |
---|
193 | extern const int __aeabi_SIGILL; |
---|
194 | extern const int __aeabi_SIGFPE; |
---|
195 | extern const int __aeabi_SIGSEGV; |
---|
196 | extern const int __aeabi_SIGTERM; |
---|
197 | |
---|
198 | void __aeabi_SIG_DFL(int sig); |
---|
199 | void __aeabi_SIG_IGN(int sig); |
---|
200 | void __aeabi_SIG_ERR(int sig); |
---|
201 | # 36 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 2 3 |
---|
202 | # 68 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 2 3 |
---|
203 | # 18 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 2 3 |
---|
204 | # 38 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
205 | typedef struct __SEGGER_RTL_FILE_impl __SEGGER_RTL_FILE; |
---|
206 | |
---|
207 | |
---|
208 | typedef struct __SEGGER_RTL_locale_data_s __SEGGER_RTL_locale_t; |
---|
209 | typedef struct __SEGGER_RTL_locale_codeset_s __SEGGER_RTL_locale_codeset_t; |
---|
210 | |
---|
211 | typedef struct { |
---|
212 | |
---|
213 | |
---|
214 | |
---|
215 | const char * decimal_point; |
---|
216 | const char * thousands_sep; |
---|
217 | const char * grouping; |
---|
218 | |
---|
219 | const char * int_curr_symbol; |
---|
220 | const char * currency_symbol; |
---|
221 | const char * mon_decimal_point; |
---|
222 | const char * mon_thousands_sep; |
---|
223 | const char * mon_grouping; |
---|
224 | const char * positive_sign; |
---|
225 | const char * negative_sign; |
---|
226 | |
---|
227 | char int_frac_digits; |
---|
228 | char frac_digits; |
---|
229 | char p_cs_precedes; |
---|
230 | char p_sep_by_space; |
---|
231 | char n_cs_precedes; |
---|
232 | char n_sep_by_space; |
---|
233 | char p_sign_posn; |
---|
234 | char n_sign_posn; |
---|
235 | char int_p_cs_precedes; |
---|
236 | char int_n_cs_precedes; |
---|
237 | char int_p_sep_by_space; |
---|
238 | char int_n_sep_by_space; |
---|
239 | char int_p_sign_posn; |
---|
240 | char int_n_sign_posn; |
---|
241 | |
---|
242 | |
---|
243 | |
---|
244 | |
---|
245 | const char *day_names; |
---|
246 | const char *abbrev_day_names; |
---|
247 | const char *month_names; |
---|
248 | const char *abbrev_month_names; |
---|
249 | const char *am_pm_indicator; |
---|
250 | const char *date_format; |
---|
251 | const char *time_format; |
---|
252 | const char *date_time_format; |
---|
253 | } __SEGGER_RTL_locale_data_t; |
---|
254 | |
---|
255 | struct __SEGGER_RTL_locale_data_s { |
---|
256 | const char * name; |
---|
257 | const __SEGGER_RTL_locale_data_t * data; |
---|
258 | const __SEGGER_RTL_locale_codeset_t * codeset; |
---|
259 | }; |
---|
260 | |
---|
261 | struct __SEGGER_RTL_POSIX_locale_s { |
---|
262 | const __SEGGER_RTL_locale_t *__category[5]; |
---|
263 | }; |
---|
264 | |
---|
265 | struct timeval; |
---|
266 | # 107 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
267 | extern struct __SEGGER_RTL_POSIX_locale_s __SEGGER_RTL_global_locale; |
---|
268 | extern struct __SEGGER_RTL_POSIX_locale_s * __SEGGER_RTL_locale_ptr; |
---|
269 | extern char * __SEGGER_RTL_locale_name_buffer; |
---|
270 | # 118 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
271 | extern const __SEGGER_RTL_locale_t __SEGGER_RTL_c_locale; |
---|
272 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_1; |
---|
273 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_2; |
---|
274 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_3; |
---|
275 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_4; |
---|
276 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_5; |
---|
277 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_6; |
---|
278 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_7; |
---|
279 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_8; |
---|
280 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_9; |
---|
281 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_10; |
---|
282 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_11; |
---|
283 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_13; |
---|
284 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_14; |
---|
285 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_15; |
---|
286 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_16; |
---|
287 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1250; |
---|
288 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1251; |
---|
289 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1252; |
---|
290 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1253; |
---|
291 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1254; |
---|
292 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1255; |
---|
293 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1256; |
---|
294 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1257; |
---|
295 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1258; |
---|
296 | |
---|
297 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_c_locale_data; |
---|
298 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_DJ_locale; |
---|
299 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ER_locale; |
---|
300 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ET_locale; |
---|
301 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_NA_locale; |
---|
302 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_ZA_locale; |
---|
303 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ak_GH_locale; |
---|
304 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_am_ET_locale; |
---|
305 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_AE_locale; |
---|
306 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_BH_locale; |
---|
307 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_DZ_locale; |
---|
308 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_EG_locale; |
---|
309 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_IQ_locale; |
---|
310 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_JO_locale; |
---|
311 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_KW_locale; |
---|
312 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LB_locale; |
---|
313 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LY_locale; |
---|
314 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_MA_locale; |
---|
315 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_OM_locale; |
---|
316 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_QA_locale; |
---|
317 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SA_locale; |
---|
318 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SD_locale; |
---|
319 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SY_locale; |
---|
320 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_TN_locale; |
---|
321 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_YE_locale; |
---|
322 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_as_IN_locale; |
---|
323 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_asa_TZ_locale; |
---|
324 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Arab_IR_locale; |
---|
325 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_AZ_locale; |
---|
326 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Cyrl_AZ_locale; |
---|
327 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_IR_locale; |
---|
328 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Latn_AZ_locale; |
---|
329 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_be_BY_locale; |
---|
330 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bem_ZM_locale; |
---|
331 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bez_TZ_locale; |
---|
332 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bg_BG_locale; |
---|
333 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bm_ML_locale; |
---|
334 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_BD_locale; |
---|
335 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_IN_locale; |
---|
336 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_CN_locale; |
---|
337 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_IN_locale; |
---|
338 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_br_FR_locale; |
---|
339 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_brx_IN_locale; |
---|
340 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bs_BA_locale; |
---|
341 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_byn_ER_locale; |
---|
342 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ca_ES_locale; |
---|
343 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cch_NG_locale; |
---|
344 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cgg_UG_locale; |
---|
345 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_chr_US_locale; |
---|
346 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cs_CZ_locale; |
---|
347 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cy_GB_locale; |
---|
348 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_da_DK_locale; |
---|
349 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dav_KE_locale; |
---|
350 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_AT_locale; |
---|
351 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_BE_locale; |
---|
352 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_CH_locale; |
---|
353 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_DE_locale; |
---|
354 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LI_locale; |
---|
355 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LU_locale; |
---|
356 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dv_MV_locale; |
---|
357 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dz_BT_locale; |
---|
358 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ebu_KE_locale; |
---|
359 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_GH_locale; |
---|
360 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_TG_locale; |
---|
361 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_CY_locale; |
---|
362 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_GR_locale; |
---|
363 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AS_locale; |
---|
364 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AU_locale; |
---|
365 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BE_locale; |
---|
366 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BW_locale; |
---|
367 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BZ_locale; |
---|
368 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_CA_locale; |
---|
369 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_Dsrt_US_locale; |
---|
370 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GB_locale; |
---|
371 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GU_locale; |
---|
372 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_HK_locale; |
---|
373 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IE_locale; |
---|
374 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IN_locale; |
---|
375 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_JM_locale; |
---|
376 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MH_locale; |
---|
377 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MP_locale; |
---|
378 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MT_locale; |
---|
379 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MU_locale; |
---|
380 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NA_locale; |
---|
381 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NZ_locale; |
---|
382 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PH_locale; |
---|
383 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PK_locale; |
---|
384 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_SG_locale; |
---|
385 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_TT_locale; |
---|
386 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_UM_locale; |
---|
387 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_locale; |
---|
388 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_POSIX_locale; |
---|
389 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_VI_locale; |
---|
390 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZA_locale; |
---|
391 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZW_locale; |
---|
392 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZZ_locale; |
---|
393 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_AR_locale; |
---|
394 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_BO_locale; |
---|
395 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CL_locale; |
---|
396 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CO_locale; |
---|
397 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CR_locale; |
---|
398 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_DO_locale; |
---|
399 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_EC_locale; |
---|
400 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_ES_locale; |
---|
401 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GQ_locale; |
---|
402 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GT_locale; |
---|
403 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_HN_locale; |
---|
404 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_MX_locale; |
---|
405 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_NI_locale; |
---|
406 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PA_locale; |
---|
407 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PE_locale; |
---|
408 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PR_locale; |
---|
409 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PY_locale; |
---|
410 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_SV_locale; |
---|
411 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_US_locale; |
---|
412 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_UY_locale; |
---|
413 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_VE_locale; |
---|
414 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_et_EE_locale; |
---|
415 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_eu_ES_locale; |
---|
416 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_AF_locale; |
---|
417 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_IR_locale; |
---|
418 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ff_SN_locale; |
---|
419 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fi_FI_locale; |
---|
420 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fil_PH_locale; |
---|
421 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fo_FO_locale; |
---|
422 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BE_locale; |
---|
423 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BF_locale; |
---|
424 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BI_locale; |
---|
425 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BJ_locale; |
---|
426 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BL_locale; |
---|
427 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CA_locale; |
---|
428 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CD_locale; |
---|
429 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CF_locale; |
---|
430 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CG_locale; |
---|
431 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CH_locale; |
---|
432 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CI_locale; |
---|
433 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CM_locale; |
---|
434 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_DJ_locale; |
---|
435 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_FR_locale; |
---|
436 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GA_locale; |
---|
437 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GN_locale; |
---|
438 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GP_locale; |
---|
439 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GQ_locale; |
---|
440 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_KM_locale; |
---|
441 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_LU_locale; |
---|
442 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MC_locale; |
---|
443 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MF_locale; |
---|
444 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MG_locale; |
---|
445 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_ML_locale; |
---|
446 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MQ_locale; |
---|
447 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_NE_locale; |
---|
448 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RE_locale; |
---|
449 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RW_locale; |
---|
450 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_SN_locale; |
---|
451 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TD_locale; |
---|
452 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TG_locale; |
---|
453 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fur_IT_locale; |
---|
454 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ga_IE_locale; |
---|
455 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gaa_GH_locale; |
---|
456 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ER_locale; |
---|
457 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ET_locale; |
---|
458 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gl_ES_locale; |
---|
459 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gsw_CH_locale; |
---|
460 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gu_IN_locale; |
---|
461 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_guz_KE_locale; |
---|
462 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gv_GB_locale; |
---|
463 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_NG_locale; |
---|
464 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_SD_locale; |
---|
465 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_GH_locale; |
---|
466 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_GH_locale; |
---|
467 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NE_locale; |
---|
468 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NG_locale; |
---|
469 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NE_locale; |
---|
470 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NG_locale; |
---|
471 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_SD_locale; |
---|
472 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_haw_US_locale; |
---|
473 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_he_IL_locale; |
---|
474 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hi_IN_locale; |
---|
475 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hr_HR_locale; |
---|
476 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hu_HU_locale; |
---|
477 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hy_AM_locale; |
---|
478 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_id_ID_locale; |
---|
479 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ig_NG_locale; |
---|
480 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ii_CN_locale; |
---|
481 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_is_IS_locale; |
---|
482 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_CH_locale; |
---|
483 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_IT_locale; |
---|
484 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ja_JP_locale; |
---|
485 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_jmc_TZ_locale; |
---|
486 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ka_GE_locale; |
---|
487 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kab_DZ_locale; |
---|
488 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kaj_NG_locale; |
---|
489 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kam_KE_locale; |
---|
490 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kcg_NG_locale; |
---|
491 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kde_TZ_locale; |
---|
492 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kea_CV_locale; |
---|
493 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kfo_CI_locale; |
---|
494 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_khq_ML_locale; |
---|
495 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ki_KE_locale; |
---|
496 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_Cyrl_KZ_locale; |
---|
497 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_KZ_locale; |
---|
498 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kl_GL_locale; |
---|
499 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kln_KE_locale; |
---|
500 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_km_KH_locale; |
---|
501 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kn_IN_locale; |
---|
502 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ko_KR_locale; |
---|
503 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kok_IN_locale; |
---|
504 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_GN_locale; |
---|
505 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_LR_locale; |
---|
506 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksb_TZ_locale; |
---|
507 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksh_DE_locale; |
---|
508 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IQ_locale; |
---|
509 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IR_locale; |
---|
510 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IQ_locale; |
---|
511 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IR_locale; |
---|
512 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_SY_locale; |
---|
513 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_TR_locale; |
---|
514 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_SY_locale; |
---|
515 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_TR_locale; |
---|
516 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kw_GB_locale; |
---|
517 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ky_KG_locale; |
---|
518 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lag_TZ_locale; |
---|
519 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lg_UG_locale; |
---|
520 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CD_locale; |
---|
521 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CG_locale; |
---|
522 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lo_LA_locale; |
---|
523 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lt_LT_locale; |
---|
524 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luo_KE_locale; |
---|
525 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luy_KE_locale; |
---|
526 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lv_LV_locale; |
---|
527 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_KE_locale; |
---|
528 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_TZ_locale; |
---|
529 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mer_KE_locale; |
---|
530 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mfe_MU_locale; |
---|
531 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mg_MG_locale; |
---|
532 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mi_NZ_locale; |
---|
533 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mk_MK_locale; |
---|
534 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ml_IN_locale; |
---|
535 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_CN_locale; |
---|
536 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Cyrl_MN_locale; |
---|
537 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_MN_locale; |
---|
538 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Mong_CN_locale; |
---|
539 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mr_IN_locale; |
---|
540 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_BN_locale; |
---|
541 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_MY_locale; |
---|
542 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mt_MT_locale; |
---|
543 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_my_MM_locale; |
---|
544 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_naq_NA_locale; |
---|
545 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nb_NO_locale; |
---|
546 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nd_ZW_locale; |
---|
547 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nds_DE_locale; |
---|
548 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_IN_locale; |
---|
549 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_NP_locale; |
---|
550 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_BE_locale; |
---|
551 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_NL_locale; |
---|
552 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nn_NO_locale; |
---|
553 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nr_ZA_locale; |
---|
554 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nso_ZA_locale; |
---|
555 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ny_MW_locale; |
---|
556 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nyn_UG_locale; |
---|
557 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_oc_FR_locale; |
---|
558 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_ET_locale; |
---|
559 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_KE_locale; |
---|
560 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_or_IN_locale; |
---|
561 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Arab_PK_locale; |
---|
562 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Guru_IN_locale; |
---|
563 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_IN_locale; |
---|
564 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_PK_locale; |
---|
565 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pl_PL_locale; |
---|
566 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ps_AF_locale; |
---|
567 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_AO_locale; |
---|
568 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_BR_locale; |
---|
569 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_GW_locale; |
---|
570 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_MZ_locale; |
---|
571 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_PT_locale; |
---|
572 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rm_CH_locale; |
---|
573 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_MD_locale; |
---|
574 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_RO_locale; |
---|
575 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rof_TZ_locale; |
---|
576 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_MD_locale; |
---|
577 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_RU_locale; |
---|
578 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_UA_locale; |
---|
579 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rw_RW_locale; |
---|
580 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rwk_TZ_locale; |
---|
581 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sa_IN_locale; |
---|
582 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_saq_KE_locale; |
---|
583 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_FI_locale; |
---|
584 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_NO_locale; |
---|
585 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_seh_MZ_locale; |
---|
586 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ses_ML_locale; |
---|
587 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sg_CF_locale; |
---|
588 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_BA_locale; |
---|
589 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_CS_locale; |
---|
590 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_YU_locale; |
---|
591 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Latn_MA_locale; |
---|
592 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_MA_locale; |
---|
593 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Tfng_MA_locale; |
---|
594 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_si_LK_locale; |
---|
595 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sid_ET_locale; |
---|
596 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sk_SK_locale; |
---|
597 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sl_SI_locale; |
---|
598 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sn_ZW_locale; |
---|
599 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_DJ_locale; |
---|
600 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_ET_locale; |
---|
601 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_KE_locale; |
---|
602 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_SO_locale; |
---|
603 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sq_AL_locale; |
---|
604 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_BA_locale; |
---|
605 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_CS_locale; |
---|
606 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_BA_locale; |
---|
607 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_CS_locale; |
---|
608 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_ME_locale; |
---|
609 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_RS_locale; |
---|
610 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_YU_locale; |
---|
611 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_BA_locale; |
---|
612 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_CS_locale; |
---|
613 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_ME_locale; |
---|
614 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_RS_locale; |
---|
615 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_YU_locale; |
---|
616 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_ME_locale; |
---|
617 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_RS_locale; |
---|
618 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_YU_locale; |
---|
619 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_SZ_locale; |
---|
620 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_ZA_locale; |
---|
621 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ssy_ER_locale; |
---|
622 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_LS_locale; |
---|
623 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_ZA_locale; |
---|
624 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_FI_locale; |
---|
625 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_SE_locale; |
---|
626 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_KE_locale; |
---|
627 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_TZ_locale; |
---|
628 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_syr_SY_locale; |
---|
629 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_IN_locale; |
---|
630 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_LK_locale; |
---|
631 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_te_IN_locale; |
---|
632 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_KE_locale; |
---|
633 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_UG_locale; |
---|
634 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_Cyrl_TJ_locale; |
---|
635 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_TJ_locale; |
---|
636 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_th_TH_locale; |
---|
637 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ER_locale; |
---|
638 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ET_locale; |
---|
639 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tig_ER_locale; |
---|
640 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tl_PH_locale; |
---|
641 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tn_ZA_locale; |
---|
642 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_to_TO_locale; |
---|
643 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tr_TR_locale; |
---|
644 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_trv_TW_locale; |
---|
645 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ts_ZA_locale; |
---|
646 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tt_RU_locale; |
---|
647 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_Latn_MA_locale; |
---|
648 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_MA_locale; |
---|
649 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_Arab_CN_locale; |
---|
650 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_CN_locale; |
---|
651 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uk_UA_locale; |
---|
652 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_IN_locale; |
---|
653 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_PK_locale; |
---|
654 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_AF_locale; |
---|
655 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Arab_AF_locale; |
---|
656 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Cyrl_UZ_locale; |
---|
657 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Latn_UZ_locale; |
---|
658 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_UZ_locale; |
---|
659 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ve_ZA_locale; |
---|
660 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vi_VN_locale; |
---|
661 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vun_TZ_locale; |
---|
662 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wal_ET_locale; |
---|
663 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_Latn_SN_locale; |
---|
664 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_SN_locale; |
---|
665 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xh_ZA_locale; |
---|
666 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xog_UG_locale; |
---|
667 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_yo_NG_locale; |
---|
668 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_CN_locale; |
---|
669 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_CN_locale; |
---|
670 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_HK_locale; |
---|
671 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_MO_locale; |
---|
672 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_SG_locale; |
---|
673 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_HK_locale; |
---|
674 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_MO_locale; |
---|
675 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_TW_locale; |
---|
676 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_HK_locale; |
---|
677 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_MO_locale; |
---|
678 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_SG_locale; |
---|
679 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_TW_locale; |
---|
680 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zu_ZA_locale; |
---|
681 | |
---|
682 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_ascii; |
---|
683 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_utf8; |
---|
684 | |
---|
685 | extern const char __SEGGER_RTL_data_utf8_period []; |
---|
686 | extern const char __SEGGER_RTL_data_utf8_comma []; |
---|
687 | extern const char __SEGGER_RTL_data_utf8_space []; |
---|
688 | extern const char __SEGGER_RTL_data_utf8_plus []; |
---|
689 | extern const char __SEGGER_RTL_data_utf8_minus []; |
---|
690 | extern const char __SEGGER_RTL_data_empty_string[]; |
---|
691 | # 546 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
692 | int __SEGGER_RTL_X_set_time_of_day (const struct timeval *__tp); |
---|
693 | int __SEGGER_RTL_X_get_time_of_day (struct timeval *__tp); |
---|
694 | const __SEGGER_RTL_locale_t * __SEGGER_RTL_X_find_locale (const char *__locale); |
---|
695 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_open (const char *__filename, const char *__mode); |
---|
696 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_dopen (int __descriptor, const char *__mode); |
---|
697 | int __SEGGER_RTL_X_file_stat (__SEGGER_RTL_FILE *__stream); |
---|
698 | int __SEGGER_RTL_X_file_read (__SEGGER_RTL_FILE *__stream, char *__s, unsigned __len); |
---|
699 | int __SEGGER_RTL_X_file_write (__SEGGER_RTL_FILE *__stream, const char *__s, unsigned __len); |
---|
700 | int __SEGGER_RTL_X_file_unget (__SEGGER_RTL_FILE *__stream, int __c); |
---|
701 | int __SEGGER_RTL_X_file_close (__SEGGER_RTL_FILE *__stream); |
---|
702 | int __SEGGER_RTL_X_file_error (__SEGGER_RTL_FILE *__stream); |
---|
703 | int __SEGGER_RTL_X_file_flush (__SEGGER_RTL_FILE *__stream); |
---|
704 | int __SEGGER_RTL_X_file_eof (__SEGGER_RTL_FILE *__stream); |
---|
705 | void __SEGGER_RTL_X_file_clrerr (__SEGGER_RTL_FILE *__stream); |
---|
706 | int __SEGGER_RTL_X_file_seek (__SEGGER_RTL_FILE *__stream, long __offset, int __whence); |
---|
707 | int __SEGGER_RTL_X_file_getpos (__SEGGER_RTL_FILE *__stream, long *__pos); |
---|
708 | int __SEGGER_RTL_X_file_bufsize (__SEGGER_RTL_FILE *__stream); |
---|
709 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_tmpfile (void); |
---|
710 | char * __SEGGER_RTL_X_file_tmpnam (char *__s, unsigned __max); |
---|
711 | int __SEGGER_RTL_X_file_remove (const char *__filename); |
---|
712 | int __SEGGER_RTL_X_file_rename (const char *__old, const char *__new); |
---|
713 | void __attribute__((__weak__)) __SEGGER_RTL_X_heap_lock (void); |
---|
714 | void __attribute__((__weak__)) __SEGGER_RTL_X_heap_unlock (void); |
---|
715 | int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_lock (void); |
---|
716 | void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_unlock (int __state); |
---|
717 | int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_is_lock_free (unsigned int __size, void *__ptr); |
---|
718 | void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_synchronize (void); |
---|
719 | volatile int * __aeabi_errno_addr (void); |
---|
720 | void __aeabi_assert (const char *__expression, const char *__filename, int __line); |
---|
721 | # 584 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
722 | void __SEGGER_RTL_execute_at_exit_fns (void); |
---|
723 | void __SEGGER_RTL_set_locale_name_buffer (char *__buffer); |
---|
724 | int __SEGGER_RTL_mb_max (const struct __SEGGER_RTL_POSIX_locale_s *__loc); |
---|
725 | int __SEGGER_RTL_mb_cur_max (void); |
---|
726 | void __SEGGER_RTL_init_heap (void *__ptr, unsigned int __size); |
---|
727 | # 21 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 2 3 |
---|
728 | # 272 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3 |
---|
729 | typedef signed char int8_t; |
---|
730 | typedef unsigned char uint8_t; |
---|
731 | typedef short int16_t; |
---|
732 | typedef unsigned short uint16_t; |
---|
733 | typedef int int32_t; |
---|
734 | typedef unsigned int uint32_t; |
---|
735 | typedef long long int int64_t; |
---|
736 | typedef long long unsigned int uint64_t; |
---|
737 | |
---|
738 | typedef signed char int_least8_t; |
---|
739 | typedef short int_least16_t; |
---|
740 | typedef int int_least32_t; |
---|
741 | typedef long long int int_least64_t; |
---|
742 | typedef unsigned char uint_least8_t; |
---|
743 | typedef unsigned short uint_least16_t; |
---|
744 | typedef unsigned int uint_least32_t; |
---|
745 | typedef long long unsigned int uint_least64_t; |
---|
746 | |
---|
747 | typedef signed char int_fast8_t; |
---|
748 | typedef short int_fast16_t; |
---|
749 | typedef int int_fast32_t; |
---|
750 | typedef long long int int_fast64_t; |
---|
751 | typedef unsigned char uint_fast8_t; |
---|
752 | typedef unsigned short uint_fast16_t; |
---|
753 | typedef unsigned int uint_fast32_t; |
---|
754 | typedef long long unsigned int uint_fast64_t; |
---|
755 | |
---|
756 | typedef int intptr_t; |
---|
757 | typedef unsigned int uintptr_t; |
---|
758 | |
---|
759 | typedef long long int intmax_t; |
---|
760 | typedef long long unsigned int uintmax_t; |
---|
761 | # 35 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
762 | # 63 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
763 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 1 3 |
---|
764 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 3 |
---|
765 | # 64 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
766 | # 115 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
767 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 1 3 |
---|
768 | # 54 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 3 |
---|
769 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 1 3 |
---|
770 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
771 | #pragma GCC diagnostic push |
---|
772 | #pragma GCC diagnostic ignored "-Wsign-conversion" |
---|
773 | #pragma GCC diagnostic ignored "-Wconversion" |
---|
774 | #pragma GCC diagnostic ignored "-Wunused-parameter" |
---|
775 | # 71 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
776 | #pragma GCC diagnostic push |
---|
777 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
778 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
779 | struct __attribute__((packed)) T_UINT32 { uint32_t v; }; |
---|
780 | #pragma GCC diagnostic pop |
---|
781 | |
---|
782 | |
---|
783 | |
---|
784 | #pragma GCC diagnostic push |
---|
785 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
786 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
787 | struct __attribute__((packed, aligned(1))) T_UINT16_WRITE { uint16_t v; }; |
---|
788 | #pragma GCC diagnostic pop |
---|
789 | |
---|
790 | |
---|
791 | |
---|
792 | #pragma GCC diagnostic push |
---|
793 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
794 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
795 | struct __attribute__((packed, aligned(1))) T_UINT16_READ { uint16_t v; }; |
---|
796 | #pragma GCC diagnostic pop |
---|
797 | |
---|
798 | |
---|
799 | |
---|
800 | #pragma GCC diagnostic push |
---|
801 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
802 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
803 | struct __attribute__((packed, aligned(1))) T_UINT32_WRITE { uint32_t v; }; |
---|
804 | #pragma GCC diagnostic pop |
---|
805 | |
---|
806 | |
---|
807 | |
---|
808 | #pragma GCC diagnostic push |
---|
809 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
810 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
811 | struct __attribute__((packed, aligned(1))) T_UINT32_READ { uint32_t v; }; |
---|
812 | #pragma GCC diagnostic pop |
---|
813 | # 131 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
814 | __attribute__((always_inline)) static inline __attribute__((__noreturn__)) void __cmsis_start(void) |
---|
815 | { |
---|
816 | extern void _start(void) __attribute__((__noreturn__)); |
---|
817 | |
---|
818 | typedef struct { |
---|
819 | uint32_t const* src; |
---|
820 | uint32_t* dest; |
---|
821 | uint32_t wlen; |
---|
822 | } __copy_table_t; |
---|
823 | |
---|
824 | typedef struct { |
---|
825 | uint32_t* dest; |
---|
826 | uint32_t wlen; |
---|
827 | } __zero_table_t; |
---|
828 | |
---|
829 | extern const __copy_table_t __copy_table_start__; |
---|
830 | extern const __copy_table_t __copy_table_end__; |
---|
831 | extern const __zero_table_t __zero_table_start__; |
---|
832 | extern const __zero_table_t __zero_table_end__; |
---|
833 | |
---|
834 | for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable) { |
---|
835 | for(uint32_t i=0u; i<pTable->wlen; ++i) { |
---|
836 | pTable->dest[i] = pTable->src[i]; |
---|
837 | } |
---|
838 | } |
---|
839 | |
---|
840 | for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable) { |
---|
841 | for(uint32_t i=0u; i<pTable->wlen; ++i) { |
---|
842 | pTable->dest[i] = 0u; |
---|
843 | } |
---|
844 | } |
---|
845 | |
---|
846 | _start(); |
---|
847 | } |
---|
848 | # 196 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
849 | __attribute__((always_inline)) static inline void __enable_irq(void) |
---|
850 | { |
---|
851 | __asm volatile ("cpsie i" : : : "memory"); |
---|
852 | } |
---|
853 | |
---|
854 | |
---|
855 | |
---|
856 | |
---|
857 | |
---|
858 | |
---|
859 | |
---|
860 | __attribute__((always_inline)) static inline void __disable_irq(void) |
---|
861 | { |
---|
862 | __asm volatile ("cpsid i" : : : "memory"); |
---|
863 | } |
---|
864 | |
---|
865 | |
---|
866 | |
---|
867 | |
---|
868 | |
---|
869 | |
---|
870 | |
---|
871 | __attribute__((always_inline)) static inline uint32_t __get_CONTROL(void) |
---|
872 | { |
---|
873 | uint32_t result; |
---|
874 | |
---|
875 | __asm volatile ("MRS %0, control" : "=r" (result) ); |
---|
876 | return(result); |
---|
877 | } |
---|
878 | # 248 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
879 | __attribute__((always_inline)) static inline void __set_CONTROL(uint32_t control) |
---|
880 | { |
---|
881 | __asm volatile ("MSR control, %0" : : "r" (control) : "memory"); |
---|
882 | } |
---|
883 | # 272 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
884 | __attribute__((always_inline)) static inline uint32_t __get_IPSR(void) |
---|
885 | { |
---|
886 | uint32_t result; |
---|
887 | |
---|
888 | __asm volatile ("MRS %0, ipsr" : "=r" (result) ); |
---|
889 | return(result); |
---|
890 | } |
---|
891 | |
---|
892 | |
---|
893 | |
---|
894 | |
---|
895 | |
---|
896 | |
---|
897 | |
---|
898 | __attribute__((always_inline)) static inline uint32_t __get_APSR(void) |
---|
899 | { |
---|
900 | uint32_t result; |
---|
901 | |
---|
902 | __asm volatile ("MRS %0, apsr" : "=r" (result) ); |
---|
903 | return(result); |
---|
904 | } |
---|
905 | |
---|
906 | |
---|
907 | |
---|
908 | |
---|
909 | |
---|
910 | |
---|
911 | |
---|
912 | __attribute__((always_inline)) static inline uint32_t __get_xPSR(void) |
---|
913 | { |
---|
914 | uint32_t result; |
---|
915 | |
---|
916 | __asm volatile ("MRS %0, xpsr" : "=r" (result) ); |
---|
917 | return(result); |
---|
918 | } |
---|
919 | |
---|
920 | |
---|
921 | |
---|
922 | |
---|
923 | |
---|
924 | |
---|
925 | |
---|
926 | __attribute__((always_inline)) static inline uint32_t __get_PSP(void) |
---|
927 | { |
---|
928 | uint32_t result; |
---|
929 | |
---|
930 | __asm volatile ("MRS %0, psp" : "=r" (result) ); |
---|
931 | return(result); |
---|
932 | } |
---|
933 | # 344 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
934 | __attribute__((always_inline)) static inline void __set_PSP(uint32_t topOfProcStack) |
---|
935 | { |
---|
936 | __asm volatile ("MSR psp, %0" : : "r" (topOfProcStack) : ); |
---|
937 | } |
---|
938 | # 368 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
939 | __attribute__((always_inline)) static inline uint32_t __get_MSP(void) |
---|
940 | { |
---|
941 | uint32_t result; |
---|
942 | |
---|
943 | __asm volatile ("MRS %0, msp" : "=r" (result) ); |
---|
944 | return(result); |
---|
945 | } |
---|
946 | # 398 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
947 | __attribute__((always_inline)) static inline void __set_MSP(uint32_t topOfMainStack) |
---|
948 | { |
---|
949 | __asm volatile ("MSR msp, %0" : : "r" (topOfMainStack) : ); |
---|
950 | } |
---|
951 | # 449 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
952 | __attribute__((always_inline)) static inline uint32_t __get_PRIMASK(void) |
---|
953 | { |
---|
954 | uint32_t result; |
---|
955 | |
---|
956 | __asm volatile ("MRS %0, primask" : "=r" (result) :: "memory"); |
---|
957 | return(result); |
---|
958 | } |
---|
959 | # 479 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
960 | __attribute__((always_inline)) static inline void __set_PRIMASK(uint32_t priMask) |
---|
961 | { |
---|
962 | __asm volatile ("MSR primask, %0" : : "r" (priMask) : "memory"); |
---|
963 | } |
---|
964 | # 833 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
965 | __attribute__((always_inline)) static inline uint32_t __get_FPSCR(void) |
---|
966 | { |
---|
967 | # 849 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
968 | return(0U); |
---|
969 | |
---|
970 | } |
---|
971 | |
---|
972 | |
---|
973 | |
---|
974 | |
---|
975 | |
---|
976 | |
---|
977 | |
---|
978 | __attribute__((always_inline)) static inline void __set_FPSCR(uint32_t fpscr) |
---|
979 | { |
---|
980 | # 872 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
981 | (void)fpscr; |
---|
982 | |
---|
983 | } |
---|
984 | # 933 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
985 | __attribute__((always_inline)) static inline void __ISB(void) |
---|
986 | { |
---|
987 | __asm volatile ("isb 0xF":::"memory"); |
---|
988 | } |
---|
989 | |
---|
990 | |
---|
991 | |
---|
992 | |
---|
993 | |
---|
994 | |
---|
995 | |
---|
996 | __attribute__((always_inline)) static inline void __DSB(void) |
---|
997 | { |
---|
998 | __asm volatile ("dsb 0xF":::"memory"); |
---|
999 | } |
---|
1000 | |
---|
1001 | |
---|
1002 | |
---|
1003 | |
---|
1004 | |
---|
1005 | |
---|
1006 | |
---|
1007 | __attribute__((always_inline)) static inline void __DMB(void) |
---|
1008 | { |
---|
1009 | __asm volatile ("dmb 0xF":::"memory"); |
---|
1010 | } |
---|
1011 | # 967 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1012 | __attribute__((always_inline)) static inline uint32_t __REV(uint32_t value) |
---|
1013 | { |
---|
1014 | |
---|
1015 | |
---|
1016 | |
---|
1017 | uint32_t result; |
---|
1018 | |
---|
1019 | __asm volatile ("rev %0, %1" : "=l" (result) : "l" (value) ); |
---|
1020 | return result; |
---|
1021 | |
---|
1022 | } |
---|
1023 | # 986 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1024 | __attribute__((always_inline)) static inline uint32_t __REV16(uint32_t value) |
---|
1025 | { |
---|
1026 | uint32_t result; |
---|
1027 | |
---|
1028 | __asm volatile ("rev16 %0, %1" : "=l" (result) : "l" (value) ); |
---|
1029 | return result; |
---|
1030 | } |
---|
1031 | # 1001 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1032 | __attribute__((always_inline)) static inline int16_t __REVSH(int16_t value) |
---|
1033 | { |
---|
1034 | |
---|
1035 | |
---|
1036 | |
---|
1037 | int16_t result; |
---|
1038 | |
---|
1039 | __asm volatile ("revsh %0, %1" : "=l" (result) : "l" (value) ); |
---|
1040 | return result; |
---|
1041 | |
---|
1042 | } |
---|
1043 | # 1021 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1044 | __attribute__((always_inline)) static inline uint32_t __ROR(uint32_t op1, uint32_t op2) |
---|
1045 | { |
---|
1046 | op2 %= 32U; |
---|
1047 | if (op2 == 0U) |
---|
1048 | { |
---|
1049 | return op1; |
---|
1050 | } |
---|
1051 | return (op1 >> op2) | (op1 << (32U - op2)); |
---|
1052 | } |
---|
1053 | # 1048 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1054 | __attribute__((always_inline)) static inline uint32_t __RBIT(uint32_t value) |
---|
1055 | { |
---|
1056 | uint32_t result; |
---|
1057 | |
---|
1058 | |
---|
1059 | |
---|
1060 | |
---|
1061 | |
---|
1062 | |
---|
1063 | uint32_t s = (4U * 8U) - 1U; |
---|
1064 | |
---|
1065 | result = value; |
---|
1066 | for (value >>= 1U; value != 0U; value >>= 1U) |
---|
1067 | { |
---|
1068 | result <<= 1U; |
---|
1069 | result |= value & 1U; |
---|
1070 | s--; |
---|
1071 | } |
---|
1072 | result <<= s; |
---|
1073 | |
---|
1074 | return result; |
---|
1075 | } |
---|
1076 | # 1078 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1077 | __attribute__((always_inline)) static inline uint8_t __CLZ(uint32_t value) |
---|
1078 | { |
---|
1079 | # 1089 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1080 | if (value == 0U) |
---|
1081 | { |
---|
1082 | return 32U; |
---|
1083 | } |
---|
1084 | return __builtin_clz(value); |
---|
1085 | } |
---|
1086 | # 1382 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1087 | __attribute__((always_inline)) static inline int32_t __SSAT(int32_t val, uint32_t sat) |
---|
1088 | { |
---|
1089 | if ((sat >= 1U) && (sat <= 32U)) |
---|
1090 | { |
---|
1091 | const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); |
---|
1092 | const int32_t min = -1 - max ; |
---|
1093 | if (val > max) |
---|
1094 | { |
---|
1095 | return max; |
---|
1096 | } |
---|
1097 | else if (val < min) |
---|
1098 | { |
---|
1099 | return min; |
---|
1100 | } |
---|
1101 | } |
---|
1102 | return val; |
---|
1103 | } |
---|
1104 | # 1407 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1105 | __attribute__((always_inline)) static inline uint32_t __USAT(int32_t val, uint32_t sat) |
---|
1106 | { |
---|
1107 | if (sat <= 31U) |
---|
1108 | { |
---|
1109 | const uint32_t max = ((1U << sat) - 1U); |
---|
1110 | if (val > (int32_t)max) |
---|
1111 | { |
---|
1112 | return max; |
---|
1113 | } |
---|
1114 | else if (val < 0) |
---|
1115 | { |
---|
1116 | return 0U; |
---|
1117 | } |
---|
1118 | } |
---|
1119 | return (uint32_t)val; |
---|
1120 | } |
---|
1121 | # 2166 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
1122 | #pragma GCC diagnostic pop |
---|
1123 | # 55 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 2 3 |
---|
1124 | # 116 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
1125 | # 210 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1126 | typedef union |
---|
1127 | { |
---|
1128 | struct |
---|
1129 | { |
---|
1130 | uint32_t _reserved0:28; |
---|
1131 | uint32_t V:1; |
---|
1132 | uint32_t C:1; |
---|
1133 | uint32_t Z:1; |
---|
1134 | uint32_t N:1; |
---|
1135 | } b; |
---|
1136 | uint32_t w; |
---|
1137 | } APSR_Type; |
---|
1138 | # 240 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1139 | typedef union |
---|
1140 | { |
---|
1141 | struct |
---|
1142 | { |
---|
1143 | uint32_t ISR:9; |
---|
1144 | uint32_t _reserved0:23; |
---|
1145 | } b; |
---|
1146 | uint32_t w; |
---|
1147 | } IPSR_Type; |
---|
1148 | # 258 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1149 | typedef union |
---|
1150 | { |
---|
1151 | struct |
---|
1152 | { |
---|
1153 | uint32_t ISR:9; |
---|
1154 | uint32_t _reserved0:15; |
---|
1155 | uint32_t T:1; |
---|
1156 | uint32_t _reserved1:3; |
---|
1157 | uint32_t V:1; |
---|
1158 | uint32_t C:1; |
---|
1159 | uint32_t Z:1; |
---|
1160 | uint32_t N:1; |
---|
1161 | } b; |
---|
1162 | uint32_t w; |
---|
1163 | } xPSR_Type; |
---|
1164 | # 297 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1165 | typedef union |
---|
1166 | { |
---|
1167 | struct |
---|
1168 | { |
---|
1169 | uint32_t nPRIV:1; |
---|
1170 | uint32_t SPSEL:1; |
---|
1171 | uint32_t _reserved1:30; |
---|
1172 | } b; |
---|
1173 | uint32_t w; |
---|
1174 | } CONTROL_Type; |
---|
1175 | # 328 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1176 | typedef struct |
---|
1177 | { |
---|
1178 | volatile uint32_t ISER[1U]; |
---|
1179 | uint32_t RESERVED0[31U]; |
---|
1180 | volatile uint32_t ICER[1U]; |
---|
1181 | uint32_t RESERVED1[31U]; |
---|
1182 | volatile uint32_t ISPR[1U]; |
---|
1183 | uint32_t RESERVED2[31U]; |
---|
1184 | volatile uint32_t ICPR[1U]; |
---|
1185 | uint32_t RESERVED3[31U]; |
---|
1186 | uint32_t RESERVED4[64U]; |
---|
1187 | volatile uint32_t IP[8U]; |
---|
1188 | } NVIC_Type; |
---|
1189 | # 355 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1190 | typedef struct |
---|
1191 | { |
---|
1192 | volatile const uint32_t CPUID; |
---|
1193 | volatile uint32_t ICSR; |
---|
1194 | |
---|
1195 | volatile uint32_t VTOR; |
---|
1196 | |
---|
1197 | |
---|
1198 | |
---|
1199 | volatile uint32_t AIRCR; |
---|
1200 | volatile uint32_t SCR; |
---|
1201 | volatile uint32_t CCR; |
---|
1202 | uint32_t RESERVED1; |
---|
1203 | volatile uint32_t SHP[2U]; |
---|
1204 | volatile uint32_t SHCSR; |
---|
1205 | } SCB_Type; |
---|
1206 | # 472 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1207 | typedef struct |
---|
1208 | { |
---|
1209 | volatile uint32_t CTRL; |
---|
1210 | volatile uint32_t LOAD; |
---|
1211 | volatile uint32_t VAL; |
---|
1212 | volatile const uint32_t CALIB; |
---|
1213 | } SysTick_Type; |
---|
1214 | # 524 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1215 | typedef struct |
---|
1216 | { |
---|
1217 | volatile const uint32_t TYPE; |
---|
1218 | volatile uint32_t CTRL; |
---|
1219 | volatile uint32_t RNR; |
---|
1220 | volatile uint32_t RBAR; |
---|
1221 | volatile uint32_t RASR; |
---|
1222 | } MPU_Type; |
---|
1223 | # 741 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1224 | static inline void __NVIC_EnableIRQ(IRQn_Type IRQn) |
---|
1225 | { |
---|
1226 | if ((int32_t)(IRQn) >= 0) |
---|
1227 | { |
---|
1228 | __asm volatile("":::"memory"); |
---|
1229 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
1230 | __asm volatile("":::"memory"); |
---|
1231 | } |
---|
1232 | } |
---|
1233 | # 760 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1234 | static inline uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn) |
---|
1235 | { |
---|
1236 | if ((int32_t)(IRQn) >= 0) |
---|
1237 | { |
---|
1238 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); |
---|
1239 | } |
---|
1240 | else |
---|
1241 | { |
---|
1242 | return(0U); |
---|
1243 | } |
---|
1244 | } |
---|
1245 | # 779 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1246 | static inline void __NVIC_DisableIRQ(IRQn_Type IRQn) |
---|
1247 | { |
---|
1248 | if ((int32_t)(IRQn) >= 0) |
---|
1249 | { |
---|
1250 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
1251 | __DSB(); |
---|
1252 | __ISB(); |
---|
1253 | } |
---|
1254 | } |
---|
1255 | # 798 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1256 | static inline uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn) |
---|
1257 | { |
---|
1258 | if ((int32_t)(IRQn) >= 0) |
---|
1259 | { |
---|
1260 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); |
---|
1261 | } |
---|
1262 | else |
---|
1263 | { |
---|
1264 | return(0U); |
---|
1265 | } |
---|
1266 | } |
---|
1267 | # 817 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1268 | static inline void __NVIC_SetPendingIRQ(IRQn_Type IRQn) |
---|
1269 | { |
---|
1270 | if ((int32_t)(IRQn) >= 0) |
---|
1271 | { |
---|
1272 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
1273 | } |
---|
1274 | } |
---|
1275 | # 832 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1276 | static inline void __NVIC_ClearPendingIRQ(IRQn_Type IRQn) |
---|
1277 | { |
---|
1278 | if ((int32_t)(IRQn) >= 0) |
---|
1279 | { |
---|
1280 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
1281 | } |
---|
1282 | } |
---|
1283 | # 850 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1284 | static inline void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) |
---|
1285 | { |
---|
1286 | if ((int32_t)(IRQn) >= 0) |
---|
1287 | { |
---|
1288 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )] = ((uint32_t)(((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )] & ~(0xFFUL << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))) | |
---|
1289 | (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))); |
---|
1290 | } |
---|
1291 | else |
---|
1292 | { |
---|
1293 | ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHP[( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )] = ((uint32_t)(((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHP[( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )] & ~(0xFFUL << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))) | |
---|
1294 | (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))); |
---|
1295 | } |
---|
1296 | } |
---|
1297 | # 874 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1298 | static inline uint32_t __NVIC_GetPriority(IRQn_Type IRQn) |
---|
1299 | { |
---|
1300 | |
---|
1301 | if ((int32_t)(IRQn) >= 0) |
---|
1302 | { |
---|
1303 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[ ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )] >> ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL) ) & (uint32_t)0xFFUL) >> (8U - 2U))); |
---|
1304 | } |
---|
1305 | else |
---|
1306 | { |
---|
1307 | return((uint32_t)(((((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHP[( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )] >> ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL) ) & (uint32_t)0xFFUL) >> (8U - 2U))); |
---|
1308 | } |
---|
1309 | } |
---|
1310 | # 899 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1311 | static inline uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) |
---|
1312 | { |
---|
1313 | uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); |
---|
1314 | uint32_t PreemptPriorityBits; |
---|
1315 | uint32_t SubPriorityBits; |
---|
1316 | |
---|
1317 | PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp); |
---|
1318 | SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U)); |
---|
1319 | |
---|
1320 | return ( |
---|
1321 | ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | |
---|
1322 | ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) |
---|
1323 | ); |
---|
1324 | } |
---|
1325 | # 926 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1326 | static inline void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* const pPreemptPriority, uint32_t* const pSubPriority) |
---|
1327 | { |
---|
1328 | uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); |
---|
1329 | uint32_t PreemptPriorityBits; |
---|
1330 | uint32_t SubPriorityBits; |
---|
1331 | |
---|
1332 | PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp); |
---|
1333 | SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U)); |
---|
1334 | |
---|
1335 | *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL); |
---|
1336 | *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL); |
---|
1337 | } |
---|
1338 | # 950 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1339 | static inline void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) |
---|
1340 | { |
---|
1341 | |
---|
1342 | uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; |
---|
1343 | |
---|
1344 | |
---|
1345 | |
---|
1346 | (* (int *) (vectors + ((int32_t)IRQn + 16) * 4)) = vector; |
---|
1347 | |
---|
1348 | } |
---|
1349 | # 970 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1350 | static inline uint32_t __NVIC_GetVector(IRQn_Type IRQn) |
---|
1351 | { |
---|
1352 | |
---|
1353 | uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; |
---|
1354 | |
---|
1355 | |
---|
1356 | |
---|
1357 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + 16) * 4)); |
---|
1358 | } |
---|
1359 | |
---|
1360 | |
---|
1361 | |
---|
1362 | |
---|
1363 | |
---|
1364 | |
---|
1365 | __attribute__((__noreturn__)) static inline void __NVIC_SystemReset(void) |
---|
1366 | { |
---|
1367 | __DSB(); |
---|
1368 | |
---|
1369 | ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR = ((0x5FAUL << 16U) | |
---|
1370 | (1UL << 2U)); |
---|
1371 | __DSB(); |
---|
1372 | |
---|
1373 | for(;;) |
---|
1374 | { |
---|
1375 | __asm volatile ("nop"); |
---|
1376 | } |
---|
1377 | } |
---|
1378 | |
---|
1379 | |
---|
1380 | |
---|
1381 | |
---|
1382 | |
---|
1383 | |
---|
1384 | |
---|
1385 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 1 3 |
---|
1386 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3 |
---|
1387 | # 183 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3 |
---|
1388 | typedef struct { |
---|
1389 | uint32_t RBAR; |
---|
1390 | uint32_t RASR; |
---|
1391 | } ARM_MPU_Region_t; |
---|
1392 | |
---|
1393 | |
---|
1394 | |
---|
1395 | |
---|
1396 | static inline void ARM_MPU_Enable(uint32_t MPU_Control) |
---|
1397 | { |
---|
1398 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL = MPU_Control | (1UL ); |
---|
1399 | |
---|
1400 | |
---|
1401 | |
---|
1402 | __DSB(); |
---|
1403 | __ISB(); |
---|
1404 | } |
---|
1405 | |
---|
1406 | |
---|
1407 | |
---|
1408 | static inline void ARM_MPU_Disable(void) |
---|
1409 | { |
---|
1410 | __DMB(); |
---|
1411 | |
---|
1412 | |
---|
1413 | |
---|
1414 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL &= ~(1UL ); |
---|
1415 | } |
---|
1416 | |
---|
1417 | |
---|
1418 | |
---|
1419 | |
---|
1420 | static inline void ARM_MPU_ClrRegion(uint32_t rnr) |
---|
1421 | { |
---|
1422 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; |
---|
1423 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = 0U; |
---|
1424 | } |
---|
1425 | |
---|
1426 | |
---|
1427 | |
---|
1428 | |
---|
1429 | |
---|
1430 | static inline void ARM_MPU_SetRegion(uint32_t rbar, uint32_t rasr) |
---|
1431 | { |
---|
1432 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; |
---|
1433 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; |
---|
1434 | } |
---|
1435 | |
---|
1436 | |
---|
1437 | |
---|
1438 | |
---|
1439 | |
---|
1440 | |
---|
1441 | static inline void ARM_MPU_SetRegionEx(uint32_t rnr, uint32_t rbar, uint32_t rasr) |
---|
1442 | { |
---|
1443 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; |
---|
1444 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; |
---|
1445 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; |
---|
1446 | } |
---|
1447 | |
---|
1448 | |
---|
1449 | |
---|
1450 | |
---|
1451 | |
---|
1452 | |
---|
1453 | static inline void ARM_MPU_OrderedMemcpy(volatile uint32_t* dst, const uint32_t* __restrict src, uint32_t len) |
---|
1454 | { |
---|
1455 | uint32_t i; |
---|
1456 | for (i = 0U; i < len; ++i) |
---|
1457 | { |
---|
1458 | dst[i] = src[i]; |
---|
1459 | } |
---|
1460 | } |
---|
1461 | |
---|
1462 | |
---|
1463 | |
---|
1464 | |
---|
1465 | |
---|
1466 | static inline void ARM_MPU_Load(ARM_MPU_Region_t const* table, uint32_t cnt) |
---|
1467 | { |
---|
1468 | const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U; |
---|
1469 | while (cnt > 1U) { |
---|
1470 | ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), 1U*rowWordSize); |
---|
1471 | table += 1U; |
---|
1472 | cnt -= 1U; |
---|
1473 | } |
---|
1474 | ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), cnt*rowWordSize); |
---|
1475 | } |
---|
1476 | # 1006 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
1477 | # 1025 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1478 | static inline uint32_t SCB_GetFPUType(void) |
---|
1479 | { |
---|
1480 | return 0U; |
---|
1481 | } |
---|
1482 | # 1056 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
1483 | static inline uint32_t SysTick_Config(uint32_t ticks) |
---|
1484 | { |
---|
1485 | if ((ticks - 1UL) > (0xFFFFFFUL )) |
---|
1486 | { |
---|
1487 | return (1UL); |
---|
1488 | } |
---|
1489 | |
---|
1490 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->LOAD = (uint32_t)(ticks - 1UL); |
---|
1491 | __NVIC_SetPriority (SysTick_IRQn, (1UL << 2U) - 1UL); |
---|
1492 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->VAL = 0UL; |
---|
1493 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->CTRL = (1UL << 2U) | |
---|
1494 | (1UL << 1U) | |
---|
1495 | (1UL ); |
---|
1496 | return (0UL); |
---|
1497 | } |
---|
1498 | # 112 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2 |
---|
1499 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" 1 |
---|
1500 | # 56 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" |
---|
1501 | extern uint32_t SystemCoreClock; |
---|
1502 | |
---|
1503 | extern const uint32_t AHBPrescTable[16]; |
---|
1504 | extern const uint32_t APBPrescTable[8]; |
---|
1505 | # 85 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" |
---|
1506 | extern void SystemInit(void); |
---|
1507 | extern void SystemCoreClockUpdate(void); |
---|
1508 | # 113 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2 |
---|
1509 | # 122 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
---|
1510 | typedef struct |
---|
1511 | { |
---|
1512 | volatile uint32_t ISR; |
---|
1513 | volatile uint32_t IER; |
---|
1514 | volatile uint32_t CR; |
---|
1515 | volatile uint32_t CFGR1; |
---|
1516 | volatile uint32_t CFGR2; |
---|
1517 | volatile uint32_t SMPR; |
---|
1518 | uint32_t RESERVED1; |
---|
1519 | uint32_t RESERVED2; |
---|
1520 | volatile uint32_t AWD1TR; |
---|
1521 | volatile uint32_t AWD2TR; |
---|
1522 | volatile uint32_t CHSELR; |
---|
1523 | volatile uint32_t AWD3TR; |
---|
1524 | uint32_t RESERVED3[4]; |
---|
1525 | volatile uint32_t DR; |
---|
1526 | uint32_t RESERVED4[23]; |
---|
1527 | volatile uint32_t AWD2CR; |
---|
1528 | volatile uint32_t AWD3CR; |
---|
1529 | uint32_t RESERVED5[3]; |
---|
1530 | volatile uint32_t CALFACT; |
---|
1531 | } ADC_TypeDef; |
---|
1532 | |
---|
1533 | typedef struct |
---|
1534 | { |
---|
1535 | volatile uint32_t CCR; |
---|
1536 | } ADC_Common_TypeDef; |
---|
1537 | # 161 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
---|
1538 | typedef struct |
---|
1539 | { |
---|
1540 | volatile uint32_t DR; |
---|
1541 | volatile uint32_t IDR; |
---|
1542 | volatile uint32_t CR; |
---|
1543 | uint32_t RESERVED1; |
---|
1544 | volatile uint32_t INIT; |
---|
1545 | volatile uint32_t POL; |
---|
1546 | } CRC_TypeDef; |
---|
1547 | |
---|
1548 | |
---|
1549 | |
---|
1550 | |
---|
1551 | |
---|
1552 | typedef struct |
---|
1553 | { |
---|
1554 | volatile uint32_t IDCODE; |
---|
1555 | volatile uint32_t CR; |
---|
1556 | volatile uint32_t APBFZ1; |
---|
1557 | volatile uint32_t APBFZ2; |
---|
1558 | } DBG_TypeDef; |
---|
1559 | |
---|
1560 | |
---|
1561 | |
---|
1562 | |
---|
1563 | typedef struct |
---|
1564 | { |
---|
1565 | volatile uint32_t CCR; |
---|
1566 | volatile uint32_t CNDTR; |
---|
1567 | volatile uint32_t CPAR; |
---|
1568 | volatile uint32_t CMAR; |
---|
1569 | } DMA_Channel_TypeDef; |
---|
1570 | |
---|
1571 | typedef struct |
---|
1572 | { |
---|
1573 | volatile uint32_t ISR; |
---|
1574 | volatile uint32_t IFCR; |
---|
1575 | } DMA_TypeDef; |
---|
1576 | |
---|
1577 | |
---|
1578 | |
---|
1579 | |
---|
1580 | typedef struct |
---|
1581 | { |
---|
1582 | volatile uint32_t CCR; |
---|
1583 | }DMAMUX_Channel_TypeDef; |
---|
1584 | |
---|
1585 | typedef struct |
---|
1586 | { |
---|
1587 | volatile uint32_t CSR; |
---|
1588 | volatile uint32_t CFR; |
---|
1589 | }DMAMUX_ChannelStatus_TypeDef; |
---|
1590 | |
---|
1591 | typedef struct |
---|
1592 | { |
---|
1593 | volatile uint32_t RGCR; |
---|
1594 | }DMAMUX_RequestGen_TypeDef; |
---|
1595 | |
---|
1596 | typedef struct |
---|
1597 | { |
---|
1598 | volatile uint32_t RGSR; |
---|
1599 | volatile uint32_t RGCFR; |
---|
1600 | }DMAMUX_RequestGenStatus_TypeDef; |
---|
1601 | |
---|
1602 | |
---|
1603 | |
---|
1604 | |
---|
1605 | typedef struct |
---|
1606 | { |
---|
1607 | volatile uint32_t RTSR1; |
---|
1608 | volatile uint32_t FTSR1; |
---|
1609 | volatile uint32_t SWIER1; |
---|
1610 | volatile uint32_t RPR1; |
---|
1611 | volatile uint32_t FPR1; |
---|
1612 | uint32_t RESERVED1[3]; |
---|
1613 | uint32_t RESERVED2[5]; |
---|
1614 | uint32_t RESERVED3[11]; |
---|
1615 | volatile uint32_t EXTICR[4]; |
---|
1616 | uint32_t RESERVED4[4]; |
---|
1617 | volatile uint32_t IMR1; |
---|
1618 | volatile uint32_t EMR1; |
---|
1619 | } EXTI_TypeDef; |
---|
1620 | |
---|
1621 | |
---|
1622 | |
---|
1623 | |
---|
1624 | typedef struct |
---|
1625 | { |
---|
1626 | volatile uint32_t ACR; |
---|
1627 | uint32_t RESERVED1; |
---|
1628 | volatile uint32_t KEYR; |
---|
1629 | volatile uint32_t OPTKEYR; |
---|
1630 | volatile uint32_t SR; |
---|
1631 | volatile uint32_t CR; |
---|
1632 | volatile uint32_t ECCR; |
---|
1633 | uint32_t RESERVED2; |
---|
1634 | volatile uint32_t OPTR; |
---|
1635 | uint32_t RESERVED3[2]; |
---|
1636 | volatile uint32_t WRP1AR; |
---|
1637 | volatile uint32_t WRP1BR; |
---|
1638 | uint32_t RESERVED4[2]; |
---|
1639 | } FLASH_TypeDef; |
---|
1640 | |
---|
1641 | |
---|
1642 | |
---|
1643 | |
---|
1644 | typedef struct |
---|
1645 | { |
---|
1646 | volatile uint32_t MODER; |
---|
1647 | volatile uint32_t OTYPER; |
---|
1648 | volatile uint32_t OSPEEDR; |
---|
1649 | volatile uint32_t PUPDR; |
---|
1650 | volatile uint32_t IDR; |
---|
1651 | volatile uint32_t ODR; |
---|
1652 | volatile uint32_t BSRR; |
---|
1653 | volatile uint32_t LCKR; |
---|
1654 | volatile uint32_t AFR[2]; |
---|
1655 | volatile uint32_t BRR; |
---|
1656 | } GPIO_TypeDef; |
---|
1657 | |
---|
1658 | |
---|
1659 | |
---|
1660 | |
---|
1661 | |
---|
1662 | typedef struct |
---|
1663 | { |
---|
1664 | volatile uint32_t CR1; |
---|
1665 | volatile uint32_t CR2; |
---|
1666 | volatile uint32_t OAR1; |
---|
1667 | volatile uint32_t OAR2; |
---|
1668 | volatile uint32_t TIMINGR; |
---|
1669 | volatile uint32_t TIMEOUTR; |
---|
1670 | volatile uint32_t ISR; |
---|
1671 | volatile uint32_t ICR; |
---|
1672 | volatile uint32_t PECR; |
---|
1673 | volatile uint32_t RXDR; |
---|
1674 | volatile uint32_t TXDR; |
---|
1675 | } I2C_TypeDef; |
---|
1676 | |
---|
1677 | |
---|
1678 | |
---|
1679 | |
---|
1680 | typedef struct |
---|
1681 | { |
---|
1682 | volatile uint32_t KR; |
---|
1683 | volatile uint32_t PR; |
---|
1684 | volatile uint32_t RLR; |
---|
1685 | volatile uint32_t SR; |
---|
1686 | volatile uint32_t WINR; |
---|
1687 | } IWDG_TypeDef; |
---|
1688 | |
---|
1689 | |
---|
1690 | |
---|
1691 | |
---|
1692 | |
---|
1693 | |
---|
1694 | typedef struct |
---|
1695 | { |
---|
1696 | volatile uint32_t CR1; |
---|
1697 | uint32_t RESERVED0; |
---|
1698 | volatile uint32_t CR3; |
---|
1699 | volatile uint32_t CR4; |
---|
1700 | volatile uint32_t SR1; |
---|
1701 | volatile uint32_t SR2; |
---|
1702 | volatile uint32_t SCR; |
---|
1703 | uint32_t RESERVED1; |
---|
1704 | volatile uint32_t PUCRA; |
---|
1705 | volatile uint32_t PDCRA; |
---|
1706 | volatile uint32_t PUCRB; |
---|
1707 | volatile uint32_t PDCRB; |
---|
1708 | volatile uint32_t PUCRC; |
---|
1709 | volatile uint32_t PDCRC; |
---|
1710 | volatile uint32_t PUCRD; |
---|
1711 | volatile uint32_t PDCRD; |
---|
1712 | uint32_t RESERVED2; |
---|
1713 | uint32_t RESERVED3; |
---|
1714 | volatile uint32_t PUCRF; |
---|
1715 | volatile uint32_t PDCRF; |
---|
1716 | } PWR_TypeDef; |
---|
1717 | |
---|
1718 | |
---|
1719 | |
---|
1720 | |
---|
1721 | typedef struct |
---|
1722 | { |
---|
1723 | volatile uint32_t CR; |
---|
1724 | volatile uint32_t ICSCR; |
---|
1725 | volatile uint32_t CFGR; |
---|
1726 | volatile uint32_t PLLCFGR; |
---|
1727 | volatile uint32_t RESERVED0; |
---|
1728 | volatile uint32_t RESERVED1; |
---|
1729 | volatile uint32_t CIER; |
---|
1730 | volatile uint32_t CIFR; |
---|
1731 | volatile uint32_t CICR; |
---|
1732 | volatile uint32_t IOPRSTR; |
---|
1733 | volatile uint32_t AHBRSTR; |
---|
1734 | volatile uint32_t APBRSTR1; |
---|
1735 | volatile uint32_t APBRSTR2; |
---|
1736 | volatile uint32_t IOPENR; |
---|
1737 | volatile uint32_t AHBENR; |
---|
1738 | volatile uint32_t APBENR1; |
---|
1739 | volatile uint32_t APBENR2; |
---|
1740 | volatile uint32_t IOPSMENR; |
---|
1741 | volatile uint32_t AHBSMENR; |
---|
1742 | volatile uint32_t APBSMENR1; |
---|
1743 | volatile uint32_t APBSMENR2; |
---|
1744 | volatile uint32_t CCIPR; |
---|
1745 | volatile uint32_t RESERVED2; |
---|
1746 | volatile uint32_t BDCR; |
---|
1747 | volatile uint32_t CSR; |
---|
1748 | } RCC_TypeDef; |
---|
1749 | |
---|
1750 | |
---|
1751 | |
---|
1752 | |
---|
1753 | typedef struct |
---|
1754 | { |
---|
1755 | volatile uint32_t TR; |
---|
1756 | volatile uint32_t DR; |
---|
1757 | volatile uint32_t SSR; |
---|
1758 | volatile uint32_t ICSR; |
---|
1759 | volatile uint32_t PRER; |
---|
1760 | volatile uint32_t WUTR; |
---|
1761 | volatile uint32_t CR; |
---|
1762 | uint32_t RESERVED0; |
---|
1763 | uint32_t RESERVED1; |
---|
1764 | volatile uint32_t WPR; |
---|
1765 | volatile uint32_t CALR; |
---|
1766 | volatile uint32_t SHIFTR; |
---|
1767 | volatile uint32_t TSTR; |
---|
1768 | volatile uint32_t TSDR; |
---|
1769 | volatile uint32_t TSSSR; |
---|
1770 | uint32_t RESERVED2; |
---|
1771 | volatile uint32_t ALRMAR; |
---|
1772 | volatile uint32_t ALRMASSR; |
---|
1773 | volatile uint32_t ALRMBR; |
---|
1774 | volatile uint32_t ALRMBSSR; |
---|
1775 | volatile uint32_t SR; |
---|
1776 | volatile uint32_t MISR; |
---|
1777 | uint32_t RESERVED3; |
---|
1778 | volatile uint32_t SCR; |
---|
1779 | volatile uint32_t OR; |
---|
1780 | } RTC_TypeDef; |
---|
1781 | |
---|
1782 | |
---|
1783 | |
---|
1784 | |
---|
1785 | typedef struct |
---|
1786 | { |
---|
1787 | volatile uint32_t CR1; |
---|
1788 | volatile uint32_t CR2; |
---|
1789 | uint32_t RESERVED0; |
---|
1790 | volatile uint32_t FLTCR; |
---|
1791 | uint32_t RESERVED1[7]; |
---|
1792 | volatile uint32_t IER; |
---|
1793 | volatile uint32_t SR; |
---|
1794 | volatile uint32_t MISR; |
---|
1795 | uint32_t RESERVED2; |
---|
1796 | volatile uint32_t SCR; |
---|
1797 | uint32_t RESERVED3[48]; |
---|
1798 | volatile uint32_t BKP0R; |
---|
1799 | volatile uint32_t BKP1R; |
---|
1800 | volatile uint32_t BKP2R; |
---|
1801 | volatile uint32_t BKP3R; |
---|
1802 | volatile uint32_t BKP4R; |
---|
1803 | } TAMP_TypeDef; |
---|
1804 | |
---|
1805 | |
---|
1806 | |
---|
1807 | |
---|
1808 | typedef struct |
---|
1809 | { |
---|
1810 | volatile uint32_t CR1; |
---|
1811 | volatile uint32_t CR2; |
---|
1812 | volatile uint32_t SR; |
---|
1813 | volatile uint32_t DR; |
---|
1814 | volatile uint32_t CRCPR; |
---|
1815 | volatile uint32_t RXCRCR; |
---|
1816 | volatile uint32_t TXCRCR; |
---|
1817 | volatile uint32_t I2SCFGR; |
---|
1818 | volatile uint32_t I2SPR; |
---|
1819 | } SPI_TypeDef; |
---|
1820 | |
---|
1821 | |
---|
1822 | |
---|
1823 | |
---|
1824 | typedef struct |
---|
1825 | { |
---|
1826 | volatile uint32_t CFGR1; |
---|
1827 | uint32_t RESERVED0[5]; |
---|
1828 | volatile uint32_t CFGR2; |
---|
1829 | uint32_t RESERVED1[25]; |
---|
1830 | volatile uint32_t IT_LINE_SR[32]; |
---|
1831 | } SYSCFG_TypeDef; |
---|
1832 | |
---|
1833 | |
---|
1834 | |
---|
1835 | |
---|
1836 | typedef struct |
---|
1837 | { |
---|
1838 | volatile uint32_t CR1; |
---|
1839 | volatile uint32_t CR2; |
---|
1840 | volatile uint32_t SMCR; |
---|
1841 | volatile uint32_t DIER; |
---|
1842 | volatile uint32_t SR; |
---|
1843 | volatile uint32_t EGR; |
---|
1844 | volatile uint32_t CCMR1; |
---|
1845 | volatile uint32_t CCMR2; |
---|
1846 | volatile uint32_t CCER; |
---|
1847 | volatile uint32_t CNT; |
---|
1848 | volatile uint32_t PSC; |
---|
1849 | volatile uint32_t ARR; |
---|
1850 | volatile uint32_t RCR; |
---|
1851 | volatile uint32_t CCR1; |
---|
1852 | volatile uint32_t CCR2; |
---|
1853 | volatile uint32_t CCR3; |
---|
1854 | volatile uint32_t CCR4; |
---|
1855 | volatile uint32_t BDTR; |
---|
1856 | volatile uint32_t DCR; |
---|
1857 | volatile uint32_t DMAR; |
---|
1858 | volatile uint32_t OR1; |
---|
1859 | volatile uint32_t CCMR3; |
---|
1860 | volatile uint32_t CCR5; |
---|
1861 | volatile uint32_t CCR6; |
---|
1862 | volatile uint32_t AF1; |
---|
1863 | volatile uint32_t AF2; |
---|
1864 | volatile uint32_t TISEL; |
---|
1865 | } TIM_TypeDef; |
---|
1866 | |
---|
1867 | |
---|
1868 | |
---|
1869 | |
---|
1870 | typedef struct |
---|
1871 | { |
---|
1872 | volatile uint32_t CR1; |
---|
1873 | volatile uint32_t CR2; |
---|
1874 | volatile uint32_t CR3; |
---|
1875 | volatile uint32_t BRR; |
---|
1876 | volatile uint32_t GTPR; |
---|
1877 | volatile uint32_t RTOR; |
---|
1878 | volatile uint32_t RQR; |
---|
1879 | volatile uint32_t ISR; |
---|
1880 | volatile uint32_t ICR; |
---|
1881 | volatile uint32_t RDR; |
---|
1882 | volatile uint32_t TDR; |
---|
1883 | volatile uint32_t PRESC; |
---|
1884 | } USART_TypeDef; |
---|
1885 | |
---|
1886 | |
---|
1887 | |
---|
1888 | |
---|
1889 | |
---|
1890 | typedef struct |
---|
1891 | { |
---|
1892 | volatile uint32_t CR; |
---|
1893 | volatile uint32_t CFR; |
---|
1894 | volatile uint32_t SR; |
---|
1895 | } WWDG_TypeDef; |
---|
1896 | # 120 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2 |
---|
1897 | # 143 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
---|
1898 | typedef enum |
---|
1899 | { |
---|
1900 | RESET = 0, |
---|
1901 | SET = !RESET |
---|
1902 | } FlagStatus, ITStatus; |
---|
1903 | |
---|
1904 | typedef enum |
---|
1905 | { |
---|
1906 | DISABLE = 0, |
---|
1907 | ENABLE = !DISABLE |
---|
1908 | } FunctionalState; |
---|
1909 | |
---|
1910 | |
---|
1911 | typedef enum |
---|
1912 | { |
---|
1913 | SUCCESS = 0, |
---|
1914 | ERROR = !SUCCESS |
---|
1915 | } ErrorStatus; |
---|
1916 | # 230 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
---|
1917 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1 |
---|
1918 | # 231 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2 |
---|
1919 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
---|
1920 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\Legacy/stm32_hal_legacy.h" 1 |
---|
1921 | # 31 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
---|
1922 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 1 3 |
---|
1923 | # 72 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
1924 | typedef unsigned int size_t; |
---|
1925 | # 86 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
1926 | typedef unsigned int wchar_t; |
---|
1927 | # 97 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
1928 | typedef int ptrdiff_t; |
---|
1929 | # 110 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
1930 | typedef double max_align_t; |
---|
1931 | # 32 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
---|
1932 | |
---|
1933 | |
---|
1934 | |
---|
1935 | |
---|
1936 | |
---|
1937 | |
---|
1938 | typedef enum |
---|
1939 | { |
---|
1940 | HAL_OK = 0x00U, |
---|
1941 | HAL_ERROR = 0x01U, |
---|
1942 | HAL_BUSY = 0x02U, |
---|
1943 | HAL_TIMEOUT = 0x03U |
---|
1944 | } HAL_StatusTypeDef; |
---|
1945 | |
---|
1946 | |
---|
1947 | |
---|
1948 | |
---|
1949 | typedef enum |
---|
1950 | { |
---|
1951 | HAL_UNLOCKED = 0x00U, |
---|
1952 | HAL_LOCKED = 0x01U |
---|
1953 | } HAL_LockTypeDef; |
---|
1954 | # 28 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
---|
1955 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" 1 |
---|
1956 | # 1248 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
1957 | static inline void LL_RCC_HSE_EnableCSS(void) |
---|
1958 | { |
---|
1959 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (19U)))); |
---|
1960 | } |
---|
1961 | |
---|
1962 | |
---|
1963 | |
---|
1964 | |
---|
1965 | |
---|
1966 | |
---|
1967 | static inline void LL_RCC_HSE_EnableBypass(void) |
---|
1968 | { |
---|
1969 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (18U)))); |
---|
1970 | } |
---|
1971 | |
---|
1972 | |
---|
1973 | |
---|
1974 | |
---|
1975 | |
---|
1976 | |
---|
1977 | static inline void LL_RCC_HSE_DisableBypass(void) |
---|
1978 | { |
---|
1979 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (18U)))); |
---|
1980 | } |
---|
1981 | |
---|
1982 | |
---|
1983 | |
---|
1984 | |
---|
1985 | |
---|
1986 | |
---|
1987 | static inline void LL_RCC_HSE_Enable(void) |
---|
1988 | { |
---|
1989 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (16U)))); |
---|
1990 | } |
---|
1991 | |
---|
1992 | |
---|
1993 | |
---|
1994 | |
---|
1995 | |
---|
1996 | |
---|
1997 | static inline void LL_RCC_HSE_Disable(void) |
---|
1998 | { |
---|
1999 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (16U)))); |
---|
2000 | } |
---|
2001 | |
---|
2002 | |
---|
2003 | |
---|
2004 | |
---|
2005 | |
---|
2006 | |
---|
2007 | static inline uint32_t LL_RCC_HSE_IsReady(void) |
---|
2008 | { |
---|
2009 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL); |
---|
2010 | } |
---|
2011 | # 1317 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2012 | static inline void LL_RCC_HSI_EnableInStopMode(void) |
---|
2013 | { |
---|
2014 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (9U)))); |
---|
2015 | } |
---|
2016 | |
---|
2017 | |
---|
2018 | |
---|
2019 | |
---|
2020 | |
---|
2021 | |
---|
2022 | static inline void LL_RCC_HSI_DisableInStopMode(void) |
---|
2023 | { |
---|
2024 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (9U)))); |
---|
2025 | } |
---|
2026 | |
---|
2027 | |
---|
2028 | |
---|
2029 | |
---|
2030 | |
---|
2031 | |
---|
2032 | static inline uint32_t LL_RCC_HSI_IsEnabledInStopMode(void) |
---|
2033 | { |
---|
2034 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
2035 | } |
---|
2036 | |
---|
2037 | |
---|
2038 | |
---|
2039 | |
---|
2040 | |
---|
2041 | |
---|
2042 | static inline void LL_RCC_HSI_Enable(void) |
---|
2043 | { |
---|
2044 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (8U)))); |
---|
2045 | } |
---|
2046 | |
---|
2047 | |
---|
2048 | |
---|
2049 | |
---|
2050 | |
---|
2051 | |
---|
2052 | static inline void LL_RCC_HSI_Disable(void) |
---|
2053 | { |
---|
2054 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (8U)))); |
---|
2055 | } |
---|
2056 | |
---|
2057 | |
---|
2058 | |
---|
2059 | |
---|
2060 | |
---|
2061 | |
---|
2062 | static inline uint32_t LL_RCC_HSI_IsReady(void) |
---|
2063 | { |
---|
2064 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); |
---|
2065 | } |
---|
2066 | # 1379 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2067 | static inline uint32_t LL_RCC_HSI_GetCalibration(void) |
---|
2068 | { |
---|
2069 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0xFFUL << (0U)))) >> (0U)); |
---|
2070 | } |
---|
2071 | # 1393 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2072 | static inline void LL_RCC_HSI_SetCalibTrimming(uint32_t Value) |
---|
2073 | { |
---|
2074 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR))) & (~((0x7FUL << (8U))))) | (Value << (8U))))); |
---|
2075 | } |
---|
2076 | |
---|
2077 | |
---|
2078 | |
---|
2079 | |
---|
2080 | |
---|
2081 | |
---|
2082 | static inline uint32_t LL_RCC_HSI_GetCalibTrimming(void) |
---|
2083 | { |
---|
2084 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0x7FUL << (8U)))) >> (8U)); |
---|
2085 | } |
---|
2086 | # 1471 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2087 | static inline void LL_RCC_LSE_Enable(void) |
---|
2088 | { |
---|
2089 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (0U)))); |
---|
2090 | } |
---|
2091 | |
---|
2092 | |
---|
2093 | |
---|
2094 | |
---|
2095 | |
---|
2096 | |
---|
2097 | static inline void LL_RCC_LSE_Disable(void) |
---|
2098 | { |
---|
2099 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (0U)))); |
---|
2100 | } |
---|
2101 | |
---|
2102 | |
---|
2103 | |
---|
2104 | |
---|
2105 | |
---|
2106 | |
---|
2107 | static inline void LL_RCC_LSE_EnableBypass(void) |
---|
2108 | { |
---|
2109 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (2U)))); |
---|
2110 | } |
---|
2111 | |
---|
2112 | |
---|
2113 | |
---|
2114 | |
---|
2115 | |
---|
2116 | |
---|
2117 | static inline void LL_RCC_LSE_DisableBypass(void) |
---|
2118 | { |
---|
2119 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (2U)))); |
---|
2120 | } |
---|
2121 | # 1517 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2122 | static inline void LL_RCC_LSE_SetDriveCapability(uint32_t LSEDrive) |
---|
2123 | { |
---|
2124 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (3U))))) | (LSEDrive)))); |
---|
2125 | } |
---|
2126 | # 1531 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2127 | static inline uint32_t LL_RCC_LSE_GetDriveCapability(void) |
---|
2128 | { |
---|
2129 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (3U))))); |
---|
2130 | } |
---|
2131 | |
---|
2132 | |
---|
2133 | |
---|
2134 | |
---|
2135 | |
---|
2136 | |
---|
2137 | static inline void LL_RCC_LSE_EnableCSS(void) |
---|
2138 | { |
---|
2139 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (5U)))); |
---|
2140 | } |
---|
2141 | # 1553 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2142 | static inline void LL_RCC_LSE_DisableCSS(void) |
---|
2143 | { |
---|
2144 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (5U)))); |
---|
2145 | } |
---|
2146 | |
---|
2147 | |
---|
2148 | |
---|
2149 | |
---|
2150 | |
---|
2151 | |
---|
2152 | static inline uint32_t LL_RCC_LSE_IsReady(void) |
---|
2153 | { |
---|
2154 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
2155 | } |
---|
2156 | |
---|
2157 | |
---|
2158 | |
---|
2159 | |
---|
2160 | |
---|
2161 | |
---|
2162 | static inline uint32_t LL_RCC_LSE_IsCSSDetected(void) |
---|
2163 | { |
---|
2164 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
---|
2165 | } |
---|
2166 | # 1591 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2167 | static inline void LL_RCC_LSI_Enable(void) |
---|
2168 | { |
---|
2169 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (0U)))); |
---|
2170 | } |
---|
2171 | |
---|
2172 | |
---|
2173 | |
---|
2174 | |
---|
2175 | |
---|
2176 | |
---|
2177 | static inline void LL_RCC_LSI_Disable(void) |
---|
2178 | { |
---|
2179 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) &= ~((0x1UL << (0U)))); |
---|
2180 | } |
---|
2181 | |
---|
2182 | |
---|
2183 | |
---|
2184 | |
---|
2185 | |
---|
2186 | |
---|
2187 | static inline uint32_t LL_RCC_LSI_IsReady(void) |
---|
2188 | { |
---|
2189 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
2190 | } |
---|
2191 | # 1629 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2192 | static inline void LL_RCC_LSCO_Enable(void) |
---|
2193 | { |
---|
2194 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (24U)))); |
---|
2195 | } |
---|
2196 | |
---|
2197 | |
---|
2198 | |
---|
2199 | |
---|
2200 | |
---|
2201 | |
---|
2202 | static inline void LL_RCC_LSCO_Disable(void) |
---|
2203 | { |
---|
2204 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (24U)))); |
---|
2205 | } |
---|
2206 | # 1652 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2207 | static inline void LL_RCC_LSCO_SetSource(uint32_t Source) |
---|
2208 | { |
---|
2209 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x1UL << (25U))))) | (Source)))); |
---|
2210 | } |
---|
2211 | # 1664 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2212 | static inline uint32_t LL_RCC_LSCO_GetSource(void) |
---|
2213 | { |
---|
2214 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (25U))))); |
---|
2215 | } |
---|
2216 | # 1688 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2217 | static inline void LL_RCC_SetSysClkSource(uint32_t Source) |
---|
2218 | { |
---|
2219 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (0U))))) | (Source)))); |
---|
2220 | } |
---|
2221 | # 1703 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2222 | static inline uint32_t LL_RCC_GetSysClkSource(void) |
---|
2223 | { |
---|
2224 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (3U))))); |
---|
2225 | } |
---|
2226 | # 1723 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2227 | static inline void LL_RCC_SetAHBPrescaler(uint32_t Prescaler) |
---|
2228 | { |
---|
2229 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0xFUL << (8U))))) | (Prescaler)))); |
---|
2230 | } |
---|
2231 | # 1739 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2232 | static inline void LL_RCC_SetAPB1Prescaler(uint32_t Prescaler) |
---|
2233 | { |
---|
2234 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (12U))))) | (Prescaler)))); |
---|
2235 | } |
---|
2236 | # 1760 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2237 | static inline void LL_RCC_SetHSIDiv(uint32_t HSIDiv) |
---|
2238 | { |
---|
2239 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR))) & (~((0x7UL << (11U))))) | (HSIDiv)))); |
---|
2240 | } |
---|
2241 | # 1778 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2242 | static inline uint32_t LL_RCC_GetAHBPrescaler(void) |
---|
2243 | { |
---|
2244 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0xFUL << (8U))))); |
---|
2245 | } |
---|
2246 | # 1793 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2247 | static inline uint32_t LL_RCC_GetAPB1Prescaler(void) |
---|
2248 | { |
---|
2249 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (12U))))); |
---|
2250 | } |
---|
2251 | # 1813 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2252 | static inline uint32_t LL_RCC_GetHSIDiv(void) |
---|
2253 | { |
---|
2254 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x7UL << (11U))))); |
---|
2255 | } |
---|
2256 | # 1854 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2257 | static inline void LL_RCC_ConfigMCO(uint32_t MCOxSource, uint32_t MCOxPrescaler) |
---|
2258 | { |
---|
2259 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (24U)) | (0x7UL << (28U))))) | (MCOxSource | MCOxPrescaler)))); |
---|
2260 | } |
---|
2261 | # 1935 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2262 | static inline void LL_RCC_SetUSARTClockSource(uint32_t USARTxSource) |
---|
2263 | { |
---|
2264 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((USARTxSource >> 16U)))) | ((USARTxSource & 0x0000FFFFU))))); |
---|
2265 | } |
---|
2266 | # 1976 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2267 | static inline void LL_RCC_SetI2CClockSource(uint32_t I2CxSource) |
---|
2268 | { |
---|
2269 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((I2CxSource >> 16U)))) | ((I2CxSource & 0x0000FFFFU))))); |
---|
2270 | } |
---|
2271 | # 2113 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2272 | static inline void LL_RCC_SetADCClockSource(uint32_t ADCxSource) |
---|
2273 | { |
---|
2274 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (30U))))) | (ADCxSource)))); |
---|
2275 | } |
---|
2276 | # 2149 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2277 | static inline void LL_RCC_SetI2SClockSource(uint32_t I2SxSource) |
---|
2278 | { |
---|
2279 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (14U))))) | (I2SxSource)))); |
---|
2280 | } |
---|
2281 | # 2177 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2282 | static inline uint32_t LL_RCC_GetUSARTClockSource(uint32_t USARTx) |
---|
2283 | { |
---|
2284 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (USARTx)) | (USARTx << 16U)); |
---|
2285 | } |
---|
2286 | # 2222 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2287 | static inline uint32_t LL_RCC_GetI2CClockSource(uint32_t I2Cx) |
---|
2288 | { |
---|
2289 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Cx)) | (I2Cx << 16U)); |
---|
2290 | } |
---|
2291 | # 2364 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2292 | static inline uint32_t LL_RCC_GetADCClockSource(uint32_t ADCx) |
---|
2293 | { |
---|
2294 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (ADCx))); |
---|
2295 | } |
---|
2296 | # 2403 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2297 | static inline uint32_t LL_RCC_GetI2SClockSource(uint32_t I2Sx) |
---|
2298 | { |
---|
2299 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Sx))); |
---|
2300 | } |
---|
2301 | # 2429 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2302 | static inline void LL_RCC_SetRTCClockSource(uint32_t Source) |
---|
2303 | { |
---|
2304 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (8U))))) | (Source)))); |
---|
2305 | } |
---|
2306 | # 2443 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2307 | static inline uint32_t LL_RCC_GetRTCClockSource(void) |
---|
2308 | { |
---|
2309 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (8U))))); |
---|
2310 | } |
---|
2311 | |
---|
2312 | |
---|
2313 | |
---|
2314 | |
---|
2315 | |
---|
2316 | |
---|
2317 | static inline void LL_RCC_EnableRTC(void) |
---|
2318 | { |
---|
2319 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (15U)))); |
---|
2320 | } |
---|
2321 | |
---|
2322 | |
---|
2323 | |
---|
2324 | |
---|
2325 | |
---|
2326 | |
---|
2327 | static inline void LL_RCC_DisableRTC(void) |
---|
2328 | { |
---|
2329 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (15U)))); |
---|
2330 | } |
---|
2331 | |
---|
2332 | |
---|
2333 | |
---|
2334 | |
---|
2335 | |
---|
2336 | |
---|
2337 | static inline uint32_t LL_RCC_IsEnabledRTC(void) |
---|
2338 | { |
---|
2339 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL); |
---|
2340 | } |
---|
2341 | |
---|
2342 | |
---|
2343 | |
---|
2344 | |
---|
2345 | |
---|
2346 | |
---|
2347 | static inline void LL_RCC_ForceBackupDomainReset(void) |
---|
2348 | { |
---|
2349 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (16U)))); |
---|
2350 | } |
---|
2351 | |
---|
2352 | |
---|
2353 | |
---|
2354 | |
---|
2355 | |
---|
2356 | |
---|
2357 | static inline void LL_RCC_ReleaseBackupDomainReset(void) |
---|
2358 | { |
---|
2359 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (16U)))); |
---|
2360 | } |
---|
2361 | # 2512 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2362 | static inline void LL_RCC_PLL_Enable(void) |
---|
2363 | { |
---|
2364 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (24U)))); |
---|
2365 | } |
---|
2366 | |
---|
2367 | |
---|
2368 | |
---|
2369 | |
---|
2370 | |
---|
2371 | |
---|
2372 | |
---|
2373 | static inline void LL_RCC_PLL_Disable(void) |
---|
2374 | { |
---|
2375 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (24U)))); |
---|
2376 | } |
---|
2377 | |
---|
2378 | |
---|
2379 | |
---|
2380 | |
---|
2381 | |
---|
2382 | |
---|
2383 | static inline uint32_t LL_RCC_PLL_IsReady(void) |
---|
2384 | { |
---|
2385 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
---|
2386 | } |
---|
2387 | # 2570 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2388 | static inline void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR) |
---|
2389 | { |
---|
2390 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U)) | (0x7UL << (4U)) | (0x7FUL << (8U)) | (0x7UL << (29U))))) | (Source | PLLM | (PLLN << (8U)) | PLLR)))); |
---|
2391 | |
---|
2392 | } |
---|
2393 | # 2635 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2394 | static inline void LL_RCC_PLL_ConfigDomain_ADC(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP) |
---|
2395 | { |
---|
2396 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U)) | (0x7UL << (4U)) | (0x7FUL << (8U)) | (0x1FUL << (17U))))) | (Source | PLLM | (PLLN << (8U)) | PLLP)))); |
---|
2397 | |
---|
2398 | } |
---|
2399 | # 2700 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2400 | static inline void LL_RCC_PLL_ConfigDomain_I2S1(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP) |
---|
2401 | { |
---|
2402 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U)) | (0x7UL << (4U)) | (0x7FUL << (8U)) | (0x1FUL << (17U))))) | (Source | PLLM | (PLLN << (8U)) | PLLP)))); |
---|
2403 | |
---|
2404 | } |
---|
2405 | # 2993 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2406 | static inline uint32_t LL_RCC_PLL_GetN(void) |
---|
2407 | { |
---|
2408 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7FUL << (8U)))) >> (8U)); |
---|
2409 | } |
---|
2410 | # 3035 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2411 | static inline uint32_t LL_RCC_PLL_GetP(void) |
---|
2412 | { |
---|
2413 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1FUL << (17U))))); |
---|
2414 | } |
---|
2415 | # 3073 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2416 | static inline uint32_t LL_RCC_PLL_GetR(void) |
---|
2417 | { |
---|
2418 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (29U))))); |
---|
2419 | } |
---|
2420 | # 3086 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2421 | static inline void LL_RCC_PLL_SetMainSource(uint32_t PLLSource) |
---|
2422 | { |
---|
2423 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U))))) | (PLLSource)))); |
---|
2424 | } |
---|
2425 | # 3099 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2426 | static inline uint32_t LL_RCC_PLL_GetMainSource(void) |
---|
2427 | { |
---|
2428 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x3UL << (0U))))); |
---|
2429 | } |
---|
2430 | # 3117 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2431 | static inline uint32_t LL_RCC_PLL_GetDivider(void) |
---|
2432 | { |
---|
2433 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (4U))))); |
---|
2434 | } |
---|
2435 | # 3129 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2436 | static inline void LL_RCC_PLL_EnableDomain_ADC(void) |
---|
2437 | { |
---|
2438 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U)))); |
---|
2439 | } |
---|
2440 | # 3144 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2441 | static inline void LL_RCC_PLL_DisableDomain_ADC(void) |
---|
2442 | { |
---|
2443 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U)))); |
---|
2444 | } |
---|
2445 | |
---|
2446 | |
---|
2447 | |
---|
2448 | |
---|
2449 | |
---|
2450 | |
---|
2451 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_ADC(void) |
---|
2452 | { |
---|
2453 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
2454 | } |
---|
2455 | # 3166 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2456 | static inline void LL_RCC_PLL_EnableDomain_I2S1(void) |
---|
2457 | { |
---|
2458 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U)))); |
---|
2459 | } |
---|
2460 | # 3195 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2461 | static inline void LL_RCC_PLL_DisableDomain_I2S1(void) |
---|
2462 | { |
---|
2463 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U)))); |
---|
2464 | } |
---|
2465 | |
---|
2466 | |
---|
2467 | |
---|
2468 | |
---|
2469 | |
---|
2470 | |
---|
2471 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_I2S1(void) |
---|
2472 | { |
---|
2473 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
2474 | } |
---|
2475 | # 3437 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2476 | static inline void LL_RCC_PLL_EnableDomain_SYS(void) |
---|
2477 | { |
---|
2478 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (28U)))); |
---|
2479 | } |
---|
2480 | # 3450 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2481 | static inline void LL_RCC_PLL_DisableDomain_SYS(void) |
---|
2482 | { |
---|
2483 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (28U)))); |
---|
2484 | } |
---|
2485 | |
---|
2486 | |
---|
2487 | |
---|
2488 | |
---|
2489 | |
---|
2490 | |
---|
2491 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_SYS(void) |
---|
2492 | { |
---|
2493 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
---|
2494 | } |
---|
2495 | # 3480 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2496 | static inline void LL_RCC_ClearFlag_LSIRDY(void) |
---|
2497 | { |
---|
2498 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (0U)))); |
---|
2499 | } |
---|
2500 | |
---|
2501 | |
---|
2502 | |
---|
2503 | |
---|
2504 | |
---|
2505 | |
---|
2506 | static inline void LL_RCC_ClearFlag_LSERDY(void) |
---|
2507 | { |
---|
2508 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (1U)))); |
---|
2509 | } |
---|
2510 | |
---|
2511 | |
---|
2512 | |
---|
2513 | |
---|
2514 | |
---|
2515 | |
---|
2516 | static inline void LL_RCC_ClearFlag_HSIRDY(void) |
---|
2517 | { |
---|
2518 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (3U)))); |
---|
2519 | } |
---|
2520 | |
---|
2521 | |
---|
2522 | |
---|
2523 | |
---|
2524 | |
---|
2525 | |
---|
2526 | static inline void LL_RCC_ClearFlag_HSERDY(void) |
---|
2527 | { |
---|
2528 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (4U)))); |
---|
2529 | } |
---|
2530 | |
---|
2531 | |
---|
2532 | |
---|
2533 | |
---|
2534 | |
---|
2535 | |
---|
2536 | static inline void LL_RCC_ClearFlag_PLLRDY(void) |
---|
2537 | { |
---|
2538 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (5U)))); |
---|
2539 | } |
---|
2540 | # 3541 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2541 | static inline void LL_RCC_ClearFlag_HSECSS(void) |
---|
2542 | { |
---|
2543 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (8U)))); |
---|
2544 | } |
---|
2545 | |
---|
2546 | |
---|
2547 | |
---|
2548 | |
---|
2549 | |
---|
2550 | |
---|
2551 | static inline void LL_RCC_ClearFlag_LSECSS(void) |
---|
2552 | { |
---|
2553 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (9U)))); |
---|
2554 | } |
---|
2555 | |
---|
2556 | |
---|
2557 | |
---|
2558 | |
---|
2559 | |
---|
2560 | |
---|
2561 | static inline uint32_t LL_RCC_IsActiveFlag_LSIRDY(void) |
---|
2562 | { |
---|
2563 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
2564 | } |
---|
2565 | |
---|
2566 | |
---|
2567 | |
---|
2568 | |
---|
2569 | |
---|
2570 | |
---|
2571 | static inline uint32_t LL_RCC_IsActiveFlag_LSERDY(void) |
---|
2572 | { |
---|
2573 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
2574 | } |
---|
2575 | |
---|
2576 | |
---|
2577 | |
---|
2578 | |
---|
2579 | |
---|
2580 | |
---|
2581 | static inline uint32_t LL_RCC_IsActiveFlag_HSIRDY(void) |
---|
2582 | { |
---|
2583 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
2584 | } |
---|
2585 | |
---|
2586 | |
---|
2587 | |
---|
2588 | |
---|
2589 | |
---|
2590 | |
---|
2591 | static inline uint32_t LL_RCC_IsActiveFlag_HSERDY(void) |
---|
2592 | { |
---|
2593 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
2594 | } |
---|
2595 | |
---|
2596 | |
---|
2597 | |
---|
2598 | |
---|
2599 | |
---|
2600 | |
---|
2601 | static inline uint32_t LL_RCC_IsActiveFlag_PLLRDY(void) |
---|
2602 | { |
---|
2603 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
2604 | } |
---|
2605 | # 3623 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2606 | static inline uint32_t LL_RCC_IsActiveFlag_HSECSS(void) |
---|
2607 | { |
---|
2608 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
2609 | } |
---|
2610 | |
---|
2611 | |
---|
2612 | |
---|
2613 | |
---|
2614 | |
---|
2615 | |
---|
2616 | static inline uint32_t LL_RCC_IsActiveFlag_LSECSS(void) |
---|
2617 | { |
---|
2618 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
2619 | } |
---|
2620 | |
---|
2621 | |
---|
2622 | |
---|
2623 | |
---|
2624 | |
---|
2625 | |
---|
2626 | static inline uint32_t LL_RCC_IsActiveFlag_IWDGRST(void) |
---|
2627 | { |
---|
2628 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (29U)))) == ((0x1UL << (29U)))) ? 1UL : 0UL); |
---|
2629 | } |
---|
2630 | |
---|
2631 | |
---|
2632 | |
---|
2633 | |
---|
2634 | |
---|
2635 | |
---|
2636 | static inline uint32_t LL_RCC_IsActiveFlag_LPWRRST(void) |
---|
2637 | { |
---|
2638 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL); |
---|
2639 | } |
---|
2640 | |
---|
2641 | |
---|
2642 | |
---|
2643 | |
---|
2644 | |
---|
2645 | |
---|
2646 | static inline uint32_t LL_RCC_IsActiveFlag_OBLRST(void) |
---|
2647 | { |
---|
2648 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
---|
2649 | } |
---|
2650 | |
---|
2651 | |
---|
2652 | |
---|
2653 | |
---|
2654 | |
---|
2655 | |
---|
2656 | static inline uint32_t LL_RCC_IsActiveFlag_PINRST(void) |
---|
2657 | { |
---|
2658 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL); |
---|
2659 | } |
---|
2660 | |
---|
2661 | |
---|
2662 | |
---|
2663 | |
---|
2664 | |
---|
2665 | |
---|
2666 | static inline uint32_t LL_RCC_IsActiveFlag_SFTRST(void) |
---|
2667 | { |
---|
2668 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
---|
2669 | } |
---|
2670 | |
---|
2671 | |
---|
2672 | |
---|
2673 | |
---|
2674 | |
---|
2675 | |
---|
2676 | static inline uint32_t LL_RCC_IsActiveFlag_WWDGRST(void) |
---|
2677 | { |
---|
2678 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (30U)))) == ((0x1UL << (30U)))) ? 1UL : 0UL); |
---|
2679 | } |
---|
2680 | |
---|
2681 | |
---|
2682 | |
---|
2683 | |
---|
2684 | |
---|
2685 | |
---|
2686 | static inline uint32_t LL_RCC_IsActiveFlag_PWRRST(void) |
---|
2687 | { |
---|
2688 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL); |
---|
2689 | } |
---|
2690 | |
---|
2691 | |
---|
2692 | |
---|
2693 | |
---|
2694 | |
---|
2695 | |
---|
2696 | static inline void LL_RCC_ClearResetFlags(void) |
---|
2697 | { |
---|
2698 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (23U)))); |
---|
2699 | } |
---|
2700 | # 3731 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2701 | static inline void LL_RCC_EnableIT_LSIRDY(void) |
---|
2702 | { |
---|
2703 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (0U)))); |
---|
2704 | } |
---|
2705 | |
---|
2706 | |
---|
2707 | |
---|
2708 | |
---|
2709 | |
---|
2710 | |
---|
2711 | static inline void LL_RCC_EnableIT_LSERDY(void) |
---|
2712 | { |
---|
2713 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (1U)))); |
---|
2714 | } |
---|
2715 | |
---|
2716 | |
---|
2717 | |
---|
2718 | |
---|
2719 | |
---|
2720 | |
---|
2721 | static inline void LL_RCC_EnableIT_HSIRDY(void) |
---|
2722 | { |
---|
2723 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (3U)))); |
---|
2724 | } |
---|
2725 | |
---|
2726 | |
---|
2727 | |
---|
2728 | |
---|
2729 | |
---|
2730 | |
---|
2731 | static inline void LL_RCC_EnableIT_HSERDY(void) |
---|
2732 | { |
---|
2733 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (4U)))); |
---|
2734 | } |
---|
2735 | |
---|
2736 | |
---|
2737 | |
---|
2738 | |
---|
2739 | |
---|
2740 | |
---|
2741 | static inline void LL_RCC_EnableIT_PLLRDY(void) |
---|
2742 | { |
---|
2743 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (5U)))); |
---|
2744 | } |
---|
2745 | # 3793 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2746 | static inline void LL_RCC_DisableIT_LSIRDY(void) |
---|
2747 | { |
---|
2748 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (0U)))); |
---|
2749 | } |
---|
2750 | |
---|
2751 | |
---|
2752 | |
---|
2753 | |
---|
2754 | |
---|
2755 | |
---|
2756 | static inline void LL_RCC_DisableIT_LSERDY(void) |
---|
2757 | { |
---|
2758 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (1U)))); |
---|
2759 | } |
---|
2760 | |
---|
2761 | |
---|
2762 | |
---|
2763 | |
---|
2764 | |
---|
2765 | |
---|
2766 | static inline void LL_RCC_DisableIT_HSIRDY(void) |
---|
2767 | { |
---|
2768 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (3U)))); |
---|
2769 | } |
---|
2770 | |
---|
2771 | |
---|
2772 | |
---|
2773 | |
---|
2774 | |
---|
2775 | |
---|
2776 | static inline void LL_RCC_DisableIT_HSERDY(void) |
---|
2777 | { |
---|
2778 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (4U)))); |
---|
2779 | } |
---|
2780 | |
---|
2781 | |
---|
2782 | |
---|
2783 | |
---|
2784 | |
---|
2785 | |
---|
2786 | static inline void LL_RCC_DisableIT_PLLRDY(void) |
---|
2787 | { |
---|
2788 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (5U)))); |
---|
2789 | } |
---|
2790 | # 3855 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2791 | static inline uint32_t LL_RCC_IsEnabledIT_LSIRDY(void) |
---|
2792 | { |
---|
2793 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
2794 | } |
---|
2795 | |
---|
2796 | |
---|
2797 | |
---|
2798 | |
---|
2799 | |
---|
2800 | |
---|
2801 | static inline uint32_t LL_RCC_IsEnabledIT_LSERDY(void) |
---|
2802 | { |
---|
2803 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
2804 | } |
---|
2805 | |
---|
2806 | |
---|
2807 | |
---|
2808 | |
---|
2809 | |
---|
2810 | |
---|
2811 | static inline uint32_t LL_RCC_IsEnabledIT_HSIRDY(void) |
---|
2812 | { |
---|
2813 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
2814 | } |
---|
2815 | # 3897 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
2816 | static inline uint32_t LL_RCC_IsEnabledIT_HSERDY(void) |
---|
2817 | { |
---|
2818 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
2819 | } |
---|
2820 | |
---|
2821 | |
---|
2822 | |
---|
2823 | |
---|
2824 | |
---|
2825 | |
---|
2826 | static inline uint32_t LL_RCC_IsEnabledIT_PLLRDY(void) |
---|
2827 | { |
---|
2828 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
2829 | } |
---|
2830 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
---|
2831 | # 265 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
2832 | typedef struct |
---|
2833 | { |
---|
2834 | uint32_t PLLState; |
---|
2835 | |
---|
2836 | |
---|
2837 | uint32_t PLLSource; |
---|
2838 | |
---|
2839 | |
---|
2840 | uint32_t PLLM; |
---|
2841 | |
---|
2842 | |
---|
2843 | uint32_t PLLN; |
---|
2844 | |
---|
2845 | |
---|
2846 | uint32_t PLLP; |
---|
2847 | # 289 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
2848 | uint32_t PLLR; |
---|
2849 | |
---|
2850 | |
---|
2851 | |
---|
2852 | } RCC_PLLInitTypeDef; |
---|
2853 | |
---|
2854 | |
---|
2855 | |
---|
2856 | |
---|
2857 | typedef struct |
---|
2858 | { |
---|
2859 | uint32_t OscillatorType; |
---|
2860 | |
---|
2861 | |
---|
2862 | uint32_t HSEState; |
---|
2863 | |
---|
2864 | |
---|
2865 | uint32_t LSEState; |
---|
2866 | |
---|
2867 | |
---|
2868 | uint32_t HSIState; |
---|
2869 | |
---|
2870 | |
---|
2871 | uint32_t HSIDiv; |
---|
2872 | |
---|
2873 | |
---|
2874 | uint32_t HSICalibrationValue; |
---|
2875 | |
---|
2876 | |
---|
2877 | uint32_t LSIState; |
---|
2878 | # 327 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
2879 | RCC_PLLInitTypeDef PLL; |
---|
2880 | |
---|
2881 | } RCC_OscInitTypeDef; |
---|
2882 | |
---|
2883 | |
---|
2884 | |
---|
2885 | |
---|
2886 | typedef struct |
---|
2887 | { |
---|
2888 | uint32_t ClockType; |
---|
2889 | |
---|
2890 | |
---|
2891 | uint32_t SYSCLKSource; |
---|
2892 | |
---|
2893 | |
---|
2894 | uint32_t AHBCLKDivider; |
---|
2895 | |
---|
2896 | |
---|
2897 | uint32_t APB1CLKDivider; |
---|
2898 | |
---|
2899 | |
---|
2900 | |
---|
2901 | } RCC_ClkInitTypeDef; |
---|
2902 | # 3106 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
2903 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" 1 |
---|
2904 | # 46 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
2905 | typedef struct |
---|
2906 | { |
---|
2907 | uint32_t PeriphClockSelection; |
---|
2908 | |
---|
2909 | |
---|
2910 | uint32_t Usart1ClockSelection; |
---|
2911 | |
---|
2912 | |
---|
2913 | uint32_t Usart2ClockSelection; |
---|
2914 | # 73 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
2915 | uint32_t I2c1ClockSelection; |
---|
2916 | |
---|
2917 | |
---|
2918 | |
---|
2919 | |
---|
2920 | |
---|
2921 | |
---|
2922 | |
---|
2923 | uint32_t I2s1ClockSelection; |
---|
2924 | # 99 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
2925 | uint32_t AdcClockSelection; |
---|
2926 | # 113 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
2927 | uint32_t RTCClockSelection; |
---|
2928 | # 123 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
2929 | } RCC_PeriphCLKInitTypeDef; |
---|
2930 | # 1193 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
2931 | HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit); |
---|
2932 | void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit); |
---|
2933 | uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk); |
---|
2934 | # 1205 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
2935 | void HAL_RCCEx_EnableLSCO(uint32_t LSCOSource); |
---|
2936 | void HAL_RCCEx_DisableLSCO(void); |
---|
2937 | # 3107 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
---|
2938 | # 3119 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
2939 | HAL_StatusTypeDef HAL_RCC_DeInit(void); |
---|
2940 | HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); |
---|
2941 | HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency); |
---|
2942 | # 3132 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
2943 | void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv); |
---|
2944 | void HAL_RCC_EnableCSS(void); |
---|
2945 | void HAL_RCC_EnableLSECSS(void); |
---|
2946 | void HAL_RCC_DisableLSECSS(void); |
---|
2947 | uint32_t HAL_RCC_GetSysClockFreq(void); |
---|
2948 | uint32_t HAL_RCC_GetHCLKFreq(void); |
---|
2949 | uint32_t HAL_RCC_GetPCLK1Freq(void); |
---|
2950 | void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); |
---|
2951 | void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency); |
---|
2952 | uint32_t HAL_RCC_GetResetSource(void); |
---|
2953 | |
---|
2954 | void HAL_RCC_NMI_IRQHandler(void); |
---|
2955 | |
---|
2956 | void HAL_RCC_CSSCallback(void); |
---|
2957 | void HAL_RCC_LSECSSCallback(void); |
---|
2958 | # 196 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
2959 | |
---|
2960 | |
---|
2961 | |
---|
2962 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 1 |
---|
2963 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
2964 | typedef struct |
---|
2965 | { |
---|
2966 | uint32_t Pin; |
---|
2967 | |
---|
2968 | |
---|
2969 | uint32_t Mode; |
---|
2970 | |
---|
2971 | |
---|
2972 | uint32_t Pull; |
---|
2973 | |
---|
2974 | |
---|
2975 | uint32_t Speed; |
---|
2976 | |
---|
2977 | |
---|
2978 | uint32_t Alternate; |
---|
2979 | |
---|
2980 | } GPIO_InitTypeDef; |
---|
2981 | |
---|
2982 | |
---|
2983 | |
---|
2984 | |
---|
2985 | typedef enum |
---|
2986 | { |
---|
2987 | GPIO_PIN_RESET = 0U, |
---|
2988 | GPIO_PIN_SET |
---|
2989 | } GPIO_PinState; |
---|
2990 | # 306 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
2991 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio_ex.h" 1 |
---|
2992 | # 307 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 2 |
---|
2993 | # 320 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
2994 | void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init); |
---|
2995 | void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin); |
---|
2996 | # 333 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
2997 | GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
---|
2998 | void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState); |
---|
2999 | void HAL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
---|
3000 | HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
---|
3001 | void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin); |
---|
3002 | void HAL_GPIO_EXTI_Rising_Callback(uint16_t GPIO_Pin); |
---|
3003 | void HAL_GPIO_EXTI_Falling_Callback(uint16_t GPIO_Pin); |
---|
3004 | # 200 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
3005 | |
---|
3006 | |
---|
3007 | |
---|
3008 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 1 |
---|
3009 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
3010 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 1 |
---|
3011 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3012 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" 1 |
---|
3013 | # 524 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3014 | static inline void LL_DMAMUX_SetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Request) |
---|
3015 | { |
---|
3016 | (void)(DMAMUXx); |
---|
3017 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3FUL << (0U))))) | (Request)))); |
---|
3018 | } |
---|
3019 | # 615 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3020 | static inline uint32_t LL_DMAMUX_GetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3021 | { |
---|
3022 | (void)(DMAMUXx); |
---|
3023 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3FUL << (0U))))); |
---|
3024 | } |
---|
3025 | # 645 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3026 | static inline void LL_DMAMUX_SetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t RequestNb) |
---|
3027 | { |
---|
3028 | (void)(DMAMUXx); |
---|
3029 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (19U))))) | (((RequestNb - 1U) << (19U)))))); |
---|
3030 | } |
---|
3031 | # 674 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3032 | static inline uint32_t LL_DMAMUX_GetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3033 | { |
---|
3034 | (void)(DMAMUXx); |
---|
3035 | return (uint32_t)((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (19U))))) >> (19U)) + 1U); |
---|
3036 | } |
---|
3037 | # 708 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3038 | static inline void LL_DMAMUX_SetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Polarity) |
---|
3039 | { |
---|
3040 | (void)(DMAMUXx); |
---|
3041 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3UL << (17U))))) | (Polarity)))); |
---|
3042 | } |
---|
3043 | # 741 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3044 | static inline uint32_t LL_DMAMUX_GetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3045 | { |
---|
3046 | (void)(DMAMUXx); |
---|
3047 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3UL << (17U))))); |
---|
3048 | } |
---|
3049 | # 770 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3050 | static inline void LL_DMAMUX_EnableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3051 | { |
---|
3052 | (void)(DMAMUXx); |
---|
3053 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (9U)))); |
---|
3054 | } |
---|
3055 | # 799 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3056 | static inline void LL_DMAMUX_DisableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3057 | { |
---|
3058 | (void)(DMAMUXx); |
---|
3059 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (9U)))); |
---|
3060 | } |
---|
3061 | # 828 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3062 | static inline uint32_t LL_DMAMUX_IsEnabledEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3063 | { |
---|
3064 | (void)(DMAMUXx); |
---|
3065 | return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
3066 | } |
---|
3067 | # 857 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3068 | static inline void LL_DMAMUX_EnableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3069 | { |
---|
3070 | (void)(DMAMUXx); |
---|
3071 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (16U)))); |
---|
3072 | } |
---|
3073 | # 886 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3074 | static inline void LL_DMAMUX_DisableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3075 | { |
---|
3076 | (void)(DMAMUXx); |
---|
3077 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (16U)))); |
---|
3078 | } |
---|
3079 | # 915 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3080 | static inline uint32_t LL_DMAMUX_IsEnabledSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3081 | { |
---|
3082 | (void)(DMAMUXx); |
---|
3083 | return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
3084 | } |
---|
3085 | # 968 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3086 | static inline void LL_DMAMUX_SetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t SyncID) |
---|
3087 | { |
---|
3088 | (void)(DMAMUXx); |
---|
3089 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (24U))))) | (SyncID)))); |
---|
3090 | } |
---|
3091 | # 1020 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3092 | static inline uint32_t LL_DMAMUX_GetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3093 | { |
---|
3094 | (void)(DMAMUXx); |
---|
3095 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (24U))))); |
---|
3096 | } |
---|
3097 | # 1037 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3098 | static inline void LL_DMAMUX_EnableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3099 | { |
---|
3100 | (void)(DMAMUXx); |
---|
3101 | ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) |= ((0x1UL << (16U)))); |
---|
3102 | |
---|
3103 | } |
---|
3104 | # 1055 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3105 | static inline void LL_DMAMUX_DisableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3106 | { |
---|
3107 | (void)(DMAMUXx); |
---|
3108 | ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) &= ~((0x1UL << (16U)))); |
---|
3109 | |
---|
3110 | } |
---|
3111 | # 1073 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3112 | static inline uint32_t LL_DMAMUX_IsEnabledRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3113 | { |
---|
3114 | (void)(DMAMUXx); |
---|
3115 | return ((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
3116 | |
---|
3117 | } |
---|
3118 | # 1096 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3119 | static inline void LL_DMAMUX_SetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
---|
3120 | uint32_t Polarity) |
---|
3121 | { |
---|
3122 | (void)(DMAMUXx); |
---|
3123 | (((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR)) = ((((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR))) & (~((0x3UL << (17U))))) | (Polarity)))); |
---|
3124 | |
---|
3125 | } |
---|
3126 | # 1119 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3127 | static inline uint32_t LL_DMAMUX_GetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3128 | { |
---|
3129 | (void)(DMAMUXx); |
---|
3130 | return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x3UL << (17U))))); |
---|
3131 | |
---|
3132 | } |
---|
3133 | # 1139 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3134 | static inline void LL_DMAMUX_SetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
---|
3135 | uint32_t RequestNb) |
---|
3136 | { |
---|
3137 | (void)(DMAMUXx); |
---|
3138 | (((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR)) = ((((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR))) & (~((0x1FUL << (19U))))) | ((RequestNb - 1U) << (19U))))); |
---|
3139 | |
---|
3140 | } |
---|
3141 | # 1158 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3142 | static inline uint32_t LL_DMAMUX_GetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3143 | { |
---|
3144 | (void)(DMAMUXx); |
---|
3145 | return (uint32_t)((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (19U)))) >> (19U)) + 1U); |
---|
3146 | |
---|
3147 | } |
---|
3148 | # 1200 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3149 | static inline void LL_DMAMUX_SetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
---|
3150 | uint32_t RequestSignalID) |
---|
3151 | { |
---|
3152 | (void)(DMAMUXx); |
---|
3153 | (((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR)) = ((((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR))) & (~((0x1FUL << (0U))))) | (RequestSignalID)))); |
---|
3154 | |
---|
3155 | } |
---|
3156 | # 1242 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3157 | static inline uint32_t LL_DMAMUX_GetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3158 | { |
---|
3159 | (void)(DMAMUXx); |
---|
3160 | return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (0U))))); |
---|
3161 | |
---|
3162 | } |
---|
3163 | # 1263 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3164 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3165 | { |
---|
3166 | (void)(DMAMUXx); |
---|
3167 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
3168 | } |
---|
3169 | |
---|
3170 | |
---|
3171 | |
---|
3172 | |
---|
3173 | |
---|
3174 | |
---|
3175 | |
---|
3176 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3177 | { |
---|
3178 | (void)(DMAMUXx); |
---|
3179 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
3180 | } |
---|
3181 | |
---|
3182 | |
---|
3183 | |
---|
3184 | |
---|
3185 | |
---|
3186 | |
---|
3187 | |
---|
3188 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3189 | { |
---|
3190 | (void)(DMAMUXx); |
---|
3191 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
3192 | } |
---|
3193 | |
---|
3194 | |
---|
3195 | |
---|
3196 | |
---|
3197 | |
---|
3198 | |
---|
3199 | |
---|
3200 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3201 | { |
---|
3202 | (void)(DMAMUXx); |
---|
3203 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
3204 | } |
---|
3205 | |
---|
3206 | |
---|
3207 | |
---|
3208 | |
---|
3209 | |
---|
3210 | |
---|
3211 | |
---|
3212 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3213 | { |
---|
3214 | (void)(DMAMUXx); |
---|
3215 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
3216 | } |
---|
3217 | # 1324 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3218 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3219 | { |
---|
3220 | (void)(DMAMUXx); |
---|
3221 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
3222 | } |
---|
3223 | # 1338 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3224 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3225 | { |
---|
3226 | (void)(DMAMUXx); |
---|
3227 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
---|
3228 | } |
---|
3229 | # 1421 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3230 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3231 | { |
---|
3232 | (void)(DMAMUXx); |
---|
3233 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
3234 | } |
---|
3235 | |
---|
3236 | |
---|
3237 | |
---|
3238 | |
---|
3239 | |
---|
3240 | |
---|
3241 | |
---|
3242 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3243 | { |
---|
3244 | (void)(DMAMUXx); |
---|
3245 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
3246 | } |
---|
3247 | |
---|
3248 | |
---|
3249 | |
---|
3250 | |
---|
3251 | |
---|
3252 | |
---|
3253 | |
---|
3254 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3255 | { |
---|
3256 | (void)(DMAMUXx); |
---|
3257 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
3258 | } |
---|
3259 | |
---|
3260 | |
---|
3261 | |
---|
3262 | |
---|
3263 | |
---|
3264 | |
---|
3265 | |
---|
3266 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3267 | { |
---|
3268 | (void)(DMAMUXx); |
---|
3269 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
3270 | } |
---|
3271 | |
---|
3272 | |
---|
3273 | |
---|
3274 | |
---|
3275 | |
---|
3276 | |
---|
3277 | |
---|
3278 | static inline void LL_DMAMUX_ClearFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3279 | { |
---|
3280 | (void)(DMAMUXx); |
---|
3281 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (0U)))); |
---|
3282 | } |
---|
3283 | |
---|
3284 | |
---|
3285 | |
---|
3286 | |
---|
3287 | |
---|
3288 | |
---|
3289 | |
---|
3290 | static inline void LL_DMAMUX_ClearFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3291 | { |
---|
3292 | (void)(DMAMUXx); |
---|
3293 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (1U)))); |
---|
3294 | } |
---|
3295 | |
---|
3296 | |
---|
3297 | |
---|
3298 | |
---|
3299 | |
---|
3300 | |
---|
3301 | |
---|
3302 | static inline void LL_DMAMUX_ClearFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3303 | { |
---|
3304 | (void)(DMAMUXx); |
---|
3305 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (2U)))); |
---|
3306 | } |
---|
3307 | |
---|
3308 | |
---|
3309 | |
---|
3310 | |
---|
3311 | |
---|
3312 | |
---|
3313 | |
---|
3314 | static inline void LL_DMAMUX_ClearFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3315 | { |
---|
3316 | (void)(DMAMUXx); |
---|
3317 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (3U)))); |
---|
3318 | } |
---|
3319 | |
---|
3320 | |
---|
3321 | |
---|
3322 | |
---|
3323 | |
---|
3324 | |
---|
3325 | |
---|
3326 | static inline void LL_DMAMUX_ClearFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3327 | { |
---|
3328 | (void)(DMAMUXx); |
---|
3329 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (4U)))); |
---|
3330 | } |
---|
3331 | # 1530 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3332 | static inline void LL_DMAMUX_ClearFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3333 | { |
---|
3334 | (void)(DMAMUXx); |
---|
3335 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (5U)))); |
---|
3336 | } |
---|
3337 | # 1544 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3338 | static inline void LL_DMAMUX_ClearFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3339 | { |
---|
3340 | (void)(DMAMUXx); |
---|
3341 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (6U)))); |
---|
3342 | } |
---|
3343 | # 1627 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3344 | static inline void LL_DMAMUX_ClearFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3345 | { |
---|
3346 | (void)(DMAMUXx); |
---|
3347 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (0U)))); |
---|
3348 | } |
---|
3349 | |
---|
3350 | |
---|
3351 | |
---|
3352 | |
---|
3353 | |
---|
3354 | |
---|
3355 | |
---|
3356 | static inline void LL_DMAMUX_ClearFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3357 | { |
---|
3358 | (void)(DMAMUXx); |
---|
3359 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (1U)))); |
---|
3360 | } |
---|
3361 | |
---|
3362 | |
---|
3363 | |
---|
3364 | |
---|
3365 | |
---|
3366 | |
---|
3367 | |
---|
3368 | static inline void LL_DMAMUX_ClearFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3369 | { |
---|
3370 | (void)(DMAMUXx); |
---|
3371 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (2U)))); |
---|
3372 | } |
---|
3373 | |
---|
3374 | |
---|
3375 | |
---|
3376 | |
---|
3377 | |
---|
3378 | |
---|
3379 | |
---|
3380 | static inline void LL_DMAMUX_ClearFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
3381 | { |
---|
3382 | (void)(DMAMUXx); |
---|
3383 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (3U)))); |
---|
3384 | } |
---|
3385 | # 1700 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3386 | static inline void LL_DMAMUX_EnableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3387 | { |
---|
3388 | (void)(DMAMUXx); |
---|
3389 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (8U)))); |
---|
3390 | } |
---|
3391 | # 1729 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3392 | static inline void LL_DMAMUX_DisableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3393 | { |
---|
3394 | (void)(DMAMUXx); |
---|
3395 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (8U)))); |
---|
3396 | } |
---|
3397 | # 1758 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3398 | static inline uint32_t LL_DMAMUX_IsEnabledIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
3399 | { |
---|
3400 | (void)(DMAMUXx); |
---|
3401 | return ((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (8U))))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
3402 | } |
---|
3403 | # 1775 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3404 | static inline void LL_DMAMUX_EnableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3405 | { |
---|
3406 | (void)(DMAMUXx); |
---|
3407 | (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) |= ((0x1UL << (8U)))); |
---|
3408 | } |
---|
3409 | # 1792 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3410 | static inline void LL_DMAMUX_DisableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3411 | { |
---|
3412 | (void)(DMAMUXx); |
---|
3413 | (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) &= ~((0x1UL << (8U)))); |
---|
3414 | } |
---|
3415 | # 1809 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
3416 | static inline uint32_t LL_DMAMUX_IsEnabledIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
3417 | { |
---|
3418 | (void)(DMAMUXx); |
---|
3419 | return (((((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
3420 | } |
---|
3421 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 2 |
---|
3422 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3423 | static const uint8_t CHANNEL_OFFSET_TAB[] = |
---|
3424 | { |
---|
3425 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000008UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
3426 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000001CUL) - (((0x40000000UL) + 0x00020000UL))), |
---|
3427 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000030UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
3428 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000044UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
3429 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000058UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
3430 | |
---|
3431 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000006CUL) - (((0x40000000UL) + 0x00020000UL))), |
---|
3432 | |
---|
3433 | |
---|
3434 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000080UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
3435 | |
---|
3436 | }; |
---|
3437 | # 500 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3438 | static inline void LL_DMA_EnableChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3439 | { |
---|
3440 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3441 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (0U)))); |
---|
3442 | } |
---|
3443 | # 520 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3444 | static inline void LL_DMA_DisableChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3445 | { |
---|
3446 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3447 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (0U)))); |
---|
3448 | } |
---|
3449 | # 540 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3450 | static inline uint32_t LL_DMA_IsEnabledChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3451 | { |
---|
3452 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3453 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
3454 | |
---|
3455 | } |
---|
3456 | # 576 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3457 | static inline void LL_DMA_ConfigTransfer(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configuration) |
---|
3458 | { |
---|
3459 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3460 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (4U)) | (0x1UL << (14U)) | (0x1UL << (5U)) | (0x1UL << (6U)) | (0x1UL << (7U)) | (0x3UL << (8U)) | (0x3UL << (10U)) | (0x3UL << (12U))))) | (Configuration)))); |
---|
3461 | |
---|
3462 | |
---|
3463 | } |
---|
3464 | # 603 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3465 | static inline void LL_DMA_SetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Direction) |
---|
3466 | { |
---|
3467 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3468 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (4U)) | (0x1UL << (14U))))) | (Direction)))); |
---|
3469 | |
---|
3470 | } |
---|
3471 | # 628 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3472 | static inline uint32_t LL_DMA_GetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3473 | { |
---|
3474 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3475 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (4U)) | (0x1UL << (14U))))); |
---|
3476 | |
---|
3477 | } |
---|
3478 | # 654 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3479 | static inline void LL_DMA_SetMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Mode) |
---|
3480 | { |
---|
3481 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3482 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (5U))))) | (Mode)))); |
---|
3483 | |
---|
3484 | } |
---|
3485 | # 677 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3486 | static inline uint32_t LL_DMA_GetMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3487 | { |
---|
3488 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3489 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (5U))))); |
---|
3490 | |
---|
3491 | } |
---|
3492 | # 701 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3493 | static inline void LL_DMA_SetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcIncMode) |
---|
3494 | { |
---|
3495 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3496 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (6U))))) | (PeriphOrM2MSrcIncMode)))); |
---|
3497 | |
---|
3498 | } |
---|
3499 | # 724 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3500 | static inline uint32_t LL_DMA_GetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3501 | { |
---|
3502 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3503 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (6U))))); |
---|
3504 | |
---|
3505 | } |
---|
3506 | # 748 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3507 | static inline void LL_DMA_SetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstIncMode) |
---|
3508 | { |
---|
3509 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3510 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (7U))))) | (MemoryOrM2MDstIncMode)))); |
---|
3511 | |
---|
3512 | } |
---|
3513 | # 771 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3514 | static inline uint32_t LL_DMA_GetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3515 | { |
---|
3516 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3517 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (7U))))); |
---|
3518 | |
---|
3519 | } |
---|
3520 | # 796 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3521 | static inline void LL_DMA_SetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcDataSize) |
---|
3522 | { |
---|
3523 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3524 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x3UL << (8U))))) | (PeriphOrM2MSrcDataSize)))); |
---|
3525 | |
---|
3526 | } |
---|
3527 | # 820 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3528 | static inline uint32_t LL_DMA_GetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3529 | { |
---|
3530 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3531 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (8U))))); |
---|
3532 | |
---|
3533 | } |
---|
3534 | # 845 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3535 | static inline void LL_DMA_SetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstDataSize) |
---|
3536 | { |
---|
3537 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3538 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x3UL << (10U))))) | (MemoryOrM2MDstDataSize)))); |
---|
3539 | |
---|
3540 | } |
---|
3541 | # 869 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3542 | static inline uint32_t LL_DMA_GetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3543 | { |
---|
3544 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3545 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (10U))))); |
---|
3546 | |
---|
3547 | } |
---|
3548 | # 895 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3549 | static inline void LL_DMA_SetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Priority) |
---|
3550 | { |
---|
3551 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3552 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x3UL << (12U))))) | (Priority)))); |
---|
3553 | |
---|
3554 | } |
---|
3555 | # 920 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3556 | static inline uint32_t LL_DMA_GetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3557 | { |
---|
3558 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3559 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (12U))))); |
---|
3560 | |
---|
3561 | } |
---|
3562 | # 944 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3563 | static inline void LL_DMA_SetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t NbData) |
---|
3564 | { |
---|
3565 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3566 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR))) & (~((0xFFFFUL << (0U))))) | (NbData)))); |
---|
3567 | |
---|
3568 | } |
---|
3569 | # 967 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3570 | static inline uint32_t LL_DMA_GetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3571 | { |
---|
3572 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3573 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR) & ((0xFFFFUL << (0U))))); |
---|
3574 | |
---|
3575 | } |
---|
3576 | # 997 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3577 | static inline void LL_DMA_ConfigAddresses(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t SrcAddress, |
---|
3578 | uint32_t DstAddress, uint32_t Direction) |
---|
3579 | { |
---|
3580 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3581 | |
---|
3582 | if (Direction == (0x1UL << (4U))) |
---|
3583 | { |
---|
3584 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (SrcAddress)); |
---|
3585 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (DstAddress)); |
---|
3586 | } |
---|
3587 | |
---|
3588 | else |
---|
3589 | { |
---|
3590 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (SrcAddress)); |
---|
3591 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (DstAddress)); |
---|
3592 | } |
---|
3593 | } |
---|
3594 | # 1032 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3595 | static inline void LL_DMA_SetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
---|
3596 | { |
---|
3597 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3598 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress)); |
---|
3599 | } |
---|
3600 | # 1055 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3601 | static inline void LL_DMA_SetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphAddress) |
---|
3602 | { |
---|
3603 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3604 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (PeriphAddress)); |
---|
3605 | } |
---|
3606 | # 1076 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3607 | static inline uint32_t LL_DMA_GetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3608 | { |
---|
3609 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3610 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR))); |
---|
3611 | } |
---|
3612 | # 1097 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3613 | static inline uint32_t LL_DMA_GetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3614 | { |
---|
3615 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3616 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR))); |
---|
3617 | } |
---|
3618 | # 1120 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3619 | static inline void LL_DMA_SetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
---|
3620 | { |
---|
3621 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3622 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (MemoryAddress)); |
---|
3623 | } |
---|
3624 | # 1143 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3625 | static inline void LL_DMA_SetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
---|
3626 | { |
---|
3627 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3628 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress)); |
---|
3629 | } |
---|
3630 | # 1164 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3631 | static inline uint32_t LL_DMA_GetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3632 | { |
---|
3633 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3634 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR))); |
---|
3635 | } |
---|
3636 | # 1185 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3637 | static inline uint32_t LL_DMA_GetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3638 | { |
---|
3639 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
3640 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR))); |
---|
3641 | } |
---|
3642 | # 1270 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3643 | static inline void LL_DMA_SetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Request) |
---|
3644 | { |
---|
3645 | uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U); |
---|
3646 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR))) & (~((0x3FUL << (0U))))) | (Request)))); |
---|
3647 | } |
---|
3648 | # 1354 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3649 | static inline uint32_t LL_DMA_GetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
3650 | { |
---|
3651 | uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U); |
---|
3652 | return ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR) & ((0x3FUL << (0U))))); |
---|
3653 | } |
---|
3654 | # 1374 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3655 | static inline uint32_t LL_DMA_IsActiveFlag_GI1(const DMA_TypeDef *DMAx) |
---|
3656 | { |
---|
3657 | return ((((DMAx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
3658 | } |
---|
3659 | |
---|
3660 | |
---|
3661 | |
---|
3662 | |
---|
3663 | |
---|
3664 | |
---|
3665 | |
---|
3666 | static inline uint32_t LL_DMA_IsActiveFlag_GI2(const DMA_TypeDef *DMAx) |
---|
3667 | { |
---|
3668 | return ((((DMAx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
3669 | } |
---|
3670 | |
---|
3671 | |
---|
3672 | |
---|
3673 | |
---|
3674 | |
---|
3675 | |
---|
3676 | |
---|
3677 | static inline uint32_t LL_DMA_IsActiveFlag_GI3(const DMA_TypeDef *DMAx) |
---|
3678 | { |
---|
3679 | return ((((DMAx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
3680 | } |
---|
3681 | |
---|
3682 | |
---|
3683 | |
---|
3684 | |
---|
3685 | |
---|
3686 | |
---|
3687 | |
---|
3688 | static inline uint32_t LL_DMA_IsActiveFlag_GI4(const DMA_TypeDef *DMAx) |
---|
3689 | { |
---|
3690 | return ((((DMAx->ISR) & ((0x1UL << (12U)))) == ((0x1UL << (12U)))) ? 1UL : 0UL); |
---|
3691 | } |
---|
3692 | |
---|
3693 | |
---|
3694 | |
---|
3695 | |
---|
3696 | |
---|
3697 | |
---|
3698 | |
---|
3699 | static inline uint32_t LL_DMA_IsActiveFlag_GI5(const DMA_TypeDef *DMAx) |
---|
3700 | { |
---|
3701 | return ((((DMAx->ISR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
3702 | } |
---|
3703 | # 1430 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3704 | static inline uint32_t LL_DMA_IsActiveFlag_GI6(const DMA_TypeDef *DMAx) |
---|
3705 | { |
---|
3706 | return ((((DMAx->ISR) & ((0x1UL << (20U)))) == ((0x1UL << (20U)))) ? 1UL : 0UL); |
---|
3707 | } |
---|
3708 | # 1443 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3709 | static inline uint32_t LL_DMA_IsActiveFlag_GI7(const DMA_TypeDef *DMAx) |
---|
3710 | { |
---|
3711 | return ((((DMAx->ISR) & ((0x1UL << (24U)))) == ((0x1UL << (24U)))) ? 1UL : 0UL); |
---|
3712 | } |
---|
3713 | # 1455 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3714 | static inline uint32_t LL_DMA_IsActiveFlag_TC1(const DMA_TypeDef *DMAx) |
---|
3715 | { |
---|
3716 | return ((((DMAx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
3717 | } |
---|
3718 | |
---|
3719 | |
---|
3720 | |
---|
3721 | |
---|
3722 | |
---|
3723 | |
---|
3724 | |
---|
3725 | static inline uint32_t LL_DMA_IsActiveFlag_TC2(const DMA_TypeDef *DMAx) |
---|
3726 | { |
---|
3727 | return ((((DMAx->ISR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
3728 | } |
---|
3729 | |
---|
3730 | |
---|
3731 | |
---|
3732 | |
---|
3733 | |
---|
3734 | |
---|
3735 | |
---|
3736 | static inline uint32_t LL_DMA_IsActiveFlag_TC3(const DMA_TypeDef *DMAx) |
---|
3737 | { |
---|
3738 | return ((((DMAx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
3739 | } |
---|
3740 | |
---|
3741 | |
---|
3742 | |
---|
3743 | |
---|
3744 | |
---|
3745 | |
---|
3746 | |
---|
3747 | static inline uint32_t LL_DMA_IsActiveFlag_TC4(const DMA_TypeDef *DMAx) |
---|
3748 | { |
---|
3749 | return ((((DMAx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
---|
3750 | } |
---|
3751 | |
---|
3752 | |
---|
3753 | |
---|
3754 | |
---|
3755 | |
---|
3756 | |
---|
3757 | |
---|
3758 | static inline uint32_t LL_DMA_IsActiveFlag_TC5(const DMA_TypeDef *DMAx) |
---|
3759 | { |
---|
3760 | return ((((DMAx->ISR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL); |
---|
3761 | } |
---|
3762 | # 1511 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3763 | static inline uint32_t LL_DMA_IsActiveFlag_TC6(const DMA_TypeDef *DMAx) |
---|
3764 | { |
---|
3765 | return ((((DMAx->ISR) & ((0x1UL << (21U)))) == ((0x1UL << (21U)))) ? 1UL : 0UL); |
---|
3766 | } |
---|
3767 | # 1524 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3768 | static inline uint32_t LL_DMA_IsActiveFlag_TC7(const DMA_TypeDef *DMAx) |
---|
3769 | { |
---|
3770 | return ((((DMAx->ISR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
---|
3771 | } |
---|
3772 | # 1536 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3773 | static inline uint32_t LL_DMA_IsActiveFlag_HT1(const DMA_TypeDef *DMAx) |
---|
3774 | { |
---|
3775 | return ((((DMAx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
3776 | } |
---|
3777 | |
---|
3778 | |
---|
3779 | |
---|
3780 | |
---|
3781 | |
---|
3782 | |
---|
3783 | |
---|
3784 | static inline uint32_t LL_DMA_IsActiveFlag_HT2(const DMA_TypeDef *DMAx) |
---|
3785 | { |
---|
3786 | return ((((DMAx->ISR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
---|
3787 | } |
---|
3788 | |
---|
3789 | |
---|
3790 | |
---|
3791 | |
---|
3792 | |
---|
3793 | |
---|
3794 | |
---|
3795 | static inline uint32_t LL_DMA_IsActiveFlag_HT3(const DMA_TypeDef *DMAx) |
---|
3796 | { |
---|
3797 | return ((((DMAx->ISR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); |
---|
3798 | } |
---|
3799 | |
---|
3800 | |
---|
3801 | |
---|
3802 | |
---|
3803 | |
---|
3804 | |
---|
3805 | |
---|
3806 | static inline uint32_t LL_DMA_IsActiveFlag_HT4(const DMA_TypeDef *DMAx) |
---|
3807 | { |
---|
3808 | return ((((DMAx->ISR) & ((0x1UL << (14U)))) == ((0x1UL << (14U)))) ? 1UL : 0UL); |
---|
3809 | } |
---|
3810 | |
---|
3811 | |
---|
3812 | |
---|
3813 | |
---|
3814 | |
---|
3815 | |
---|
3816 | |
---|
3817 | static inline uint32_t LL_DMA_IsActiveFlag_HT5(const DMA_TypeDef *DMAx) |
---|
3818 | { |
---|
3819 | return ((((DMAx->ISR) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? 1UL : 0UL); |
---|
3820 | } |
---|
3821 | # 1592 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3822 | static inline uint32_t LL_DMA_IsActiveFlag_HT6(const DMA_TypeDef *DMAx) |
---|
3823 | { |
---|
3824 | return ((((DMAx->ISR) & ((0x1UL << (22U)))) == ((0x1UL << (22U)))) ? 1UL : 0UL); |
---|
3825 | } |
---|
3826 | # 1605 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3827 | static inline uint32_t LL_DMA_IsActiveFlag_HT7(const DMA_TypeDef *DMAx) |
---|
3828 | { |
---|
3829 | return ((((DMAx->ISR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL); |
---|
3830 | } |
---|
3831 | # 1617 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3832 | static inline uint32_t LL_DMA_IsActiveFlag_TE1(const DMA_TypeDef *DMAx) |
---|
3833 | { |
---|
3834 | return ((((DMAx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
3835 | } |
---|
3836 | |
---|
3837 | |
---|
3838 | |
---|
3839 | |
---|
3840 | |
---|
3841 | |
---|
3842 | |
---|
3843 | static inline uint32_t LL_DMA_IsActiveFlag_TE2(const DMA_TypeDef *DMAx) |
---|
3844 | { |
---|
3845 | return ((((DMAx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
---|
3846 | } |
---|
3847 | |
---|
3848 | |
---|
3849 | |
---|
3850 | |
---|
3851 | |
---|
3852 | |
---|
3853 | |
---|
3854 | static inline uint32_t LL_DMA_IsActiveFlag_TE3(const DMA_TypeDef *DMAx) |
---|
3855 | { |
---|
3856 | return ((((DMAx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
---|
3857 | } |
---|
3858 | |
---|
3859 | |
---|
3860 | |
---|
3861 | |
---|
3862 | |
---|
3863 | |
---|
3864 | |
---|
3865 | static inline uint32_t LL_DMA_IsActiveFlag_TE4(const DMA_TypeDef *DMAx) |
---|
3866 | { |
---|
3867 | return ((((DMAx->ISR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL); |
---|
3868 | } |
---|
3869 | |
---|
3870 | |
---|
3871 | |
---|
3872 | |
---|
3873 | |
---|
3874 | |
---|
3875 | |
---|
3876 | static inline uint32_t LL_DMA_IsActiveFlag_TE5(const DMA_TypeDef *DMAx) |
---|
3877 | { |
---|
3878 | return ((((DMAx->ISR) & ((0x1UL << (19U)))) == ((0x1UL << (19U)))) ? 1UL : 0UL); |
---|
3879 | } |
---|
3880 | # 1673 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3881 | static inline uint32_t LL_DMA_IsActiveFlag_TE6(const DMA_TypeDef *DMAx) |
---|
3882 | { |
---|
3883 | return ((((DMAx->ISR) & ((0x1UL << (23U)))) == ((0x1UL << (23U)))) ? 1UL : 0UL); |
---|
3884 | } |
---|
3885 | # 1686 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3886 | static inline uint32_t LL_DMA_IsActiveFlag_TE7(const DMA_TypeDef *DMAx) |
---|
3887 | { |
---|
3888 | return ((((DMAx->ISR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL); |
---|
3889 | } |
---|
3890 | # 1702 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3891 | static inline void LL_DMA_ClearFlag_GI1(DMA_TypeDef *DMAx) |
---|
3892 | { |
---|
3893 | ((DMAx->IFCR) = ((0x1UL << (0U)))); |
---|
3894 | } |
---|
3895 | # 1717 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3896 | static inline void LL_DMA_ClearFlag_GI2(DMA_TypeDef *DMAx) |
---|
3897 | { |
---|
3898 | ((DMAx->IFCR) = ((0x1UL << (4U)))); |
---|
3899 | } |
---|
3900 | # 1732 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3901 | static inline void LL_DMA_ClearFlag_GI3(DMA_TypeDef *DMAx) |
---|
3902 | { |
---|
3903 | ((DMAx->IFCR) = ((0x1UL << (8U)))); |
---|
3904 | } |
---|
3905 | # 1747 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3906 | static inline void LL_DMA_ClearFlag_GI4(DMA_TypeDef *DMAx) |
---|
3907 | { |
---|
3908 | ((DMAx->IFCR) = ((0x1UL << (12U)))); |
---|
3909 | } |
---|
3910 | # 1762 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3911 | static inline void LL_DMA_ClearFlag_GI5(DMA_TypeDef *DMAx) |
---|
3912 | { |
---|
3913 | ((DMAx->IFCR) = ((0x1UL << (16U)))); |
---|
3914 | } |
---|
3915 | # 1778 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3916 | static inline void LL_DMA_ClearFlag_GI6(DMA_TypeDef *DMAx) |
---|
3917 | { |
---|
3918 | ((DMAx->IFCR) = ((0x1UL << (20U)))); |
---|
3919 | } |
---|
3920 | # 1795 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3921 | static inline void LL_DMA_ClearFlag_GI7(DMA_TypeDef *DMAx) |
---|
3922 | { |
---|
3923 | ((DMAx->IFCR) = ((0x1UL << (24U)))); |
---|
3924 | } |
---|
3925 | # 1807 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3926 | static inline void LL_DMA_ClearFlag_TC1(DMA_TypeDef *DMAx) |
---|
3927 | { |
---|
3928 | ((DMAx->IFCR) = ((0x1UL << (1U)))); |
---|
3929 | } |
---|
3930 | |
---|
3931 | |
---|
3932 | |
---|
3933 | |
---|
3934 | |
---|
3935 | |
---|
3936 | |
---|
3937 | static inline void LL_DMA_ClearFlag_TC2(DMA_TypeDef *DMAx) |
---|
3938 | { |
---|
3939 | ((DMAx->IFCR) = ((0x1UL << (5U)))); |
---|
3940 | } |
---|
3941 | |
---|
3942 | |
---|
3943 | |
---|
3944 | |
---|
3945 | |
---|
3946 | |
---|
3947 | |
---|
3948 | static inline void LL_DMA_ClearFlag_TC3(DMA_TypeDef *DMAx) |
---|
3949 | { |
---|
3950 | ((DMAx->IFCR) = ((0x1UL << (9U)))); |
---|
3951 | } |
---|
3952 | |
---|
3953 | |
---|
3954 | |
---|
3955 | |
---|
3956 | |
---|
3957 | |
---|
3958 | |
---|
3959 | static inline void LL_DMA_ClearFlag_TC4(DMA_TypeDef *DMAx) |
---|
3960 | { |
---|
3961 | ((DMAx->IFCR) = ((0x1UL << (13U)))); |
---|
3962 | } |
---|
3963 | |
---|
3964 | |
---|
3965 | |
---|
3966 | |
---|
3967 | |
---|
3968 | |
---|
3969 | |
---|
3970 | static inline void LL_DMA_ClearFlag_TC5(DMA_TypeDef *DMAx) |
---|
3971 | { |
---|
3972 | ((DMAx->IFCR) = ((0x1UL << (17U)))); |
---|
3973 | } |
---|
3974 | # 1863 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3975 | static inline void LL_DMA_ClearFlag_TC6(DMA_TypeDef *DMAx) |
---|
3976 | { |
---|
3977 | ((DMAx->IFCR) = ((0x1UL << (21U)))); |
---|
3978 | } |
---|
3979 | # 1876 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3980 | static inline void LL_DMA_ClearFlag_TC7(DMA_TypeDef *DMAx) |
---|
3981 | { |
---|
3982 | ((DMAx->IFCR) = ((0x1UL << (25U)))); |
---|
3983 | } |
---|
3984 | # 1888 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
3985 | static inline void LL_DMA_ClearFlag_HT1(DMA_TypeDef *DMAx) |
---|
3986 | { |
---|
3987 | ((DMAx->IFCR) = ((0x1UL << (2U)))); |
---|
3988 | } |
---|
3989 | |
---|
3990 | |
---|
3991 | |
---|
3992 | |
---|
3993 | |
---|
3994 | |
---|
3995 | |
---|
3996 | static inline void LL_DMA_ClearFlag_HT2(DMA_TypeDef *DMAx) |
---|
3997 | { |
---|
3998 | ((DMAx->IFCR) = ((0x1UL << (6U)))); |
---|
3999 | } |
---|
4000 | |
---|
4001 | |
---|
4002 | |
---|
4003 | |
---|
4004 | |
---|
4005 | |
---|
4006 | |
---|
4007 | static inline void LL_DMA_ClearFlag_HT3(DMA_TypeDef *DMAx) |
---|
4008 | { |
---|
4009 | ((DMAx->IFCR) = ((0x1UL << (10U)))); |
---|
4010 | } |
---|
4011 | |
---|
4012 | |
---|
4013 | |
---|
4014 | |
---|
4015 | |
---|
4016 | |
---|
4017 | |
---|
4018 | static inline void LL_DMA_ClearFlag_HT4(DMA_TypeDef *DMAx) |
---|
4019 | { |
---|
4020 | ((DMAx->IFCR) = ((0x1UL << (14U)))); |
---|
4021 | } |
---|
4022 | |
---|
4023 | |
---|
4024 | |
---|
4025 | |
---|
4026 | |
---|
4027 | |
---|
4028 | |
---|
4029 | static inline void LL_DMA_ClearFlag_HT5(DMA_TypeDef *DMAx) |
---|
4030 | { |
---|
4031 | ((DMAx->IFCR) = ((0x1UL << (18U)))); |
---|
4032 | } |
---|
4033 | # 1944 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4034 | static inline void LL_DMA_ClearFlag_HT6(DMA_TypeDef *DMAx) |
---|
4035 | { |
---|
4036 | ((DMAx->IFCR) = ((0x1UL << (22U)))); |
---|
4037 | } |
---|
4038 | # 1957 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4039 | static inline void LL_DMA_ClearFlag_HT7(DMA_TypeDef *DMAx) |
---|
4040 | { |
---|
4041 | ((DMAx->IFCR) = ((0x1UL << (26U)))); |
---|
4042 | } |
---|
4043 | # 1969 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4044 | static inline void LL_DMA_ClearFlag_TE1(DMA_TypeDef *DMAx) |
---|
4045 | { |
---|
4046 | ((DMAx->IFCR) = ((0x1UL << (3U)))); |
---|
4047 | } |
---|
4048 | |
---|
4049 | |
---|
4050 | |
---|
4051 | |
---|
4052 | |
---|
4053 | |
---|
4054 | |
---|
4055 | static inline void LL_DMA_ClearFlag_TE2(DMA_TypeDef *DMAx) |
---|
4056 | { |
---|
4057 | ((DMAx->IFCR) = ((0x1UL << (7U)))); |
---|
4058 | } |
---|
4059 | |
---|
4060 | |
---|
4061 | |
---|
4062 | |
---|
4063 | |
---|
4064 | |
---|
4065 | |
---|
4066 | static inline void LL_DMA_ClearFlag_TE3(DMA_TypeDef *DMAx) |
---|
4067 | { |
---|
4068 | ((DMAx->IFCR) = ((0x1UL << (11U)))); |
---|
4069 | } |
---|
4070 | |
---|
4071 | |
---|
4072 | |
---|
4073 | |
---|
4074 | |
---|
4075 | |
---|
4076 | |
---|
4077 | static inline void LL_DMA_ClearFlag_TE4(DMA_TypeDef *DMAx) |
---|
4078 | { |
---|
4079 | ((DMAx->IFCR) = ((0x1UL << (15U)))); |
---|
4080 | } |
---|
4081 | |
---|
4082 | |
---|
4083 | |
---|
4084 | |
---|
4085 | |
---|
4086 | |
---|
4087 | |
---|
4088 | static inline void LL_DMA_ClearFlag_TE5(DMA_TypeDef *DMAx) |
---|
4089 | { |
---|
4090 | ((DMAx->IFCR) = ((0x1UL << (19U)))); |
---|
4091 | } |
---|
4092 | # 2025 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4093 | static inline void LL_DMA_ClearFlag_TE6(DMA_TypeDef *DMAx) |
---|
4094 | { |
---|
4095 | ((DMAx->IFCR) = ((0x1UL << (23U)))); |
---|
4096 | } |
---|
4097 | # 2038 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4098 | static inline void LL_DMA_ClearFlag_TE7(DMA_TypeDef *DMAx) |
---|
4099 | { |
---|
4100 | ((DMAx->IFCR) = ((0x1UL << (27U)))); |
---|
4101 | } |
---|
4102 | # 2065 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4103 | static inline void LL_DMA_EnableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4104 | { |
---|
4105 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4106 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (1U)))); |
---|
4107 | } |
---|
4108 | # 2085 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4109 | static inline void LL_DMA_EnableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4110 | { |
---|
4111 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4112 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (2U)))); |
---|
4113 | } |
---|
4114 | # 2105 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4115 | static inline void LL_DMA_EnableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4116 | { |
---|
4117 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4118 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (3U)))); |
---|
4119 | } |
---|
4120 | # 2125 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4121 | static inline void LL_DMA_DisableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4122 | { |
---|
4123 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4124 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (1U)))); |
---|
4125 | } |
---|
4126 | # 2145 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4127 | static inline void LL_DMA_DisableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4128 | { |
---|
4129 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4130 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (2U)))); |
---|
4131 | } |
---|
4132 | # 2165 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4133 | static inline void LL_DMA_DisableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4134 | { |
---|
4135 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4136 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (3U)))); |
---|
4137 | } |
---|
4138 | # 2185 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4139 | static inline uint32_t LL_DMA_IsEnabledIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4140 | { |
---|
4141 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4142 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
4143 | |
---|
4144 | } |
---|
4145 | # 2206 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4146 | static inline uint32_t LL_DMA_IsEnabledIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4147 | { |
---|
4148 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4149 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
4150 | |
---|
4151 | } |
---|
4152 | # 2227 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
4153 | static inline uint32_t LL_DMA_IsEnabledIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
4154 | { |
---|
4155 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
4156 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
4157 | |
---|
4158 | } |
---|
4159 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2 |
---|
4160 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
4161 | typedef struct |
---|
4162 | { |
---|
4163 | uint32_t Request; |
---|
4164 | |
---|
4165 | |
---|
4166 | uint32_t Direction; |
---|
4167 | |
---|
4168 | |
---|
4169 | |
---|
4170 | uint32_t PeriphInc; |
---|
4171 | |
---|
4172 | |
---|
4173 | uint32_t MemInc; |
---|
4174 | |
---|
4175 | |
---|
4176 | uint32_t PeriphDataAlignment; |
---|
4177 | |
---|
4178 | |
---|
4179 | uint32_t MemDataAlignment; |
---|
4180 | |
---|
4181 | |
---|
4182 | uint32_t Mode; |
---|
4183 | |
---|
4184 | |
---|
4185 | |
---|
4186 | |
---|
4187 | uint32_t Priority; |
---|
4188 | |
---|
4189 | } DMA_InitTypeDef; |
---|
4190 | |
---|
4191 | |
---|
4192 | |
---|
4193 | |
---|
4194 | typedef enum |
---|
4195 | { |
---|
4196 | HAL_DMA_STATE_RESET = 0x00U, |
---|
4197 | HAL_DMA_STATE_READY = 0x01U, |
---|
4198 | HAL_DMA_STATE_BUSY = 0x02U, |
---|
4199 | HAL_DMA_STATE_TIMEOUT = 0x03U, |
---|
4200 | } HAL_DMA_StateTypeDef; |
---|
4201 | |
---|
4202 | |
---|
4203 | |
---|
4204 | |
---|
4205 | typedef enum |
---|
4206 | { |
---|
4207 | HAL_DMA_FULL_TRANSFER = 0x00U, |
---|
4208 | HAL_DMA_HALF_TRANSFER = 0x01U |
---|
4209 | } HAL_DMA_LevelCompleteTypeDef; |
---|
4210 | |
---|
4211 | |
---|
4212 | |
---|
4213 | |
---|
4214 | typedef enum |
---|
4215 | { |
---|
4216 | HAL_DMA_XFER_CPLT_CB_ID = 0x00U, |
---|
4217 | HAL_DMA_XFER_HALFCPLT_CB_ID = 0x01U, |
---|
4218 | HAL_DMA_XFER_ERROR_CB_ID = 0x02U, |
---|
4219 | HAL_DMA_XFER_ABORT_CB_ID = 0x03U, |
---|
4220 | HAL_DMA_XFER_ALL_CB_ID = 0x04U |
---|
4221 | |
---|
4222 | } HAL_DMA_CallbackIDTypeDef; |
---|
4223 | |
---|
4224 | |
---|
4225 | |
---|
4226 | |
---|
4227 | typedef struct __DMA_HandleTypeDef |
---|
4228 | { |
---|
4229 | DMA_Channel_TypeDef *Instance; |
---|
4230 | |
---|
4231 | DMA_InitTypeDef Init; |
---|
4232 | |
---|
4233 | HAL_LockTypeDef Lock; |
---|
4234 | |
---|
4235 | volatile HAL_DMA_StateTypeDef State; |
---|
4236 | |
---|
4237 | void *Parent; |
---|
4238 | |
---|
4239 | void (* XferCpltCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
4240 | |
---|
4241 | void (* XferHalfCpltCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
4242 | |
---|
4243 | void (* XferErrorCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
4244 | |
---|
4245 | void (* XferAbortCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
4246 | |
---|
4247 | volatile uint32_t ErrorCode; |
---|
4248 | |
---|
4249 | |
---|
4250 | |
---|
4251 | |
---|
4252 | |
---|
4253 | uint32_t ChannelIndex; |
---|
4254 | |
---|
4255 | DMAMUX_Channel_TypeDef *DMAmuxChannel; |
---|
4256 | |
---|
4257 | DMAMUX_ChannelStatus_TypeDef *DMAmuxChannelStatus; |
---|
4258 | |
---|
4259 | uint32_t DMAmuxChannelStatusMask; |
---|
4260 | |
---|
4261 | DMAMUX_RequestGen_TypeDef *DMAmuxRequestGen; |
---|
4262 | |
---|
4263 | DMAMUX_RequestGenStatus_TypeDef *DMAmuxRequestGenStatus; |
---|
4264 | |
---|
4265 | uint32_t DMAmuxRequestGenStatusMask; |
---|
4266 | } DMA_HandleTypeDef; |
---|
4267 | # 698 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
4268 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" 1 |
---|
4269 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" |
---|
4270 | typedef struct |
---|
4271 | { |
---|
4272 | uint32_t SyncSignalID; |
---|
4273 | |
---|
4274 | |
---|
4275 | uint32_t SyncPolarity; |
---|
4276 | |
---|
4277 | |
---|
4278 | FunctionalState SyncEnable; |
---|
4279 | |
---|
4280 | |
---|
4281 | FunctionalState EventEnable; |
---|
4282 | |
---|
4283 | |
---|
4284 | uint32_t RequestNumber; |
---|
4285 | |
---|
4286 | |
---|
4287 | |
---|
4288 | } HAL_DMA_MuxSyncConfigTypeDef; |
---|
4289 | |
---|
4290 | |
---|
4291 | |
---|
4292 | |
---|
4293 | |
---|
4294 | typedef struct |
---|
4295 | { |
---|
4296 | uint32_t SignalID; |
---|
4297 | |
---|
4298 | |
---|
4299 | uint32_t Polarity; |
---|
4300 | |
---|
4301 | |
---|
4302 | uint32_t RequestNumber; |
---|
4303 | |
---|
4304 | |
---|
4305 | } HAL_DMA_MuxRequestGeneratorConfigTypeDef; |
---|
4306 | # 206 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" |
---|
4307 | HAL_StatusTypeDef HAL_DMAEx_ConfigMuxRequestGenerator(DMA_HandleTypeDef *hdma, |
---|
4308 | HAL_DMA_MuxRequestGeneratorConfigTypeDef *pRequestGeneratorConfig); |
---|
4309 | HAL_StatusTypeDef HAL_DMAEx_EnableMuxRequestGenerator(DMA_HandleTypeDef *hdma); |
---|
4310 | HAL_StatusTypeDef HAL_DMAEx_DisableMuxRequestGenerator(DMA_HandleTypeDef *hdma); |
---|
4311 | |
---|
4312 | |
---|
4313 | |
---|
4314 | HAL_StatusTypeDef HAL_DMAEx_ConfigMuxSync(DMA_HandleTypeDef *hdma, HAL_DMA_MuxSyncConfigTypeDef *pSyncConfig); |
---|
4315 | |
---|
4316 | |
---|
4317 | void HAL_DMAEx_MUX_IRQHandler(DMA_HandleTypeDef *hdma); |
---|
4318 | # 699 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2 |
---|
4319 | # 710 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
4320 | HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma); |
---|
4321 | HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma); |
---|
4322 | # 720 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
4323 | HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength); |
---|
4324 | HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, |
---|
4325 | uint32_t DataLength); |
---|
4326 | HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma); |
---|
4327 | HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma); |
---|
4328 | HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef CompleteLevel, |
---|
4329 | uint32_t Timeout); |
---|
4330 | void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma); |
---|
4331 | HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void (* pCallback)(DMA_HandleTypeDef *_hdma)); |
---|
4332 | HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID); |
---|
4333 | # 739 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
4334 | HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma); |
---|
4335 | uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma); |
---|
4336 | # 204 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
4337 | |
---|
4338 | |
---|
4339 | |
---|
4340 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" 1 |
---|
4341 | # 49 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
---|
4342 | typedef struct |
---|
4343 | { |
---|
4344 | uint8_t Enable; |
---|
4345 | |
---|
4346 | uint8_t Number; |
---|
4347 | |
---|
4348 | uint32_t BaseAddress; |
---|
4349 | |
---|
4350 | uint8_t Size; |
---|
4351 | |
---|
4352 | uint8_t SubRegionDisable; |
---|
4353 | |
---|
4354 | uint8_t TypeExtField; |
---|
4355 | |
---|
4356 | uint8_t AccessPermission; |
---|
4357 | |
---|
4358 | uint8_t DisableExec; |
---|
4359 | |
---|
4360 | uint8_t IsShareable; |
---|
4361 | |
---|
4362 | uint8_t IsCacheable; |
---|
4363 | |
---|
4364 | uint8_t IsBufferable; |
---|
4365 | |
---|
4366 | } MPU_Region_InitTypeDef; |
---|
4367 | # 250 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
---|
4368 | void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority); |
---|
4369 | void HAL_NVIC_EnableIRQ(IRQn_Type IRQn); |
---|
4370 | void HAL_NVIC_DisableIRQ(IRQn_Type IRQn); |
---|
4371 | void HAL_NVIC_SystemReset(void); |
---|
4372 | uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb); |
---|
4373 | # 264 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
---|
4374 | uint32_t HAL_NVIC_GetPriority(IRQn_Type IRQn); |
---|
4375 | uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn); |
---|
4376 | void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn); |
---|
4377 | void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn); |
---|
4378 | void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource); |
---|
4379 | void HAL_SYSTICK_IRQHandler(void); |
---|
4380 | void HAL_SYSTICK_Callback(void); |
---|
4381 | |
---|
4382 | |
---|
4383 | void HAL_MPU_Enable(uint32_t MPU_Control); |
---|
4384 | void HAL_MPU_Disable(void); |
---|
4385 | void HAL_MPU_EnableRegion(uint32_t RegionNumber); |
---|
4386 | void HAL_MPU_DisableRegion(uint32_t RegionNumber); |
---|
4387 | void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init); |
---|
4388 | # 208 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
4389 | |
---|
4390 | |
---|
4391 | |
---|
4392 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 1 |
---|
4393 | # 31 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
4394 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" 1 |
---|
4395 | # 1953 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4396 | static inline uint32_t LL_ADC_DMA_GetRegAddr(const ADC_TypeDef *ADCx, uint32_t Register) |
---|
4397 | { |
---|
4398 | |
---|
4399 | (void)(Register); |
---|
4400 | |
---|
4401 | |
---|
4402 | return (uint32_t) &(ADCx->DR); |
---|
4403 | } |
---|
4404 | # 2002 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4405 | static inline void LL_ADC_SetCommonClock(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock) |
---|
4406 | { |
---|
4407 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0xFUL << (18U))))) | (CommonClock)))); |
---|
4408 | } |
---|
4409 | # 2031 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4410 | static inline uint32_t LL_ADC_GetCommonClock(const ADC_Common_TypeDef *ADCxy_COMMON) |
---|
4411 | { |
---|
4412 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0xFUL << (18U))))); |
---|
4413 | } |
---|
4414 | # 2052 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4415 | static inline void LL_ADC_SetCommonFrequencyMode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonFrequencyMode) |
---|
4416 | { |
---|
4417 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (25U))))) | (CommonFrequencyMode)))); |
---|
4418 | } |
---|
4419 | # 2068 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4420 | static inline uint32_t LL_ADC_GetCommonFrequencyMode(const ADC_Common_TypeDef *ADCxy_COMMON) |
---|
4421 | { |
---|
4422 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (25U))))); |
---|
4423 | } |
---|
4424 | # 2111 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4425 | static inline void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
---|
4426 | { |
---|
4427 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))) | (PathInternal)))); |
---|
4428 | } |
---|
4429 | # 2153 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4430 | static inline void LL_ADC_SetCommonPathInternalChAdd(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
---|
4431 | { |
---|
4432 | ((ADCxy_COMMON->CCR) |= (PathInternal)); |
---|
4433 | } |
---|
4434 | # 2183 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4435 | static inline void LL_ADC_SetCommonPathInternalChRem(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
---|
4436 | { |
---|
4437 | ((ADCxy_COMMON->CCR) &= ~(PathInternal)); |
---|
4438 | } |
---|
4439 | # 2205 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4440 | static inline uint32_t LL_ADC_GetCommonPathInternalCh(const ADC_Common_TypeDef *ADCxy_COMMON) |
---|
4441 | { |
---|
4442 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))); |
---|
4443 | } |
---|
4444 | # 2241 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4445 | static inline void LL_ADC_SetClock(ADC_TypeDef *ADCx, uint32_t ClockSource) |
---|
4446 | { |
---|
4447 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x3UL << (30U))))) | (ClockSource)))); |
---|
4448 | } |
---|
4449 | # 2265 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4450 | static inline uint32_t LL_ADC_GetClock(const ADC_TypeDef *ADCx) |
---|
4451 | { |
---|
4452 | return (uint32_t)(((ADCx->CFGR2) & ((0x3UL << (30U))))); |
---|
4453 | } |
---|
4454 | # 2285 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4455 | static inline void LL_ADC_SetCalibrationFactor(ADC_TypeDef *ADCx, uint32_t CalibrationFactor) |
---|
4456 | { |
---|
4457 | (((ADCx->CALFACT)) = ((((((ADCx->CALFACT))) & (~((0x7FUL << (0U))))) | (CalibrationFactor)))); |
---|
4458 | |
---|
4459 | |
---|
4460 | } |
---|
4461 | # 2301 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4462 | static inline uint32_t LL_ADC_GetCalibrationFactor(const ADC_TypeDef *ADCx) |
---|
4463 | { |
---|
4464 | return (uint32_t)(((ADCx->CALFACT) & ((0x7FUL << (0U))))); |
---|
4465 | } |
---|
4466 | # 2322 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4467 | static inline void LL_ADC_SetResolution(ADC_TypeDef *ADCx, uint32_t Resolution) |
---|
4468 | { |
---|
4469 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (3U))))) | (Resolution)))); |
---|
4470 | } |
---|
4471 | # 2339 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4472 | static inline uint32_t LL_ADC_GetResolution(const ADC_TypeDef *ADCx) |
---|
4473 | { |
---|
4474 | return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (3U))))); |
---|
4475 | } |
---|
4476 | # 2358 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4477 | static inline void LL_ADC_SetDataAlignment(ADC_TypeDef *ADCx, uint32_t DataAlignment) |
---|
4478 | { |
---|
4479 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (5U))))) | (DataAlignment)))); |
---|
4480 | } |
---|
4481 | # 2373 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4482 | static inline uint32_t LL_ADC_GetDataAlignment(const ADC_TypeDef *ADCx) |
---|
4483 | { |
---|
4484 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (5U))))); |
---|
4485 | } |
---|
4486 | # 2430 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4487 | static inline void LL_ADC_SetLowPowerMode(ADC_TypeDef *ADCx, uint32_t LowPowerMode) |
---|
4488 | { |
---|
4489 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~(((0x1UL << (14U)) | (0x1UL << (15U)))))) | (LowPowerMode)))); |
---|
4490 | } |
---|
4491 | # 2483 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4492 | static inline uint32_t LL_ADC_GetLowPowerMode(const ADC_TypeDef *ADCx) |
---|
4493 | { |
---|
4494 | return (uint32_t)(((ADCx->CFGR1) & (((0x1UL << (14U)) | (0x1UL << (15U)))))); |
---|
4495 | } |
---|
4496 | # 2513 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4497 | static inline void LL_ADC_SetTriggerFrequencyMode(ADC_TypeDef *ADCx, uint32_t TriggerFrequencyMode) |
---|
4498 | { |
---|
4499 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (29U))))) | (TriggerFrequencyMode)))); |
---|
4500 | } |
---|
4501 | # 2526 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4502 | static inline uint32_t LL_ADC_GetTriggerFrequencyMode(const ADC_TypeDef *ADCx) |
---|
4503 | { |
---|
4504 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (29U))))); |
---|
4505 | } |
---|
4506 | # 2575 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4507 | static inline void LL_ADC_SetSamplingTimeCommonChannels(ADC_TypeDef *ADCx, uint32_t SamplingTimeY, |
---|
4508 | uint32_t SamplingTime) |
---|
4509 | { |
---|
4510 | (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL)))))) | (SamplingTime << (SamplingTimeY & (( 4UL) | ( 0UL))))))); |
---|
4511 | |
---|
4512 | |
---|
4513 | } |
---|
4514 | # 2608 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4515 | static inline uint32_t LL_ADC_GetSamplingTimeCommonChannels(const ADC_TypeDef *ADCx, uint32_t SamplingTimeY) |
---|
4516 | { |
---|
4517 | return (uint32_t)((((ADCx->SMPR) & ((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL)))))) |
---|
4518 | >> (SamplingTimeY & (( 4UL) | ( 0UL)))); |
---|
4519 | } |
---|
4520 | # 2657 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4521 | static inline void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) |
---|
4522 | { |
---|
4523 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U)) | (0x7UL << (6U))))) | (TriggerSource)))); |
---|
4524 | } |
---|
4525 | # 2689 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4526 | static inline uint32_t LL_ADC_REG_GetTriggerSource(const ADC_TypeDef *ADCx) |
---|
4527 | { |
---|
4528 | volatile uint32_t trigger_source = ((ADCx->CFGR1) & ((0x7UL << (6U)) | (0x3UL << (10U)))); |
---|
4529 | |
---|
4530 | |
---|
4531 | |
---|
4532 | uint32_t shift_exten = ((trigger_source & (0x3UL << (10U))) >> ((10UL) - 2UL)); |
---|
4533 | |
---|
4534 | |
---|
4535 | |
---|
4536 | return ((trigger_source |
---|
4537 | & (((((0x00000000UL) & (0x7UL << (6U))) << (4U * 0UL)) | (((0x7UL << (6U))) << (4U * 1UL)) | (((0x7UL << (6U))) << (4U * 2UL)) | (((0x7UL << (6U))) << (4U * 3UL)) ) >> shift_exten) & (0x7UL << (6U))) |
---|
4538 | | ((((((0x00000000UL) & (0x3UL << (10U))) << (4U * 0UL)) | ((((0x1UL << (10U)))) << (4U * 1UL)) | ((((0x1UL << (10U)))) << (4U * 2UL)) | ((((0x1UL << (10U)))) << (4U * 3UL)) ) >> shift_exten) & (0x3UL << (10U))) |
---|
4539 | ); |
---|
4540 | } |
---|
4541 | # 2716 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4542 | static inline uint32_t LL_ADC_REG_IsTriggerSourceSWStart(const ADC_TypeDef *ADCx) |
---|
4543 | { |
---|
4544 | return ((((ADCx->CFGR1) & ((0x3UL << (10U)))) == ((0x00000000UL) & (0x3UL << (10U)))) ? 1UL : 0UL); |
---|
4545 | } |
---|
4546 | # 2735 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4547 | static inline void LL_ADC_REG_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
---|
4548 | { |
---|
4549 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U))))) | (ExternalTriggerEdge)))); |
---|
4550 | } |
---|
4551 | # 2750 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4552 | static inline uint32_t LL_ADC_REG_GetTriggerEdge(const ADC_TypeDef *ADCx) |
---|
4553 | { |
---|
4554 | return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (10U))))); |
---|
4555 | } |
---|
4556 | # 2787 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4557 | static inline void LL_ADC_REG_SetSequencerConfigurable(ADC_TypeDef *ADCx, uint32_t Configurability) |
---|
4558 | { |
---|
4559 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (21U))))) | (Configurability)))); |
---|
4560 | } |
---|
4561 | # 2813 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4562 | static inline uint32_t LL_ADC_REG_GetSequencerConfigurable(const ADC_TypeDef *ADCx) |
---|
4563 | { |
---|
4564 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (21U))))); |
---|
4565 | } |
---|
4566 | # 2885 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4567 | static inline void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) |
---|
4568 | { |
---|
4569 | ((ADCx->CHSELR) |= (SequencerNbRanks)); |
---|
4570 | } |
---|
4571 | # 2944 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4572 | static inline uint32_t LL_ADC_REG_GetSequencerLength(const ADC_TypeDef *ADCx) |
---|
4573 | { |
---|
4574 | volatile uint32_t channels_ranks = ((ADCx->CHSELR) & ((0xFFFFFFFFUL << (0U)))); |
---|
4575 | uint32_t sequencer_length = (0x00000000UL); |
---|
4576 | uint32_t rank_index; |
---|
4577 | uint32_t rank_shifted; |
---|
4578 | |
---|
4579 | |
---|
4580 | |
---|
4581 | |
---|
4582 | |
---|
4583 | for (rank_index = 0U; rank_index <= (28U - 4U); rank_index += 4U) |
---|
4584 | { |
---|
4585 | rank_shifted = (uint32_t)(0xF0UL << rank_index); |
---|
4586 | if ((channels_ranks & rank_shifted) == rank_shifted) |
---|
4587 | { |
---|
4588 | sequencer_length = rank_shifted; |
---|
4589 | break; |
---|
4590 | } |
---|
4591 | } |
---|
4592 | |
---|
4593 | return sequencer_length; |
---|
4594 | } |
---|
4595 | # 2993 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4596 | static inline void LL_ADC_REG_SetSequencerScanDirection(ADC_TypeDef *ADCx, uint32_t ScanDirection) |
---|
4597 | { |
---|
4598 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (2U))))) | (ScanDirection)))); |
---|
4599 | } |
---|
4600 | # 3011 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4601 | static inline uint32_t LL_ADC_REG_GetSequencerScanDirection(const ADC_TypeDef *ADCx) |
---|
4602 | { |
---|
4603 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (2U))))); |
---|
4604 | } |
---|
4605 | # 3032 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4606 | static inline void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont) |
---|
4607 | { |
---|
4608 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (16U))))) | (SeqDiscont)))); |
---|
4609 | } |
---|
4610 | # 3047 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4611 | static inline uint32_t LL_ADC_REG_GetSequencerDiscont(const ADC_TypeDef *ADCx) |
---|
4612 | { |
---|
4613 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (16U))))); |
---|
4614 | } |
---|
4615 | # 3127 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4616 | static inline void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
---|
4617 | { |
---|
4618 | |
---|
4619 | |
---|
4620 | |
---|
4621 | |
---|
4622 | (((ADCx->CHSELR)) = ((((((ADCx->CHSELR))) & (~((0xFUL << (0U)) << (Rank & ((0x0000001FUL)))))) | (((Channel & ((0xFUL << (0U)) << (26UL))) >> (26UL)) << (Rank & ((0x0000001FUL))))))); |
---|
4623 | |
---|
4624 | |
---|
4625 | |
---|
4626 | } |
---|
4627 | # 3208 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4628 | static inline uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) |
---|
4629 | { |
---|
4630 | return (uint32_t)((((ADCx->CHSELR) & ((0xFUL << (0U)) << (Rank & ((0x0000001FUL))))) |
---|
4631 | |
---|
4632 | >> (Rank & ((0x0000001FUL))) |
---|
4633 | ) << ((26UL)) |
---|
4634 | ); |
---|
4635 | } |
---|
4636 | # 3302 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4637 | static inline void LL_ADC_REG_SetSequencerChannels(ADC_TypeDef *ADCx, uint32_t Channel) |
---|
4638 | { |
---|
4639 | |
---|
4640 | |
---|
4641 | ((ADCx->CHSELR) = ((Channel & ((0x7FFFFUL << (0U)))))); |
---|
4642 | } |
---|
4643 | # 3394 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4644 | static inline void LL_ADC_REG_SetSequencerChAdd(ADC_TypeDef *ADCx, uint32_t Channel) |
---|
4645 | { |
---|
4646 | |
---|
4647 | |
---|
4648 | ((ADCx->CHSELR) |= ((Channel & ((0x7FFFFUL << (0U)))))); |
---|
4649 | } |
---|
4650 | # 3486 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4651 | static inline void LL_ADC_REG_SetSequencerChRem(ADC_TypeDef *ADCx, uint32_t Channel) |
---|
4652 | { |
---|
4653 | |
---|
4654 | |
---|
4655 | ((ADCx->CHSELR) &= ~((Channel & ((0x7FFFFUL << (0U)))))); |
---|
4656 | } |
---|
4657 | # 3567 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4658 | static inline uint32_t LL_ADC_REG_GetSequencerChannels(const ADC_TypeDef *ADCx) |
---|
4659 | { |
---|
4660 | uint32_t channels_bitfield = (uint32_t)((ADCx->CHSELR) & ((0x7FFFFUL << (0U)))); |
---|
4661 | |
---|
4662 | return ((((channels_bitfield & (0x1UL << (0U))) >> ( 0UL)) * ((0x00000000UL) | ((0x1UL << (0U))) )) |
---|
4663 | | (((channels_bitfield & (0x1UL << (1U))) >> ( 1UL)) * (((0x01UL << (26U))) | ((0x1UL << (1U))) )) |
---|
4664 | | (((channels_bitfield & (0x1UL << (2U))) >> ( 2UL)) * (((0x02UL << (26U))) | ((0x1UL << (2U))) )) |
---|
4665 | | (((channels_bitfield & (0x1UL << (3U))) >> ( 3UL)) * (((0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (3U))) )) |
---|
4666 | | (((channels_bitfield & (0x1UL << (4U))) >> ( 4UL)) * (((0x04UL << (26U))) | ((0x1UL << (4U))) )) |
---|
4667 | | (((channels_bitfield & (0x1UL << (5U))) >> ( 5UL)) * (((0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (5U))) )) |
---|
4668 | | (((channels_bitfield & (0x1UL << (6U))) >> ( 6UL)) * (((0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (6U))) )) |
---|
4669 | | (((channels_bitfield & (0x1UL << (7U))) >> ( 7UL)) * (((0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (7U))) )) |
---|
4670 | | (((channels_bitfield & (0x1UL << (8U))) >> ( 8UL)) * (((0x08UL << (26U))) | ((0x1UL << (8U))) )) |
---|
4671 | | (((channels_bitfield & (0x1UL << (9U))) >> ( 9UL)) * (((0x08UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (9U))) )) |
---|
4672 | | (((channels_bitfield & (0x1UL << (10U))) >> (10UL)) * (((0x08UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (10U))))) |
---|
4673 | | (((channels_bitfield & (0x1UL << (11U))) >> (11UL)) * (((0x08UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (11U))))) |
---|
4674 | | (((channels_bitfield & (0x1UL << (12U))) >> (12UL)) * (((0x08UL << (26U)) | (0x04UL << (26U))) | ((0x1UL << (12U))))) |
---|
4675 | | (((channels_bitfield & (0x1UL << (13U))) >> (13UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (13U))))) |
---|
4676 | | (((channels_bitfield & (0x1UL << (14U))) >> (14UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (14U))))) |
---|
4677 | | (((channels_bitfield & (0x1UL << (15U))) >> (15UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (15U))))) |
---|
4678 | | (((channels_bitfield & (0x1UL << (16U))) >> (16UL)) * (((0x10UL << (26U))) | ((0x1UL << (16U))))) |
---|
4679 | | (((channels_bitfield & (0x1UL << (17U))) >> (17UL)) * (((0x10UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (17U))))) |
---|
4680 | |
---|
4681 | | (((channels_bitfield & (0x1UL << (18U))) >> (18UL)) * (((0x10UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (18U))))) |
---|
4682 | |
---|
4683 | ); |
---|
4684 | } |
---|
4685 | # 3613 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4686 | static inline void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous) |
---|
4687 | { |
---|
4688 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (13U))))) | (Continuous)))); |
---|
4689 | } |
---|
4690 | # 3630 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4691 | static inline uint32_t LL_ADC_REG_GetContinuousMode(const ADC_TypeDef *ADCx) |
---|
4692 | { |
---|
4693 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (13U))))); |
---|
4694 | } |
---|
4695 | # 3667 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4696 | static inline void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx, uint32_t DMATransfer) |
---|
4697 | { |
---|
4698 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (0U)) | (0x1UL << (1U))))) | (DMATransfer)))); |
---|
4699 | } |
---|
4700 | # 3700 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4701 | static inline uint32_t LL_ADC_REG_GetDMATransfer(const ADC_TypeDef *ADCx) |
---|
4702 | { |
---|
4703 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (0U)) | (0x1UL << (1U))))); |
---|
4704 | } |
---|
4705 | # 3724 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4706 | static inline void LL_ADC_REG_SetOverrun(ADC_TypeDef *ADCx, uint32_t Overrun) |
---|
4707 | { |
---|
4708 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (12U))))) | (Overrun)))); |
---|
4709 | } |
---|
4710 | # 3738 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4711 | static inline uint32_t LL_ADC_REG_GetOverrun(const ADC_TypeDef *ADCx) |
---|
4712 | { |
---|
4713 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (12U))))); |
---|
4714 | } |
---|
4715 | # 3826 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4716 | static inline void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTimeY) |
---|
4717 | { |
---|
4718 | |
---|
4719 | |
---|
4720 | (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((Channel << ( 8UL))))) | ((Channel << ( 8UL)) & (SamplingTimeY & (((0x7FFFFUL << (0U))) << ( 8UL))))))); |
---|
4721 | |
---|
4722 | |
---|
4723 | |
---|
4724 | } |
---|
4725 | # 3895 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4726 | static inline uint32_t LL_ADC_GetChannelSamplingTime(const ADC_TypeDef *ADCx, uint32_t Channel) |
---|
4727 | { |
---|
4728 | volatile uint32_t smpr = ((ADCx->SMPR)); |
---|
4729 | |
---|
4730 | |
---|
4731 | |
---|
4732 | uint32_t smp_channel_posbit0 = ((smpr & (((0x7FFFFUL << (0U))) << ( 8UL))) |
---|
4733 | >> ((((Channel & ((0x1FUL << (26U)))) >> (26UL)) |
---|
4734 | + ( 8UL)) |
---|
4735 | & 0x1FUL)); |
---|
4736 | |
---|
4737 | |
---|
4738 | return ((~(smp_channel_posbit0) * (( 0UL))) |
---|
4739 | | (smp_channel_posbit0 * (( 4UL) | (((0x7FFFFUL << (0U))) << ( 8UL))))); |
---|
4740 | } |
---|
4741 | # 3988 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4742 | static inline void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDChannelGroup) |
---|
4743 | { |
---|
4744 | |
---|
4745 | |
---|
4746 | |
---|
4747 | |
---|
4748 | volatile uint32_t *preg; |
---|
4749 | |
---|
4750 | if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL))) |
---|
4751 | { |
---|
4752 | preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((0UL) << 2UL)))); |
---|
4753 | } |
---|
4754 | else |
---|
4755 | { |
---|
4756 | preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD2CR)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL)))) >> ((20UL) + 1UL)) << 2UL)))); |
---|
4757 | |
---|
4758 | } |
---|
4759 | |
---|
4760 | (((*preg)) = ((((((*preg))) & (~((AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U)))))))) | (AWDChannelGroup & AWDy)))); |
---|
4761 | |
---|
4762 | |
---|
4763 | } |
---|
4764 | # 4089 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4765 | static inline uint32_t LL_ADC_GetAnalogWDMonitChannels(const ADC_TypeDef *ADCx, uint32_t AWDy) |
---|
4766 | { |
---|
4767 | volatile const uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL))) >> (20UL)) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000024UL))) << 2UL)))); |
---|
4768 | |
---|
4769 | |
---|
4770 | |
---|
4771 | |
---|
4772 | uint32_t analog_wd_monit_channels = (((*preg) & (AWDy)) & AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U))))); |
---|
4773 | |
---|
4774 | |
---|
4775 | |
---|
4776 | |
---|
4777 | |
---|
4778 | if (analog_wd_monit_channels != 0UL) |
---|
4779 | { |
---|
4780 | if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL))) |
---|
4781 | { |
---|
4782 | if ((analog_wd_monit_channels & (0x1UL << (22U))) == 0UL) |
---|
4783 | { |
---|
4784 | |
---|
4785 | analog_wd_monit_channels = ((analog_wd_monit_channels |
---|
4786 | | (((0x7FFFFUL << (0U)))) |
---|
4787 | ) |
---|
4788 | & (~((0x1FUL << (26U)))) |
---|
4789 | ); |
---|
4790 | } |
---|
4791 | else |
---|
4792 | { |
---|
4793 | |
---|
4794 | analog_wd_monit_channels = (analog_wd_monit_channels |
---|
4795 | | ((0x00001UL << (0U)) << (analog_wd_monit_channels >> (26U))) |
---|
4796 | ); |
---|
4797 | } |
---|
4798 | } |
---|
4799 | else |
---|
4800 | { |
---|
4801 | if ((analog_wd_monit_channels & ((0x7FFFFUL << (0U)))) == ((0x7FFFFUL << (0U)))) |
---|
4802 | { |
---|
4803 | |
---|
4804 | analog_wd_monit_channels = (((0x7FFFFUL << (0U))) |
---|
4805 | | ((0x1UL << (23U))) |
---|
4806 | ); |
---|
4807 | } |
---|
4808 | else |
---|
4809 | { |
---|
4810 | |
---|
4811 | |
---|
4812 | analog_wd_monit_channels = (analog_wd_monit_channels |
---|
4813 | | ((0x1UL << (23U)) | (0x1UL << (22U))) |
---|
4814 | | (((((analog_wd_monit_channels) & ((0x7FFFFUL << (0U)))) == 0UL) ? ( ((analog_wd_monit_channels) & ((0x1FUL << (26U)))) >> (26UL) ) : ((((analog_wd_monit_channels) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? (0UL) : ((((analog_wd_monit_channels) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? (1UL) : ((((analog_wd_monit_channels) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? (2UL) : ((((analog_wd_monit_channels) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? (3UL) : ((((analog_wd_monit_channels) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? (4UL) : ((((analog_wd_monit_channels) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? (5UL) : ((((analog_wd_monit_channels) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? (6UL) : ((((analog_wd_monit_channels) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? (7UL) : ((((analog_wd_monit_channels) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? (8UL) : ((((analog_wd_monit_channels) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? (9UL) : ((((analog_wd_monit_channels) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? (10UL) : ((((analog_wd_monit_channels) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? (11UL) : ((((analog_wd_monit_channels) & ((0x1UL << (12U)))) == ((0x1UL << (12U)))) ? (12UL) : ((((analog_wd_monit_channels) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? (13UL) : ((((analog_wd_monit_channels) & ((0x1UL << (14U)))) == ((0x1UL << (14U)))) ? (14UL) : ((((analog_wd_monit_channels) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? (15UL) : ((((analog_wd_monit_channels) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? (16UL) : ((((analog_wd_monit_channels) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? (17UL) : ((((analog_wd_monit_channels) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? (18UL) : (0UL))))))))))))))))))))) << (26U)) |
---|
4815 | ); |
---|
4816 | } |
---|
4817 | } |
---|
4818 | } |
---|
4819 | |
---|
4820 | return analog_wd_monit_channels; |
---|
4821 | } |
---|
4822 | # 4208 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4823 | static inline void LL_ADC_ConfigAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdHighValue, |
---|
4824 | uint32_t AWDThresholdLowValue) |
---|
4825 | { |
---|
4826 | |
---|
4827 | |
---|
4828 | |
---|
4829 | |
---|
4830 | |
---|
4831 | volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD1TR)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL) + (1UL << (20UL)))))) >> ((20UL))) + (((0x00200000UL) & AWDy) >> ((20UL) + 1UL))) << 2UL)))); |
---|
4832 | |
---|
4833 | |
---|
4834 | |
---|
4835 | |
---|
4836 | |
---|
4837 | |
---|
4838 | (((*preg)) = ((((((*preg))) & (~((0xFFFUL << (16U)) | (0xFFFUL << (0U))))) | ((AWDThresholdHighValue << (16UL)) | AWDThresholdLowValue)))); |
---|
4839 | |
---|
4840 | |
---|
4841 | } |
---|
4842 | # 4291 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4843 | static inline void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow, |
---|
4844 | uint32_t AWDThresholdValue) |
---|
4845 | { |
---|
4846 | |
---|
4847 | |
---|
4848 | |
---|
4849 | |
---|
4850 | |
---|
4851 | volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD1TR)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL) + (1UL << (20UL)))))) >> ((20UL))) + (((0x00200000UL) & AWDy) >> ((20UL) + 1UL))) << 2UL)))); |
---|
4852 | |
---|
4853 | |
---|
4854 | |
---|
4855 | |
---|
4856 | |
---|
4857 | (((*preg)) = ((((((*preg))) & (~(AWDThresholdsHighLow))) | (AWDThresholdValue << ((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL)))))); |
---|
4858 | |
---|
4859 | |
---|
4860 | } |
---|
4861 | # 4338 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4862 | static inline uint32_t LL_ADC_GetAnalogWDThresholds(const ADC_TypeDef *ADCx, |
---|
4863 | uint32_t AWDy, uint32_t AWDThresholdsHighLow) |
---|
4864 | { |
---|
4865 | |
---|
4866 | |
---|
4867 | |
---|
4868 | |
---|
4869 | |
---|
4870 | const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD1TR)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL) + (1UL << (20UL)))))) >> ((20UL))) + (((0x00200000UL) & AWDy) >> ((20UL) + 1UL))) << 2UL)))); |
---|
4871 | |
---|
4872 | |
---|
4873 | |
---|
4874 | |
---|
4875 | |
---|
4876 | return (uint32_t)(((*preg) & ((AWDThresholdsHighLow | (0xFFFUL << (0U))))) |
---|
4877 | |
---|
4878 | >> (((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL)) |
---|
4879 | & ~(AWDThresholdsHighLow & (0xFFFUL << (0U))))); |
---|
4880 | } |
---|
4881 | # 4378 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4882 | static inline void LL_ADC_SetOverSamplingScope(ADC_TypeDef *ADCx, uint32_t OvsScope) |
---|
4883 | { |
---|
4884 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (0U))))) | (OvsScope)))); |
---|
4885 | } |
---|
4886 | # 4391 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4887 | static inline uint32_t LL_ADC_GetOverSamplingScope(const ADC_TypeDef *ADCx) |
---|
4888 | { |
---|
4889 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (0U))))); |
---|
4890 | } |
---|
4891 | # 4414 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4892 | static inline void LL_ADC_SetOverSamplingDiscont(ADC_TypeDef *ADCx, uint32_t OverSamplingDiscont) |
---|
4893 | { |
---|
4894 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (9U))))) | (OverSamplingDiscont)))); |
---|
4895 | } |
---|
4896 | # 4433 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4897 | static inline uint32_t LL_ADC_GetOverSamplingDiscont(const ADC_TypeDef *ADCx) |
---|
4898 | { |
---|
4899 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (9U))))); |
---|
4900 | } |
---|
4901 | # 4470 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4902 | static inline void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_t Shift) |
---|
4903 | { |
---|
4904 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~(((0xFUL << (5U)) | (0x7UL << (2U)))))) | ((Shift | Ratio))))); |
---|
4905 | } |
---|
4906 | # 4489 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4907 | static inline uint32_t LL_ADC_GetOverSamplingRatio(const ADC_TypeDef *ADCx) |
---|
4908 | { |
---|
4909 | return (uint32_t)(((ADCx->CFGR2) & ((0x7UL << (2U))))); |
---|
4910 | } |
---|
4911 | # 4509 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4912 | static inline uint32_t LL_ADC_GetOverSamplingShift(const ADC_TypeDef *ADCx) |
---|
4913 | { |
---|
4914 | return (uint32_t)(((ADCx->CFGR2) & ((0xFUL << (5U))))); |
---|
4915 | } |
---|
4916 | # 4544 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4917 | static inline void LL_ADC_EnableInternalRegulator(ADC_TypeDef *ADCx) |
---|
4918 | { |
---|
4919 | |
---|
4920 | |
---|
4921 | |
---|
4922 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (28U)))))); |
---|
4923 | |
---|
4924 | |
---|
4925 | } |
---|
4926 | # 4563 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4927 | static inline void LL_ADC_DisableInternalRegulator(ADC_TypeDef *ADCx) |
---|
4928 | { |
---|
4929 | ((ADCx->CR) &= ~(((0x1UL << (28U)) | ((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))); |
---|
4930 | } |
---|
4931 | |
---|
4932 | |
---|
4933 | |
---|
4934 | |
---|
4935 | |
---|
4936 | |
---|
4937 | |
---|
4938 | static inline uint32_t LL_ADC_IsInternalRegulatorEnabled(const ADC_TypeDef *ADCx) |
---|
4939 | { |
---|
4940 | return ((((ADCx->CR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
---|
4941 | } |
---|
4942 | # 4595 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4943 | static inline void LL_ADC_Enable(ADC_TypeDef *ADCx) |
---|
4944 | { |
---|
4945 | |
---|
4946 | |
---|
4947 | |
---|
4948 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (0U)))))); |
---|
4949 | |
---|
4950 | |
---|
4951 | } |
---|
4952 | # 4615 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4953 | static inline void LL_ADC_Disable(ADC_TypeDef *ADCx) |
---|
4954 | { |
---|
4955 | |
---|
4956 | |
---|
4957 | |
---|
4958 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (1U)))))); |
---|
4959 | |
---|
4960 | |
---|
4961 | } |
---|
4962 | # 4634 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4963 | static inline uint32_t LL_ADC_IsEnabled(const ADC_TypeDef *ADCx) |
---|
4964 | { |
---|
4965 | return ((((ADCx->CR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
4966 | } |
---|
4967 | |
---|
4968 | |
---|
4969 | |
---|
4970 | |
---|
4971 | |
---|
4972 | |
---|
4973 | |
---|
4974 | static inline uint32_t LL_ADC_IsDisableOngoing(const ADC_TypeDef *ADCx) |
---|
4975 | { |
---|
4976 | return ((((ADCx->CR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
4977 | } |
---|
4978 | # 4678 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
4979 | static inline void LL_ADC_StartCalibration(ADC_TypeDef *ADCx) |
---|
4980 | { |
---|
4981 | |
---|
4982 | |
---|
4983 | |
---|
4984 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (31U)))))); |
---|
4985 | |
---|
4986 | |
---|
4987 | } |
---|
4988 | |
---|
4989 | |
---|
4990 | |
---|
4991 | |
---|
4992 | |
---|
4993 | |
---|
4994 | |
---|
4995 | static inline uint32_t LL_ADC_IsCalibrationOnGoing(const ADC_TypeDef *ADCx) |
---|
4996 | { |
---|
4997 | return ((((ADCx->CR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL); |
---|
4998 | } |
---|
4999 | # 4725 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5000 | static inline void LL_ADC_REG_StartConversion(ADC_TypeDef *ADCx) |
---|
5001 | { |
---|
5002 | |
---|
5003 | |
---|
5004 | |
---|
5005 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (2U)))))); |
---|
5006 | |
---|
5007 | |
---|
5008 | } |
---|
5009 | # 4745 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5010 | static inline void LL_ADC_REG_StopConversion(ADC_TypeDef *ADCx) |
---|
5011 | { |
---|
5012 | |
---|
5013 | |
---|
5014 | |
---|
5015 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (4U)))))); |
---|
5016 | |
---|
5017 | |
---|
5018 | } |
---|
5019 | |
---|
5020 | |
---|
5021 | |
---|
5022 | |
---|
5023 | |
---|
5024 | |
---|
5025 | |
---|
5026 | static inline uint32_t LL_ADC_REG_IsConversionOngoing(const ADC_TypeDef *ADCx) |
---|
5027 | { |
---|
5028 | return ((((ADCx->CR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
5029 | } |
---|
5030 | |
---|
5031 | |
---|
5032 | |
---|
5033 | |
---|
5034 | |
---|
5035 | |
---|
5036 | |
---|
5037 | static inline uint32_t LL_ADC_REG_IsStopConversionOngoing(const ADC_TypeDef *ADCx) |
---|
5038 | { |
---|
5039 | return ((((ADCx->CR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
5040 | } |
---|
5041 | # 4786 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5042 | static inline uint32_t LL_ADC_REG_ReadConversionData32(const ADC_TypeDef *ADCx) |
---|
5043 | { |
---|
5044 | return (uint32_t)(((ADCx->DR) & ((0xFFFFUL << (0U))))); |
---|
5045 | } |
---|
5046 | # 4801 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5047 | static inline uint16_t LL_ADC_REG_ReadConversionData12(const ADC_TypeDef *ADCx) |
---|
5048 | { |
---|
5049 | return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x00000FFFUL); |
---|
5050 | } |
---|
5051 | # 4816 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5052 | static inline uint16_t LL_ADC_REG_ReadConversionData10(const ADC_TypeDef *ADCx) |
---|
5053 | { |
---|
5054 | return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000003FFUL); |
---|
5055 | } |
---|
5056 | # 4831 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5057 | static inline uint8_t LL_ADC_REG_ReadConversionData8(const ADC_TypeDef *ADCx) |
---|
5058 | { |
---|
5059 | return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000000FFUL); |
---|
5060 | } |
---|
5061 | # 4846 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5062 | static inline uint8_t LL_ADC_REG_ReadConversionData6(const ADC_TypeDef *ADCx) |
---|
5063 | { |
---|
5064 | return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x0000003FUL); |
---|
5065 | } |
---|
5066 | # 4868 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5067 | static inline uint32_t LL_ADC_IsActiveFlag_ADRDY(const ADC_TypeDef *ADCx) |
---|
5068 | { |
---|
5069 | return ((((ADCx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
5070 | } |
---|
5071 | # 4895 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5072 | static inline uint32_t LL_ADC_IsActiveFlag_CCRDY(const ADC_TypeDef *ADCx) |
---|
5073 | { |
---|
5074 | return ((((ADCx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
---|
5075 | } |
---|
5076 | |
---|
5077 | |
---|
5078 | |
---|
5079 | |
---|
5080 | |
---|
5081 | |
---|
5082 | |
---|
5083 | static inline uint32_t LL_ADC_IsActiveFlag_EOC(const ADC_TypeDef *ADCx) |
---|
5084 | { |
---|
5085 | return ((((ADCx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
5086 | } |
---|
5087 | |
---|
5088 | |
---|
5089 | |
---|
5090 | |
---|
5091 | |
---|
5092 | |
---|
5093 | |
---|
5094 | static inline uint32_t LL_ADC_IsActiveFlag_EOS(const ADC_TypeDef *ADCx) |
---|
5095 | { |
---|
5096 | return ((((ADCx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
5097 | } |
---|
5098 | |
---|
5099 | |
---|
5100 | |
---|
5101 | |
---|
5102 | |
---|
5103 | |
---|
5104 | |
---|
5105 | static inline uint32_t LL_ADC_IsActiveFlag_OVR(const ADC_TypeDef *ADCx) |
---|
5106 | { |
---|
5107 | return ((((ADCx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
5108 | } |
---|
5109 | |
---|
5110 | |
---|
5111 | |
---|
5112 | |
---|
5113 | |
---|
5114 | |
---|
5115 | |
---|
5116 | static inline uint32_t LL_ADC_IsActiveFlag_EOSMP(const ADC_TypeDef *ADCx) |
---|
5117 | { |
---|
5118 | return ((((ADCx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
5119 | } |
---|
5120 | |
---|
5121 | |
---|
5122 | |
---|
5123 | |
---|
5124 | |
---|
5125 | |
---|
5126 | |
---|
5127 | static inline uint32_t LL_ADC_IsActiveFlag_AWD1(const ADC_TypeDef *ADCx) |
---|
5128 | { |
---|
5129 | return ((((ADCx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
---|
5130 | } |
---|
5131 | |
---|
5132 | |
---|
5133 | |
---|
5134 | |
---|
5135 | |
---|
5136 | |
---|
5137 | |
---|
5138 | static inline uint32_t LL_ADC_IsActiveFlag_AWD2(const ADC_TypeDef *ADCx) |
---|
5139 | { |
---|
5140 | return ((((ADCx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
5141 | } |
---|
5142 | |
---|
5143 | |
---|
5144 | |
---|
5145 | |
---|
5146 | |
---|
5147 | |
---|
5148 | |
---|
5149 | static inline uint32_t LL_ADC_IsActiveFlag_AWD3(const ADC_TypeDef *ADCx) |
---|
5150 | { |
---|
5151 | return ((((ADCx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
5152 | } |
---|
5153 | |
---|
5154 | |
---|
5155 | |
---|
5156 | |
---|
5157 | |
---|
5158 | |
---|
5159 | |
---|
5160 | static inline uint32_t LL_ADC_IsActiveFlag_EOCAL(const ADC_TypeDef *ADCx) |
---|
5161 | { |
---|
5162 | return ((((ADCx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
---|
5163 | } |
---|
5164 | # 4997 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5165 | static inline void LL_ADC_ClearFlag_ADRDY(ADC_TypeDef *ADCx) |
---|
5166 | { |
---|
5167 | ((ADCx->ISR) = ((0x1UL << (0U)))); |
---|
5168 | } |
---|
5169 | |
---|
5170 | |
---|
5171 | |
---|
5172 | |
---|
5173 | |
---|
5174 | |
---|
5175 | |
---|
5176 | static inline void LL_ADC_ClearFlag_CCRDY(ADC_TypeDef *ADCx) |
---|
5177 | { |
---|
5178 | ((ADCx->ISR) = ((0x1UL << (13U)))); |
---|
5179 | } |
---|
5180 | |
---|
5181 | |
---|
5182 | |
---|
5183 | |
---|
5184 | |
---|
5185 | |
---|
5186 | |
---|
5187 | static inline void LL_ADC_ClearFlag_EOC(ADC_TypeDef *ADCx) |
---|
5188 | { |
---|
5189 | ((ADCx->ISR) = ((0x1UL << (2U)))); |
---|
5190 | } |
---|
5191 | |
---|
5192 | |
---|
5193 | |
---|
5194 | |
---|
5195 | |
---|
5196 | |
---|
5197 | |
---|
5198 | static inline void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx) |
---|
5199 | { |
---|
5200 | ((ADCx->ISR) = ((0x1UL << (3U)))); |
---|
5201 | } |
---|
5202 | |
---|
5203 | |
---|
5204 | |
---|
5205 | |
---|
5206 | |
---|
5207 | |
---|
5208 | |
---|
5209 | static inline void LL_ADC_ClearFlag_OVR(ADC_TypeDef *ADCx) |
---|
5210 | { |
---|
5211 | ((ADCx->ISR) = ((0x1UL << (4U)))); |
---|
5212 | } |
---|
5213 | |
---|
5214 | |
---|
5215 | |
---|
5216 | |
---|
5217 | |
---|
5218 | |
---|
5219 | |
---|
5220 | static inline void LL_ADC_ClearFlag_EOSMP(ADC_TypeDef *ADCx) |
---|
5221 | { |
---|
5222 | ((ADCx->ISR) = ((0x1UL << (1U)))); |
---|
5223 | } |
---|
5224 | |
---|
5225 | |
---|
5226 | |
---|
5227 | |
---|
5228 | |
---|
5229 | |
---|
5230 | |
---|
5231 | static inline void LL_ADC_ClearFlag_AWD1(ADC_TypeDef *ADCx) |
---|
5232 | { |
---|
5233 | ((ADCx->ISR) = ((0x1UL << (7U)))); |
---|
5234 | } |
---|
5235 | |
---|
5236 | |
---|
5237 | |
---|
5238 | |
---|
5239 | |
---|
5240 | |
---|
5241 | |
---|
5242 | static inline void LL_ADC_ClearFlag_AWD2(ADC_TypeDef *ADCx) |
---|
5243 | { |
---|
5244 | ((ADCx->ISR) = ((0x1UL << (8U)))); |
---|
5245 | } |
---|
5246 | |
---|
5247 | |
---|
5248 | |
---|
5249 | |
---|
5250 | |
---|
5251 | |
---|
5252 | |
---|
5253 | static inline void LL_ADC_ClearFlag_AWD3(ADC_TypeDef *ADCx) |
---|
5254 | { |
---|
5255 | ((ADCx->ISR) = ((0x1UL << (9U)))); |
---|
5256 | } |
---|
5257 | |
---|
5258 | |
---|
5259 | |
---|
5260 | |
---|
5261 | |
---|
5262 | |
---|
5263 | |
---|
5264 | static inline void LL_ADC_ClearFlag_EOCAL(ADC_TypeDef *ADCx) |
---|
5265 | { |
---|
5266 | ((ADCx->ISR) = ((0x1UL << (11U)))); |
---|
5267 | } |
---|
5268 | # 5115 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5269 | static inline void LL_ADC_EnableIT_ADRDY(ADC_TypeDef *ADCx) |
---|
5270 | { |
---|
5271 | ((ADCx->IER) |= ((0x1UL << (0U)))); |
---|
5272 | } |
---|
5273 | |
---|
5274 | |
---|
5275 | |
---|
5276 | |
---|
5277 | |
---|
5278 | |
---|
5279 | |
---|
5280 | static inline void LL_ADC_EnableIT_CCRDY(ADC_TypeDef *ADCx) |
---|
5281 | { |
---|
5282 | ((ADCx->IER) |= ((0x1UL << (13U)))); |
---|
5283 | } |
---|
5284 | |
---|
5285 | |
---|
5286 | |
---|
5287 | |
---|
5288 | |
---|
5289 | |
---|
5290 | |
---|
5291 | static inline void LL_ADC_EnableIT_EOC(ADC_TypeDef *ADCx) |
---|
5292 | { |
---|
5293 | ((ADCx->IER) |= ((0x1UL << (2U)))); |
---|
5294 | } |
---|
5295 | |
---|
5296 | |
---|
5297 | |
---|
5298 | |
---|
5299 | |
---|
5300 | |
---|
5301 | |
---|
5302 | static inline void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx) |
---|
5303 | { |
---|
5304 | ((ADCx->IER) |= ((0x1UL << (3U)))); |
---|
5305 | } |
---|
5306 | |
---|
5307 | |
---|
5308 | |
---|
5309 | |
---|
5310 | |
---|
5311 | |
---|
5312 | |
---|
5313 | static inline void LL_ADC_EnableIT_OVR(ADC_TypeDef *ADCx) |
---|
5314 | { |
---|
5315 | ((ADCx->IER) |= ((0x1UL << (4U)))); |
---|
5316 | } |
---|
5317 | |
---|
5318 | |
---|
5319 | |
---|
5320 | |
---|
5321 | |
---|
5322 | |
---|
5323 | |
---|
5324 | static inline void LL_ADC_EnableIT_EOSMP(ADC_TypeDef *ADCx) |
---|
5325 | { |
---|
5326 | ((ADCx->IER) |= ((0x1UL << (1U)))); |
---|
5327 | } |
---|
5328 | |
---|
5329 | |
---|
5330 | |
---|
5331 | |
---|
5332 | |
---|
5333 | |
---|
5334 | |
---|
5335 | static inline void LL_ADC_EnableIT_AWD1(ADC_TypeDef *ADCx) |
---|
5336 | { |
---|
5337 | ((ADCx->IER) |= ((0x1UL << (7U)))); |
---|
5338 | } |
---|
5339 | |
---|
5340 | |
---|
5341 | |
---|
5342 | |
---|
5343 | |
---|
5344 | |
---|
5345 | |
---|
5346 | static inline void LL_ADC_EnableIT_AWD2(ADC_TypeDef *ADCx) |
---|
5347 | { |
---|
5348 | ((ADCx->IER) |= ((0x1UL << (8U)))); |
---|
5349 | } |
---|
5350 | |
---|
5351 | |
---|
5352 | |
---|
5353 | |
---|
5354 | |
---|
5355 | |
---|
5356 | |
---|
5357 | static inline void LL_ADC_EnableIT_AWD3(ADC_TypeDef *ADCx) |
---|
5358 | { |
---|
5359 | ((ADCx->IER) |= ((0x1UL << (9U)))); |
---|
5360 | } |
---|
5361 | |
---|
5362 | |
---|
5363 | |
---|
5364 | |
---|
5365 | |
---|
5366 | |
---|
5367 | |
---|
5368 | static inline void LL_ADC_EnableIT_EOCAL(ADC_TypeDef *ADCx) |
---|
5369 | { |
---|
5370 | ((ADCx->IER) |= ((0x1UL << (11U)))); |
---|
5371 | } |
---|
5372 | |
---|
5373 | |
---|
5374 | |
---|
5375 | |
---|
5376 | |
---|
5377 | |
---|
5378 | |
---|
5379 | static inline void LL_ADC_DisableIT_ADRDY(ADC_TypeDef *ADCx) |
---|
5380 | { |
---|
5381 | ((ADCx->IER) &= ~((0x1UL << (0U)))); |
---|
5382 | } |
---|
5383 | |
---|
5384 | |
---|
5385 | |
---|
5386 | |
---|
5387 | |
---|
5388 | |
---|
5389 | |
---|
5390 | static inline void LL_ADC_DisableIT_CCRDY(ADC_TypeDef *ADCx) |
---|
5391 | { |
---|
5392 | ((ADCx->IER) &= ~((0x1UL << (13U)))); |
---|
5393 | } |
---|
5394 | |
---|
5395 | |
---|
5396 | |
---|
5397 | |
---|
5398 | |
---|
5399 | |
---|
5400 | |
---|
5401 | static inline void LL_ADC_DisableIT_EOC(ADC_TypeDef *ADCx) |
---|
5402 | { |
---|
5403 | ((ADCx->IER) &= ~((0x1UL << (2U)))); |
---|
5404 | } |
---|
5405 | |
---|
5406 | |
---|
5407 | |
---|
5408 | |
---|
5409 | |
---|
5410 | |
---|
5411 | |
---|
5412 | static inline void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx) |
---|
5413 | { |
---|
5414 | ((ADCx->IER) &= ~((0x1UL << (3U)))); |
---|
5415 | } |
---|
5416 | |
---|
5417 | |
---|
5418 | |
---|
5419 | |
---|
5420 | |
---|
5421 | |
---|
5422 | |
---|
5423 | static inline void LL_ADC_DisableIT_OVR(ADC_TypeDef *ADCx) |
---|
5424 | { |
---|
5425 | ((ADCx->IER) &= ~((0x1UL << (4U)))); |
---|
5426 | } |
---|
5427 | |
---|
5428 | |
---|
5429 | |
---|
5430 | |
---|
5431 | |
---|
5432 | |
---|
5433 | |
---|
5434 | static inline void LL_ADC_DisableIT_EOSMP(ADC_TypeDef *ADCx) |
---|
5435 | { |
---|
5436 | ((ADCx->IER) &= ~((0x1UL << (1U)))); |
---|
5437 | } |
---|
5438 | |
---|
5439 | |
---|
5440 | |
---|
5441 | |
---|
5442 | |
---|
5443 | |
---|
5444 | |
---|
5445 | static inline void LL_ADC_DisableIT_AWD1(ADC_TypeDef *ADCx) |
---|
5446 | { |
---|
5447 | ((ADCx->IER) &= ~((0x1UL << (7U)))); |
---|
5448 | } |
---|
5449 | |
---|
5450 | |
---|
5451 | |
---|
5452 | |
---|
5453 | |
---|
5454 | |
---|
5455 | |
---|
5456 | static inline void LL_ADC_DisableIT_AWD2(ADC_TypeDef *ADCx) |
---|
5457 | { |
---|
5458 | ((ADCx->IER) &= ~((0x1UL << (8U)))); |
---|
5459 | } |
---|
5460 | |
---|
5461 | |
---|
5462 | |
---|
5463 | |
---|
5464 | |
---|
5465 | |
---|
5466 | |
---|
5467 | static inline void LL_ADC_DisableIT_AWD3(ADC_TypeDef *ADCx) |
---|
5468 | { |
---|
5469 | ((ADCx->IER) &= ~((0x1UL << (9U)))); |
---|
5470 | } |
---|
5471 | |
---|
5472 | |
---|
5473 | |
---|
5474 | |
---|
5475 | |
---|
5476 | |
---|
5477 | |
---|
5478 | static inline void LL_ADC_DisableIT_EOCAL(ADC_TypeDef *ADCx) |
---|
5479 | { |
---|
5480 | ((ADCx->IER) &= ~((0x1UL << (11U)))); |
---|
5481 | } |
---|
5482 | # 5336 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5483 | static inline uint32_t LL_ADC_IsEnabledIT_ADRDY(const ADC_TypeDef *ADCx) |
---|
5484 | { |
---|
5485 | return ((((ADCx->IER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
5486 | } |
---|
5487 | |
---|
5488 | |
---|
5489 | |
---|
5490 | |
---|
5491 | |
---|
5492 | |
---|
5493 | |
---|
5494 | static inline uint32_t LL_ADC_IsEnabledIT_CCRDY(const ADC_TypeDef *ADCx) |
---|
5495 | { |
---|
5496 | return ((((ADCx->IER) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
---|
5497 | } |
---|
5498 | # 5359 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5499 | static inline uint32_t LL_ADC_IsEnabledIT_EOC(const ADC_TypeDef *ADCx) |
---|
5500 | { |
---|
5501 | return ((((ADCx->IER) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
5502 | } |
---|
5503 | # 5371 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5504 | static inline uint32_t LL_ADC_IsEnabledIT_EOS(const ADC_TypeDef *ADCx) |
---|
5505 | { |
---|
5506 | return ((((ADCx->IER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
5507 | } |
---|
5508 | # 5383 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5509 | static inline uint32_t LL_ADC_IsEnabledIT_OVR(const ADC_TypeDef *ADCx) |
---|
5510 | { |
---|
5511 | return ((((ADCx->IER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
5512 | } |
---|
5513 | # 5395 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5514 | static inline uint32_t LL_ADC_IsEnabledIT_EOSMP(const ADC_TypeDef *ADCx) |
---|
5515 | { |
---|
5516 | return ((((ADCx->IER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
5517 | } |
---|
5518 | # 5407 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5519 | static inline uint32_t LL_ADC_IsEnabledIT_AWD1(const ADC_TypeDef *ADCx) |
---|
5520 | { |
---|
5521 | return ((((ADCx->IER) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
---|
5522 | } |
---|
5523 | # 5419 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5524 | static inline uint32_t LL_ADC_IsEnabledIT_AWD2(const ADC_TypeDef *ADCx) |
---|
5525 | { |
---|
5526 | return ((((ADCx->IER) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
5527 | } |
---|
5528 | # 5431 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5529 | static inline uint32_t LL_ADC_IsEnabledIT_AWD3(const ADC_TypeDef *ADCx) |
---|
5530 | { |
---|
5531 | return ((((ADCx->IER) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
5532 | } |
---|
5533 | # 5443 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
5534 | static inline uint32_t LL_ADC_IsEnabledIT_EOCAL(const ADC_TypeDef *ADCx) |
---|
5535 | { |
---|
5536 | return ((((ADCx->IER) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
---|
5537 | } |
---|
5538 | # 32 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2 |
---|
5539 | # 49 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5540 | typedef struct |
---|
5541 | { |
---|
5542 | uint32_t Ratio; |
---|
5543 | |
---|
5544 | |
---|
5545 | uint32_t RightBitShift; |
---|
5546 | |
---|
5547 | |
---|
5548 | uint32_t TriggeredMode; |
---|
5549 | |
---|
5550 | |
---|
5551 | } ADC_OversamplingTypeDef; |
---|
5552 | # 79 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5553 | typedef struct |
---|
5554 | { |
---|
5555 | uint32_t ClockPrescaler; |
---|
5556 | # 94 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5557 | uint32_t Resolution; |
---|
5558 | |
---|
5559 | |
---|
5560 | uint32_t DataAlign; |
---|
5561 | |
---|
5562 | |
---|
5563 | |
---|
5564 | uint32_t ScanConvMode; |
---|
5565 | # 127 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5566 | uint32_t EOCSelection; |
---|
5567 | |
---|
5568 | |
---|
5569 | |
---|
5570 | FunctionalState LowPowerAutoWait; |
---|
5571 | # 150 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5572 | FunctionalState LowPowerAutoPowerOff; |
---|
5573 | |
---|
5574 | |
---|
5575 | |
---|
5576 | |
---|
5577 | |
---|
5578 | |
---|
5579 | FunctionalState ContinuousConvMode; |
---|
5580 | |
---|
5581 | |
---|
5582 | |
---|
5583 | |
---|
5584 | uint32_t NbrOfConversion; |
---|
5585 | # 180 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5586 | FunctionalState DiscontinuousConvMode; |
---|
5587 | # 191 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5588 | uint32_t ExternalTrigConv; |
---|
5589 | |
---|
5590 | |
---|
5591 | |
---|
5592 | |
---|
5593 | |
---|
5594 | |
---|
5595 | uint32_t ExternalTrigConvEdge; |
---|
5596 | |
---|
5597 | |
---|
5598 | |
---|
5599 | FunctionalState DMAContinuousRequests; |
---|
5600 | |
---|
5601 | |
---|
5602 | |
---|
5603 | |
---|
5604 | |
---|
5605 | |
---|
5606 | |
---|
5607 | uint32_t Overrun; |
---|
5608 | # 225 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5609 | uint32_t SamplingTimeCommon1; |
---|
5610 | # 243 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5611 | uint32_t SamplingTimeCommon2; |
---|
5612 | # 261 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5613 | FunctionalState OversamplingMode; |
---|
5614 | |
---|
5615 | |
---|
5616 | |
---|
5617 | |
---|
5618 | ADC_OversamplingTypeDef Oversampling; |
---|
5619 | |
---|
5620 | |
---|
5621 | |
---|
5622 | uint32_t TriggerFrequencyMode; |
---|
5623 | # 281 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5624 | } ADC_InitTypeDef; |
---|
5625 | # 292 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5626 | typedef struct |
---|
5627 | { |
---|
5628 | uint32_t Channel; |
---|
5629 | |
---|
5630 | |
---|
5631 | |
---|
5632 | |
---|
5633 | |
---|
5634 | uint32_t Rank; |
---|
5635 | # 313 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5636 | uint32_t SamplingTime; |
---|
5637 | # 331 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5638 | } ADC_ChannelConfTypeDef; |
---|
5639 | # 341 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5640 | typedef struct |
---|
5641 | { |
---|
5642 | uint32_t WatchdogNumber; |
---|
5643 | |
---|
5644 | |
---|
5645 | |
---|
5646 | |
---|
5647 | |
---|
5648 | |
---|
5649 | uint32_t WatchdogMode; |
---|
5650 | |
---|
5651 | |
---|
5652 | |
---|
5653 | |
---|
5654 | |
---|
5655 | |
---|
5656 | uint32_t Channel; |
---|
5657 | # 367 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5658 | FunctionalState ITMode; |
---|
5659 | |
---|
5660 | |
---|
5661 | uint32_t HighThreshold; |
---|
5662 | # 382 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5663 | uint32_t LowThreshold; |
---|
5664 | # 393 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5665 | } ADC_AnalogWDGConfTypeDef; |
---|
5666 | # 460 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5667 | typedef struct |
---|
5668 | |
---|
5669 | { |
---|
5670 | ADC_TypeDef *Instance; |
---|
5671 | ADC_InitTypeDef Init; |
---|
5672 | DMA_HandleTypeDef *DMA_Handle; |
---|
5673 | HAL_LockTypeDef Lock; |
---|
5674 | volatile uint32_t State; |
---|
5675 | volatile uint32_t ErrorCode; |
---|
5676 | |
---|
5677 | uint32_t ADCGroupRegularSequencerRanks; |
---|
5678 | # 485 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5679 | } ADC_HandleTypeDef; |
---|
5680 | # 1833 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5681 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" 1 |
---|
5682 | # 146 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" |
---|
5683 | HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef *hadc); |
---|
5684 | uint32_t HAL_ADCEx_Calibration_GetValue(const ADC_HandleTypeDef *hadc); |
---|
5685 | HAL_StatusTypeDef HAL_ADCEx_Calibration_SetValue(ADC_HandleTypeDef *hadc, uint32_t CalibrationFactor); |
---|
5686 | |
---|
5687 | |
---|
5688 | void HAL_ADCEx_LevelOutOfWindow2Callback(ADC_HandleTypeDef *hadc); |
---|
5689 | void HAL_ADCEx_LevelOutOfWindow3Callback(ADC_HandleTypeDef *hadc); |
---|
5690 | void HAL_ADCEx_EndOfSamplingCallback(ADC_HandleTypeDef *hadc); |
---|
5691 | void HAL_ADCEx_ChannelConfigReadyCallback(ADC_HandleTypeDef *hadc); |
---|
5692 | # 164 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" |
---|
5693 | HAL_StatusTypeDef HAL_ADCEx_DisableVoltageRegulator(ADC_HandleTypeDef *hadc); |
---|
5694 | # 1834 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2 |
---|
5695 | # 1845 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5696 | HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef *hadc); |
---|
5697 | HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc); |
---|
5698 | void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc); |
---|
5699 | void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc); |
---|
5700 | # 1867 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5701 | HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef *hadc); |
---|
5702 | HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef *hadc); |
---|
5703 | HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef *hadc, uint32_t Timeout); |
---|
5704 | HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeout); |
---|
5705 | |
---|
5706 | |
---|
5707 | HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef *hadc); |
---|
5708 | HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef *hadc); |
---|
5709 | |
---|
5710 | |
---|
5711 | HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef *hadc, uint32_t *pData, uint32_t Length); |
---|
5712 | HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef *hadc); |
---|
5713 | |
---|
5714 | |
---|
5715 | uint32_t HAL_ADC_GetValue(const ADC_HandleTypeDef *hadc); |
---|
5716 | |
---|
5717 | |
---|
5718 | void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc); |
---|
5719 | void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc); |
---|
5720 | void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef *hadc); |
---|
5721 | void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef *hadc); |
---|
5722 | void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc); |
---|
5723 | # 1898 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5724 | HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef *hadc, const ADC_ChannelConfTypeDef *pConfig); |
---|
5725 | HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef *hadc, |
---|
5726 | const ADC_AnalogWDGConfTypeDef *pAnalogWDGConfig); |
---|
5727 | # 1910 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5728 | uint32_t HAL_ADC_GetState(const ADC_HandleTypeDef *hadc); |
---|
5729 | uint32_t HAL_ADC_GetError(const ADC_HandleTypeDef *hadc); |
---|
5730 | # 1922 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
5731 | HAL_StatusTypeDef ADC_ConversionStop(ADC_HandleTypeDef *hadc); |
---|
5732 | HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef *hadc); |
---|
5733 | HAL_StatusTypeDef ADC_Disable(ADC_HandleTypeDef *hadc); |
---|
5734 | # 212 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
5735 | # 224 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
5736 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 1 |
---|
5737 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
5738 | typedef enum |
---|
5739 | { |
---|
5740 | HAL_CRC_STATE_RESET = 0x00U, |
---|
5741 | HAL_CRC_STATE_READY = 0x01U, |
---|
5742 | HAL_CRC_STATE_BUSY = 0x02U, |
---|
5743 | HAL_CRC_STATE_TIMEOUT = 0x03U, |
---|
5744 | HAL_CRC_STATE_ERROR = 0x04U |
---|
5745 | } HAL_CRC_StateTypeDef; |
---|
5746 | |
---|
5747 | |
---|
5748 | |
---|
5749 | |
---|
5750 | typedef struct |
---|
5751 | { |
---|
5752 | uint8_t DefaultPolynomialUse; |
---|
5753 | |
---|
5754 | |
---|
5755 | |
---|
5756 | |
---|
5757 | |
---|
5758 | uint8_t DefaultInitValueUse; |
---|
5759 | |
---|
5760 | |
---|
5761 | |
---|
5762 | |
---|
5763 | uint32_t GeneratingPolynomial; |
---|
5764 | |
---|
5765 | |
---|
5766 | |
---|
5767 | |
---|
5768 | uint32_t CRCLength; |
---|
5769 | |
---|
5770 | |
---|
5771 | |
---|
5772 | |
---|
5773 | |
---|
5774 | |
---|
5775 | uint32_t InitValue; |
---|
5776 | |
---|
5777 | |
---|
5778 | uint32_t InputDataInversionMode; |
---|
5779 | |
---|
5780 | |
---|
5781 | |
---|
5782 | |
---|
5783 | |
---|
5784 | |
---|
5785 | uint32_t OutputDataInversionMode; |
---|
5786 | |
---|
5787 | |
---|
5788 | |
---|
5789 | } CRC_InitTypeDef; |
---|
5790 | |
---|
5791 | |
---|
5792 | |
---|
5793 | |
---|
5794 | typedef struct |
---|
5795 | { |
---|
5796 | CRC_TypeDef *Instance; |
---|
5797 | |
---|
5798 | CRC_InitTypeDef Init; |
---|
5799 | |
---|
5800 | HAL_LockTypeDef Lock; |
---|
5801 | |
---|
5802 | volatile HAL_CRC_StateTypeDef State; |
---|
5803 | |
---|
5804 | uint32_t InputDataFormat; |
---|
5805 | |
---|
5806 | |
---|
5807 | |
---|
5808 | |
---|
5809 | |
---|
5810 | |
---|
5811 | |
---|
5812 | } CRC_HandleTypeDef; |
---|
5813 | # 288 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
5814 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h" 1 |
---|
5815 | # 127 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h" |
---|
5816 | HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set(CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength); |
---|
5817 | HAL_StatusTypeDef HAL_CRCEx_Input_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t InputReverseMode); |
---|
5818 | HAL_StatusTypeDef HAL_CRCEx_Output_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t OutputReverseMode); |
---|
5819 | # 289 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 2 |
---|
5820 | # 299 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
5821 | HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc); |
---|
5822 | HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc); |
---|
5823 | void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc); |
---|
5824 | void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc); |
---|
5825 | # 311 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
5826 | uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); |
---|
5827 | uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); |
---|
5828 | # 321 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
5829 | HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc); |
---|
5830 | # 225 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
5831 | # 236 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
5832 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" 1 |
---|
5833 | # 44 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
---|
5834 | typedef enum |
---|
5835 | { |
---|
5836 | HAL_EXTI_COMMON_CB_ID = 0x00U, |
---|
5837 | HAL_EXTI_RISING_CB_ID = 0x01U, |
---|
5838 | HAL_EXTI_FALLING_CB_ID = 0x02U, |
---|
5839 | } EXTI_CallbackIDTypeDef; |
---|
5840 | |
---|
5841 | |
---|
5842 | |
---|
5843 | |
---|
5844 | |
---|
5845 | typedef struct |
---|
5846 | { |
---|
5847 | uint32_t Line; |
---|
5848 | void (* RisingCallback)(void); |
---|
5849 | void (* FallingCallback)(void); |
---|
5850 | } EXTI_HandleTypeDef; |
---|
5851 | |
---|
5852 | |
---|
5853 | |
---|
5854 | |
---|
5855 | typedef struct |
---|
5856 | { |
---|
5857 | uint32_t Line; |
---|
5858 | |
---|
5859 | uint32_t Mode; |
---|
5860 | |
---|
5861 | uint32_t Trigger; |
---|
5862 | |
---|
5863 | uint32_t GPIOSel; |
---|
5864 | |
---|
5865 | |
---|
5866 | } EXTI_ConfigTypeDef; |
---|
5867 | # 347 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
---|
5868 | HAL_StatusTypeDef HAL_EXTI_SetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig); |
---|
5869 | HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig); |
---|
5870 | HAL_StatusTypeDef HAL_EXTI_ClearConfigLine(EXTI_HandleTypeDef *hexti); |
---|
5871 | HAL_StatusTypeDef HAL_EXTI_RegisterCallback(EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef CallbackID, void (*pPendingCbfn)(void)); |
---|
5872 | HAL_StatusTypeDef HAL_EXTI_GetHandle(EXTI_HandleTypeDef *hexti, uint32_t ExtiLine); |
---|
5873 | # 361 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
---|
5874 | void HAL_EXTI_IRQHandler(EXTI_HandleTypeDef *hexti); |
---|
5875 | uint32_t HAL_EXTI_GetPending(EXTI_HandleTypeDef *hexti, uint32_t Edge); |
---|
5876 | void HAL_EXTI_ClearPending(EXTI_HandleTypeDef *hexti, uint32_t Edge); |
---|
5877 | void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti); |
---|
5878 | # 237 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
5879 | |
---|
5880 | |
---|
5881 | |
---|
5882 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 1 |
---|
5883 | # 45 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
5884 | typedef struct |
---|
5885 | { |
---|
5886 | uint32_t TypeErase; |
---|
5887 | |
---|
5888 | uint32_t Banks; |
---|
5889 | |
---|
5890 | |
---|
5891 | uint32_t Page; |
---|
5892 | |
---|
5893 | uint32_t NbPages; |
---|
5894 | |
---|
5895 | } FLASH_EraseInitTypeDef; |
---|
5896 | |
---|
5897 | |
---|
5898 | |
---|
5899 | |
---|
5900 | typedef struct |
---|
5901 | { |
---|
5902 | uint32_t OptionType; |
---|
5903 | |
---|
5904 | uint32_t WRPArea; |
---|
5905 | |
---|
5906 | |
---|
5907 | uint32_t WRPStartOffset; |
---|
5908 | |
---|
5909 | uint32_t WRPEndOffset; |
---|
5910 | |
---|
5911 | uint32_t RDPLevel; |
---|
5912 | |
---|
5913 | uint32_t USERType; |
---|
5914 | |
---|
5915 | uint32_t USERConfig; |
---|
5916 | # 131 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
5917 | } FLASH_OBProgramInitTypeDef; |
---|
5918 | |
---|
5919 | |
---|
5920 | |
---|
5921 | |
---|
5922 | typedef struct |
---|
5923 | { |
---|
5924 | HAL_LockTypeDef Lock; |
---|
5925 | uint32_t ErrorCode; |
---|
5926 | uint32_t ProcedureOnGoing; |
---|
5927 | uint32_t Address; |
---|
5928 | uint32_t Banks; |
---|
5929 | uint32_t Page; |
---|
5930 | uint32_t NbPagesToErase; |
---|
5931 | } FLASH_ProcessTypeDef; |
---|
5932 | # 804 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
5933 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" 1 |
---|
5934 | # 64 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" |
---|
5935 | HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError); |
---|
5936 | HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit); |
---|
5937 | void HAL_FLASHEx_EnableDebugger(void); |
---|
5938 | void HAL_FLASHEx_DisableDebugger(void); |
---|
5939 | uint32_t HAL_FLASHEx_FlashEmptyCheck(void); |
---|
5940 | void HAL_FLASHEx_ForceFlashEmpty(uint32_t FlashEmpty); |
---|
5941 | |
---|
5942 | |
---|
5943 | |
---|
5944 | HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit); |
---|
5945 | void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit); |
---|
5946 | # 98 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" |
---|
5947 | void FLASH_PageErase(uint32_t Banks, uint32_t Page); |
---|
5948 | # 805 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 2 |
---|
5949 | |
---|
5950 | |
---|
5951 | |
---|
5952 | |
---|
5953 | extern FLASH_ProcessTypeDef pFlash; |
---|
5954 | # 823 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
5955 | HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
---|
5956 | HAL_StatusTypeDef HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
---|
5957 | |
---|
5958 | void HAL_FLASH_IRQHandler(void); |
---|
5959 | |
---|
5960 | void HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue); |
---|
5961 | void HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue); |
---|
5962 | # 838 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
5963 | HAL_StatusTypeDef HAL_FLASH_Unlock(void); |
---|
5964 | HAL_StatusTypeDef HAL_FLASH_Lock(void); |
---|
5965 | |
---|
5966 | HAL_StatusTypeDef HAL_FLASH_OB_Unlock(void); |
---|
5967 | HAL_StatusTypeDef HAL_FLASH_OB_Lock(void); |
---|
5968 | HAL_StatusTypeDef HAL_FLASH_OB_Launch(void); |
---|
5969 | # 852 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
5970 | uint32_t HAL_FLASH_GetError(void); |
---|
5971 | # 865 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
5972 | HAL_StatusTypeDef FLASH_WaitForLastOperation(uint32_t Timeout); |
---|
5973 | # 241 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
5974 | # 264 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
5975 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 1 |
---|
5976 | # 267 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
---|
5977 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" 1 |
---|
5978 | # 563 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" |
---|
5979 | void HAL_PWREx_EnableBatteryCharging(uint32_t ResistorSelection); |
---|
5980 | void HAL_PWREx_DisableBatteryCharging(void); |
---|
5981 | |
---|
5982 | |
---|
5983 | |
---|
5984 | |
---|
5985 | void HAL_PWREx_EnableInternalWakeUpLine(void); |
---|
5986 | void HAL_PWREx_DisableInternalWakeUpLine(void); |
---|
5987 | HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); |
---|
5988 | HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); |
---|
5989 | HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber); |
---|
5990 | HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber); |
---|
5991 | void HAL_PWREx_EnablePullUpPullDownConfig(void); |
---|
5992 | void HAL_PWREx_DisablePullUpPullDownConfig(void); |
---|
5993 | |
---|
5994 | |
---|
5995 | |
---|
5996 | |
---|
5997 | void HAL_PWREx_EnableFlashPowerDown(uint32_t PowerMode); |
---|
5998 | void HAL_PWREx_DisableFlashPowerDown(uint32_t PowerMode); |
---|
5999 | uint32_t HAL_PWREx_GetVoltageRange(void); |
---|
6000 | HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling); |
---|
6001 | # 604 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" |
---|
6002 | void HAL_PWREx_EnableLowPowerRunMode(void); |
---|
6003 | HAL_StatusTypeDef HAL_PWREx_DisableLowPowerRunMode(void); |
---|
6004 | # 268 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 2 |
---|
6005 | # 279 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
---|
6006 | void HAL_PWR_DeInit(void); |
---|
6007 | # 288 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
---|
6008 | void HAL_PWR_EnableBkUpAccess(void); |
---|
6009 | void HAL_PWR_DisableBkUpAccess(void); |
---|
6010 | |
---|
6011 | |
---|
6012 | void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinPolarity); |
---|
6013 | void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPinx); |
---|
6014 | |
---|
6015 | |
---|
6016 | void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry); |
---|
6017 | void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry); |
---|
6018 | void HAL_PWR_EnterSTANDBYMode(void); |
---|
6019 | void HAL_PWR_EnableSleepOnExit(void); |
---|
6020 | void HAL_PWR_DisableSleepOnExit(void); |
---|
6021 | void HAL_PWR_EnableSEVOnPend(void); |
---|
6022 | void HAL_PWR_DisableSEVOnPend(void); |
---|
6023 | # 265 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
6024 | |
---|
6025 | |
---|
6026 | |
---|
6027 | |
---|
6028 | |
---|
6029 | |
---|
6030 | |
---|
6031 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 1 |
---|
6032 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6033 | typedef enum |
---|
6034 | { |
---|
6035 | HAL_RTC_STATE_RESET = 0x00U, |
---|
6036 | HAL_RTC_STATE_READY = 0x01U, |
---|
6037 | HAL_RTC_STATE_BUSY = 0x02U, |
---|
6038 | HAL_RTC_STATE_TIMEOUT = 0x03U, |
---|
6039 | HAL_RTC_STATE_ERROR = 0x04U |
---|
6040 | |
---|
6041 | }HAL_RTCStateTypeDef; |
---|
6042 | |
---|
6043 | |
---|
6044 | |
---|
6045 | |
---|
6046 | typedef struct |
---|
6047 | { |
---|
6048 | uint32_t HourFormat; |
---|
6049 | |
---|
6050 | |
---|
6051 | uint32_t AsynchPrediv; |
---|
6052 | |
---|
6053 | |
---|
6054 | uint32_t SynchPrediv; |
---|
6055 | |
---|
6056 | |
---|
6057 | uint32_t OutPut; |
---|
6058 | |
---|
6059 | |
---|
6060 | uint32_t OutPutRemap; |
---|
6061 | |
---|
6062 | |
---|
6063 | uint32_t OutPutPolarity; |
---|
6064 | |
---|
6065 | |
---|
6066 | uint32_t OutPutType; |
---|
6067 | |
---|
6068 | |
---|
6069 | uint32_t OutPutPullUp; |
---|
6070 | |
---|
6071 | }RTC_InitTypeDef; |
---|
6072 | |
---|
6073 | |
---|
6074 | |
---|
6075 | |
---|
6076 | typedef struct |
---|
6077 | { |
---|
6078 | uint8_t Hours; |
---|
6079 | |
---|
6080 | |
---|
6081 | |
---|
6082 | uint8_t Minutes; |
---|
6083 | |
---|
6084 | |
---|
6085 | uint8_t Seconds; |
---|
6086 | |
---|
6087 | |
---|
6088 | uint8_t TimeFormat; |
---|
6089 | |
---|
6090 | |
---|
6091 | uint32_t SubSeconds; |
---|
6092 | |
---|
6093 | |
---|
6094 | |
---|
6095 | uint32_t SecondFraction; |
---|
6096 | |
---|
6097 | |
---|
6098 | |
---|
6099 | |
---|
6100 | |
---|
6101 | uint32_t DayLightSaving; |
---|
6102 | |
---|
6103 | |
---|
6104 | uint32_t StoreOperation; |
---|
6105 | |
---|
6106 | |
---|
6107 | }RTC_TimeTypeDef; |
---|
6108 | |
---|
6109 | |
---|
6110 | |
---|
6111 | |
---|
6112 | typedef struct |
---|
6113 | { |
---|
6114 | uint8_t WeekDay; |
---|
6115 | |
---|
6116 | |
---|
6117 | uint8_t Month; |
---|
6118 | |
---|
6119 | |
---|
6120 | uint8_t Date; |
---|
6121 | |
---|
6122 | |
---|
6123 | uint8_t Year; |
---|
6124 | |
---|
6125 | |
---|
6126 | }RTC_DateTypeDef; |
---|
6127 | |
---|
6128 | |
---|
6129 | |
---|
6130 | |
---|
6131 | typedef struct |
---|
6132 | { |
---|
6133 | RTC_TimeTypeDef AlarmTime; |
---|
6134 | |
---|
6135 | uint32_t AlarmMask; |
---|
6136 | |
---|
6137 | |
---|
6138 | uint32_t AlarmSubSecondMask; |
---|
6139 | |
---|
6140 | |
---|
6141 | uint32_t AlarmDateWeekDaySel; |
---|
6142 | |
---|
6143 | |
---|
6144 | uint8_t AlarmDateWeekDay; |
---|
6145 | |
---|
6146 | |
---|
6147 | |
---|
6148 | uint32_t Alarm; |
---|
6149 | |
---|
6150 | }RTC_AlarmTypeDef; |
---|
6151 | |
---|
6152 | |
---|
6153 | |
---|
6154 | |
---|
6155 | |
---|
6156 | |
---|
6157 | |
---|
6158 | typedef struct |
---|
6159 | |
---|
6160 | { |
---|
6161 | RTC_TypeDef *Instance; |
---|
6162 | |
---|
6163 | uint32_t TampOffset; |
---|
6164 | |
---|
6165 | RTC_InitTypeDef Init; |
---|
6166 | |
---|
6167 | HAL_LockTypeDef Lock; |
---|
6168 | |
---|
6169 | volatile HAL_RTCStateTypeDef State; |
---|
6170 | # 214 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6171 | }RTC_HandleTypeDef; |
---|
6172 | # 721 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6173 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" 1 |
---|
6174 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
6175 | typedef struct |
---|
6176 | { |
---|
6177 | uint32_t Tamper; |
---|
6178 | |
---|
6179 | |
---|
6180 | uint32_t Trigger; |
---|
6181 | |
---|
6182 | |
---|
6183 | uint32_t NoErase; |
---|
6184 | |
---|
6185 | |
---|
6186 | uint32_t MaskFlag; |
---|
6187 | |
---|
6188 | |
---|
6189 | uint32_t Filter; |
---|
6190 | |
---|
6191 | |
---|
6192 | uint32_t SamplingFrequency; |
---|
6193 | |
---|
6194 | |
---|
6195 | uint32_t PrechargeDuration; |
---|
6196 | |
---|
6197 | |
---|
6198 | uint32_t TamperPullUp; |
---|
6199 | |
---|
6200 | |
---|
6201 | uint32_t TimeStampOnTamperDetection; |
---|
6202 | |
---|
6203 | }RTC_TamperTypeDef; |
---|
6204 | # 84 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
6205 | typedef struct |
---|
6206 | { |
---|
6207 | uint32_t IntTamper; |
---|
6208 | |
---|
6209 | |
---|
6210 | uint32_t TimeStampOnTamperDetection; |
---|
6211 | |
---|
6212 | } RTC_InternalTamperTypeDef; |
---|
6213 | # 890 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
6214 | HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); |
---|
6215 | HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); |
---|
6216 | HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc); |
---|
6217 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTimeStamp(RTC_HandleTypeDef *hrtc); |
---|
6218 | HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTimeStamp(RTC_HandleTypeDef *hrtc); |
---|
6219 | HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format); |
---|
6220 | |
---|
6221 | void HAL_RTCEx_TimeStampIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
6222 | HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
6223 | void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc); |
---|
6224 | # 910 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
6225 | HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); |
---|
6226 | HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); |
---|
6227 | HAL_StatusTypeDef HAL_RTCEx_DeactivateWakeUpTimer(RTC_HandleTypeDef *hrtc); |
---|
6228 | uint32_t HAL_RTCEx_GetWakeUpTimer(RTC_HandleTypeDef *hrtc); |
---|
6229 | void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
6230 | void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc); |
---|
6231 | HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
6232 | # 926 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
6233 | HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue); |
---|
6234 | HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS); |
---|
6235 | HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut(RTC_HandleTypeDef *hrtc, uint32_t CalibOutput); |
---|
6236 | HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut(RTC_HandleTypeDef *hrtc); |
---|
6237 | HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef *hrtc); |
---|
6238 | HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef *hrtc); |
---|
6239 | HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef *hrtc); |
---|
6240 | HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc); |
---|
6241 | # 943 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
6242 | void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc); |
---|
6243 | HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
6244 | |
---|
6245 | |
---|
6246 | |
---|
6247 | |
---|
6248 | |
---|
6249 | |
---|
6250 | |
---|
6251 | HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper); |
---|
6252 | HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper); |
---|
6253 | HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper); |
---|
6254 | HAL_StatusTypeDef HAL_RTCEx_PollForTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t Tamper, uint32_t Timeout); |
---|
6255 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper); |
---|
6256 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper_IT(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper); |
---|
6257 | HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTamper(RTC_HandleTypeDef *hrtc, uint32_t IntTamper); |
---|
6258 | HAL_StatusTypeDef HAL_RTCEx_PollForInternalTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t IntTamper, uint32_t Timeout); |
---|
6259 | void HAL_RTCEx_TamperIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
6260 | void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc); |
---|
6261 | void HAL_RTCEx_Tamper2EventCallback(RTC_HandleTypeDef *hrtc); |
---|
6262 | void HAL_RTCEx_InternalTamper3EventCallback(RTC_HandleTypeDef *hrtc); |
---|
6263 | void HAL_RTCEx_InternalTamper4EventCallback(RTC_HandleTypeDef *hrtc); |
---|
6264 | void HAL_RTCEx_InternalTamper5EventCallback(RTC_HandleTypeDef *hrtc); |
---|
6265 | void HAL_RTCEx_InternalTamper6EventCallback(RTC_HandleTypeDef *hrtc); |
---|
6266 | |
---|
6267 | |
---|
6268 | |
---|
6269 | |
---|
6270 | |
---|
6271 | |
---|
6272 | |
---|
6273 | void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data); |
---|
6274 | uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister); |
---|
6275 | # 722 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 2 |
---|
6276 | # 732 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6277 | HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc); |
---|
6278 | HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc); |
---|
6279 | |
---|
6280 | void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc); |
---|
6281 | void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc); |
---|
6282 | # 752 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6283 | HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
---|
6284 | HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
---|
6285 | HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
---|
6286 | HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
---|
6287 | # 764 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6288 | HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); |
---|
6289 | HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); |
---|
6290 | HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm); |
---|
6291 | HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format); |
---|
6292 | void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
6293 | HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
6294 | void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc); |
---|
6295 | # 779 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6296 | HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef* hrtc); |
---|
6297 | # 788 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6298 | HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef *hrtc); |
---|
6299 | # 938 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
6300 | HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef* hrtc); |
---|
6301 | HAL_StatusTypeDef RTC_ExitInitMode(RTC_HandleTypeDef *hrtc); |
---|
6302 | uint8_t RTC_ByteToBcd2(uint8_t Value); |
---|
6303 | uint8_t RTC_Bcd2ToByte(uint8_t Value); |
---|
6304 | # 273 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
6305 | # 284 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
6306 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 1 |
---|
6307 | # 46 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
6308 | typedef struct |
---|
6309 | { |
---|
6310 | uint32_t Mode; |
---|
6311 | |
---|
6312 | |
---|
6313 | uint32_t Direction; |
---|
6314 | |
---|
6315 | |
---|
6316 | uint32_t DataSize; |
---|
6317 | |
---|
6318 | |
---|
6319 | uint32_t CLKPolarity; |
---|
6320 | |
---|
6321 | |
---|
6322 | uint32_t CLKPhase; |
---|
6323 | |
---|
6324 | |
---|
6325 | uint32_t NSS; |
---|
6326 | |
---|
6327 | |
---|
6328 | |
---|
6329 | uint32_t BaudRatePrescaler; |
---|
6330 | |
---|
6331 | |
---|
6332 | |
---|
6333 | |
---|
6334 | |
---|
6335 | uint32_t FirstBit; |
---|
6336 | |
---|
6337 | |
---|
6338 | uint32_t TIMode; |
---|
6339 | |
---|
6340 | |
---|
6341 | uint32_t CRCCalculation; |
---|
6342 | |
---|
6343 | |
---|
6344 | uint32_t CRCPolynomial; |
---|
6345 | |
---|
6346 | |
---|
6347 | uint32_t CRCLength; |
---|
6348 | |
---|
6349 | |
---|
6350 | |
---|
6351 | uint32_t NSSPMode; |
---|
6352 | |
---|
6353 | |
---|
6354 | |
---|
6355 | |
---|
6356 | |
---|
6357 | } SPI_InitTypeDef; |
---|
6358 | |
---|
6359 | |
---|
6360 | |
---|
6361 | |
---|
6362 | typedef enum |
---|
6363 | { |
---|
6364 | HAL_SPI_STATE_RESET = 0x00U, |
---|
6365 | HAL_SPI_STATE_READY = 0x01U, |
---|
6366 | HAL_SPI_STATE_BUSY = 0x02U, |
---|
6367 | HAL_SPI_STATE_BUSY_TX = 0x03U, |
---|
6368 | HAL_SPI_STATE_BUSY_RX = 0x04U, |
---|
6369 | HAL_SPI_STATE_BUSY_TX_RX = 0x05U, |
---|
6370 | HAL_SPI_STATE_ERROR = 0x06U, |
---|
6371 | HAL_SPI_STATE_ABORT = 0x07U |
---|
6372 | } HAL_SPI_StateTypeDef; |
---|
6373 | |
---|
6374 | |
---|
6375 | |
---|
6376 | |
---|
6377 | typedef struct __SPI_HandleTypeDef |
---|
6378 | { |
---|
6379 | SPI_TypeDef *Instance; |
---|
6380 | |
---|
6381 | SPI_InitTypeDef Init; |
---|
6382 | |
---|
6383 | uint8_t *pTxBuffPtr; |
---|
6384 | |
---|
6385 | uint16_t TxXferSize; |
---|
6386 | |
---|
6387 | volatile uint16_t TxXferCount; |
---|
6388 | |
---|
6389 | uint8_t *pRxBuffPtr; |
---|
6390 | |
---|
6391 | uint16_t RxXferSize; |
---|
6392 | |
---|
6393 | volatile uint16_t RxXferCount; |
---|
6394 | |
---|
6395 | uint32_t CRCSize; |
---|
6396 | |
---|
6397 | void (*RxISR)(struct __SPI_HandleTypeDef *hspi); |
---|
6398 | |
---|
6399 | void (*TxISR)(struct __SPI_HandleTypeDef *hspi); |
---|
6400 | |
---|
6401 | DMA_HandleTypeDef *hdmatx; |
---|
6402 | |
---|
6403 | DMA_HandleTypeDef *hdmarx; |
---|
6404 | |
---|
6405 | HAL_LockTypeDef Lock; |
---|
6406 | |
---|
6407 | volatile HAL_SPI_StateTypeDef State; |
---|
6408 | |
---|
6409 | volatile uint32_t ErrorCode; |
---|
6410 | # 162 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
6411 | } SPI_HandleTypeDef; |
---|
6412 | # 762 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
6413 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h" 1 |
---|
6414 | # 51 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h" |
---|
6415 | HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi); |
---|
6416 | # 763 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 2 |
---|
6417 | # 773 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
6418 | HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi); |
---|
6419 | HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi); |
---|
6420 | void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi); |
---|
6421 | void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi); |
---|
6422 | # 792 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
6423 | HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
6424 | HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
6425 | HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size, |
---|
6426 | uint32_t Timeout); |
---|
6427 | HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
6428 | HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
6429 | HAL_StatusTypeDef HAL_SPI_TransmitReceive_IT(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, |
---|
6430 | uint16_t Size); |
---|
6431 | HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
6432 | HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
6433 | HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, |
---|
6434 | uint16_t Size); |
---|
6435 | HAL_StatusTypeDef HAL_SPI_DMAPause(SPI_HandleTypeDef *hspi); |
---|
6436 | HAL_StatusTypeDef HAL_SPI_DMAResume(SPI_HandleTypeDef *hspi); |
---|
6437 | HAL_StatusTypeDef HAL_SPI_DMAStop(SPI_HandleTypeDef *hspi); |
---|
6438 | |
---|
6439 | HAL_StatusTypeDef HAL_SPI_Abort(SPI_HandleTypeDef *hspi); |
---|
6440 | HAL_StatusTypeDef HAL_SPI_Abort_IT(SPI_HandleTypeDef *hspi); |
---|
6441 | |
---|
6442 | void HAL_SPI_IRQHandler(SPI_HandleTypeDef *hspi); |
---|
6443 | void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi); |
---|
6444 | void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi); |
---|
6445 | void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi); |
---|
6446 | void HAL_SPI_TxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
---|
6447 | void HAL_SPI_RxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
---|
6448 | void HAL_SPI_TxRxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
---|
6449 | void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi); |
---|
6450 | void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi); |
---|
6451 | # 828 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
6452 | HAL_SPI_StateTypeDef HAL_SPI_GetState(SPI_HandleTypeDef *hspi); |
---|
6453 | uint32_t HAL_SPI_GetError(SPI_HandleTypeDef *hspi); |
---|
6454 | # 285 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
6455 | |
---|
6456 | |
---|
6457 | |
---|
6458 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 1 |
---|
6459 | # 46 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6460 | typedef struct |
---|
6461 | { |
---|
6462 | uint32_t Prescaler; |
---|
6463 | |
---|
6464 | |
---|
6465 | uint32_t CounterMode; |
---|
6466 | |
---|
6467 | |
---|
6468 | uint32_t Period; |
---|
6469 | |
---|
6470 | |
---|
6471 | |
---|
6472 | uint32_t ClockDivision; |
---|
6473 | |
---|
6474 | |
---|
6475 | uint32_t RepetitionCounter; |
---|
6476 | # 72 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6477 | uint32_t AutoReloadPreload; |
---|
6478 | |
---|
6479 | } TIM_Base_InitTypeDef; |
---|
6480 | |
---|
6481 | |
---|
6482 | |
---|
6483 | |
---|
6484 | typedef struct |
---|
6485 | { |
---|
6486 | uint32_t OCMode; |
---|
6487 | |
---|
6488 | |
---|
6489 | uint32_t Pulse; |
---|
6490 | |
---|
6491 | |
---|
6492 | uint32_t OCPolarity; |
---|
6493 | |
---|
6494 | |
---|
6495 | uint32_t OCNPolarity; |
---|
6496 | |
---|
6497 | |
---|
6498 | |
---|
6499 | uint32_t OCFastMode; |
---|
6500 | |
---|
6501 | |
---|
6502 | |
---|
6503 | |
---|
6504 | uint32_t OCIdleState; |
---|
6505 | |
---|
6506 | |
---|
6507 | |
---|
6508 | uint32_t OCNIdleState; |
---|
6509 | |
---|
6510 | |
---|
6511 | } TIM_OC_InitTypeDef; |
---|
6512 | |
---|
6513 | |
---|
6514 | |
---|
6515 | |
---|
6516 | typedef struct |
---|
6517 | { |
---|
6518 | uint32_t OCMode; |
---|
6519 | |
---|
6520 | |
---|
6521 | uint32_t Pulse; |
---|
6522 | |
---|
6523 | |
---|
6524 | uint32_t OCPolarity; |
---|
6525 | |
---|
6526 | |
---|
6527 | uint32_t OCNPolarity; |
---|
6528 | |
---|
6529 | |
---|
6530 | |
---|
6531 | uint32_t OCIdleState; |
---|
6532 | |
---|
6533 | |
---|
6534 | |
---|
6535 | uint32_t OCNIdleState; |
---|
6536 | |
---|
6537 | |
---|
6538 | |
---|
6539 | uint32_t ICPolarity; |
---|
6540 | |
---|
6541 | |
---|
6542 | uint32_t ICSelection; |
---|
6543 | |
---|
6544 | |
---|
6545 | uint32_t ICFilter; |
---|
6546 | |
---|
6547 | } TIM_OnePulse_InitTypeDef; |
---|
6548 | |
---|
6549 | |
---|
6550 | |
---|
6551 | |
---|
6552 | typedef struct |
---|
6553 | { |
---|
6554 | uint32_t ICPolarity; |
---|
6555 | |
---|
6556 | |
---|
6557 | uint32_t ICSelection; |
---|
6558 | |
---|
6559 | |
---|
6560 | uint32_t ICPrescaler; |
---|
6561 | |
---|
6562 | |
---|
6563 | uint32_t ICFilter; |
---|
6564 | |
---|
6565 | } TIM_IC_InitTypeDef; |
---|
6566 | |
---|
6567 | |
---|
6568 | |
---|
6569 | |
---|
6570 | typedef struct |
---|
6571 | { |
---|
6572 | uint32_t EncoderMode; |
---|
6573 | |
---|
6574 | |
---|
6575 | uint32_t IC1Polarity; |
---|
6576 | |
---|
6577 | |
---|
6578 | uint32_t IC1Selection; |
---|
6579 | |
---|
6580 | |
---|
6581 | uint32_t IC1Prescaler; |
---|
6582 | |
---|
6583 | |
---|
6584 | uint32_t IC1Filter; |
---|
6585 | |
---|
6586 | |
---|
6587 | uint32_t IC2Polarity; |
---|
6588 | |
---|
6589 | |
---|
6590 | uint32_t IC2Selection; |
---|
6591 | |
---|
6592 | |
---|
6593 | uint32_t IC2Prescaler; |
---|
6594 | |
---|
6595 | |
---|
6596 | uint32_t IC2Filter; |
---|
6597 | |
---|
6598 | } TIM_Encoder_InitTypeDef; |
---|
6599 | |
---|
6600 | |
---|
6601 | |
---|
6602 | |
---|
6603 | typedef struct |
---|
6604 | { |
---|
6605 | uint32_t ClockSource; |
---|
6606 | |
---|
6607 | uint32_t ClockPolarity; |
---|
6608 | |
---|
6609 | uint32_t ClockPrescaler; |
---|
6610 | |
---|
6611 | uint32_t ClockFilter; |
---|
6612 | |
---|
6613 | } TIM_ClockConfigTypeDef; |
---|
6614 | |
---|
6615 | |
---|
6616 | |
---|
6617 | |
---|
6618 | typedef struct |
---|
6619 | { |
---|
6620 | uint32_t ClearInputState; |
---|
6621 | |
---|
6622 | uint32_t ClearInputSource; |
---|
6623 | |
---|
6624 | uint32_t ClearInputPolarity; |
---|
6625 | |
---|
6626 | uint32_t ClearInputPrescaler; |
---|
6627 | |
---|
6628 | |
---|
6629 | uint32_t ClearInputFilter; |
---|
6630 | |
---|
6631 | } TIM_ClearInputConfigTypeDef; |
---|
6632 | |
---|
6633 | |
---|
6634 | |
---|
6635 | |
---|
6636 | |
---|
6637 | |
---|
6638 | typedef struct |
---|
6639 | { |
---|
6640 | uint32_t MasterOutputTrigger; |
---|
6641 | |
---|
6642 | uint32_t MasterOutputTrigger2; |
---|
6643 | |
---|
6644 | uint32_t MasterSlaveMode; |
---|
6645 | |
---|
6646 | |
---|
6647 | |
---|
6648 | |
---|
6649 | |
---|
6650 | |
---|
6651 | } TIM_MasterConfigTypeDef; |
---|
6652 | |
---|
6653 | |
---|
6654 | |
---|
6655 | |
---|
6656 | typedef struct |
---|
6657 | { |
---|
6658 | uint32_t SlaveMode; |
---|
6659 | |
---|
6660 | uint32_t InputTrigger; |
---|
6661 | |
---|
6662 | uint32_t TriggerPolarity; |
---|
6663 | |
---|
6664 | uint32_t TriggerPrescaler; |
---|
6665 | |
---|
6666 | uint32_t TriggerFilter; |
---|
6667 | |
---|
6668 | |
---|
6669 | } TIM_SlaveConfigTypeDef; |
---|
6670 | |
---|
6671 | |
---|
6672 | |
---|
6673 | |
---|
6674 | |
---|
6675 | |
---|
6676 | typedef struct |
---|
6677 | { |
---|
6678 | uint32_t OffStateRunMode; |
---|
6679 | |
---|
6680 | uint32_t OffStateIDLEMode; |
---|
6681 | |
---|
6682 | uint32_t LockLevel; |
---|
6683 | |
---|
6684 | uint32_t DeadTime; |
---|
6685 | |
---|
6686 | uint32_t BreakState; |
---|
6687 | |
---|
6688 | uint32_t BreakPolarity; |
---|
6689 | |
---|
6690 | uint32_t BreakFilter; |
---|
6691 | |
---|
6692 | uint32_t BreakAFMode; |
---|
6693 | |
---|
6694 | uint32_t Break2State; |
---|
6695 | |
---|
6696 | uint32_t Break2Polarity; |
---|
6697 | |
---|
6698 | uint32_t Break2Filter; |
---|
6699 | |
---|
6700 | uint32_t Break2AFMode; |
---|
6701 | |
---|
6702 | uint32_t AutomaticOutput; |
---|
6703 | |
---|
6704 | } TIM_BreakDeadTimeConfigTypeDef; |
---|
6705 | |
---|
6706 | |
---|
6707 | |
---|
6708 | |
---|
6709 | typedef enum |
---|
6710 | { |
---|
6711 | HAL_TIM_STATE_RESET = 0x00U, |
---|
6712 | HAL_TIM_STATE_READY = 0x01U, |
---|
6713 | HAL_TIM_STATE_BUSY = 0x02U, |
---|
6714 | HAL_TIM_STATE_TIMEOUT = 0x03U, |
---|
6715 | HAL_TIM_STATE_ERROR = 0x04U |
---|
6716 | } HAL_TIM_StateTypeDef; |
---|
6717 | |
---|
6718 | |
---|
6719 | |
---|
6720 | |
---|
6721 | typedef enum |
---|
6722 | { |
---|
6723 | HAL_TIM_CHANNEL_STATE_RESET = 0x00U, |
---|
6724 | HAL_TIM_CHANNEL_STATE_READY = 0x01U, |
---|
6725 | HAL_TIM_CHANNEL_STATE_BUSY = 0x02U, |
---|
6726 | } HAL_TIM_ChannelStateTypeDef; |
---|
6727 | |
---|
6728 | |
---|
6729 | |
---|
6730 | |
---|
6731 | typedef enum |
---|
6732 | { |
---|
6733 | HAL_DMA_BURST_STATE_RESET = 0x00U, |
---|
6734 | HAL_DMA_BURST_STATE_READY = 0x01U, |
---|
6735 | HAL_DMA_BURST_STATE_BUSY = 0x02U, |
---|
6736 | } HAL_TIM_DMABurstStateTypeDef; |
---|
6737 | |
---|
6738 | |
---|
6739 | |
---|
6740 | |
---|
6741 | typedef enum |
---|
6742 | { |
---|
6743 | HAL_TIM_ACTIVE_CHANNEL_1 = 0x01U, |
---|
6744 | HAL_TIM_ACTIVE_CHANNEL_2 = 0x02U, |
---|
6745 | HAL_TIM_ACTIVE_CHANNEL_3 = 0x04U, |
---|
6746 | HAL_TIM_ACTIVE_CHANNEL_4 = 0x08U, |
---|
6747 | HAL_TIM_ACTIVE_CHANNEL_5 = 0x10U, |
---|
6748 | HAL_TIM_ACTIVE_CHANNEL_6 = 0x20U, |
---|
6749 | HAL_TIM_ACTIVE_CHANNEL_CLEARED = 0x00U |
---|
6750 | } HAL_TIM_ActiveChannel; |
---|
6751 | |
---|
6752 | |
---|
6753 | |
---|
6754 | |
---|
6755 | |
---|
6756 | |
---|
6757 | |
---|
6758 | typedef struct |
---|
6759 | |
---|
6760 | { |
---|
6761 | TIM_TypeDef *Instance; |
---|
6762 | TIM_Base_InitTypeDef Init; |
---|
6763 | HAL_TIM_ActiveChannel Channel; |
---|
6764 | DMA_HandleTypeDef *hdma[7]; |
---|
6765 | |
---|
6766 | HAL_LockTypeDef Lock; |
---|
6767 | volatile HAL_TIM_StateTypeDef State; |
---|
6768 | volatile HAL_TIM_ChannelStateTypeDef ChannelState[6]; |
---|
6769 | volatile HAL_TIM_ChannelStateTypeDef ChannelNState[4]; |
---|
6770 | volatile HAL_TIM_DMABurstStateTypeDef DMABurstState; |
---|
6771 | # 397 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6772 | } TIM_HandleTypeDef; |
---|
6773 | # 2192 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6774 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" 1 |
---|
6775 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6776 | typedef struct |
---|
6777 | { |
---|
6778 | uint32_t IC1Polarity; |
---|
6779 | |
---|
6780 | |
---|
6781 | uint32_t IC1Prescaler; |
---|
6782 | |
---|
6783 | |
---|
6784 | uint32_t IC1Filter; |
---|
6785 | |
---|
6786 | |
---|
6787 | uint32_t Commutation_Delay; |
---|
6788 | |
---|
6789 | } TIM_HallSensor_InitTypeDef; |
---|
6790 | |
---|
6791 | |
---|
6792 | |
---|
6793 | |
---|
6794 | typedef struct |
---|
6795 | { |
---|
6796 | uint32_t Source; |
---|
6797 | |
---|
6798 | uint32_t Enable; |
---|
6799 | |
---|
6800 | uint32_t Polarity; |
---|
6801 | |
---|
6802 | } TIMEx_BreakInputConfigTypeDef; |
---|
6803 | # 338 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6804 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeDef *sConfig); |
---|
6805 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim); |
---|
6806 | |
---|
6807 | void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim); |
---|
6808 | void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim); |
---|
6809 | |
---|
6810 | |
---|
6811 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim); |
---|
6812 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim); |
---|
6813 | |
---|
6814 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim); |
---|
6815 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim); |
---|
6816 | |
---|
6817 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length); |
---|
6818 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim); |
---|
6819 | # 363 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6820 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6821 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6822 | |
---|
6823 | |
---|
6824 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6825 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6826 | |
---|
6827 | |
---|
6828 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
6829 | uint16_t Length); |
---|
6830 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6831 | # 384 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6832 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6833 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6834 | |
---|
6835 | |
---|
6836 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6837 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6838 | |
---|
6839 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
6840 | uint16_t Length); |
---|
6841 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6842 | # 404 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6843 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6844 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6845 | |
---|
6846 | |
---|
6847 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6848 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6849 | # 419 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6850 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
---|
6851 | uint32_t CommutationSource); |
---|
6852 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
---|
6853 | uint32_t CommutationSource); |
---|
6854 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
---|
6855 | uint32_t CommutationSource); |
---|
6856 | HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, |
---|
6857 | const TIM_MasterConfigTypeDef *sMasterConfig); |
---|
6858 | HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, |
---|
6859 | const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig); |
---|
6860 | HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput, |
---|
6861 | const TIMEx_BreakInputConfigTypeDef *sBreakInputConfig); |
---|
6862 | HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels); |
---|
6863 | HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap); |
---|
6864 | HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Channel); |
---|
6865 | |
---|
6866 | HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput); |
---|
6867 | HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(const TIM_HandleTypeDef *htim, uint32_t BreakInput); |
---|
6868 | # 446 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6869 | void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim); |
---|
6870 | void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
6871 | void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim); |
---|
6872 | void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim); |
---|
6873 | # 459 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6874 | HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim); |
---|
6875 | HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t ChannelN); |
---|
6876 | # 474 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
6877 | void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma); |
---|
6878 | void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma); |
---|
6879 | # 2193 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 2 |
---|
6880 | # 2204 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6881 | HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim); |
---|
6882 | HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim); |
---|
6883 | void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim); |
---|
6884 | void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim); |
---|
6885 | |
---|
6886 | HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim); |
---|
6887 | HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim); |
---|
6888 | |
---|
6889 | HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim); |
---|
6890 | HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim); |
---|
6891 | |
---|
6892 | HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t Length); |
---|
6893 | HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim); |
---|
6894 | # 2226 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6895 | HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim); |
---|
6896 | HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim); |
---|
6897 | void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim); |
---|
6898 | void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim); |
---|
6899 | |
---|
6900 | HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6901 | HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6902 | |
---|
6903 | HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6904 | HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6905 | |
---|
6906 | HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
6907 | uint16_t Length); |
---|
6908 | HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6909 | # 2249 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6910 | HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim); |
---|
6911 | HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim); |
---|
6912 | void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim); |
---|
6913 | void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim); |
---|
6914 | |
---|
6915 | HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6916 | HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6917 | |
---|
6918 | HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6919 | HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6920 | |
---|
6921 | HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
6922 | uint16_t Length); |
---|
6923 | HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6924 | # 2272 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6925 | HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim); |
---|
6926 | HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim); |
---|
6927 | void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim); |
---|
6928 | void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim); |
---|
6929 | |
---|
6930 | HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6931 | HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6932 | |
---|
6933 | HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6934 | HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6935 | |
---|
6936 | HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); |
---|
6937 | HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6938 | # 2294 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6939 | HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode); |
---|
6940 | HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim); |
---|
6941 | void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim); |
---|
6942 | void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim); |
---|
6943 | |
---|
6944 | HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6945 | HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6946 | |
---|
6947 | HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6948 | HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
6949 | # 2313 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6950 | HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig); |
---|
6951 | HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim); |
---|
6952 | void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim); |
---|
6953 | void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim); |
---|
6954 | |
---|
6955 | HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6956 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6957 | |
---|
6958 | HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6959 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6960 | |
---|
6961 | HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData1, |
---|
6962 | uint32_t *pData2, uint16_t Length); |
---|
6963 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6964 | # 2336 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6965 | void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim); |
---|
6966 | # 2346 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6967 | HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, |
---|
6968 | uint32_t Channel); |
---|
6969 | HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, |
---|
6970 | uint32_t Channel); |
---|
6971 | HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConfig, |
---|
6972 | uint32_t Channel); |
---|
6973 | HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig, |
---|
6974 | uint32_t OutputChannel, uint32_t InputChannel); |
---|
6975 | HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, |
---|
6976 | const TIM_ClearInputConfigTypeDef *sClearInputConfig, |
---|
6977 | uint32_t Channel); |
---|
6978 | HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef *sClockSourceConfig); |
---|
6979 | HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection); |
---|
6980 | HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); |
---|
6981 | HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); |
---|
6982 | HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
6983 | uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, |
---|
6984 | uint32_t BurstLength); |
---|
6985 | HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
6986 | uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, |
---|
6987 | uint32_t BurstLength, uint32_t DataLength); |
---|
6988 | HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); |
---|
6989 | HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
6990 | uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength); |
---|
6991 | HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
6992 | uint32_t BurstRequestSrc, uint32_t *BurstBuffer, |
---|
6993 | uint32_t BurstLength, uint32_t DataLength); |
---|
6994 | HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); |
---|
6995 | HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource); |
---|
6996 | uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
6997 | # 2385 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
6998 | void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim); |
---|
6999 | void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
7000 | void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim); |
---|
7001 | void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim); |
---|
7002 | void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
7003 | void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim); |
---|
7004 | void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
7005 | void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim); |
---|
7006 | void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
7007 | void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim); |
---|
7008 | # 2412 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
7009 | HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim); |
---|
7010 | HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim); |
---|
7011 | HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim); |
---|
7012 | HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim); |
---|
7013 | HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim); |
---|
7014 | HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim); |
---|
7015 | |
---|
7016 | |
---|
7017 | HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim); |
---|
7018 | HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
7019 | HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim); |
---|
7020 | # 2436 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
7021 | void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure); |
---|
7022 | void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter); |
---|
7023 | void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); |
---|
7024 | void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, |
---|
7025 | uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter); |
---|
7026 | |
---|
7027 | void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma); |
---|
7028 | void TIM_DMAError(DMA_HandleTypeDef *hdma); |
---|
7029 | void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma); |
---|
7030 | void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma); |
---|
7031 | void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState); |
---|
7032 | # 289 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
7033 | |
---|
7034 | |
---|
7035 | |
---|
7036 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 1 |
---|
7037 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7038 | typedef struct |
---|
7039 | { |
---|
7040 | uint32_t BaudRate; |
---|
7041 | # 65 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7042 | uint32_t WordLength; |
---|
7043 | |
---|
7044 | |
---|
7045 | uint32_t StopBits; |
---|
7046 | |
---|
7047 | |
---|
7048 | uint32_t Parity; |
---|
7049 | |
---|
7050 | |
---|
7051 | |
---|
7052 | |
---|
7053 | |
---|
7054 | |
---|
7055 | uint32_t Mode; |
---|
7056 | |
---|
7057 | |
---|
7058 | uint32_t HwFlowCtl; |
---|
7059 | |
---|
7060 | |
---|
7061 | |
---|
7062 | uint32_t OverSampling; |
---|
7063 | |
---|
7064 | |
---|
7065 | uint32_t OneBitSampling; |
---|
7066 | |
---|
7067 | |
---|
7068 | |
---|
7069 | uint32_t ClockPrescaler; |
---|
7070 | |
---|
7071 | |
---|
7072 | } UART_InitTypeDef; |
---|
7073 | |
---|
7074 | |
---|
7075 | |
---|
7076 | |
---|
7077 | typedef struct |
---|
7078 | { |
---|
7079 | uint32_t AdvFeatureInit; |
---|
7080 | |
---|
7081 | |
---|
7082 | |
---|
7083 | uint32_t TxPinLevelInvert; |
---|
7084 | |
---|
7085 | |
---|
7086 | uint32_t RxPinLevelInvert; |
---|
7087 | |
---|
7088 | |
---|
7089 | uint32_t DataInvert; |
---|
7090 | |
---|
7091 | |
---|
7092 | |
---|
7093 | uint32_t Swap; |
---|
7094 | |
---|
7095 | |
---|
7096 | uint32_t OverrunDisable; |
---|
7097 | |
---|
7098 | |
---|
7099 | uint32_t DMADisableonRxError; |
---|
7100 | |
---|
7101 | |
---|
7102 | uint32_t AutoBaudRateEnable; |
---|
7103 | |
---|
7104 | |
---|
7105 | uint32_t AutoBaudRateMode; |
---|
7106 | |
---|
7107 | |
---|
7108 | |
---|
7109 | uint32_t MSBFirst; |
---|
7110 | |
---|
7111 | } UART_AdvFeatureInitTypeDef; |
---|
7112 | # 177 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7113 | typedef uint32_t HAL_UART_StateTypeDef; |
---|
7114 | |
---|
7115 | |
---|
7116 | |
---|
7117 | |
---|
7118 | typedef enum |
---|
7119 | { |
---|
7120 | UART_CLOCKSOURCE_PCLK1 = 0x00U, |
---|
7121 | UART_CLOCKSOURCE_HSI = 0x02U, |
---|
7122 | UART_CLOCKSOURCE_SYSCLK = 0x04U, |
---|
7123 | UART_CLOCKSOURCE_LSE = 0x08U, |
---|
7124 | UART_CLOCKSOURCE_UNDEFINED = 0x10U |
---|
7125 | } UART_ClockSourceTypeDef; |
---|
7126 | |
---|
7127 | |
---|
7128 | |
---|
7129 | |
---|
7130 | typedef struct __UART_HandleTypeDef |
---|
7131 | { |
---|
7132 | USART_TypeDef *Instance; |
---|
7133 | |
---|
7134 | UART_InitTypeDef Init; |
---|
7135 | |
---|
7136 | UART_AdvFeatureInitTypeDef AdvancedInit; |
---|
7137 | |
---|
7138 | uint8_t *pTxBuffPtr; |
---|
7139 | |
---|
7140 | uint16_t TxXferSize; |
---|
7141 | |
---|
7142 | volatile uint16_t TxXferCount; |
---|
7143 | |
---|
7144 | uint8_t *pRxBuffPtr; |
---|
7145 | |
---|
7146 | uint16_t RxXferSize; |
---|
7147 | |
---|
7148 | volatile uint16_t RxXferCount; |
---|
7149 | |
---|
7150 | uint16_t Mask; |
---|
7151 | |
---|
7152 | uint32_t FifoMode; |
---|
7153 | |
---|
7154 | |
---|
7155 | uint16_t NbRxDataToProcess; |
---|
7156 | |
---|
7157 | uint16_t NbTxDataToProcess; |
---|
7158 | |
---|
7159 | void (*RxISR)(struct __UART_HandleTypeDef *huart); |
---|
7160 | |
---|
7161 | void (*TxISR)(struct __UART_HandleTypeDef *huart); |
---|
7162 | |
---|
7163 | DMA_HandleTypeDef *hdmatx; |
---|
7164 | |
---|
7165 | DMA_HandleTypeDef *hdmarx; |
---|
7166 | |
---|
7167 | HAL_LockTypeDef Lock; |
---|
7168 | |
---|
7169 | volatile HAL_UART_StateTypeDef gState; |
---|
7170 | |
---|
7171 | |
---|
7172 | |
---|
7173 | volatile HAL_UART_StateTypeDef RxState; |
---|
7174 | |
---|
7175 | |
---|
7176 | volatile uint32_t ErrorCode; |
---|
7177 | # 259 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7178 | } UART_HandleTypeDef; |
---|
7179 | # 1489 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7180 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" 1 |
---|
7181 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
7182 | typedef struct |
---|
7183 | { |
---|
7184 | uint32_t WakeUpEvent; |
---|
7185 | |
---|
7186 | |
---|
7187 | |
---|
7188 | |
---|
7189 | uint16_t AddressLength; |
---|
7190 | |
---|
7191 | |
---|
7192 | uint8_t Address; |
---|
7193 | } UART_WakeUpTypeDef; |
---|
7194 | # 141 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
7195 | HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime, uint32_t DeassertionTime); |
---|
7196 | # 151 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
7197 | void HAL_UARTEx_WakeupCallback(UART_HandleTypeDef *huart); |
---|
7198 | |
---|
7199 | void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart); |
---|
7200 | void HAL_UARTEx_TxFifoEmptyCallback(UART_HandleTypeDef *huart); |
---|
7201 | # 165 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
7202 | HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection); |
---|
7203 | HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart); |
---|
7204 | HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart); |
---|
7205 | HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t AddressLength); |
---|
7206 | HAL_StatusTypeDef HAL_UARTEx_EnableFifoMode(UART_HandleTypeDef *huart); |
---|
7207 | HAL_StatusTypeDef HAL_UARTEx_DisableFifoMode(UART_HandleTypeDef *huart); |
---|
7208 | HAL_StatusTypeDef HAL_UARTEx_SetTxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); |
---|
7209 | HAL_StatusTypeDef HAL_UARTEx_SetRxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); |
---|
7210 | # 1490 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 2 |
---|
7211 | # 1502 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7212 | HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart); |
---|
7213 | HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart); |
---|
7214 | HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLength); |
---|
7215 | HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Address, uint32_t WakeUpMethod); |
---|
7216 | HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart); |
---|
7217 | void HAL_UART_MspInit(UART_HandleTypeDef *huart); |
---|
7218 | void HAL_UART_MspDeInit(UART_HandleTypeDef *huart); |
---|
7219 | # 1525 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7220 | HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
7221 | HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
7222 | HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
7223 | HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
7224 | HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
7225 | HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
7226 | HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart); |
---|
7227 | HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart); |
---|
7228 | HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart); |
---|
7229 | |
---|
7230 | HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart); |
---|
7231 | HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart); |
---|
7232 | HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart); |
---|
7233 | HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart); |
---|
7234 | HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart); |
---|
7235 | HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart); |
---|
7236 | |
---|
7237 | void HAL_UART_IRQHandler(UART_HandleTypeDef *huart); |
---|
7238 | void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart); |
---|
7239 | void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart); |
---|
7240 | void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart); |
---|
7241 | void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart); |
---|
7242 | void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart); |
---|
7243 | void HAL_UART_AbortCpltCallback(UART_HandleTypeDef *huart); |
---|
7244 | void HAL_UART_AbortTransmitCpltCallback(UART_HandleTypeDef *huart); |
---|
7245 | void HAL_UART_AbortReceiveCpltCallback(UART_HandleTypeDef *huart); |
---|
7246 | # 1561 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7247 | HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart); |
---|
7248 | HAL_StatusTypeDef HAL_MultiProcessor_EnableMuteMode(UART_HandleTypeDef *huart); |
---|
7249 | HAL_StatusTypeDef HAL_MultiProcessor_DisableMuteMode(UART_HandleTypeDef *huart); |
---|
7250 | void HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart); |
---|
7251 | HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter(UART_HandleTypeDef *huart); |
---|
7252 | HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart); |
---|
7253 | # 1577 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7254 | HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart); |
---|
7255 | uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart); |
---|
7256 | # 1595 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
7257 | HAL_StatusTypeDef UART_SetConfig(UART_HandleTypeDef *huart); |
---|
7258 | HAL_StatusTypeDef UART_CheckIdleState(UART_HandleTypeDef *huart); |
---|
7259 | HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout); |
---|
7260 | void UART_AdvFeatureConfig(UART_HandleTypeDef *huart); |
---|
7261 | # 293 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
7262 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 2 |
---|
7263 | # 43 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
7264 | typedef enum |
---|
7265 | { |
---|
7266 | HAL_TICK_FREQ_10HZ = 100U, |
---|
7267 | HAL_TICK_FREQ_100HZ = 10U, |
---|
7268 | HAL_TICK_FREQ_1KHZ = 1U, |
---|
7269 | HAL_TICK_FREQ_DEFAULT = HAL_TICK_FREQ_1KHZ |
---|
7270 | } HAL_TickFreqTypeDef; |
---|
7271 | # 732 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
7272 | HAL_StatusTypeDef HAL_Init(void); |
---|
7273 | HAL_StatusTypeDef HAL_DeInit(void); |
---|
7274 | void HAL_MspInit(void); |
---|
7275 | void HAL_MspDeInit(void); |
---|
7276 | HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority); |
---|
7277 | # 747 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
7278 | void HAL_IncTick(void); |
---|
7279 | void HAL_Delay(uint32_t Delay); |
---|
7280 | uint32_t HAL_GetTick(void); |
---|
7281 | uint32_t HAL_GetTickPrio(void); |
---|
7282 | HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq); |
---|
7283 | HAL_TickFreqTypeDef HAL_GetTickFreq(void); |
---|
7284 | void HAL_SuspendTick(void); |
---|
7285 | void HAL_ResumeTick(void); |
---|
7286 | uint32_t HAL_GetHalVersion(void); |
---|
7287 | uint32_t HAL_GetREVID(void); |
---|
7288 | uint32_t HAL_GetDEVID(void); |
---|
7289 | uint32_t HAL_GetUIDw0(void); |
---|
7290 | uint32_t HAL_GetUIDw1(void); |
---|
7291 | uint32_t HAL_GetUIDw2(void); |
---|
7292 | # 771 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
7293 | void HAL_DBGMCU_EnableDBGStopMode(void); |
---|
7294 | void HAL_DBGMCU_DisableDBGStopMode(void); |
---|
7295 | void HAL_DBGMCU_EnableDBGStandbyMode(void); |
---|
7296 | void HAL_DBGMCU_DisableDBGStandbyMode(void); |
---|
7297 | # 784 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
7298 | extern volatile uint32_t uwTick; |
---|
7299 | extern uint32_t uwTickPrio; |
---|
7300 | extern HAL_TickFreqTypeDef uwTickFreq; |
---|
7301 | # 805 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
7302 | void HAL_SYSCFG_EnableIOAnalogSwitchBooster(void); |
---|
7303 | void HAL_SYSCFG_DisableIOAnalogSwitchBooster(void); |
---|
7304 | void HAL_SYSCFG_EnableRemap(uint32_t PinRemap); |
---|
7305 | void HAL_SYSCFG_DisableRemap(uint32_t PinRemap); |
---|
7306 | |
---|
7307 | |
---|
7308 | |
---|
7309 | |
---|
7310 | |
---|
7311 | void HAL_SYSCFG_StrobeDBattpinsConfig(uint32_t ConfigDeadBattery); |
---|
7312 | # 25 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Drivers\\STM32G0xx_HAL_Driver\\Src\\stm32g0xx_hal_cryp_ex.c" 2 |
---|
7313 | |
---|