source: trunk/firmware/Debug125A/dma_PP.c @ 26

Last change on this file since 26 was 26, checked in by f.jahn, 7 weeks ago
  • Bug in ADC Kalibrierung (STM32 ADC Strom) behoben
  • DMA Buffer für ADC 1 und ADC wird vor Überschreibung während bearbeitung geschützt, indem Datenübertragung nur einmalig erfolgt und erst nach Auswertung wieder gestartet wird
  • RS485Modbus: Timeout Zeit wird für Baudraten >19200 korrekt berechnet
  • Hardware ID geändert
  • Separates Register für "Batterie Empty detection mode" auf Adresse 92 angelegt
File size: 254.1 KB
RevLine 
[26]1# 1 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\dma.c"
[6]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
[26]7# 1 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\dma.c" 2
8# 20 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\dma.c"
9# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\dma.h" 1
10# 28 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\dma.h"
11# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h" 1
12# 31 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h"
13# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1
14# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h"
15# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 1
16# 195 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h"
17# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 1
18# 27 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h"
19# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 1
20# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h"
21# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 1
22# 119 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h"
23# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 1
24# 69 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h"
[6]25typedef enum
26{
27
28  NonMaskableInt_IRQn = -14,
29  HardFault_IRQn = -13,
30  SVCall_IRQn = -5,
31  PendSV_IRQn = -2,
32  SysTick_IRQn = -1,
33
34  WWDG_IRQn = 0,
35  RTC_TAMP_IRQn = 2,
36  FLASH_IRQn = 3,
37  RCC_IRQn = 4,
38  EXTI0_1_IRQn = 5,
39  EXTI2_3_IRQn = 6,
40  EXTI4_15_IRQn = 7,
41  DMA1_Channel1_IRQn = 9,
42  DMA1_Channel2_3_IRQn = 10,
43  DMA1_Ch4_7_DMAMUX1_OVR_IRQn = 11,
44  ADC1_IRQn = 12,
45  TIM1_BRK_UP_TRG_COM_IRQn = 13,
46  TIM1_CC_IRQn = 14,
47  TIM3_IRQn = 16,
48  TIM6_IRQn = 17,
49  TIM7_IRQn = 18,
50  TIM14_IRQn = 19,
51  TIM15_IRQn = 20,
52  TIM16_IRQn = 21,
53  TIM17_IRQn = 22,
54  I2C1_IRQn = 23,
55  I2C2_IRQn = 24,
56  SPI1_IRQn = 25,
57  SPI2_IRQn = 26,
58  USART1_IRQn = 27,
59  USART2_IRQn = 28,
60  USART3_4_IRQn = 29,
61} IRQn_Type;
62
63
64
65
66
[26]67# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 1
68# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]69
70
71
72
73
74# 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 1 3
75# 20 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3
76# 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 1 3
77# 17 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3
78# 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 1 3
79# 67 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 3
80# 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 1 3
81# 35 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 3
82# 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 1 3
83# 748 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3
84static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_PARTIAL_WORD_func(char *addr, unsigned w, int n) {
85  switch (n) {
86  default: addr[3] = (-1) > 0 ? w : w >> 24;
87  case 3: addr[2] = (-1) > 0 ? w >> 8 : w >> 16;
88  case 2: addr[1] = (-1) > 0 ? w >> 16 : w >> 8;
89  case 1: addr[0] = (-1) > 0 ? w >> 24 : w;
90  case 0: ;
91  }
92}
93
94static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_WORD_func(char *addr, unsigned w) {
95  __SEGGER_RTL_WR_PARTIAL_WORD_func(addr, w, 4);
96}
97
98static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_RD_WORD_func(const void *addr) {
99  const unsigned char *pAddr = (const unsigned char *)addr;
100
101  return pAddr[0] * ((-1) > 0 ? 0x1000000u : 0x1u) +
102         pAddr[1] * ((-1) > 0 ? 0x10000u : 0x100u) +
103         pAddr[2] * ((-1) > 0 ? 0x100u : 0x10000u) +
104         pAddr[3] * ((-1) > 0 ? 0x1u : 0x1000000u);
105}
106
107static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_BYTE_PATTERN_func(unsigned x) {
108  return x * 0x01010101uL;
109}
110
111static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_HEAD_func(const void *pOrigin, unsigned Word, unsigned Standin) {
112  unsigned Mask;
113  unsigned Fill;
114
115  (void)pOrigin;
116
117  Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin);
118# 792 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3
119  Mask = 0xFFFFFFFFu;
120  Mask <<= 8 * (((unsigned)(pOrigin)) & 3u);
121
122  return (Word & Mask) | (Fill & ~Mask);
123
124
125}
126
127static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_TAIL_func(unsigned n, unsigned Word, unsigned Standin) {
128  unsigned Mask;
129  unsigned Fill;
130# 817 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3
131  if (n >= 4) {
132    return Word;
133  } else {
134    Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin);
135    Mask = 0xFFFFFFFFu << (8 * n);
136
137    return (Fill & Mask) | (Word & ~Mask);
138  }
139
140
141}
142
143static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_CHECK_func(unsigned x) {
144
145
146
147
148
149
150
151  return ((x-0x01010101u) & ~x & 0x80808080u);
152
153
154}
155
156static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_INDEX_func(unsigned x, unsigned y) {
157# 866 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3
158  if ((x & 0x000000FFuL) != (y & 0x000000FFuL)) { return 0; }
159  if ((x & 0x0000FF00uL) != (y & 0x0000FF00uL)) { return 1; }
160  if ((x & 0x00FF0000uL) != (y & 0x00FF0000uL)) { return 2; }
161  if ((x & 0xFF000000uL) != (y & 0xFF000000uL)) { return 3; }
162  return 4;
163
164
165}
166
167static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_BYTE_func(unsigned x, int Index) {
168
169
170
171  return (x >> (8*Index)) & 0xFF;
172
173}
174
175static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_INDEX_func(unsigned x) {
176# 919 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3
177  if ((x & 0x000000FFuL) == 0) { return 0; }
178  if ((x & 0x0000FF00uL) == 0) { return 1; }
179  if ((x & 0x00FF0000uL) == 0) { return 2; }
180  if ((x & 0xFF000000uL) == 0) { return 3; }
181  return 4;
182
183
184}
185
186static __inline__ __attribute__((__always_inline__)) _Bool __SEGGER_RTL_atomic_is_lock_free(unsigned size, const volatile void *ptr) {
187  switch (size) {
188  case 1: return 1;
189  case 2: return ((unsigned)ptr & 1) == 0;
190  case 4: return ((unsigned)ptr & 3) == 0;
191  default: return 0;
192  }
193}
194# 946 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3
195extern const int __aeabi_SIGABRT;
196extern const int __aeabi_SIGINT;
197extern const int __aeabi_SIGILL;
198extern const int __aeabi_SIGFPE;
199extern const int __aeabi_SIGSEGV;
200extern const int __aeabi_SIGTERM;
201
202void __aeabi_SIG_DFL(int sig);
203void __aeabi_SIG_IGN(int sig);
204void __aeabi_SIG_ERR(int sig);
205# 36 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 2 3
206# 68 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 2 3
207# 18 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 2 3
208# 38 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3
209  typedef struct __SEGGER_RTL_FILE_impl __SEGGER_RTL_FILE;
210
211
212typedef struct __SEGGER_RTL_locale_data_s __SEGGER_RTL_locale_t;
213typedef struct __SEGGER_RTL_locale_codeset_s __SEGGER_RTL_locale_codeset_t;
214
215typedef struct {
216
217
218
219  const char * decimal_point;
220  const char * thousands_sep;
221  const char * grouping;
222
223  const char * int_curr_symbol;
224  const char * currency_symbol;
225  const char * mon_decimal_point;
226  const char * mon_thousands_sep;
227  const char * mon_grouping;
228  const char * positive_sign;
229  const char * negative_sign;
230
231  char int_frac_digits;
232  char frac_digits;
233  char p_cs_precedes;
234  char p_sep_by_space;
235  char n_cs_precedes;
236  char n_sep_by_space;
237  char p_sign_posn;
238  char n_sign_posn;
239  char int_p_cs_precedes;
240  char int_n_cs_precedes;
241  char int_p_sep_by_space;
242  char int_n_sep_by_space;
243  char int_p_sign_posn;
244  char int_n_sign_posn;
245
246
247
248
249  const char *day_names;
250  const char *abbrev_day_names;
251  const char *month_names;
252  const char *abbrev_month_names;
253  const char *am_pm_indicator;
254  const char *date_format;
255  const char *time_format;
256  const char *date_time_format;
257} __SEGGER_RTL_locale_data_t;
258
259struct __SEGGER_RTL_locale_data_s {
260  const char * name;
261  const __SEGGER_RTL_locale_data_t * data;
262  const __SEGGER_RTL_locale_codeset_t * codeset;
263};
264
265struct __SEGGER_RTL_POSIX_locale_s {
266  const __SEGGER_RTL_locale_t *__category[5];
267};
268
269struct timeval;
270# 107 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3
271extern struct __SEGGER_RTL_POSIX_locale_s __SEGGER_RTL_global_locale;
272extern struct __SEGGER_RTL_POSIX_locale_s * __SEGGER_RTL_locale_ptr;
273extern char * __SEGGER_RTL_locale_name_buffer;
274# 118 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3
275extern const __SEGGER_RTL_locale_t __SEGGER_RTL_c_locale;
276extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_1;
277extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_2;
278extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_3;
279extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_4;
280extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_5;
281extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_6;
282extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_7;
283extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_8;
284extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_9;
285extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_10;
286extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_11;
287extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_13;
288extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_14;
289extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_15;
290extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_16;
291extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1250;
292extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1251;
293extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1252;
294extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1253;
295extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1254;
296extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1255;
297extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1256;
298extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1257;
299extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1258;
300
301extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_c_locale_data;
302extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_DJ_locale;
303extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ER_locale;
304extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ET_locale;
305extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_NA_locale;
306extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_ZA_locale;
307extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ak_GH_locale;
308extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_am_ET_locale;
309extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_AE_locale;
310extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_BH_locale;
311extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_DZ_locale;
312extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_EG_locale;
313extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_IQ_locale;
314extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_JO_locale;
315extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_KW_locale;
316extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LB_locale;
317extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LY_locale;
318extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_MA_locale;
319extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_OM_locale;
320extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_QA_locale;
321extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SA_locale;
322extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SD_locale;
323extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SY_locale;
324extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_TN_locale;
325extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_YE_locale;
326extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_as_IN_locale;
327extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_asa_TZ_locale;
328extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Arab_IR_locale;
329extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_AZ_locale;
330extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Cyrl_AZ_locale;
331extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_IR_locale;
332extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Latn_AZ_locale;
333extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_be_BY_locale;
334extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bem_ZM_locale;
335extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bez_TZ_locale;
336extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bg_BG_locale;
337extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bm_ML_locale;
338extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_BD_locale;
339extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_IN_locale;
340extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_CN_locale;
341extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_IN_locale;
342extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_br_FR_locale;
343extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_brx_IN_locale;
344extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bs_BA_locale;
345extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_byn_ER_locale;
346extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ca_ES_locale;
347extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cch_NG_locale;
348extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cgg_UG_locale;
349extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_chr_US_locale;
350extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cs_CZ_locale;
351extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cy_GB_locale;
352extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_da_DK_locale;
353extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dav_KE_locale;
354extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_AT_locale;
355extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_BE_locale;
356extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_CH_locale;
357extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_DE_locale;
358extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LI_locale;
359extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LU_locale;
360extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dv_MV_locale;
361extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dz_BT_locale;
362extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ebu_KE_locale;
363extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_GH_locale;
364extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_TG_locale;
365extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_CY_locale;
366extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_GR_locale;
367extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AS_locale;
368extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AU_locale;
369extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BE_locale;
370extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BW_locale;
371extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BZ_locale;
372extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_CA_locale;
373extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_Dsrt_US_locale;
374extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GB_locale;
375extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GU_locale;
376extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_HK_locale;
377extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IE_locale;
378extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IN_locale;
379extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_JM_locale;
380extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MH_locale;
381extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MP_locale;
382extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MT_locale;
383extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MU_locale;
384extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NA_locale;
385extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NZ_locale;
386extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PH_locale;
387extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PK_locale;
388extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_SG_locale;
389extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_TT_locale;
390extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_UM_locale;
391extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_locale;
392extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_POSIX_locale;
393extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_VI_locale;
394extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZA_locale;
395extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZW_locale;
396extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZZ_locale;
397extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_AR_locale;
398extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_BO_locale;
399extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CL_locale;
400extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CO_locale;
401extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CR_locale;
402extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_DO_locale;
403extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_EC_locale;
404extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_ES_locale;
405extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GQ_locale;
406extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GT_locale;
407extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_HN_locale;
408extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_MX_locale;
409extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_NI_locale;
410extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PA_locale;
411extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PE_locale;
412extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PR_locale;
413extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PY_locale;
414extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_SV_locale;
415extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_US_locale;
416extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_UY_locale;
417extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_VE_locale;
418extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_et_EE_locale;
419extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_eu_ES_locale;
420extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_AF_locale;
421extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_IR_locale;
422extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ff_SN_locale;
423extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fi_FI_locale;
424extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fil_PH_locale;
425extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fo_FO_locale;
426extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BE_locale;
427extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BF_locale;
428extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BI_locale;
429extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BJ_locale;
430extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BL_locale;
431extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CA_locale;
432extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CD_locale;
433extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CF_locale;
434extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CG_locale;
435extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CH_locale;
436extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CI_locale;
437extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CM_locale;
438extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_DJ_locale;
439extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_FR_locale;
440extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GA_locale;
441extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GN_locale;
442extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GP_locale;
443extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GQ_locale;
444extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_KM_locale;
445extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_LU_locale;
446extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MC_locale;
447extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MF_locale;
448extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MG_locale;
449extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_ML_locale;
450extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MQ_locale;
451extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_NE_locale;
452extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RE_locale;
453extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RW_locale;
454extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_SN_locale;
455extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TD_locale;
456extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TG_locale;
457extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fur_IT_locale;
458extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ga_IE_locale;
459extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gaa_GH_locale;
460extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ER_locale;
461extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ET_locale;
462extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gl_ES_locale;
463extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gsw_CH_locale;
464extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gu_IN_locale;
465extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_guz_KE_locale;
466extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gv_GB_locale;
467extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_NG_locale;
468extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_SD_locale;
469extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_GH_locale;
470extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_GH_locale;
471extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NE_locale;
472extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NG_locale;
473extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NE_locale;
474extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NG_locale;
475extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_SD_locale;
476extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_haw_US_locale;
477extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_he_IL_locale;
478extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hi_IN_locale;
479extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hr_HR_locale;
480extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hu_HU_locale;
481extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hy_AM_locale;
482extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_id_ID_locale;
483extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ig_NG_locale;
484extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ii_CN_locale;
485extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_is_IS_locale;
486extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_CH_locale;
487extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_IT_locale;
488extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ja_JP_locale;
489extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_jmc_TZ_locale;
490extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ka_GE_locale;
491extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kab_DZ_locale;
492extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kaj_NG_locale;
493extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kam_KE_locale;
494extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kcg_NG_locale;
495extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kde_TZ_locale;
496extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kea_CV_locale;
497extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kfo_CI_locale;
498extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_khq_ML_locale;
499extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ki_KE_locale;
500extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_Cyrl_KZ_locale;
501extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_KZ_locale;
502extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kl_GL_locale;
503extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kln_KE_locale;
504extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_km_KH_locale;
505extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kn_IN_locale;
506extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ko_KR_locale;
507extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kok_IN_locale;
508extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_GN_locale;
509extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_LR_locale;
510extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksb_TZ_locale;
511extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksh_DE_locale;
512extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IQ_locale;
513extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IR_locale;
514extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IQ_locale;
515extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IR_locale;
516extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_SY_locale;
517extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_TR_locale;
518extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_SY_locale;
519extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_TR_locale;
520extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kw_GB_locale;
521extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ky_KG_locale;
522extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lag_TZ_locale;
523extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lg_UG_locale;
524extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CD_locale;
525extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CG_locale;
526extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lo_LA_locale;
527extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lt_LT_locale;
528extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luo_KE_locale;
529extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luy_KE_locale;
530extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lv_LV_locale;
531extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_KE_locale;
532extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_TZ_locale;
533extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mer_KE_locale;
534extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mfe_MU_locale;
535extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mg_MG_locale;
536extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mi_NZ_locale;
537extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mk_MK_locale;
538extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ml_IN_locale;
539extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_CN_locale;
540extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Cyrl_MN_locale;
541extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_MN_locale;
542extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Mong_CN_locale;
543extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mr_IN_locale;
544extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_BN_locale;
545extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_MY_locale;
546extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mt_MT_locale;
547extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_my_MM_locale;
548extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_naq_NA_locale;
549extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nb_NO_locale;
550extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nd_ZW_locale;
551extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nds_DE_locale;
552extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_IN_locale;
553extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_NP_locale;
554extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_BE_locale;
555extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_NL_locale;
556extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nn_NO_locale;
557extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nr_ZA_locale;
558extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nso_ZA_locale;
559extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ny_MW_locale;
560extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nyn_UG_locale;
561extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_oc_FR_locale;
562extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_ET_locale;
563extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_KE_locale;
564extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_or_IN_locale;
565extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Arab_PK_locale;
566extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Guru_IN_locale;
567extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_IN_locale;
568extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_PK_locale;
569extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pl_PL_locale;
570extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ps_AF_locale;
571extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_AO_locale;
572extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_BR_locale;
573extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_GW_locale;
574extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_MZ_locale;
575extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_PT_locale;
576extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rm_CH_locale;
577extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_MD_locale;
578extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_RO_locale;
579extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rof_TZ_locale;
580extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_MD_locale;
581extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_RU_locale;
582extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_UA_locale;
583extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rw_RW_locale;
584extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rwk_TZ_locale;
585extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sa_IN_locale;
586extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_saq_KE_locale;
587extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_FI_locale;
588extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_NO_locale;
589extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_seh_MZ_locale;
590extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ses_ML_locale;
591extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sg_CF_locale;
592extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_BA_locale;
593extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_CS_locale;
594extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_YU_locale;
595extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Latn_MA_locale;
596extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_MA_locale;
597extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Tfng_MA_locale;
598extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_si_LK_locale;
599extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sid_ET_locale;
600extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sk_SK_locale;
601extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sl_SI_locale;
602extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sn_ZW_locale;
603extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_DJ_locale;
604extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_ET_locale;
605extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_KE_locale;
606extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_SO_locale;
607extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sq_AL_locale;
608extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_BA_locale;
609extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_CS_locale;
610extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_BA_locale;
611extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_CS_locale;
612extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_ME_locale;
613extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_RS_locale;
614extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_YU_locale;
615extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_BA_locale;
616extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_CS_locale;
617extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_ME_locale;
618extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_RS_locale;
619extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_YU_locale;
620extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_ME_locale;
621extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_RS_locale;
622extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_YU_locale;
623extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_SZ_locale;
624extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_ZA_locale;
625extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ssy_ER_locale;
626extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_LS_locale;
627extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_ZA_locale;
628extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_FI_locale;
629extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_SE_locale;
630extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_KE_locale;
631extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_TZ_locale;
632extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_syr_SY_locale;
633extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_IN_locale;
634extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_LK_locale;
635extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_te_IN_locale;
636extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_KE_locale;
637extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_UG_locale;
638extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_Cyrl_TJ_locale;
639extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_TJ_locale;
640extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_th_TH_locale;
641extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ER_locale;
642extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ET_locale;
643extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tig_ER_locale;
644extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tl_PH_locale;
645extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tn_ZA_locale;
646extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_to_TO_locale;
647extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tr_TR_locale;
648extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_trv_TW_locale;
649extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ts_ZA_locale;
650extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tt_RU_locale;
651extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_Latn_MA_locale;
652extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_MA_locale;
653extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_Arab_CN_locale;
654extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_CN_locale;
655extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uk_UA_locale;
656extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_IN_locale;
657extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_PK_locale;
658extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_AF_locale;
659extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Arab_AF_locale;
660extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Cyrl_UZ_locale;
661extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Latn_UZ_locale;
662extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_UZ_locale;
663extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ve_ZA_locale;
664extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vi_VN_locale;
665extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vun_TZ_locale;
666extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wal_ET_locale;
667extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_Latn_SN_locale;
668extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_SN_locale;
669extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xh_ZA_locale;
670extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xog_UG_locale;
671extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_yo_NG_locale;
672extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_CN_locale;
673extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_CN_locale;
674extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_HK_locale;
675extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_MO_locale;
676extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_SG_locale;
677extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_HK_locale;
678extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_MO_locale;
679extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_TW_locale;
680extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_HK_locale;
681extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_MO_locale;
682extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_SG_locale;
683extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_TW_locale;
684extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zu_ZA_locale;
685
686extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_ascii;
687extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_utf8;
688
689extern const char __SEGGER_RTL_data_utf8_period [];
690extern const char __SEGGER_RTL_data_utf8_comma [];
691extern const char __SEGGER_RTL_data_utf8_space [];
692extern const char __SEGGER_RTL_data_utf8_plus [];
693extern const char __SEGGER_RTL_data_utf8_minus [];
694extern const char __SEGGER_RTL_data_empty_string[];
695# 546 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3
696int __SEGGER_RTL_X_set_time_of_day (const struct timeval *__tp);
697int __SEGGER_RTL_X_get_time_of_day (struct timeval *__tp);
698const __SEGGER_RTL_locale_t * __SEGGER_RTL_X_find_locale (const char *__locale);
699__SEGGER_RTL_FILE * __SEGGER_RTL_X_file_open (const char *__filename, const char *__mode);
700__SEGGER_RTL_FILE * __SEGGER_RTL_X_file_dopen (int __descriptor, const char *__mode);
701int __SEGGER_RTL_X_file_stat (__SEGGER_RTL_FILE *__stream);
702int __SEGGER_RTL_X_file_read (__SEGGER_RTL_FILE *__stream, char *__s, unsigned __len);
703int __SEGGER_RTL_X_file_write (__SEGGER_RTL_FILE *__stream, const char *__s, unsigned __len);
704int __SEGGER_RTL_X_file_unget (__SEGGER_RTL_FILE *__stream, int __c);
705int __SEGGER_RTL_X_file_close (__SEGGER_RTL_FILE *__stream);
706int __SEGGER_RTL_X_file_error (__SEGGER_RTL_FILE *__stream);
707int __SEGGER_RTL_X_file_flush (__SEGGER_RTL_FILE *__stream);
708int __SEGGER_RTL_X_file_eof (__SEGGER_RTL_FILE *__stream);
709void __SEGGER_RTL_X_file_clrerr (__SEGGER_RTL_FILE *__stream);
710int __SEGGER_RTL_X_file_seek (__SEGGER_RTL_FILE *__stream, long __offset, int __whence);
711int __SEGGER_RTL_X_file_getpos (__SEGGER_RTL_FILE *__stream, long *__pos);
712int __SEGGER_RTL_X_file_bufsize (__SEGGER_RTL_FILE *__stream);
713__SEGGER_RTL_FILE * __SEGGER_RTL_X_file_tmpfile (void);
714char * __SEGGER_RTL_X_file_tmpnam (char *__s, unsigned __max);
715int __SEGGER_RTL_X_file_remove (const char *__filename);
716int __SEGGER_RTL_X_file_rename (const char *__old, const char *__new);
717void __attribute__((__weak__)) __SEGGER_RTL_X_heap_lock (void);
718void __attribute__((__weak__)) __SEGGER_RTL_X_heap_unlock (void);
719int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_lock (void);
720void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_unlock (int __state);
721int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_is_lock_free (unsigned int __size, void *__ptr);
722void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_synchronize (void);
723volatile int * __aeabi_errno_addr (void);
724void __aeabi_assert (const char *__expression, const char *__filename, int __line);
725# 584 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3
726void __SEGGER_RTL_execute_at_exit_fns (void);
727void __SEGGER_RTL_set_locale_name_buffer (char *__buffer);
728int __SEGGER_RTL_mb_max (const struct __SEGGER_RTL_POSIX_locale_s *__loc);
729int __SEGGER_RTL_mb_cur_max (void);
730void __SEGGER_RTL_init_heap (void *__ptr, unsigned int __size);
731# 21 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 2 3
732# 272 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3
733typedef signed char int8_t;
734typedef unsigned char uint8_t;
735typedef short int16_t;
736typedef unsigned short uint16_t;
737typedef int int32_t;
738typedef unsigned int uint32_t;
739typedef long long int int64_t;
740typedef long long unsigned int uint64_t;
741
742typedef signed char int_least8_t;
743typedef short int_least16_t;
744typedef int int_least32_t;
745typedef long long int int_least64_t;
746typedef unsigned char uint_least8_t;
747typedef unsigned short uint_least16_t;
748typedef unsigned int uint_least32_t;
749typedef long long unsigned int uint_least64_t;
750
751typedef signed char int_fast8_t;
752typedef short int_fast16_t;
753typedef int int_fast32_t;
754typedef long long int int_fast64_t;
755typedef unsigned char uint_fast8_t;
756typedef unsigned short uint_fast16_t;
757typedef unsigned int uint_fast32_t;
758typedef long long unsigned int uint_fast64_t;
759
760typedef int intptr_t;
761typedef unsigned int uintptr_t;
762
763typedef long long int intmax_t;
764typedef long long unsigned int uintmax_t;
[26]765# 35 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3
766# 63 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
767# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 1 3
768# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 3
769# 64 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3
770# 115 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
771# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 1 3
772# 54 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 3
773# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 1 3
774# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]775#pragma GCC diagnostic push
776#pragma GCC diagnostic ignored "-Wsign-conversion"
777#pragma GCC diagnostic ignored "-Wconversion"
778#pragma GCC diagnostic ignored "-Wunused-parameter"
[26]779# 71 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]780#pragma GCC diagnostic push
781#pragma GCC diagnostic ignored "-Wpacked"
782#pragma GCC diagnostic ignored "-Wattributes"
783  struct __attribute__((packed)) T_UINT32 { uint32_t v; };
784#pragma GCC diagnostic pop
785
786
787
788#pragma GCC diagnostic push
789#pragma GCC diagnostic ignored "-Wpacked"
790#pragma GCC diagnostic ignored "-Wattributes"
791  struct __attribute__((packed, aligned(1))) T_UINT16_WRITE { uint16_t v; };
792#pragma GCC diagnostic pop
793
794
795
796#pragma GCC diagnostic push
797#pragma GCC diagnostic ignored "-Wpacked"
798#pragma GCC diagnostic ignored "-Wattributes"
799  struct __attribute__((packed, aligned(1))) T_UINT16_READ { uint16_t v; };
800#pragma GCC diagnostic pop
801
802
803
804#pragma GCC diagnostic push
805#pragma GCC diagnostic ignored "-Wpacked"
806#pragma GCC diagnostic ignored "-Wattributes"
807  struct __attribute__((packed, aligned(1))) T_UINT32_WRITE { uint32_t v; };
808#pragma GCC diagnostic pop
809
810
811
812#pragma GCC diagnostic push
813#pragma GCC diagnostic ignored "-Wpacked"
814#pragma GCC diagnostic ignored "-Wattributes"
815  struct __attribute__((packed, aligned(1))) T_UINT32_READ { uint32_t v; };
816#pragma GCC diagnostic pop
[26]817# 131 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]818__attribute__((always_inline)) static inline __attribute__((__noreturn__)) void __cmsis_start(void)
819{
820  extern void _start(void) __attribute__((__noreturn__));
821
822  typedef struct {
823    uint32_t const* src;
824    uint32_t* dest;
825    uint32_t wlen;
826  } __copy_table_t;
827
828  typedef struct {
829    uint32_t* dest;
830    uint32_t wlen;
831  } __zero_table_t;
832
833  extern const __copy_table_t __copy_table_start__;
834  extern const __copy_table_t __copy_table_end__;
835  extern const __zero_table_t __zero_table_start__;
836  extern const __zero_table_t __zero_table_end__;
837
838  for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable) {
839    for(uint32_t i=0u; i<pTable->wlen; ++i) {
840      pTable->dest[i] = pTable->src[i];
841    }
842  }
843
844  for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable) {
845    for(uint32_t i=0u; i<pTable->wlen; ++i) {
846      pTable->dest[i] = 0u;
847    }
848  }
849
850  _start();
851}
[26]852# 196 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]853__attribute__((always_inline)) static inline void __enable_irq(void)
854{
855  __asm volatile ("cpsie i" : : : "memory");
856}
857
858
859
860
861
862
863
864__attribute__((always_inline)) static inline void __disable_irq(void)
865{
866  __asm volatile ("cpsid i" : : : "memory");
867}
868
869
870
871
872
873
874
875__attribute__((always_inline)) static inline uint32_t __get_CONTROL(void)
876{
877  uint32_t result;
878
879  __asm volatile ("MRS %0, control" : "=r" (result) );
880  return(result);
881}
[26]882# 248 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]883__attribute__((always_inline)) static inline void __set_CONTROL(uint32_t control)
884{
885  __asm volatile ("MSR control, %0" : : "r" (control) : "memory");
886}
[26]887# 272 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]888__attribute__((always_inline)) static inline uint32_t __get_IPSR(void)
889{
890  uint32_t result;
891
892  __asm volatile ("MRS %0, ipsr" : "=r" (result) );
893  return(result);
894}
895
896
897
898
899
900
901
902__attribute__((always_inline)) static inline uint32_t __get_APSR(void)
903{
904  uint32_t result;
905
906  __asm volatile ("MRS %0, apsr" : "=r" (result) );
907  return(result);
908}
909
910
911
912
913
914
915
916__attribute__((always_inline)) static inline uint32_t __get_xPSR(void)
917{
918  uint32_t result;
919
920  __asm volatile ("MRS %0, xpsr" : "=r" (result) );
921  return(result);
922}
923
924
925
926
927
928
929
930__attribute__((always_inline)) static inline uint32_t __get_PSP(void)
931{
932  uint32_t result;
933
934  __asm volatile ("MRS %0, psp" : "=r" (result) );
935  return(result);
936}
[26]937# 344 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]938__attribute__((always_inline)) static inline void __set_PSP(uint32_t topOfProcStack)
939{
940  __asm volatile ("MSR psp, %0" : : "r" (topOfProcStack) : );
941}
[26]942# 368 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]943__attribute__((always_inline)) static inline uint32_t __get_MSP(void)
944{
945  uint32_t result;
946
947  __asm volatile ("MRS %0, msp" : "=r" (result) );
948  return(result);
949}
[26]950# 398 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]951__attribute__((always_inline)) static inline void __set_MSP(uint32_t topOfMainStack)
952{
953  __asm volatile ("MSR msp, %0" : : "r" (topOfMainStack) : );
954}
[26]955# 449 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]956__attribute__((always_inline)) static inline uint32_t __get_PRIMASK(void)
957{
958  uint32_t result;
959
960  __asm volatile ("MRS %0, primask" : "=r" (result) :: "memory");
961  return(result);
962}
[26]963# 479 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]964__attribute__((always_inline)) static inline void __set_PRIMASK(uint32_t priMask)
965{
966  __asm volatile ("MSR primask, %0" : : "r" (priMask) : "memory");
967}
[26]968# 833 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]969__attribute__((always_inline)) static inline uint32_t __get_FPSCR(void)
970{
[26]971# 849 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]972  return(0U);
973
974}
975
976
977
978
979
980
981
982__attribute__((always_inline)) static inline void __set_FPSCR(uint32_t fpscr)
983{
[26]984# 872 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]985  (void)fpscr;
986
987}
[26]988# 933 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]989__attribute__((always_inline)) static inline void __ISB(void)
990{
991  __asm volatile ("isb 0xF":::"memory");
992}
993
994
995
996
997
998
999
1000__attribute__((always_inline)) static inline void __DSB(void)
1001{
1002  __asm volatile ("dsb 0xF":::"memory");
1003}
1004
1005
1006
1007
1008
1009
1010
1011__attribute__((always_inline)) static inline void __DMB(void)
1012{
1013  __asm volatile ("dmb 0xF":::"memory");
1014}
[26]1015# 967 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1016__attribute__((always_inline)) static inline uint32_t __REV(uint32_t value)
1017{
1018
1019
1020
1021  uint32_t result;
1022
1023  __asm volatile ("rev %0, %1" : "=l" (result) : "l" (value) );
1024  return result;
1025
1026}
[26]1027# 986 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1028__attribute__((always_inline)) static inline uint32_t __REV16(uint32_t value)
1029{
1030  uint32_t result;
1031
1032  __asm volatile ("rev16 %0, %1" : "=l" (result) : "l" (value) );
1033  return result;
1034}
[26]1035# 1001 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1036__attribute__((always_inline)) static inline int16_t __REVSH(int16_t value)
1037{
1038
1039
1040
1041  int16_t result;
1042
1043  __asm volatile ("revsh %0, %1" : "=l" (result) : "l" (value) );
1044  return result;
1045
1046}
[26]1047# 1021 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1048__attribute__((always_inline)) static inline uint32_t __ROR(uint32_t op1, uint32_t op2)
1049{
1050  op2 %= 32U;
1051  if (op2 == 0U)
1052  {
1053    return op1;
1054  }
1055  return (op1 >> op2) | (op1 << (32U - op2));
1056}
[26]1057# 1048 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1058__attribute__((always_inline)) static inline uint32_t __RBIT(uint32_t value)
1059{
1060  uint32_t result;
1061
1062
1063
1064
1065
1066
1067  uint32_t s = (4U * 8U) - 1U;
1068
1069  result = value;
1070  for (value >>= 1U; value != 0U; value >>= 1U)
1071  {
1072    result <<= 1U;
1073    result |= value & 1U;
1074    s--;
1075  }
1076  result <<= s;
1077
1078  return result;
1079}
[26]1080# 1078 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1081__attribute__((always_inline)) static inline uint8_t __CLZ(uint32_t value)
1082{
[26]1083# 1089 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1084  if (value == 0U)
1085  {
1086    return 32U;
1087  }
1088  return __builtin_clz(value);
1089}
[26]1090# 1382 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1091__attribute__((always_inline)) static inline int32_t __SSAT(int32_t val, uint32_t sat)
1092{
1093  if ((sat >= 1U) && (sat <= 32U))
1094  {
1095    const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U);
1096    const int32_t min = -1 - max ;
1097    if (val > max)
1098    {
1099      return max;
1100    }
1101    else if (val < min)
1102    {
1103      return min;
1104    }
1105  }
1106  return val;
1107}
[26]1108# 1407 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1109__attribute__((always_inline)) static inline uint32_t __USAT(int32_t val, uint32_t sat)
1110{
1111  if (sat <= 31U)
1112  {
1113    const uint32_t max = ((1U << sat) - 1U);
1114    if (val > (int32_t)max)
1115    {
1116      return max;
1117    }
1118    else if (val < 0)
1119    {
1120      return 0U;
1121    }
1122  }
1123  return (uint32_t)val;
1124}
[26]1125# 2166 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3
[6]1126#pragma GCC diagnostic pop
[26]1127# 55 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 2 3
1128# 116 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3
1129# 210 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1130typedef union
1131{
1132  struct
1133  {
1134    uint32_t _reserved0:28;
1135    uint32_t V:1;
1136    uint32_t C:1;
1137    uint32_t Z:1;
1138    uint32_t N:1;
1139  } b;
1140  uint32_t w;
1141} APSR_Type;
[26]1142# 240 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1143typedef union
1144{
1145  struct
1146  {
1147    uint32_t ISR:9;
1148    uint32_t _reserved0:23;
1149  } b;
1150  uint32_t w;
1151} IPSR_Type;
[26]1152# 258 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1153typedef union
1154{
1155  struct
1156  {
1157    uint32_t ISR:9;
1158    uint32_t _reserved0:15;
1159    uint32_t T:1;
1160    uint32_t _reserved1:3;
1161    uint32_t V:1;
1162    uint32_t C:1;
1163    uint32_t Z:1;
1164    uint32_t N:1;
1165  } b;
1166  uint32_t w;
1167} xPSR_Type;
[26]1168# 297 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1169typedef union
1170{
1171  struct
1172  {
1173    uint32_t nPRIV:1;
1174    uint32_t SPSEL:1;
1175    uint32_t _reserved1:30;
1176  } b;
1177  uint32_t w;
1178} CONTROL_Type;
[26]1179# 328 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1180typedef struct
1181{
1182  volatile uint32_t ISER[1U];
1183        uint32_t RESERVED0[31U];
1184  volatile uint32_t ICER[1U];
1185        uint32_t RESERVED1[31U];
1186  volatile uint32_t ISPR[1U];
1187        uint32_t RESERVED2[31U];
1188  volatile uint32_t ICPR[1U];
1189        uint32_t RESERVED3[31U];
1190        uint32_t RESERVED4[64U];
1191  volatile uint32_t IP[8U];
1192} NVIC_Type;
[26]1193# 355 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1194typedef struct
1195{
1196  volatile const uint32_t CPUID;
1197  volatile uint32_t ICSR;
1198
1199  volatile uint32_t VTOR;
1200
1201
1202
1203  volatile uint32_t AIRCR;
1204  volatile uint32_t SCR;
1205  volatile uint32_t CCR;
1206        uint32_t RESERVED1;
1207  volatile uint32_t SHP[2U];
1208  volatile uint32_t SHCSR;
1209} SCB_Type;
[26]1210# 472 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1211typedef struct
1212{
1213  volatile uint32_t CTRL;
1214  volatile uint32_t LOAD;
1215  volatile uint32_t VAL;
1216  volatile const uint32_t CALIB;
1217} SysTick_Type;
[26]1218# 524 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1219typedef struct
1220{
1221  volatile const uint32_t TYPE;
1222  volatile uint32_t CTRL;
1223  volatile uint32_t RNR;
1224  volatile uint32_t RBAR;
1225  volatile uint32_t RASR;
1226} MPU_Type;
[26]1227# 741 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1228static inline void __NVIC_EnableIRQ(IRQn_Type IRQn)
1229{
1230  if ((int32_t)(IRQn) >= 0)
1231  {
1232    __asm volatile("":::"memory");
1233    ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
1234    __asm volatile("":::"memory");
1235  }
1236}
[26]1237# 760 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1238static inline uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn)
1239{
1240  if ((int32_t)(IRQn) >= 0)
1241  {
1242    return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
1243  }
1244  else
1245  {
1246    return(0U);
1247  }
1248}
[26]1249# 779 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1250static inline void __NVIC_DisableIRQ(IRQn_Type IRQn)
1251{
1252  if ((int32_t)(IRQn) >= 0)
1253  {
1254    ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
1255    __DSB();
1256    __ISB();
1257  }
1258}
[26]1259# 798 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1260static inline uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn)
1261{
1262  if ((int32_t)(IRQn) >= 0)
1263  {
1264    return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL));
1265  }
1266  else
1267  {
1268    return(0U);
1269  }
1270}
[26]1271# 817 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1272static inline void __NVIC_SetPendingIRQ(IRQn_Type IRQn)
1273{
1274  if ((int32_t)(IRQn) >= 0)
1275  {
1276    ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
1277  }
1278}
[26]1279# 832 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1280static inline void __NVIC_ClearPendingIRQ(IRQn_Type IRQn)
1281{
1282  if ((int32_t)(IRQn) >= 0)
1283  {
1284    ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
1285  }
1286}
[26]1287# 850 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1288static inline void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
1289{
1290  if ((int32_t)(IRQn) >= 0)
1291  {
1292    ((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))) |
1293       (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL)));
1294  }
1295  else
1296  {
1297    ((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))) |
1298       (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL)));
1299  }
1300}
[26]1301# 874 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1302static inline uint32_t __NVIC_GetPriority(IRQn_Type IRQn)
1303{
1304
1305  if ((int32_t)(IRQn) >= 0)
1306  {
1307    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)));
1308  }
1309  else
1310  {
1311    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)));
1312  }
1313}
[26]1314# 899 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1315static inline uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority)
1316{
1317  uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL);
1318  uint32_t PreemptPriorityBits;
1319  uint32_t SubPriorityBits;
1320
1321  PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp);
1322  SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U));
1323
1324  return (
1325           ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
1326           ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
1327         );
1328}
[26]1329# 926 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1330static inline void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* const pPreemptPriority, uint32_t* const pSubPriority)
1331{
1332  uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL);
1333  uint32_t PreemptPriorityBits;
1334  uint32_t SubPriorityBits;
1335
1336  PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp);
1337  SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U));
1338
1339  *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL);
1340  *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL);
1341}
[26]1342# 950 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1343static inline void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector)
1344{
1345
1346  uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR;
1347
1348
1349
1350  (* (int *) (vectors + ((int32_t)IRQn + 16) * 4)) = vector;
1351
1352}
[26]1353# 970 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1354static inline uint32_t __NVIC_GetVector(IRQn_Type IRQn)
1355{
1356
1357  uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR;
1358
1359
1360
1361  return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + 16) * 4));
1362}
1363
1364
1365
1366
1367
1368
1369__attribute__((__noreturn__)) static inline void __NVIC_SystemReset(void)
1370{
1371  __DSB();
1372
1373  ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR = ((0x5FAUL << 16U) |
1374                 (1UL << 2U));
1375  __DSB();
1376
1377  for(;;)
1378  {
1379    __asm volatile ("nop");
1380  }
1381}
1382
1383
1384
1385
1386
1387
1388
[26]1389# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 1 3
1390# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3
1391# 183 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3
[6]1392typedef struct {
1393  uint32_t RBAR;
1394  uint32_t RASR;
1395} ARM_MPU_Region_t;
1396
1397
1398
1399
1400static inline void ARM_MPU_Enable(uint32_t MPU_Control)
1401{
1402  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL = MPU_Control | (1UL );
1403
1404
1405
1406  __DSB();
1407  __ISB();
1408}
1409
1410
1411
1412static inline void ARM_MPU_Disable(void)
1413{
1414  __DMB();
1415
1416
1417
1418  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL &= ~(1UL );
1419}
1420
1421
1422
1423
1424static inline void ARM_MPU_ClrRegion(uint32_t rnr)
1425{
1426  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr;
1427  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = 0U;
1428}
1429
1430
1431
1432
1433
1434static inline void ARM_MPU_SetRegion(uint32_t rbar, uint32_t rasr)
1435{
1436  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar;
1437  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr;
1438}
1439
1440
1441
1442
1443
1444
1445static inline void ARM_MPU_SetRegionEx(uint32_t rnr, uint32_t rbar, uint32_t rasr)
1446{
1447  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr;
1448  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar;
1449  ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr;
1450}
1451
1452
1453
1454
1455
1456
1457static inline void ARM_MPU_OrderedMemcpy(volatile uint32_t* dst, const uint32_t* __restrict src, uint32_t len)
1458{
1459  uint32_t i;
1460  for (i = 0U; i < len; ++i)
1461  {
1462    dst[i] = src[i];
1463  }
1464}
1465
1466
1467
1468
1469
1470static inline void ARM_MPU_Load(ARM_MPU_Region_t const* table, uint32_t cnt)
1471{
1472  const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U;
1473  while (cnt > 1U) {
1474    ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), 1U*rowWordSize);
1475    table += 1U;
1476    cnt -= 1U;
1477  }
1478  ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), cnt*rowWordSize);
1479}
[26]1480# 1006 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3
1481# 1025 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1482static inline uint32_t SCB_GetFPUType(void)
1483{
1484    return 0U;
1485}
[26]1486# 1056 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3
[6]1487static inline uint32_t SysTick_Config(uint32_t ticks)
1488{
1489  if ((ticks - 1UL) > (0xFFFFFFUL ))
1490  {
1491    return (1UL);
1492  }
1493
1494  ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->LOAD = (uint32_t)(ticks - 1UL);
1495  __NVIC_SetPriority (SysTick_IRQn, (1UL << 2U) - 1UL);
1496  ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->VAL = 0UL;
1497  ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->CTRL = (1UL << 2U) |
1498                   (1UL << 1U) |
1499                   (1UL );
1500  return (0UL);
1501}
[26]1502# 112 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2
1503# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" 1
1504# 56 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h"
[6]1505extern uint32_t SystemCoreClock;
1506
1507extern const uint32_t AHBPrescTable[16];
1508extern const uint32_t APBPrescTable[8];
[26]1509# 85 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h"
[6]1510extern void SystemInit(void);
1511extern void SystemCoreClockUpdate(void);
[26]1512# 113 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2
1513# 122 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h"
[6]1514typedef struct
1515{
1516  volatile uint32_t ISR;
1517  volatile uint32_t IER;
1518  volatile uint32_t CR;
1519  volatile uint32_t CFGR1;
1520  volatile uint32_t CFGR2;
1521  volatile uint32_t SMPR;
1522       uint32_t RESERVED1;
1523       uint32_t RESERVED2;
1524  volatile uint32_t AWD1TR;
1525  volatile uint32_t AWD2TR;
1526  volatile uint32_t CHSELR;
1527  volatile uint32_t AWD3TR;
1528       uint32_t RESERVED3[4];
1529  volatile uint32_t DR;
1530       uint32_t RESERVED4[23];
1531  volatile uint32_t AWD2CR;
1532  volatile uint32_t AWD3CR;
1533       uint32_t RESERVED5[3];
1534  volatile uint32_t CALFACT;
1535} ADC_TypeDef;
1536
1537typedef struct
1538{
1539  volatile uint32_t CCR;
1540} ADC_Common_TypeDef;
[26]1541# 161 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h"
[6]1542typedef struct
1543{
1544  volatile uint32_t DR;
1545  volatile uint32_t IDR;
1546  volatile uint32_t CR;
1547       uint32_t RESERVED1;
1548  volatile uint32_t INIT;
1549  volatile uint32_t POL;
1550} CRC_TypeDef;
1551
1552
1553
1554
1555
1556typedef struct
1557{
1558  volatile uint32_t IDCODE;
1559  volatile uint32_t CR;
1560  volatile uint32_t APBFZ1;
1561  volatile uint32_t APBFZ2;
1562} DBG_TypeDef;
1563
1564
1565
1566
1567typedef struct
1568{
1569  volatile uint32_t CCR;
1570  volatile uint32_t CNDTR;
1571  volatile uint32_t CPAR;
1572  volatile uint32_t CMAR;
1573} DMA_Channel_TypeDef;
1574
1575typedef struct
1576{
1577  volatile uint32_t ISR;
1578  volatile uint32_t IFCR;
1579} DMA_TypeDef;
1580
1581
1582
1583
1584typedef struct
1585{
1586  volatile uint32_t CCR;
1587}DMAMUX_Channel_TypeDef;
1588
1589typedef struct
1590{
1591  volatile uint32_t CSR;
1592  volatile uint32_t CFR;
1593}DMAMUX_ChannelStatus_TypeDef;
1594
1595typedef struct
1596{
1597  volatile uint32_t RGCR;
1598}DMAMUX_RequestGen_TypeDef;
1599
1600typedef struct
1601{
1602  volatile uint32_t RGSR;
1603  volatile uint32_t RGCFR;
1604}DMAMUX_RequestGenStatus_TypeDef;
1605
1606
1607
1608
1609typedef struct
1610{
1611  volatile uint32_t RTSR1;
1612  volatile uint32_t FTSR1;
1613  volatile uint32_t SWIER1;
1614  volatile uint32_t RPR1;
1615  volatile uint32_t FPR1;
1616       uint32_t RESERVED1[3];
1617       uint32_t RESERVED2[5];
1618       uint32_t RESERVED3[11];
1619  volatile uint32_t EXTICR[4];
1620       uint32_t RESERVED4[4];
1621  volatile uint32_t IMR1;
1622  volatile uint32_t EMR1;
1623} EXTI_TypeDef;
1624
1625
1626
1627
1628typedef struct
1629{
1630  volatile uint32_t ACR;
1631       uint32_t RESERVED1;
1632  volatile uint32_t KEYR;
1633  volatile uint32_t OPTKEYR;
1634  volatile uint32_t SR;
1635  volatile uint32_t CR;
1636  volatile uint32_t ECCR;
1637       uint32_t RESERVED2;
1638  volatile uint32_t OPTR;
1639       uint32_t RESERVED3[2];
1640  volatile uint32_t WRP1AR;
1641  volatile uint32_t WRP1BR;
1642       uint32_t RESERVED4[2];
1643} FLASH_TypeDef;
1644
1645
1646
1647
1648typedef struct
1649{
1650  volatile uint32_t MODER;
1651  volatile uint32_t OTYPER;
1652  volatile uint32_t OSPEEDR;
1653  volatile uint32_t PUPDR;
1654  volatile uint32_t IDR;
1655  volatile uint32_t ODR;
1656  volatile uint32_t BSRR;
1657  volatile uint32_t LCKR;
1658  volatile uint32_t AFR[2];
1659  volatile uint32_t BRR;
1660} GPIO_TypeDef;
1661
1662
1663
1664
1665
1666typedef struct
1667{
1668  volatile uint32_t CR1;
1669  volatile uint32_t CR2;
1670  volatile uint32_t OAR1;
1671  volatile uint32_t OAR2;
1672  volatile uint32_t TIMINGR;
1673  volatile uint32_t TIMEOUTR;
1674  volatile uint32_t ISR;
1675  volatile uint32_t ICR;
1676  volatile uint32_t PECR;
1677  volatile uint32_t RXDR;
1678  volatile uint32_t TXDR;
1679} I2C_TypeDef;
1680
1681
1682
1683
1684typedef struct
1685{
1686  volatile uint32_t KR;
1687  volatile uint32_t PR;
1688  volatile uint32_t RLR;
1689  volatile uint32_t SR;
1690  volatile uint32_t WINR;
1691} IWDG_TypeDef;
1692
1693
1694
1695
1696
1697
1698typedef struct
1699{
1700  volatile uint32_t CR1;
1701       uint32_t RESERVED0;
1702  volatile uint32_t CR3;
1703  volatile uint32_t CR4;
1704  volatile uint32_t SR1;
1705  volatile uint32_t SR2;
1706  volatile uint32_t SCR;
1707       uint32_t RESERVED1;
1708  volatile uint32_t PUCRA;
1709  volatile uint32_t PDCRA;
1710  volatile uint32_t PUCRB;
1711  volatile uint32_t PDCRB;
1712  volatile uint32_t PUCRC;
1713  volatile uint32_t PDCRC;
1714  volatile uint32_t PUCRD;
1715  volatile uint32_t PDCRD;
1716       uint32_t RESERVED2;
1717       uint32_t RESERVED3;
1718  volatile uint32_t PUCRF;
1719  volatile uint32_t PDCRF;
1720} PWR_TypeDef;
1721
1722
1723
1724
1725typedef struct
1726{
1727  volatile uint32_t CR;
1728  volatile uint32_t ICSCR;
1729  volatile uint32_t CFGR;
1730  volatile uint32_t PLLCFGR;
1731  volatile uint32_t RESERVED0;
1732  volatile uint32_t RESERVED1;
1733  volatile uint32_t CIER;
1734  volatile uint32_t CIFR;
1735  volatile uint32_t CICR;
1736  volatile uint32_t IOPRSTR;
1737  volatile uint32_t AHBRSTR;
1738  volatile uint32_t APBRSTR1;
1739  volatile uint32_t APBRSTR2;
1740  volatile uint32_t IOPENR;
1741  volatile uint32_t AHBENR;
1742  volatile uint32_t APBENR1;
1743  volatile uint32_t APBENR2;
1744  volatile uint32_t IOPSMENR;
1745  volatile uint32_t AHBSMENR;
1746  volatile uint32_t APBSMENR1;
1747  volatile uint32_t APBSMENR2;
1748  volatile uint32_t CCIPR;
1749  volatile uint32_t RESERVED2;
1750  volatile uint32_t BDCR;
1751  volatile uint32_t CSR;
1752} RCC_TypeDef;
1753
1754
1755
1756
1757typedef struct
1758{
1759  volatile uint32_t TR;
1760  volatile uint32_t DR;
1761  volatile uint32_t SSR;
1762  volatile uint32_t ICSR;
1763  volatile uint32_t PRER;
1764  volatile uint32_t WUTR;
1765  volatile uint32_t CR;
1766       uint32_t RESERVED0;
1767       uint32_t RESERVED1;
1768  volatile uint32_t WPR;
1769  volatile uint32_t CALR;
1770  volatile uint32_t SHIFTR;
1771  volatile uint32_t TSTR;
1772  volatile uint32_t TSDR;
1773  volatile uint32_t TSSSR;
1774       uint32_t RESERVED2;
1775  volatile uint32_t ALRMAR;
1776  volatile uint32_t ALRMASSR;
1777  volatile uint32_t ALRMBR;
1778  volatile uint32_t ALRMBSSR;
1779  volatile uint32_t SR;
1780  volatile uint32_t MISR;
1781       uint32_t RESERVED3;
1782  volatile uint32_t SCR;
1783  volatile uint32_t OR;
1784} RTC_TypeDef;
1785
1786
1787
1788
1789typedef struct
1790{
1791  volatile uint32_t CR1;
1792  volatile uint32_t CR2;
1793       uint32_t RESERVED0;
1794  volatile uint32_t FLTCR;
1795       uint32_t RESERVED1[7];
1796  volatile uint32_t IER;
1797  volatile uint32_t SR;
1798  volatile uint32_t MISR;
1799       uint32_t RESERVED2;
1800  volatile uint32_t SCR;
1801       uint32_t RESERVED3[48];
1802  volatile uint32_t BKP0R;
1803  volatile uint32_t BKP1R;
1804  volatile uint32_t BKP2R;
1805  volatile uint32_t BKP3R;
1806  volatile uint32_t BKP4R;
1807} TAMP_TypeDef;
1808
1809
1810
1811
1812typedef struct
1813{
1814  volatile uint32_t CR1;
1815  volatile uint32_t CR2;
1816  volatile uint32_t SR;
1817  volatile uint32_t DR;
1818  volatile uint32_t CRCPR;
1819  volatile uint32_t RXCRCR;
1820  volatile uint32_t TXCRCR;
1821  volatile uint32_t I2SCFGR;
1822  volatile uint32_t I2SPR;
1823} SPI_TypeDef;
1824
1825
1826
1827
1828typedef struct
1829{
1830  volatile uint32_t CFGR1;
1831       uint32_t RESERVED0[5];
1832  volatile uint32_t CFGR2;
1833       uint32_t RESERVED1[25];
1834  volatile uint32_t IT_LINE_SR[32];
1835} SYSCFG_TypeDef;
1836
1837
1838
1839
1840typedef struct
1841{
1842  volatile uint32_t CR1;
1843  volatile uint32_t CR2;
1844  volatile uint32_t SMCR;
1845  volatile uint32_t DIER;
1846  volatile uint32_t SR;
1847  volatile uint32_t EGR;
1848  volatile uint32_t CCMR1;
1849  volatile uint32_t CCMR2;
1850  volatile uint32_t CCER;
1851  volatile uint32_t CNT;
1852  volatile uint32_t PSC;
1853  volatile uint32_t ARR;
1854  volatile uint32_t RCR;
1855  volatile uint32_t CCR1;
1856  volatile uint32_t CCR2;
1857  volatile uint32_t CCR3;
1858  volatile uint32_t CCR4;
1859  volatile uint32_t BDTR;
1860  volatile uint32_t DCR;
1861  volatile uint32_t DMAR;
1862  volatile uint32_t OR1;
1863  volatile uint32_t CCMR3;
1864  volatile uint32_t CCR5;
1865  volatile uint32_t CCR6;
1866  volatile uint32_t AF1;
1867  volatile uint32_t AF2;
1868  volatile uint32_t TISEL;
1869} TIM_TypeDef;
1870
1871
1872
1873
1874typedef struct
1875{
1876  volatile uint32_t CR1;
1877  volatile uint32_t CR2;
1878  volatile uint32_t CR3;
1879  volatile uint32_t BRR;
1880  volatile uint32_t GTPR;
1881  volatile uint32_t RTOR;
1882  volatile uint32_t RQR;
1883  volatile uint32_t ISR;
1884  volatile uint32_t ICR;
1885  volatile uint32_t RDR;
1886  volatile uint32_t TDR;
1887  volatile uint32_t PRESC;
1888} USART_TypeDef;
1889
1890
1891
1892
1893
1894typedef struct
1895{
1896  volatile uint32_t CR;
1897  volatile uint32_t CFR;
1898  volatile uint32_t SR;
1899} WWDG_TypeDef;
[26]1900# 120 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2
1901# 143 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h"
[6]1902typedef enum
1903{
1904  RESET = 0,
1905  SET = !RESET
1906} FlagStatus, ITStatus;
1907
1908typedef enum
1909{
1910  DISABLE = 0,
1911  ENABLE = !DISABLE
1912} FunctionalState;
1913
1914
1915typedef enum
1916{
1917  SUCCESS = 0,
1918  ERROR = !SUCCESS
1919} ErrorStatus;
[26]1920# 230 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h"
1921# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1
1922# 231 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2
1923# 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2
1924# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\Legacy/stm32_hal_legacy.h" 1
1925# 31 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2
[6]1926# 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 1 3
1927# 72 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3
1928typedef unsigned int size_t;
1929# 86 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3
1930typedef unsigned int wchar_t;
1931# 97 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3
1932typedef int ptrdiff_t;
1933# 110 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3
1934typedef double max_align_t;
[26]1935# 32 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2
[6]1936
1937
1938
1939
1940
1941
1942typedef enum
1943{
1944  HAL_OK = 0x00U,
1945  HAL_ERROR = 0x01U,
1946  HAL_BUSY = 0x02U,
1947  HAL_TIMEOUT = 0x03U
1948} HAL_StatusTypeDef;
1949
1950
1951
1952
1953typedef enum
1954{
1955  HAL_UNLOCKED = 0x00U,
1956  HAL_LOCKED = 0x01U
1957} HAL_LockTypeDef;
[26]1958# 28 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2
1959# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" 1
1960# 1248 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]1961static inline void LL_RCC_HSE_EnableCSS(void)
1962{
1963  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (19U))));
1964}
1965
1966
1967
1968
1969
1970
1971static inline void LL_RCC_HSE_EnableBypass(void)
1972{
1973  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (18U))));
1974}
1975
1976
1977
1978
1979
1980
1981static inline void LL_RCC_HSE_DisableBypass(void)
1982{
1983  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (18U))));
1984}
1985
1986
1987
1988
1989
1990
1991static inline void LL_RCC_HSE_Enable(void)
1992{
1993  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (16U))));
1994}
1995
1996
1997
1998
1999
2000
2001static inline void LL_RCC_HSE_Disable(void)
2002{
2003  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (16U))));
2004}
2005
2006
2007
2008
2009
2010
2011static inline uint32_t LL_RCC_HSE_IsReady(void)
2012{
2013  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL);
2014}
[26]2015# 1317 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2016static inline void LL_RCC_HSI_EnableInStopMode(void)
2017{
2018  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (9U))));
2019}
2020
2021
2022
2023
2024
2025
2026static inline void LL_RCC_HSI_DisableInStopMode(void)
2027{
2028  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (9U))));
2029}
2030
2031
2032
2033
2034
2035
2036static inline uint32_t LL_RCC_HSI_IsEnabledInStopMode(void)
2037{
2038  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL);
2039}
2040
2041
2042
2043
2044
2045
2046static inline void LL_RCC_HSI_Enable(void)
2047{
2048  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (8U))));
2049}
2050
2051
2052
2053
2054
2055
2056static inline void LL_RCC_HSI_Disable(void)
2057{
2058  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (8U))));
2059}
2060
2061
2062
2063
2064
2065
2066static inline uint32_t LL_RCC_HSI_IsReady(void)
2067{
2068  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL);
2069}
[26]2070# 1379 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2071static inline uint32_t LL_RCC_HSI_GetCalibration(void)
2072{
2073  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0xFFUL << (0U)))) >> (0U));
2074}
[26]2075# 1393 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2076static inline void LL_RCC_HSI_SetCalibTrimming(uint32_t Value)
2077{
2078  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR))) & (~((0x7FUL << (8U))))) | (Value << (8U)))));
2079}
2080
2081
2082
2083
2084
2085
2086static inline uint32_t LL_RCC_HSI_GetCalibTrimming(void)
2087{
2088  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0x7FUL << (8U)))) >> (8U));
2089}
[26]2090# 1471 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2091static inline void LL_RCC_LSE_Enable(void)
2092{
2093  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (0U))));
2094}
2095
2096
2097
2098
2099
2100
2101static inline void LL_RCC_LSE_Disable(void)
2102{
2103  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (0U))));
2104}
2105
2106
2107
2108
2109
2110
2111static inline void LL_RCC_LSE_EnableBypass(void)
2112{
2113  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (2U))));
2114}
2115
2116
2117
2118
2119
2120
2121static inline void LL_RCC_LSE_DisableBypass(void)
2122{
2123  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (2U))));
2124}
[26]2125# 1517 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2126static inline void LL_RCC_LSE_SetDriveCapability(uint32_t LSEDrive)
2127{
2128  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (3U))))) | (LSEDrive))));
2129}
[26]2130# 1531 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2131static inline uint32_t LL_RCC_LSE_GetDriveCapability(void)
2132{
2133  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (3U)))));
2134}
2135
2136
2137
2138
2139
2140
2141static inline void LL_RCC_LSE_EnableCSS(void)
2142{
2143  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (5U))));
2144}
[26]2145# 1553 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2146static inline void LL_RCC_LSE_DisableCSS(void)
2147{
2148  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (5U))));
2149}
2150
2151
2152
2153
2154
2155
2156static inline uint32_t LL_RCC_LSE_IsReady(void)
2157{
2158  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
2159}
2160
2161
2162
2163
2164
2165
2166static inline uint32_t LL_RCC_LSE_IsCSSDetected(void)
2167{
2168  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL);
2169}
[26]2170# 1591 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2171static inline void LL_RCC_LSI_Enable(void)
2172{
2173  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (0U))));
2174}
2175
2176
2177
2178
2179
2180
2181static inline void LL_RCC_LSI_Disable(void)
2182{
2183  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) &= ~((0x1UL << (0U))));
2184}
2185
2186
2187
2188
2189
2190
2191static inline uint32_t LL_RCC_LSI_IsReady(void)
2192{
2193  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
2194}
[26]2195# 1629 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2196static inline void LL_RCC_LSCO_Enable(void)
2197{
2198  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (24U))));
2199}
2200
2201
2202
2203
2204
2205
2206static inline void LL_RCC_LSCO_Disable(void)
2207{
2208  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (24U))));
2209}
[26]2210# 1652 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2211static inline void LL_RCC_LSCO_SetSource(uint32_t Source)
2212{
2213  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x1UL << (25U))))) | (Source))));
2214}
[26]2215# 1664 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2216static inline uint32_t LL_RCC_LSCO_GetSource(void)
2217{
2218  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (25U)))));
2219}
[26]2220# 1688 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2221static inline void LL_RCC_SetSysClkSource(uint32_t Source)
2222{
2223  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (0U))))) | (Source))));
2224}
[26]2225# 1703 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2226static inline uint32_t LL_RCC_GetSysClkSource(void)
2227{
2228  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (3U)))));
2229}
[26]2230# 1723 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2231static inline void LL_RCC_SetAHBPrescaler(uint32_t Prescaler)
2232{
2233  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0xFUL << (8U))))) | (Prescaler))));
2234}
[26]2235# 1739 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2236static inline void LL_RCC_SetAPB1Prescaler(uint32_t Prescaler)
2237{
2238  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (12U))))) | (Prescaler))));
2239}
[26]2240# 1760 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2241static inline void LL_RCC_SetHSIDiv(uint32_t HSIDiv)
2242{
2243  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR))) & (~((0x7UL << (11U))))) | (HSIDiv))));
2244}
[26]2245# 1778 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2246static inline uint32_t LL_RCC_GetAHBPrescaler(void)
2247{
2248  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0xFUL << (8U)))));
2249}
[26]2250# 1793 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2251static inline uint32_t LL_RCC_GetAPB1Prescaler(void)
2252{
2253  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (12U)))));
2254}
[26]2255# 1813 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2256static inline uint32_t LL_RCC_GetHSIDiv(void)
2257{
2258  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x7UL << (11U)))));
2259}
[26]2260# 1854 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2261static inline void LL_RCC_ConfigMCO(uint32_t MCOxSource, uint32_t MCOxPrescaler)
2262{
2263  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (24U)) | (0x7UL << (28U))))) | (MCOxSource | MCOxPrescaler))));
2264}
[26]2265# 1935 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2266static inline void LL_RCC_SetUSARTClockSource(uint32_t USARTxSource)
2267{
2268  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((USARTxSource >> 16U)))) | ((USARTxSource & 0x0000FFFFU)))));
2269}
[26]2270# 1976 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2271static inline void LL_RCC_SetI2CClockSource(uint32_t I2CxSource)
2272{
2273  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((I2CxSource >> 16U)))) | ((I2CxSource & 0x0000FFFFU)))));
2274}
[26]2275# 2113 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2276static inline void LL_RCC_SetADCClockSource(uint32_t ADCxSource)
2277{
2278  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (30U))))) | (ADCxSource))));
2279}
[26]2280# 2149 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2281static inline void LL_RCC_SetI2SClockSource(uint32_t I2SxSource)
2282{
2283  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (14U))))) | (I2SxSource))));
2284}
[26]2285# 2177 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2286static inline uint32_t LL_RCC_GetUSARTClockSource(uint32_t USARTx)
2287{
2288  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (USARTx)) | (USARTx << 16U));
2289}
[26]2290# 2222 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2291static inline uint32_t LL_RCC_GetI2CClockSource(uint32_t I2Cx)
2292{
2293  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Cx)) | (I2Cx << 16U));
2294}
[26]2295# 2364 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2296static inline uint32_t LL_RCC_GetADCClockSource(uint32_t ADCx)
2297{
2298  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (ADCx)));
2299}
[26]2300# 2403 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2301static inline uint32_t LL_RCC_GetI2SClockSource(uint32_t I2Sx)
2302{
2303  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Sx)));
2304}
[26]2305# 2429 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2306static inline void LL_RCC_SetRTCClockSource(uint32_t Source)
2307{
2308  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (8U))))) | (Source))));
2309}
[26]2310# 2443 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2311static inline uint32_t LL_RCC_GetRTCClockSource(void)
2312{
2313  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (8U)))));
2314}
2315
2316
2317
2318
2319
2320
2321static inline void LL_RCC_EnableRTC(void)
2322{
2323  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (15U))));
2324}
2325
2326
2327
2328
2329
2330
2331static inline void LL_RCC_DisableRTC(void)
2332{
2333  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (15U))));
2334}
2335
2336
2337
2338
2339
2340
2341static inline uint32_t LL_RCC_IsEnabledRTC(void)
2342{
2343  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL);
2344}
2345
2346
2347
2348
2349
2350
2351static inline void LL_RCC_ForceBackupDomainReset(void)
2352{
2353  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (16U))));
2354}
2355
2356
2357
2358
2359
2360
2361static inline void LL_RCC_ReleaseBackupDomainReset(void)
2362{
2363  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (16U))));
2364}
[26]2365# 2512 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2366static inline void LL_RCC_PLL_Enable(void)
2367{
2368  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (24U))));
2369}
2370
2371
2372
2373
2374
2375
2376
2377static inline void LL_RCC_PLL_Disable(void)
2378{
2379  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (24U))));
2380}
2381
2382
2383
2384
2385
2386
2387static inline uint32_t LL_RCC_PLL_IsReady(void)
2388{
2389  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL);
2390}
[26]2391# 2570 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2392static inline void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR)
2393{
2394  (((((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))));
2395
2396}
[26]2397# 2635 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2398static inline void LL_RCC_PLL_ConfigDomain_ADC(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP)
2399{
2400  (((((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))));
2401
2402}
[26]2403# 2700 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2404static inline void LL_RCC_PLL_ConfigDomain_I2S1(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP)
2405{
2406  (((((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))));
2407
2408}
[26]2409# 2993 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2410static inline uint32_t LL_RCC_PLL_GetN(void)
2411{
2412  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7FUL << (8U)))) >> (8U));
2413}
[26]2414# 3035 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2415static inline uint32_t LL_RCC_PLL_GetP(void)
2416{
2417  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1FUL << (17U)))));
2418}
[26]2419# 3073 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2420static inline uint32_t LL_RCC_PLL_GetR(void)
2421{
2422  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (29U)))));
2423}
[26]2424# 3086 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2425static inline void LL_RCC_PLL_SetMainSource(uint32_t PLLSource)
2426{
2427  (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U))))) | (PLLSource))));
2428}
[26]2429# 3099 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2430static inline uint32_t LL_RCC_PLL_GetMainSource(void)
2431{
2432  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x3UL << (0U)))));
2433}
[26]2434# 3117 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2435static inline uint32_t LL_RCC_PLL_GetDivider(void)
2436{
2437  return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (4U)))));
2438}
[26]2439# 3129 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2440static inline void LL_RCC_PLL_EnableDomain_ADC(void)
2441{
2442  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U))));
2443}
[26]2444# 3144 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2445static inline void LL_RCC_PLL_DisableDomain_ADC(void)
2446{
2447  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U))));
2448}
2449
2450
2451
2452
2453
2454
2455static inline uint32_t LL_RCC_PLL_IsEnabledDomain_ADC(void)
2456{
2457  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL);
2458}
[26]2459# 3166 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2460static inline void LL_RCC_PLL_EnableDomain_I2S1(void)
2461{
2462  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U))));
2463}
[26]2464# 3195 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2465static inline void LL_RCC_PLL_DisableDomain_I2S1(void)
2466{
2467  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U))));
2468}
2469
2470
2471
2472
2473
2474
2475static inline uint32_t LL_RCC_PLL_IsEnabledDomain_I2S1(void)
2476{
2477  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL);
2478}
[26]2479# 3437 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2480static inline void LL_RCC_PLL_EnableDomain_SYS(void)
2481{
2482  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (28U))));
2483}
[26]2484# 3450 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2485static inline void LL_RCC_PLL_DisableDomain_SYS(void)
2486{
2487  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (28U))));
2488}
2489
2490
2491
2492
2493
2494
2495static inline uint32_t LL_RCC_PLL_IsEnabledDomain_SYS(void)
2496{
2497  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL);
2498}
[26]2499# 3480 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2500static inline void LL_RCC_ClearFlag_LSIRDY(void)
2501{
2502  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (0U))));
2503}
2504
2505
2506
2507
2508
2509
2510static inline void LL_RCC_ClearFlag_LSERDY(void)
2511{
2512  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (1U))));
2513}
2514
2515
2516
2517
2518
2519
2520static inline void LL_RCC_ClearFlag_HSIRDY(void)
2521{
2522  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (3U))));
2523}
2524
2525
2526
2527
2528
2529
2530static inline void LL_RCC_ClearFlag_HSERDY(void)
2531{
2532  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (4U))));
2533}
2534
2535
2536
2537
2538
2539
2540static inline void LL_RCC_ClearFlag_PLLRDY(void)
2541{
2542  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (5U))));
2543}
[26]2544# 3541 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2545static inline void LL_RCC_ClearFlag_HSECSS(void)
2546{
2547  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (8U))));
2548}
2549
2550
2551
2552
2553
2554
2555static inline void LL_RCC_ClearFlag_LSECSS(void)
2556{
2557  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (9U))));
2558}
2559
2560
2561
2562
2563
2564
2565static inline uint32_t LL_RCC_IsActiveFlag_LSIRDY(void)
2566{
2567  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
2568}
2569
2570
2571
2572
2573
2574
2575static inline uint32_t LL_RCC_IsActiveFlag_LSERDY(void)
2576{
2577  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
2578}
2579
2580
2581
2582
2583
2584
2585static inline uint32_t LL_RCC_IsActiveFlag_HSIRDY(void)
2586{
2587  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
2588}
2589
2590
2591
2592
2593
2594
2595static inline uint32_t LL_RCC_IsActiveFlag_HSERDY(void)
2596{
2597  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL);
2598}
2599
2600
2601
2602
2603
2604
2605static inline uint32_t LL_RCC_IsActiveFlag_PLLRDY(void)
2606{
2607  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL);
2608}
[26]2609# 3623 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2610static inline uint32_t LL_RCC_IsActiveFlag_HSECSS(void)
2611{
2612  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL);
2613}
2614
2615
2616
2617
2618
2619
2620static inline uint32_t LL_RCC_IsActiveFlag_LSECSS(void)
2621{
2622  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL);
2623}
2624
2625
2626
2627
2628
2629
2630static inline uint32_t LL_RCC_IsActiveFlag_IWDGRST(void)
2631{
2632  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (29U)))) == ((0x1UL << (29U)))) ? 1UL : 0UL);
2633}
2634
2635
2636
2637
2638
2639
2640static inline uint32_t LL_RCC_IsActiveFlag_LPWRRST(void)
2641{
2642  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL);
2643}
2644
2645
2646
2647
2648
2649
2650static inline uint32_t LL_RCC_IsActiveFlag_OBLRST(void)
2651{
2652  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL);
2653}
2654
2655
2656
2657
2658
2659
2660static inline uint32_t LL_RCC_IsActiveFlag_PINRST(void)
2661{
2662  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL);
2663}
2664
2665
2666
2667
2668
2669
2670static inline uint32_t LL_RCC_IsActiveFlag_SFTRST(void)
2671{
2672  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL);
2673}
2674
2675
2676
2677
2678
2679
2680static inline uint32_t LL_RCC_IsActiveFlag_WWDGRST(void)
2681{
2682  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (30U)))) == ((0x1UL << (30U)))) ? 1UL : 0UL);
2683}
2684
2685
2686
2687
2688
2689
2690static inline uint32_t LL_RCC_IsActiveFlag_PWRRST(void)
2691{
2692  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL);
2693}
2694
2695
2696
2697
2698
2699
2700static inline void LL_RCC_ClearResetFlags(void)
2701{
2702  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (23U))));
2703}
[26]2704# 3731 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2705static inline void LL_RCC_EnableIT_LSIRDY(void)
2706{
2707  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (0U))));
2708}
2709
2710
2711
2712
2713
2714
2715static inline void LL_RCC_EnableIT_LSERDY(void)
2716{
2717  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (1U))));
2718}
2719
2720
2721
2722
2723
2724
2725static inline void LL_RCC_EnableIT_HSIRDY(void)
2726{
2727  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (3U))));
2728}
2729
2730
2731
2732
2733
2734
2735static inline void LL_RCC_EnableIT_HSERDY(void)
2736{
2737  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (4U))));
2738}
2739
2740
2741
2742
2743
2744
2745static inline void LL_RCC_EnableIT_PLLRDY(void)
2746{
2747  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (5U))));
2748}
[26]2749# 3793 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2750static inline void LL_RCC_DisableIT_LSIRDY(void)
2751{
2752  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (0U))));
2753}
2754
2755
2756
2757
2758
2759
2760static inline void LL_RCC_DisableIT_LSERDY(void)
2761{
2762  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (1U))));
2763}
2764
2765
2766
2767
2768
2769
2770static inline void LL_RCC_DisableIT_HSIRDY(void)
2771{
2772  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (3U))));
2773}
2774
2775
2776
2777
2778
2779
2780static inline void LL_RCC_DisableIT_HSERDY(void)
2781{
2782  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (4U))));
2783}
2784
2785
2786
2787
2788
2789
2790static inline void LL_RCC_DisableIT_PLLRDY(void)
2791{
2792  ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (5U))));
2793}
[26]2794# 3855 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2795static inline uint32_t LL_RCC_IsEnabledIT_LSIRDY(void)
2796{
2797  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
2798}
2799
2800
2801
2802
2803
2804
2805static inline uint32_t LL_RCC_IsEnabledIT_LSERDY(void)
2806{
2807  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
2808}
2809
2810
2811
2812
2813
2814
2815static inline uint32_t LL_RCC_IsEnabledIT_HSIRDY(void)
2816{
2817  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
2818}
[26]2819# 3897 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h"
[6]2820static inline uint32_t LL_RCC_IsEnabledIT_HSERDY(void)
2821{
2822  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL);
2823}
2824
2825
2826
2827
2828
2829
2830static inline uint32_t LL_RCC_IsEnabledIT_PLLRDY(void)
2831{
2832  return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL);
2833}
[26]2834# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2
2835# 265 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h"
[6]2836typedef struct
2837{
2838  uint32_t PLLState;
2839
2840
2841  uint32_t PLLSource;
2842
2843
2844  uint32_t PLLM;
2845
2846
2847  uint32_t PLLN;
2848
2849
2850  uint32_t PLLP;
[26]2851# 289 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h"
[6]2852  uint32_t PLLR;
2853
2854
2855
2856} RCC_PLLInitTypeDef;
2857
2858
2859
2860
2861typedef struct
2862{
2863  uint32_t OscillatorType;
2864
2865
2866  uint32_t HSEState;
2867
2868
2869  uint32_t LSEState;
2870
2871
2872  uint32_t HSIState;
2873
2874
2875  uint32_t HSIDiv;
2876
2877
2878  uint32_t HSICalibrationValue;
2879
2880
2881  uint32_t LSIState;
[26]2882# 327 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h"
[6]2883  RCC_PLLInitTypeDef PLL;
2884
2885} RCC_OscInitTypeDef;
2886
2887
2888
2889
2890typedef struct
2891{
2892  uint32_t ClockType;
2893
2894
2895  uint32_t SYSCLKSource;
2896
2897
2898  uint32_t AHBCLKDivider;
2899
2900
2901  uint32_t APB1CLKDivider;
2902
2903
2904
2905} RCC_ClkInitTypeDef;
[26]2906# 3106 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h"
2907# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" 1
2908# 46 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h"
[6]2909typedef struct
2910{
2911  uint32_t PeriphClockSelection;
2912
2913
2914  uint32_t Usart1ClockSelection;
2915
2916
2917  uint32_t Usart2ClockSelection;
[26]2918# 73 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h"
[6]2919  uint32_t I2c1ClockSelection;
2920
2921
2922
2923
2924
2925
2926
2927  uint32_t I2s1ClockSelection;
[26]2928# 99 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h"
[6]2929  uint32_t AdcClockSelection;
[26]2930# 113 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h"
[6]2931  uint32_t RTCClockSelection;
[26]2932# 123 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h"
[6]2933} RCC_PeriphCLKInitTypeDef;
[26]2934# 1193 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h"
[6]2935HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);
2936void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit);
2937uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk);
[26]2938# 1205 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h"
[6]2939void HAL_RCCEx_EnableLSCO(uint32_t LSCOSource);
2940void HAL_RCCEx_DisableLSCO(void);
[26]2941# 3107 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2
2942# 3119 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h"
[6]2943HAL_StatusTypeDef HAL_RCC_DeInit(void);
2944HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
2945HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency);
[26]2946# 3132 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h"
[6]2947void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv);
2948void HAL_RCC_EnableCSS(void);
2949void HAL_RCC_EnableLSECSS(void);
2950void HAL_RCC_DisableLSECSS(void);
2951uint32_t HAL_RCC_GetSysClockFreq(void);
2952uint32_t HAL_RCC_GetHCLKFreq(void);
2953uint32_t HAL_RCC_GetPCLK1Freq(void);
2954void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct);
2955void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency);
2956uint32_t HAL_RCC_GetResetSource(void);
2957
2958void HAL_RCC_NMI_IRQHandler(void);
2959
2960void HAL_RCC_CSSCallback(void);
2961void HAL_RCC_LSECSSCallback(void);
[26]2962# 196 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]2963
2964
2965
[26]2966# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 1
2967# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h"
[6]2968typedef struct
2969{
2970  uint32_t Pin;
2971
2972
2973  uint32_t Mode;
2974
2975
2976  uint32_t Pull;
2977
2978
2979  uint32_t Speed;
2980
2981
2982  uint32_t Alternate;
2983
2984} GPIO_InitTypeDef;
2985
2986
2987
2988
2989typedef enum
2990{
2991  GPIO_PIN_RESET = 0U,
2992  GPIO_PIN_SET
2993} GPIO_PinState;
[26]2994# 306 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h"
2995# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio_ex.h" 1
2996# 307 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 2
2997# 320 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h"
[6]2998void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init);
2999void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin);
[26]3000# 333 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h"
[6]3001GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin);
3002void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState);
3003void HAL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin);
3004HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin);
3005void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin);
3006void HAL_GPIO_EXTI_Rising_Callback(uint16_t GPIO_Pin);
3007void HAL_GPIO_EXTI_Falling_Callback(uint16_t GPIO_Pin);
[26]3008# 200 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]3009
3010
3011
[26]3012# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 1
3013# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h"
3014# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 1
3015# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
3016# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" 1
3017# 524 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3018static inline void LL_DMAMUX_SetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Request)
3019{
3020  (void)(DMAMUXx);
3021  ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3FUL << (0U))))) | (Request))));
3022}
[26]3023# 615 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3024static inline uint32_t LL_DMAMUX_GetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3025{
3026  (void)(DMAMUXx);
3027  return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3FUL << (0U)))));
3028}
[26]3029# 645 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3030static inline void LL_DMAMUX_SetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t RequestNb)
3031{
3032  (void)(DMAMUXx);
3033  ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (19U))))) | (((RequestNb - 1U) << (19U))))));
3034}
[26]3035# 674 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3036static inline uint32_t LL_DMAMUX_GetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3037{
3038  (void)(DMAMUXx);
3039  return (uint32_t)((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (19U))))) >> (19U)) + 1U);
3040}
[26]3041# 708 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3042static inline void LL_DMAMUX_SetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Polarity)
3043{
3044  (void)(DMAMUXx);
3045  ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3UL << (17U))))) | (Polarity))));
3046}
[26]3047# 741 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3048static inline uint32_t LL_DMAMUX_GetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3049{
3050  (void)(DMAMUXx);
3051  return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3UL << (17U)))));
3052}
[26]3053# 770 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3054static inline void LL_DMAMUX_EnableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3055{
3056  (void)(DMAMUXx);
3057  (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (9U))));
3058}
[26]3059# 799 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3060static inline void LL_DMAMUX_DisableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3061{
3062  (void)(DMAMUXx);
3063  (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (9U))));
3064}
[26]3065# 828 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3066static inline uint32_t LL_DMAMUX_IsEnabledEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3067{
3068  (void)(DMAMUXx);
3069  return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL);
3070}
[26]3071# 857 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3072static inline void LL_DMAMUX_EnableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3073{
3074  (void)(DMAMUXx);
3075  (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (16U))));
3076}
[26]3077# 886 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3078static inline void LL_DMAMUX_DisableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3079{
3080  (void)(DMAMUXx);
3081  (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (16U))));
3082}
[26]3083# 915 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3084static inline uint32_t LL_DMAMUX_IsEnabledSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3085{
3086  (void)(DMAMUXx);
3087  return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL);
3088}
[26]3089# 968 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3090static inline void LL_DMAMUX_SetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t SyncID)
3091{
3092  (void)(DMAMUXx);
3093  ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (24U))))) | (SyncID))));
3094}
[26]3095# 1020 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3096static inline uint32_t LL_DMAMUX_GetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3097{
3098  (void)(DMAMUXx);
3099  return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (24U)))));
3100}
[26]3101# 1037 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3102static inline void LL_DMAMUX_EnableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3103{
3104  (void)(DMAMUXx);
3105  ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) |= ((0x1UL << (16U))));
3106
3107}
[26]3108# 1055 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3109static inline void LL_DMAMUX_DisableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3110{
3111  (void)(DMAMUXx);
3112  ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) &= ~((0x1UL << (16U))));
3113
3114}
[26]3115# 1073 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3116static inline uint32_t LL_DMAMUX_IsEnabledRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3117{
3118  (void)(DMAMUXx);
3119  return ((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL);
3120
3121}
[26]3122# 1096 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3123static inline void LL_DMAMUX_SetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel,
3124                                                     uint32_t Polarity)
3125{
3126  (void)(DMAMUXx);
3127  (((((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))));
3128
3129}
[26]3130# 1119 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3131static inline uint32_t LL_DMAMUX_GetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3132{
3133  (void)(DMAMUXx);
3134  return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x3UL << (17U)))));
3135
3136}
[26]3137# 1139 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3138static inline void LL_DMAMUX_SetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel,
3139                                               uint32_t RequestNb)
3140{
3141  (void)(DMAMUXx);
3142  (((((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)))));
3143
3144}
[26]3145# 1158 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3146static inline uint32_t LL_DMAMUX_GetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3147{
3148  (void)(DMAMUXx);
3149  return (uint32_t)((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (19U)))) >> (19U)) + 1U);
3150
3151}
[26]3152# 1200 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3153static inline void LL_DMAMUX_SetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel,
3154                                                  uint32_t RequestSignalID)
3155{
3156  (void)(DMAMUXx);
3157  (((((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))));
3158
3159}
[26]3160# 1242 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3161static inline uint32_t LL_DMAMUX_GetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3162{
3163  (void)(DMAMUXx);
3164  return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (0U)))));
3165
3166}
[26]3167# 1263 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3168static inline uint32_t LL_DMAMUX_IsActiveFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx)
3169{
3170  (void)(DMAMUXx);
3171  return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
3172}
3173
3174
3175
3176
3177
3178
3179
3180static inline uint32_t LL_DMAMUX_IsActiveFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx)
3181{
3182  (void)(DMAMUXx);
3183  return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
3184}
3185
3186
3187
3188
3189
3190
3191
3192static inline uint32_t LL_DMAMUX_IsActiveFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx)
3193{
3194  (void)(DMAMUXx);
3195  return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL);
3196}
3197
3198
3199
3200
3201
3202
3203
3204static inline uint32_t LL_DMAMUX_IsActiveFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx)
3205{
3206  (void)(DMAMUXx);
3207  return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
3208}
3209
3210
3211
3212
3213
3214
3215
3216static inline uint32_t LL_DMAMUX_IsActiveFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx)
3217{
3218  (void)(DMAMUXx);
3219  return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL);
3220}
[26]3221# 1324 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3222static inline uint32_t LL_DMAMUX_IsActiveFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx)
3223{
3224  (void)(DMAMUXx);
3225  return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL);
3226}
[26]3227# 1338 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3228static inline uint32_t LL_DMAMUX_IsActiveFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx)
3229{
3230  (void)(DMAMUXx);
3231  return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL);
3232}
[26]3233# 1421 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3234static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx)
3235{
3236  (void)(DMAMUXx);
3237  return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
3238}
3239
3240
3241
3242
3243
3244
3245
3246static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx)
3247{
3248  (void)(DMAMUXx);
3249  return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
3250}
3251
3252
3253
3254
3255
3256
3257
3258static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx)
3259{
3260  (void)(DMAMUXx);
3261  return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL);
3262}
3263
3264
3265
3266
3267
3268
3269
3270static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx)
3271{
3272  (void)(DMAMUXx);
3273  return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
3274}
3275
3276
3277
3278
3279
3280
3281
3282static inline void LL_DMAMUX_ClearFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx)
3283{
3284  (void)(DMAMUXx);
3285  ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (0U))));
3286}
3287
3288
3289
3290
3291
3292
3293
3294static inline void LL_DMAMUX_ClearFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx)
3295{
3296  (void)(DMAMUXx);
3297  ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (1U))));
3298}
3299
3300
3301
3302
3303
3304
3305
3306static inline void LL_DMAMUX_ClearFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx)
3307{
3308  (void)(DMAMUXx);
3309  ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (2U))));
3310}
3311
3312
3313
3314
3315
3316
3317
3318static inline void LL_DMAMUX_ClearFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx)
3319{
3320  (void)(DMAMUXx);
3321  ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (3U))));
3322}
3323
3324
3325
3326
3327
3328
3329
3330static inline void LL_DMAMUX_ClearFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx)
3331{
3332  (void)(DMAMUXx);
3333  ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (4U))));
3334}
[26]3335# 1530 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3336static inline void LL_DMAMUX_ClearFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx)
3337{
3338  (void)(DMAMUXx);
3339  ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (5U))));
3340}
[26]3341# 1544 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3342static inline void LL_DMAMUX_ClearFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx)
3343{
3344  (void)(DMAMUXx);
3345  ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (6U))));
3346}
[26]3347# 1627 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3348static inline void LL_DMAMUX_ClearFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx)
3349{
3350  (void)(DMAMUXx);
3351  ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (0U))));
3352}
3353
3354
3355
3356
3357
3358
3359
3360static inline void LL_DMAMUX_ClearFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx)
3361{
3362  (void)(DMAMUXx);
3363  ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (1U))));
3364}
3365
3366
3367
3368
3369
3370
3371
3372static inline void LL_DMAMUX_ClearFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx)
3373{
3374  (void)(DMAMUXx);
3375  ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (2U))));
3376}
3377
3378
3379
3380
3381
3382
3383
3384static inline void LL_DMAMUX_ClearFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx)
3385{
3386  (void)(DMAMUXx);
3387  ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (3U))));
3388}
[26]3389# 1700 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3390static inline void LL_DMAMUX_EnableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3391{
3392  (void)(DMAMUXx);
3393  (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (8U))));
3394}
[26]3395# 1729 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3396static inline void LL_DMAMUX_DisableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3397{
3398  (void)(DMAMUXx);
3399  (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (8U))));
3400}
[26]3401# 1758 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3402static inline uint32_t LL_DMAMUX_IsEnabledIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel)
3403{
3404  (void)(DMAMUXx);
3405  return ((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (8U))))) == ((0x1UL << (8U)))) ? 1UL : 0UL);
3406}
[26]3407# 1775 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3408static inline void LL_DMAMUX_EnableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3409{
3410  (void)(DMAMUXx);
3411  (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) |= ((0x1UL << (8U))));
3412}
[26]3413# 1792 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3414static inline void LL_DMAMUX_DisableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3415{
3416  (void)(DMAMUXx);
3417  (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) &= ~((0x1UL << (8U))));
3418}
[26]3419# 1809 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h"
[6]3420static inline uint32_t LL_DMAMUX_IsEnabledIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel)
3421{
3422  (void)(DMAMUXx);
3423  return (((((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL);
3424}
[26]3425# 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 2
3426# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3427static const uint8_t CHANNEL_OFFSET_TAB[] =
3428{
3429  (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000008UL) - (((0x40000000UL) + 0x00020000UL))),
3430  (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000001CUL) - (((0x40000000UL) + 0x00020000UL))),
3431  (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000030UL) - (((0x40000000UL) + 0x00020000UL))),
3432  (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000044UL) - (((0x40000000UL) + 0x00020000UL))),
3433  (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000058UL) - (((0x40000000UL) + 0x00020000UL))),
3434
3435  (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000006CUL) - (((0x40000000UL) + 0x00020000UL))),
3436
3437
3438  (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000080UL) - (((0x40000000UL) + 0x00020000UL))),
3439
3440};
[26]3441# 500 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3442static inline void LL_DMA_EnableChannel(const DMA_TypeDef *DMAx, uint32_t Channel)
3443{
3444  uint32_t dma_base_addr = (uint32_t)DMAx;
3445  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (0U))));
3446}
[26]3447# 520 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3448static inline void LL_DMA_DisableChannel(const DMA_TypeDef *DMAx, uint32_t Channel)
3449{
3450  uint32_t dma_base_addr = (uint32_t)DMAx;
3451  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (0U))));
3452}
[26]3453# 540 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3454static inline uint32_t LL_DMA_IsEnabledChannel(const DMA_TypeDef *DMAx, uint32_t Channel)
3455{
3456  uint32_t dma_base_addr = (uint32_t)DMAx;
3457  return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
3458
3459}
[26]3460# 576 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3461static inline void LL_DMA_ConfigTransfer(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configuration)
3462{
3463  uint32_t dma_base_addr = (uint32_t)DMAx;
3464  (((((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))));
3465
3466
3467}
[26]3468# 603 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3469static inline void LL_DMA_SetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Direction)
3470{
3471  uint32_t dma_base_addr = (uint32_t)DMAx;
3472  (((((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))));
3473
3474}
[26]3475# 628 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3476static inline uint32_t LL_DMA_GetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel)
3477{
3478  uint32_t dma_base_addr = (uint32_t)DMAx;
3479  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (4U)) | (0x1UL << (14U)))));
3480
3481}
[26]3482# 654 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3483static inline void LL_DMA_SetMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Mode)
3484{
3485  uint32_t dma_base_addr = (uint32_t)DMAx;
3486  (((((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))));
3487
3488}
[26]3489# 677 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3490static inline uint32_t LL_DMA_GetMode(const DMA_TypeDef *DMAx, uint32_t Channel)
3491{
3492  uint32_t dma_base_addr = (uint32_t)DMAx;
3493  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (5U)))));
3494
3495}
[26]3496# 701 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3497static inline void LL_DMA_SetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcIncMode)
3498{
3499  uint32_t dma_base_addr = (uint32_t)DMAx;
3500  (((((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))));
3501
3502}
[26]3503# 724 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3504static inline uint32_t LL_DMA_GetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel)
3505{
3506  uint32_t dma_base_addr = (uint32_t)DMAx;
3507  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (6U)))));
3508
3509}
[26]3510# 748 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3511static inline void LL_DMA_SetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstIncMode)
3512{
3513  uint32_t dma_base_addr = (uint32_t)DMAx;
3514  (((((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))));
3515
3516}
[26]3517# 771 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3518static inline uint32_t LL_DMA_GetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel)
3519{
3520  uint32_t dma_base_addr = (uint32_t)DMAx;
3521  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (7U)))));
3522
3523}
[26]3524# 796 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3525static inline void LL_DMA_SetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcDataSize)
3526{
3527  uint32_t dma_base_addr = (uint32_t)DMAx;
3528  (((((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))));
3529
3530}
[26]3531# 820 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3532static inline uint32_t LL_DMA_GetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel)
3533{
3534  uint32_t dma_base_addr = (uint32_t)DMAx;
3535  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (8U)))));
3536
3537}
[26]3538# 845 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3539static inline void LL_DMA_SetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstDataSize)
3540{
3541  uint32_t dma_base_addr = (uint32_t)DMAx;
3542  (((((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))));
3543
3544}
[26]3545# 869 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3546static inline uint32_t LL_DMA_GetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel)
3547{
3548  uint32_t dma_base_addr = (uint32_t)DMAx;
3549  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (10U)))));
3550
3551}
[26]3552# 895 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3553static inline void LL_DMA_SetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Priority)
3554{
3555  uint32_t dma_base_addr = (uint32_t)DMAx;
3556  (((((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))));
3557
3558}
[26]3559# 920 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3560static inline uint32_t LL_DMA_GetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel)
3561{
3562  uint32_t dma_base_addr = (uint32_t)DMAx;
3563  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (12U)))));
3564
3565}
[26]3566# 944 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3567static inline void LL_DMA_SetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t NbData)
3568{
3569  uint32_t dma_base_addr = (uint32_t)DMAx;
3570  (((((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))));
3571
3572}
[26]3573# 967 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3574static inline uint32_t LL_DMA_GetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel)
3575{
3576  uint32_t dma_base_addr = (uint32_t)DMAx;
3577  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR) & ((0xFFFFUL << (0U)))));
3578
3579}
[26]3580# 997 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3581static inline void LL_DMA_ConfigAddresses(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t SrcAddress,
3582                                            uint32_t DstAddress, uint32_t Direction)
3583{
3584  uint32_t dma_base_addr = (uint32_t)DMAx;
3585
3586  if (Direction == (0x1UL << (4U)))
3587  {
3588    ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (SrcAddress));
3589    ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (DstAddress));
3590  }
3591
3592  else
3593  {
3594    ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (SrcAddress));
3595    ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (DstAddress));
3596  }
3597}
[26]3598# 1032 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3599static inline void LL_DMA_SetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress)
3600{
3601  uint32_t dma_base_addr = (uint32_t)DMAx;
3602  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress));
3603}
[26]3604# 1055 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3605static inline void LL_DMA_SetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphAddress)
3606{
3607  uint32_t dma_base_addr = (uint32_t)DMAx;
3608  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (PeriphAddress));
3609}
[26]3610# 1076 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3611static inline uint32_t LL_DMA_GetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel)
3612{
3613  uint32_t dma_base_addr = (uint32_t)DMAx;
3614  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR)));
3615}
[26]3616# 1097 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3617static inline uint32_t LL_DMA_GetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel)
3618{
3619  uint32_t dma_base_addr = (uint32_t)DMAx;
3620  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR)));
3621}
[26]3622# 1120 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3623static inline void LL_DMA_SetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress)
3624{
3625  uint32_t dma_base_addr = (uint32_t)DMAx;
3626  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (MemoryAddress));
3627}
[26]3628# 1143 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3629static inline void LL_DMA_SetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress)
3630{
3631  uint32_t dma_base_addr = (uint32_t)DMAx;
3632  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress));
3633}
[26]3634# 1164 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3635static inline uint32_t LL_DMA_GetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel)
3636{
3637  uint32_t dma_base_addr = (uint32_t)DMAx;
3638  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR)));
3639}
[26]3640# 1185 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3641static inline uint32_t LL_DMA_GetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel)
3642{
3643  uint32_t dma_base_addr = (uint32_t)DMAx;
3644  return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR)));
3645}
[26]3646# 1270 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3647static inline void LL_DMA_SetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Request)
3648{
3649  uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U);
3650  ((((((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))));
3651}
[26]3652# 1354 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3653static inline uint32_t LL_DMA_GetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel)
3654{
3655  uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U);
3656  return ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR) & ((0x3FUL << (0U)))));
3657}
[26]3658# 1374 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3659static inline uint32_t LL_DMA_IsActiveFlag_GI1(const DMA_TypeDef *DMAx)
3660{
3661  return ((((DMAx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
3662}
3663
3664
3665
3666
3667
3668
3669
3670static inline uint32_t LL_DMA_IsActiveFlag_GI2(const DMA_TypeDef *DMAx)
3671{
3672  return ((((DMAx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL);
3673}
3674
3675
3676
3677
3678
3679
3680
3681static inline uint32_t LL_DMA_IsActiveFlag_GI3(const DMA_TypeDef *DMAx)
3682{
3683  return ((((DMAx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL);
3684}
3685
3686
3687
3688
3689
3690
3691
3692static inline uint32_t LL_DMA_IsActiveFlag_GI4(const DMA_TypeDef *DMAx)
3693{
3694  return ((((DMAx->ISR) & ((0x1UL << (12U)))) == ((0x1UL << (12U)))) ? 1UL : 0UL);
3695}
3696
3697
3698
3699
3700
3701
3702
3703static inline uint32_t LL_DMA_IsActiveFlag_GI5(const DMA_TypeDef *DMAx)
3704{
3705  return ((((DMAx->ISR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL);
3706}
[26]3707# 1430 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3708static inline uint32_t LL_DMA_IsActiveFlag_GI6(const DMA_TypeDef *DMAx)
3709{
3710  return ((((DMAx->ISR) & ((0x1UL << (20U)))) == ((0x1UL << (20U)))) ? 1UL : 0UL);
3711}
[26]3712# 1443 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3713static inline uint32_t LL_DMA_IsActiveFlag_GI7(const DMA_TypeDef *DMAx)
3714{
3715  return ((((DMAx->ISR) & ((0x1UL << (24U)))) == ((0x1UL << (24U)))) ? 1UL : 0UL);
3716}
[26]3717# 1455 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3718static inline uint32_t LL_DMA_IsActiveFlag_TC1(const DMA_TypeDef *DMAx)
3719{
3720  return ((((DMAx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
3721}
3722
3723
3724
3725
3726
3727
3728
3729static inline uint32_t LL_DMA_IsActiveFlag_TC2(const DMA_TypeDef *DMAx)
3730{
3731  return ((((DMAx->ISR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL);
3732}
3733
3734
3735
3736
3737
3738
3739
3740static inline uint32_t LL_DMA_IsActiveFlag_TC3(const DMA_TypeDef *DMAx)
3741{
3742  return ((((DMAx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL);
3743}
3744
3745
3746
3747
3748
3749
3750
3751static inline uint32_t LL_DMA_IsActiveFlag_TC4(const DMA_TypeDef *DMAx)
3752{
3753  return ((((DMAx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL);
3754}
3755
3756
3757
3758
3759
3760
3761
3762static inline uint32_t LL_DMA_IsActiveFlag_TC5(const DMA_TypeDef *DMAx)
3763{
3764  return ((((DMAx->ISR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL);
3765}
[26]3766# 1511 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3767static inline uint32_t LL_DMA_IsActiveFlag_TC6(const DMA_TypeDef *DMAx)
3768{
3769  return ((((DMAx->ISR) & ((0x1UL << (21U)))) == ((0x1UL << (21U)))) ? 1UL : 0UL);
3770}
[26]3771# 1524 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3772static inline uint32_t LL_DMA_IsActiveFlag_TC7(const DMA_TypeDef *DMAx)
3773{
3774  return ((((DMAx->ISR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL);
3775}
[26]3776# 1536 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3777static inline uint32_t LL_DMA_IsActiveFlag_HT1(const DMA_TypeDef *DMAx)
3778{
3779  return ((((DMAx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL);
3780}
3781
3782
3783
3784
3785
3786
3787
3788static inline uint32_t LL_DMA_IsActiveFlag_HT2(const DMA_TypeDef *DMAx)
3789{
3790  return ((((DMAx->ISR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL);
3791}
3792
3793
3794
3795
3796
3797
3798
3799static inline uint32_t LL_DMA_IsActiveFlag_HT3(const DMA_TypeDef *DMAx)
3800{
3801  return ((((DMAx->ISR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL);
3802}
3803
3804
3805
3806
3807
3808
3809
3810static inline uint32_t LL_DMA_IsActiveFlag_HT4(const DMA_TypeDef *DMAx)
3811{
3812  return ((((DMAx->ISR) & ((0x1UL << (14U)))) == ((0x1UL << (14U)))) ? 1UL : 0UL);
3813}
3814
3815
3816
3817
3818
3819
3820
3821static inline uint32_t LL_DMA_IsActiveFlag_HT5(const DMA_TypeDef *DMAx)
3822{
3823  return ((((DMAx->ISR) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? 1UL : 0UL);
3824}
[26]3825# 1592 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3826static inline uint32_t LL_DMA_IsActiveFlag_HT6(const DMA_TypeDef *DMAx)
3827{
3828  return ((((DMAx->ISR) & ((0x1UL << (22U)))) == ((0x1UL << (22U)))) ? 1UL : 0UL);
3829}
[26]3830# 1605 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3831static inline uint32_t LL_DMA_IsActiveFlag_HT7(const DMA_TypeDef *DMAx)
3832{
3833  return ((((DMAx->ISR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL);
3834}
[26]3835# 1617 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3836static inline uint32_t LL_DMA_IsActiveFlag_TE1(const DMA_TypeDef *DMAx)
3837{
3838  return ((((DMAx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
3839}
3840
3841
3842
3843
3844
3845
3846
3847static inline uint32_t LL_DMA_IsActiveFlag_TE2(const DMA_TypeDef *DMAx)
3848{
3849  return ((((DMAx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL);
3850}
3851
3852
3853
3854
3855
3856
3857
3858static inline uint32_t LL_DMA_IsActiveFlag_TE3(const DMA_TypeDef *DMAx)
3859{
3860  return ((((DMAx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL);
3861}
3862
3863
3864
3865
3866
3867
3868
3869static inline uint32_t LL_DMA_IsActiveFlag_TE4(const DMA_TypeDef *DMAx)
3870{
3871  return ((((DMAx->ISR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL);
3872}
3873
3874
3875
3876
3877
3878
3879
3880static inline uint32_t LL_DMA_IsActiveFlag_TE5(const DMA_TypeDef *DMAx)
3881{
3882  return ((((DMAx->ISR) & ((0x1UL << (19U)))) == ((0x1UL << (19U)))) ? 1UL : 0UL);
3883}
[26]3884# 1673 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3885static inline uint32_t LL_DMA_IsActiveFlag_TE6(const DMA_TypeDef *DMAx)
3886{
3887  return ((((DMAx->ISR) & ((0x1UL << (23U)))) == ((0x1UL << (23U)))) ? 1UL : 0UL);
3888}
[26]3889# 1686 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3890static inline uint32_t LL_DMA_IsActiveFlag_TE7(const DMA_TypeDef *DMAx)
3891{
3892  return ((((DMAx->ISR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL);
3893}
[26]3894# 1702 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3895static inline void LL_DMA_ClearFlag_GI1(DMA_TypeDef *DMAx)
3896{
3897  ((DMAx->IFCR) = ((0x1UL << (0U))));
3898}
[26]3899# 1717 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3900static inline void LL_DMA_ClearFlag_GI2(DMA_TypeDef *DMAx)
3901{
3902  ((DMAx->IFCR) = ((0x1UL << (4U))));
3903}
[26]3904# 1732 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3905static inline void LL_DMA_ClearFlag_GI3(DMA_TypeDef *DMAx)
3906{
3907  ((DMAx->IFCR) = ((0x1UL << (8U))));
3908}
[26]3909# 1747 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3910static inline void LL_DMA_ClearFlag_GI4(DMA_TypeDef *DMAx)
3911{
3912  ((DMAx->IFCR) = ((0x1UL << (12U))));
3913}
[26]3914# 1762 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3915static inline void LL_DMA_ClearFlag_GI5(DMA_TypeDef *DMAx)
3916{
3917  ((DMAx->IFCR) = ((0x1UL << (16U))));
3918}
[26]3919# 1778 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3920static inline void LL_DMA_ClearFlag_GI6(DMA_TypeDef *DMAx)
3921{
3922  ((DMAx->IFCR) = ((0x1UL << (20U))));
3923}
[26]3924# 1795 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3925static inline void LL_DMA_ClearFlag_GI7(DMA_TypeDef *DMAx)
3926{
3927  ((DMAx->IFCR) = ((0x1UL << (24U))));
3928}
[26]3929# 1807 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3930static inline void LL_DMA_ClearFlag_TC1(DMA_TypeDef *DMAx)
3931{
3932  ((DMAx->IFCR) = ((0x1UL << (1U))));
3933}
3934
3935
3936
3937
3938
3939
3940
3941static inline void LL_DMA_ClearFlag_TC2(DMA_TypeDef *DMAx)
3942{
3943  ((DMAx->IFCR) = ((0x1UL << (5U))));
3944}
3945
3946
3947
3948
3949
3950
3951
3952static inline void LL_DMA_ClearFlag_TC3(DMA_TypeDef *DMAx)
3953{
3954  ((DMAx->IFCR) = ((0x1UL << (9U))));
3955}
3956
3957
3958
3959
3960
3961
3962
3963static inline void LL_DMA_ClearFlag_TC4(DMA_TypeDef *DMAx)
3964{
3965  ((DMAx->IFCR) = ((0x1UL << (13U))));
3966}
3967
3968
3969
3970
3971
3972
3973
3974static inline void LL_DMA_ClearFlag_TC5(DMA_TypeDef *DMAx)
3975{
3976  ((DMAx->IFCR) = ((0x1UL << (17U))));
3977}
[26]3978# 1863 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3979static inline void LL_DMA_ClearFlag_TC6(DMA_TypeDef *DMAx)
3980{
3981  ((DMAx->IFCR) = ((0x1UL << (21U))));
3982}
[26]3983# 1876 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3984static inline void LL_DMA_ClearFlag_TC7(DMA_TypeDef *DMAx)
3985{
3986  ((DMAx->IFCR) = ((0x1UL << (25U))));
3987}
[26]3988# 1888 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]3989static inline void LL_DMA_ClearFlag_HT1(DMA_TypeDef *DMAx)
3990{
3991  ((DMAx->IFCR) = ((0x1UL << (2U))));
3992}
3993
3994
3995
3996
3997
3998
3999
4000static inline void LL_DMA_ClearFlag_HT2(DMA_TypeDef *DMAx)
4001{
4002  ((DMAx->IFCR) = ((0x1UL << (6U))));
4003}
4004
4005
4006
4007
4008
4009
4010
4011static inline void LL_DMA_ClearFlag_HT3(DMA_TypeDef *DMAx)
4012{
4013  ((DMAx->IFCR) = ((0x1UL << (10U))));
4014}
4015
4016
4017
4018
4019
4020
4021
4022static inline void LL_DMA_ClearFlag_HT4(DMA_TypeDef *DMAx)
4023{
4024  ((DMAx->IFCR) = ((0x1UL << (14U))));
4025}
4026
4027
4028
4029
4030
4031
4032
4033static inline void LL_DMA_ClearFlag_HT5(DMA_TypeDef *DMAx)
4034{
4035  ((DMAx->IFCR) = ((0x1UL << (18U))));
4036}
[26]4037# 1944 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4038static inline void LL_DMA_ClearFlag_HT6(DMA_TypeDef *DMAx)
4039{
4040  ((DMAx->IFCR) = ((0x1UL << (22U))));
4041}
[26]4042# 1957 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4043static inline void LL_DMA_ClearFlag_HT7(DMA_TypeDef *DMAx)
4044{
4045  ((DMAx->IFCR) = ((0x1UL << (26U))));
4046}
[26]4047# 1969 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4048static inline void LL_DMA_ClearFlag_TE1(DMA_TypeDef *DMAx)
4049{
4050  ((DMAx->IFCR) = ((0x1UL << (3U))));
4051}
4052
4053
4054
4055
4056
4057
4058
4059static inline void LL_DMA_ClearFlag_TE2(DMA_TypeDef *DMAx)
4060{
4061  ((DMAx->IFCR) = ((0x1UL << (7U))));
4062}
4063
4064
4065
4066
4067
4068
4069
4070static inline void LL_DMA_ClearFlag_TE3(DMA_TypeDef *DMAx)
4071{
4072  ((DMAx->IFCR) = ((0x1UL << (11U))));
4073}
4074
4075
4076
4077
4078
4079
4080
4081static inline void LL_DMA_ClearFlag_TE4(DMA_TypeDef *DMAx)
4082{
4083  ((DMAx->IFCR) = ((0x1UL << (15U))));
4084}
4085
4086
4087
4088
4089
4090
4091
4092static inline void LL_DMA_ClearFlag_TE5(DMA_TypeDef *DMAx)
4093{
4094  ((DMAx->IFCR) = ((0x1UL << (19U))));
4095}
[26]4096# 2025 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4097static inline void LL_DMA_ClearFlag_TE6(DMA_TypeDef *DMAx)
4098{
4099  ((DMAx->IFCR) = ((0x1UL << (23U))));
4100}
[26]4101# 2038 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4102static inline void LL_DMA_ClearFlag_TE7(DMA_TypeDef *DMAx)
4103{
4104  ((DMAx->IFCR) = ((0x1UL << (27U))));
4105}
[26]4106# 2065 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4107static inline void LL_DMA_EnableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel)
4108{
4109  uint32_t dma_base_addr = (uint32_t)DMAx;
4110  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (1U))));
4111}
[26]4112# 2085 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4113static inline void LL_DMA_EnableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel)
4114{
4115  uint32_t dma_base_addr = (uint32_t)DMAx;
4116  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (2U))));
4117}
[26]4118# 2105 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4119static inline void LL_DMA_EnableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel)
4120{
4121  uint32_t dma_base_addr = (uint32_t)DMAx;
4122  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (3U))));
4123}
[26]4124# 2125 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4125static inline void LL_DMA_DisableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel)
4126{
4127  uint32_t dma_base_addr = (uint32_t)DMAx;
4128  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (1U))));
4129}
[26]4130# 2145 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4131static inline void LL_DMA_DisableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel)
4132{
4133  uint32_t dma_base_addr = (uint32_t)DMAx;
4134  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (2U))));
4135}
[26]4136# 2165 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4137static inline void LL_DMA_DisableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel)
4138{
4139  uint32_t dma_base_addr = (uint32_t)DMAx;
4140  ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (3U))));
4141}
[26]4142# 2185 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4143static inline uint32_t LL_DMA_IsEnabledIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel)
4144{
4145  uint32_t dma_base_addr = (uint32_t)DMAx;
4146  return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
4147
4148}
[26]4149# 2206 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4150static inline uint32_t LL_DMA_IsEnabledIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel)
4151{
4152  uint32_t dma_base_addr = (uint32_t)DMAx;
4153  return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL);
4154
4155}
[26]4156# 2227 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h"
[6]4157static inline uint32_t LL_DMA_IsEnabledIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel)
4158{
4159  uint32_t dma_base_addr = (uint32_t)DMAx;
4160  return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
4161
4162}
[26]4163# 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2
4164# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h"
[6]4165typedef struct
4166{
4167  uint32_t Request;
4168
4169
4170  uint32_t Direction;
4171
4172
4173
4174  uint32_t PeriphInc;
4175
4176
4177  uint32_t MemInc;
4178
4179
4180  uint32_t PeriphDataAlignment;
4181
4182
4183  uint32_t MemDataAlignment;
4184
4185
4186  uint32_t Mode;
4187
4188
4189
4190
4191  uint32_t Priority;
4192
4193} DMA_InitTypeDef;
4194
4195
4196
4197
4198typedef enum
4199{
4200  HAL_DMA_STATE_RESET = 0x00U,
4201  HAL_DMA_STATE_READY = 0x01U,
4202  HAL_DMA_STATE_BUSY = 0x02U,
4203  HAL_DMA_STATE_TIMEOUT = 0x03U,
4204} HAL_DMA_StateTypeDef;
4205
4206
4207
4208
4209typedef enum
4210{
4211  HAL_DMA_FULL_TRANSFER = 0x00U,
4212  HAL_DMA_HALF_TRANSFER = 0x01U
4213} HAL_DMA_LevelCompleteTypeDef;
4214
4215
4216
4217
4218typedef enum
4219{
4220  HAL_DMA_XFER_CPLT_CB_ID = 0x00U,
4221  HAL_DMA_XFER_HALFCPLT_CB_ID = 0x01U,
4222  HAL_DMA_XFER_ERROR_CB_ID = 0x02U,
4223  HAL_DMA_XFER_ABORT_CB_ID = 0x03U,
4224  HAL_DMA_XFER_ALL_CB_ID = 0x04U
4225
4226} HAL_DMA_CallbackIDTypeDef;
4227
4228
4229
4230
4231typedef struct __DMA_HandleTypeDef
4232{
4233  DMA_Channel_TypeDef *Instance;
4234
4235  DMA_InitTypeDef Init;
4236
4237  HAL_LockTypeDef Lock;
4238
4239  volatile HAL_DMA_StateTypeDef State;
4240
4241  void *Parent;
4242
4243  void (* XferCpltCallback)(struct __DMA_HandleTypeDef *hdma);
4244
4245  void (* XferHalfCpltCallback)(struct __DMA_HandleTypeDef *hdma);
4246
4247  void (* XferErrorCallback)(struct __DMA_HandleTypeDef *hdma);
4248
4249  void (* XferAbortCallback)(struct __DMA_HandleTypeDef *hdma);
4250
4251  volatile uint32_t ErrorCode;
4252
4253
4254
4255
4256
4257  uint32_t ChannelIndex;
4258
4259  DMAMUX_Channel_TypeDef *DMAmuxChannel;
4260
4261  DMAMUX_ChannelStatus_TypeDef *DMAmuxChannelStatus;
4262
4263  uint32_t DMAmuxChannelStatusMask;
4264
4265  DMAMUX_RequestGen_TypeDef *DMAmuxRequestGen;
4266
4267  DMAMUX_RequestGenStatus_TypeDef *DMAmuxRequestGenStatus;
4268
4269  uint32_t DMAmuxRequestGenStatusMask;
4270} DMA_HandleTypeDef;
[26]4271# 698 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h"
4272# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" 1
4273# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h"
[6]4274typedef struct
4275{
4276  uint32_t SyncSignalID;
4277
4278
4279  uint32_t SyncPolarity;
4280
4281
4282  FunctionalState SyncEnable;
4283
4284
4285  FunctionalState EventEnable;
4286
4287
4288  uint32_t RequestNumber;
4289
4290
4291
4292} HAL_DMA_MuxSyncConfigTypeDef;
4293
4294
4295
4296
4297
4298typedef struct
4299{
4300  uint32_t SignalID;
4301
4302
4303  uint32_t Polarity;
4304
4305
4306  uint32_t RequestNumber;
4307
4308
4309} HAL_DMA_MuxRequestGeneratorConfigTypeDef;
[26]4310# 206 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h"
[6]4311HAL_StatusTypeDef HAL_DMAEx_ConfigMuxRequestGenerator(DMA_HandleTypeDef *hdma,
4312                                                      HAL_DMA_MuxRequestGeneratorConfigTypeDef *pRequestGeneratorConfig);
4313HAL_StatusTypeDef HAL_DMAEx_EnableMuxRequestGenerator(DMA_HandleTypeDef *hdma);
4314HAL_StatusTypeDef HAL_DMAEx_DisableMuxRequestGenerator(DMA_HandleTypeDef *hdma);
4315
4316
4317
4318HAL_StatusTypeDef HAL_DMAEx_ConfigMuxSync(DMA_HandleTypeDef *hdma, HAL_DMA_MuxSyncConfigTypeDef *pSyncConfig);
4319
4320
4321void HAL_DMAEx_MUX_IRQHandler(DMA_HandleTypeDef *hdma);
[26]4322# 699 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2
4323# 710 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h"
[6]4324HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma);
4325HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma);
[26]4326# 720 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h"
[6]4327HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength);
4328HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress,
4329                                   uint32_t DataLength);
4330HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma);
4331HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma);
4332HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef CompleteLevel,
4333                                          uint32_t Timeout);
4334void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma);
4335HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void (* pCallback)(DMA_HandleTypeDef *_hdma));
4336HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID);
[26]4337# 739 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h"
[6]4338HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma);
4339uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma);
[26]4340# 204 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]4341
4342
4343
[26]4344# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" 1
4345# 49 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h"
[6]4346typedef struct
4347{
4348  uint8_t Enable;
4349
4350  uint8_t Number;
4351
4352  uint32_t BaseAddress;
4353
4354  uint8_t Size;
4355
4356  uint8_t SubRegionDisable;
4357
4358  uint8_t TypeExtField;
4359
4360  uint8_t AccessPermission;
4361
4362  uint8_t DisableExec;
4363
4364  uint8_t IsShareable;
4365
4366  uint8_t IsCacheable;
4367
4368  uint8_t IsBufferable;
4369
4370} MPU_Region_InitTypeDef;
[26]4371# 250 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h"
[6]4372void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority);
4373void HAL_NVIC_EnableIRQ(IRQn_Type IRQn);
4374void HAL_NVIC_DisableIRQ(IRQn_Type IRQn);
4375void HAL_NVIC_SystemReset(void);
4376uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb);
[26]4377# 264 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h"
[6]4378uint32_t HAL_NVIC_GetPriority(IRQn_Type IRQn);
4379uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn);
4380void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn);
4381void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn);
4382void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource);
4383void HAL_SYSTICK_IRQHandler(void);
4384void HAL_SYSTICK_Callback(void);
4385
4386
4387void HAL_MPU_Enable(uint32_t MPU_Control);
4388void HAL_MPU_Disable(void);
4389void HAL_MPU_EnableRegion(uint32_t RegionNumber);
4390void HAL_MPU_DisableRegion(uint32_t RegionNumber);
4391void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init);
[26]4392# 208 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]4393
4394
4395
[26]4396# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 1
4397# 31 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
4398# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" 1
4399# 1953 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4400static inline uint32_t LL_ADC_DMA_GetRegAddr(const ADC_TypeDef *ADCx, uint32_t Register)
4401{
4402
4403  (void)(Register);
4404
4405
4406  return (uint32_t) &(ADCx->DR);
4407}
[26]4408# 2002 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4409static inline void LL_ADC_SetCommonClock(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock)
4410{
4411  (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0xFUL << (18U))))) | (CommonClock))));
4412}
[26]4413# 2031 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4414static inline uint32_t LL_ADC_GetCommonClock(const ADC_Common_TypeDef *ADCxy_COMMON)
4415{
4416  return (uint32_t)(((ADCxy_COMMON->CCR) & ((0xFUL << (18U)))));
4417}
[26]4418# 2052 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4419static inline void LL_ADC_SetCommonFrequencyMode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonFrequencyMode)
4420{
4421  (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (25U))))) | (CommonFrequencyMode))));
4422}
[26]4423# 2068 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4424static inline uint32_t LL_ADC_GetCommonFrequencyMode(const ADC_Common_TypeDef *ADCxy_COMMON)
4425{
4426  return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (25U)))));
4427}
[26]4428# 2111 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4429static inline void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal)
4430{
4431  (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))) | (PathInternal))));
4432}
[26]4433# 2153 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4434static inline void LL_ADC_SetCommonPathInternalChAdd(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal)
4435{
4436  ((ADCxy_COMMON->CCR) |= (PathInternal));
4437}
[26]4438# 2183 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4439static inline void LL_ADC_SetCommonPathInternalChRem(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal)
4440{
4441  ((ADCxy_COMMON->CCR) &= ~(PathInternal));
4442}
[26]4443# 2205 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4444static inline uint32_t LL_ADC_GetCommonPathInternalCh(const ADC_Common_TypeDef *ADCxy_COMMON)
4445{
4446  return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U)))));
4447}
[26]4448# 2241 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4449static inline void LL_ADC_SetClock(ADC_TypeDef *ADCx, uint32_t ClockSource)
4450{
4451  (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x3UL << (30U))))) | (ClockSource))));
4452}
[26]4453# 2265 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4454static inline uint32_t LL_ADC_GetClock(const ADC_TypeDef *ADCx)
4455{
4456  return (uint32_t)(((ADCx->CFGR2) & ((0x3UL << (30U)))));
4457}
[26]4458# 2285 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4459static inline void LL_ADC_SetCalibrationFactor(ADC_TypeDef *ADCx, uint32_t CalibrationFactor)
4460{
4461  (((ADCx->CALFACT)) = ((((((ADCx->CALFACT))) & (~((0x7FUL << (0U))))) | (CalibrationFactor))));
4462
4463
4464}
[26]4465# 2301 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4466static inline uint32_t LL_ADC_GetCalibrationFactor(const ADC_TypeDef *ADCx)
4467{
4468  return (uint32_t)(((ADCx->CALFACT) & ((0x7FUL << (0U)))));
4469}
[26]4470# 2322 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4471static inline void LL_ADC_SetResolution(ADC_TypeDef *ADCx, uint32_t Resolution)
4472{
4473  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (3U))))) | (Resolution))));
4474}
[26]4475# 2339 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4476static inline uint32_t LL_ADC_GetResolution(const ADC_TypeDef *ADCx)
4477{
4478  return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (3U)))));
4479}
[26]4480# 2358 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4481static inline void LL_ADC_SetDataAlignment(ADC_TypeDef *ADCx, uint32_t DataAlignment)
4482{
4483  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (5U))))) | (DataAlignment))));
4484}
[26]4485# 2373 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4486static inline uint32_t LL_ADC_GetDataAlignment(const ADC_TypeDef *ADCx)
4487{
4488  return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (5U)))));
4489}
[26]4490# 2430 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4491static inline void LL_ADC_SetLowPowerMode(ADC_TypeDef *ADCx, uint32_t LowPowerMode)
4492{
4493  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~(((0x1UL << (14U)) | (0x1UL << (15U)))))) | (LowPowerMode))));
4494}
[26]4495# 2483 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4496static inline uint32_t LL_ADC_GetLowPowerMode(const ADC_TypeDef *ADCx)
4497{
4498  return (uint32_t)(((ADCx->CFGR1) & (((0x1UL << (14U)) | (0x1UL << (15U))))));
4499}
[26]4500# 2513 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4501static inline void LL_ADC_SetTriggerFrequencyMode(ADC_TypeDef *ADCx, uint32_t TriggerFrequencyMode)
4502{
4503  (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (29U))))) | (TriggerFrequencyMode))));
4504}
[26]4505# 2526 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4506static inline uint32_t LL_ADC_GetTriggerFrequencyMode(const ADC_TypeDef *ADCx)
4507{
4508  return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (29U)))));
4509}
[26]4510# 2575 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4511static inline void LL_ADC_SetSamplingTimeCommonChannels(ADC_TypeDef *ADCx, uint32_t SamplingTimeY,
4512                                                          uint32_t SamplingTime)
4513{
4514  (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL)))))) | (SamplingTime << (SamplingTimeY & (( 4UL) | ( 0UL)))))));
4515
4516
4517}
[26]4518# 2608 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4519static inline uint32_t LL_ADC_GetSamplingTimeCommonChannels(const ADC_TypeDef *ADCx, uint32_t SamplingTimeY)
4520{
4521  return (uint32_t)((((ADCx->SMPR) & ((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL))))))
4522                    >> (SamplingTimeY & (( 4UL) | ( 0UL))));
4523}
[26]4524# 2657 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4525static inline void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource)
4526{
4527  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U)) | (0x7UL << (6U))))) | (TriggerSource))));
4528}
[26]4529# 2689 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4530static inline uint32_t LL_ADC_REG_GetTriggerSource(const ADC_TypeDef *ADCx)
4531{
4532  volatile uint32_t trigger_source = ((ADCx->CFGR1) & ((0x7UL << (6U)) | (0x3UL << (10U))));
4533
4534
4535
4536  uint32_t shift_exten = ((trigger_source & (0x3UL << (10U))) >> ((10UL) - 2UL));
4537
4538
4539
4540  return ((trigger_source
4541           & (((((0x00000000UL) & (0x7UL << (6U))) << (4U * 0UL)) | (((0x7UL << (6U))) << (4U * 1UL)) | (((0x7UL << (6U))) << (4U * 2UL)) | (((0x7UL << (6U))) << (4U * 3UL)) ) >> shift_exten) & (0x7UL << (6U)))
4542          | ((((((0x00000000UL) & (0x3UL << (10U))) << (4U * 0UL)) | ((((0x1UL << (10U)))) << (4U * 1UL)) | ((((0x1UL << (10U)))) << (4U * 2UL)) | ((((0x1UL << (10U)))) << (4U * 3UL)) ) >> shift_exten) & (0x3UL << (10U)))
4543         );
4544}
[26]4545# 2716 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4546static inline uint32_t LL_ADC_REG_IsTriggerSourceSWStart(const ADC_TypeDef *ADCx)
4547{
4548  return ((((ADCx->CFGR1) & ((0x3UL << (10U)))) == ((0x00000000UL) & (0x3UL << (10U)))) ? 1UL : 0UL);
4549}
[26]4550# 2735 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4551static inline void LL_ADC_REG_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge)
4552{
4553  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U))))) | (ExternalTriggerEdge))));
4554}
[26]4555# 2750 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4556static inline uint32_t LL_ADC_REG_GetTriggerEdge(const ADC_TypeDef *ADCx)
4557{
4558  return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (10U)))));
4559}
[26]4560# 2787 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4561static inline void LL_ADC_REG_SetSequencerConfigurable(ADC_TypeDef *ADCx, uint32_t Configurability)
4562{
4563  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (21U))))) | (Configurability))));
4564}
[26]4565# 2813 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4566static inline uint32_t LL_ADC_REG_GetSequencerConfigurable(const ADC_TypeDef *ADCx)
4567{
4568  return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (21U)))));
4569}
[26]4570# 2885 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4571static inline void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks)
4572{
4573  ((ADCx->CHSELR) |= (SequencerNbRanks));
4574}
[26]4575# 2944 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4576static inline uint32_t LL_ADC_REG_GetSequencerLength(const ADC_TypeDef *ADCx)
4577{
4578  volatile uint32_t channels_ranks = ((ADCx->CHSELR) & ((0xFFFFFFFFUL << (0U))));
4579  uint32_t sequencer_length = (0x00000000UL);
4580  uint32_t rank_index;
4581  uint32_t rank_shifted;
4582
4583
4584
4585
4586
4587  for (rank_index = 0U; rank_index <= (28U - 4U); rank_index += 4U)
4588  {
4589    rank_shifted = (uint32_t)(0xF0UL << rank_index);
4590    if ((channels_ranks & rank_shifted) == rank_shifted)
4591    {
4592      sequencer_length = rank_shifted;
4593      break;
4594    }
4595  }
4596
4597  return sequencer_length;
4598}
[26]4599# 2993 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4600static inline void LL_ADC_REG_SetSequencerScanDirection(ADC_TypeDef *ADCx, uint32_t ScanDirection)
4601{
4602  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (2U))))) | (ScanDirection))));
4603}
[26]4604# 3011 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4605static inline uint32_t LL_ADC_REG_GetSequencerScanDirection(const ADC_TypeDef *ADCx)
4606{
4607  return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (2U)))));
4608}
[26]4609# 3032 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4610static inline void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont)
4611{
4612  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (16U))))) | (SeqDiscont))));
4613}
[26]4614# 3047 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4615static inline uint32_t LL_ADC_REG_GetSequencerDiscont(const ADC_TypeDef *ADCx)
4616{
4617  return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (16U)))));
4618}
[26]4619# 3127 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4620static inline void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel)
4621{
4622
4623
4624
4625
4626  (((ADCx->CHSELR)) = ((((((ADCx->CHSELR))) & (~((0xFUL << (0U)) << (Rank & ((0x0000001FUL)))))) | (((Channel & ((0xFUL << (0U)) << (26UL))) >> (26UL)) << (Rank & ((0x0000001FUL)))))));
4627
4628
4629
4630}
[26]4631# 3208 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4632static inline uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank)
4633{
4634  return (uint32_t)((((ADCx->CHSELR) & ((0xFUL << (0U)) << (Rank & ((0x0000001FUL)))))
4635
4636                     >> (Rank & ((0x0000001FUL)))
4637                    ) << ((26UL))
4638                   );
4639}
[26]4640# 3302 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4641static inline void LL_ADC_REG_SetSequencerChannels(ADC_TypeDef *ADCx, uint32_t Channel)
4642{
4643
4644
4645  ((ADCx->CHSELR) = ((Channel & ((0x7FFFFUL << (0U))))));
4646}
[26]4647# 3394 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4648static inline void LL_ADC_REG_SetSequencerChAdd(ADC_TypeDef *ADCx, uint32_t Channel)
4649{
4650
4651
4652  ((ADCx->CHSELR) |= ((Channel & ((0x7FFFFUL << (0U))))));
4653}
[26]4654# 3486 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4655static inline void LL_ADC_REG_SetSequencerChRem(ADC_TypeDef *ADCx, uint32_t Channel)
4656{
4657
4658
4659  ((ADCx->CHSELR) &= ~((Channel & ((0x7FFFFUL << (0U))))));
4660}
[26]4661# 3567 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4662static inline uint32_t LL_ADC_REG_GetSequencerChannels(const ADC_TypeDef *ADCx)
4663{
4664  uint32_t channels_bitfield = (uint32_t)((ADCx->CHSELR) & ((0x7FFFFUL << (0U))));
4665
4666  return ((((channels_bitfield & (0x1UL << (0U))) >> ( 0UL)) * ((0x00000000UL) | ((0x1UL << (0U))) ))
4667          | (((channels_bitfield & (0x1UL << (1U))) >> ( 1UL)) * (((0x01UL << (26U))) | ((0x1UL << (1U))) ))
4668          | (((channels_bitfield & (0x1UL << (2U))) >> ( 2UL)) * (((0x02UL << (26U))) | ((0x1UL << (2U))) ))
4669          | (((channels_bitfield & (0x1UL << (3U))) >> ( 3UL)) * (((0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (3U))) ))
4670          | (((channels_bitfield & (0x1UL << (4U))) >> ( 4UL)) * (((0x04UL << (26U))) | ((0x1UL << (4U))) ))
4671          | (((channels_bitfield & (0x1UL << (5U))) >> ( 5UL)) * (((0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (5U))) ))
4672          | (((channels_bitfield & (0x1UL << (6U))) >> ( 6UL)) * (((0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (6U))) ))
4673          | (((channels_bitfield & (0x1UL << (7U))) >> ( 7UL)) * (((0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (7U))) ))
4674          | (((channels_bitfield & (0x1UL << (8U))) >> ( 8UL)) * (((0x08UL << (26U))) | ((0x1UL << (8U))) ))
4675          | (((channels_bitfield & (0x1UL << (9U))) >> ( 9UL)) * (((0x08UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (9U))) ))
4676          | (((channels_bitfield & (0x1UL << (10U))) >> (10UL)) * (((0x08UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (10U)))))
4677          | (((channels_bitfield & (0x1UL << (11U))) >> (11UL)) * (((0x08UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (11U)))))
4678          | (((channels_bitfield & (0x1UL << (12U))) >> (12UL)) * (((0x08UL << (26U)) | (0x04UL << (26U))) | ((0x1UL << (12U)))))
4679          | (((channels_bitfield & (0x1UL << (13U))) >> (13UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (13U)))))
4680          | (((channels_bitfield & (0x1UL << (14U))) >> (14UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (14U)))))
4681          | (((channels_bitfield & (0x1UL << (15U))) >> (15UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (15U)))))
4682          | (((channels_bitfield & (0x1UL << (16U))) >> (16UL)) * (((0x10UL << (26U))) | ((0x1UL << (16U)))))
4683          | (((channels_bitfield & (0x1UL << (17U))) >> (17UL)) * (((0x10UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (17U)))))
4684
4685          | (((channels_bitfield & (0x1UL << (18U))) >> (18UL)) * (((0x10UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (18U)))))
4686
4687         );
4688}
[26]4689# 3613 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4690static inline void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous)
4691{
4692  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (13U))))) | (Continuous))));
4693}
[26]4694# 3630 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4695static inline uint32_t LL_ADC_REG_GetContinuousMode(const ADC_TypeDef *ADCx)
4696{
4697  return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (13U)))));
4698}
[26]4699# 3667 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4700static inline void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx, uint32_t DMATransfer)
4701{
4702  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (0U)) | (0x1UL << (1U))))) | (DMATransfer))));
4703}
[26]4704# 3700 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4705static inline uint32_t LL_ADC_REG_GetDMATransfer(const ADC_TypeDef *ADCx)
4706{
4707  return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (0U)) | (0x1UL << (1U)))));
4708}
[26]4709# 3724 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4710static inline void LL_ADC_REG_SetOverrun(ADC_TypeDef *ADCx, uint32_t Overrun)
4711{
4712  (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (12U))))) | (Overrun))));
4713}
[26]4714# 3738 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4715static inline uint32_t LL_ADC_REG_GetOverrun(const ADC_TypeDef *ADCx)
4716{
4717  return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (12U)))));
4718}
[26]4719# 3826 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4720static inline void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTimeY)
4721{
4722
4723
4724  (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((Channel << ( 8UL))))) | ((Channel << ( 8UL)) & (SamplingTimeY & (((0x7FFFFUL << (0U))) << ( 8UL)))))));
4725
4726
4727
4728}
[26]4729# 3895 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4730static inline uint32_t LL_ADC_GetChannelSamplingTime(const ADC_TypeDef *ADCx, uint32_t Channel)
4731{
4732  volatile uint32_t smpr = ((ADCx->SMPR));
4733
4734
4735
4736  uint32_t smp_channel_posbit0 = ((smpr & (((0x7FFFFUL << (0U))) << ( 8UL)))
4737                                  >> ((((Channel & ((0x1FUL << (26U)))) >> (26UL))
4738                                       + ( 8UL))
4739                                      & 0x1FUL));
4740
4741
4742  return ((~(smp_channel_posbit0) * (( 0UL)))
4743          | (smp_channel_posbit0 * (( 4UL) | (((0x7FFFFUL << (0U))) << ( 8UL)))));
4744}
[26]4745# 3988 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4746static inline void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDChannelGroup)
4747{
4748
4749
4750
4751
4752  volatile uint32_t *preg;
4753
4754  if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL)))
4755  {
4756    preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((0UL) << 2UL))));
4757  }
4758  else
4759  {
4760    preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD2CR)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL)))) >> ((20UL) + 1UL)) << 2UL))));
4761
4762  }
4763
4764  (((*preg)) = ((((((*preg))) & (~((AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U)))))))) | (AWDChannelGroup & AWDy))));
4765
4766
4767}
[26]4768# 4089 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4769static inline uint32_t LL_ADC_GetAnalogWDMonitChannels(const ADC_TypeDef *ADCx, uint32_t AWDy)
4770{
4771  volatile const uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL))) >> (20UL)) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000024UL))) << 2UL))));
4772
4773
4774
4775
4776  uint32_t analog_wd_monit_channels = (((*preg) & (AWDy)) & AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U)))));
4777
4778
4779
4780
4781
4782  if (analog_wd_monit_channels != 0UL)
4783  {
4784    if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL)))
4785    {
4786      if ((analog_wd_monit_channels & (0x1UL << (22U))) == 0UL)
4787      {
4788
4789        analog_wd_monit_channels = ((analog_wd_monit_channels
4790                                     | (((0x7FFFFUL << (0U))))
4791                                    )
4792                                    & (~((0x1FUL << (26U))))
4793                                   );
4794      }
4795      else
4796      {
4797
4798        analog_wd_monit_channels = (analog_wd_monit_channels
4799                                    | ((0x00001UL << (0U)) << (analog_wd_monit_channels >> (26U)))
4800                                   );
4801      }
4802    }
4803    else
4804    {
4805      if ((analog_wd_monit_channels & ((0x7FFFFUL << (0U)))) == ((0x7FFFFUL << (0U))))
4806      {
4807
4808        analog_wd_monit_channels = (((0x7FFFFUL << (0U)))
4809                                    | ((0x1UL << (23U)))
4810                                   );
4811      }
4812      else
4813      {
4814
4815
4816        analog_wd_monit_channels = (analog_wd_monit_channels
4817                                    | ((0x1UL << (23U)) | (0x1UL << (22U)))
4818                                    | (((((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))
4819                                   );
4820      }
4821    }
4822  }
4823
4824  return analog_wd_monit_channels;
4825}
[26]4826# 4208 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4827static inline void LL_ADC_ConfigAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdHighValue,
4828                                                     uint32_t AWDThresholdLowValue)
4829{
4830
4831
4832
4833
4834
4835  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))));
4836
4837
4838
4839
4840
4841
4842  (((*preg)) = ((((((*preg))) & (~((0xFFFUL << (16U)) | (0xFFFUL << (0U))))) | ((AWDThresholdHighValue << (16UL)) | AWDThresholdLowValue))));
4843
4844
4845}
[26]4846# 4291 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4847static inline void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow,
4848                                                  uint32_t AWDThresholdValue)
4849{
4850
4851
4852
4853
4854
4855  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))));
4856
4857
4858
4859
4860
4861  (((*preg)) = ((((((*preg))) & (~(AWDThresholdsHighLow))) | (AWDThresholdValue << ((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL))))));
4862
4863
4864}
[26]4865# 4338 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4866static inline uint32_t LL_ADC_GetAnalogWDThresholds(const ADC_TypeDef *ADCx,
4867                                                      uint32_t AWDy, uint32_t AWDThresholdsHighLow)
4868{
4869
4870
4871
4872
4873
4874  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))));
4875
4876
4877
4878
4879
4880  return (uint32_t)(((*preg) & ((AWDThresholdsHighLow | (0xFFFUL << (0U)))))
4881
4882                    >> (((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL))
4883                        & ~(AWDThresholdsHighLow & (0xFFFUL << (0U)))));
4884}
[26]4885# 4378 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4886static inline void LL_ADC_SetOverSamplingScope(ADC_TypeDef *ADCx, uint32_t OvsScope)
4887{
4888  (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (0U))))) | (OvsScope))));
4889}
[26]4890# 4391 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4891static inline uint32_t LL_ADC_GetOverSamplingScope(const ADC_TypeDef *ADCx)
4892{
4893  return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (0U)))));
4894}
[26]4895# 4414 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4896static inline void LL_ADC_SetOverSamplingDiscont(ADC_TypeDef *ADCx, uint32_t OverSamplingDiscont)
4897{
4898  (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (9U))))) | (OverSamplingDiscont))));
4899}
[26]4900# 4433 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4901static inline uint32_t LL_ADC_GetOverSamplingDiscont(const ADC_TypeDef *ADCx)
4902{
4903  return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (9U)))));
4904}
[26]4905# 4470 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4906static inline void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_t Shift)
4907{
4908  (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~(((0xFUL << (5U)) | (0x7UL << (2U)))))) | ((Shift | Ratio)))));
4909}
[26]4910# 4489 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4911static inline uint32_t LL_ADC_GetOverSamplingRatio(const ADC_TypeDef *ADCx)
4912{
4913  return (uint32_t)(((ADCx->CFGR2) & ((0x7UL << (2U)))));
4914}
[26]4915# 4509 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4916static inline uint32_t LL_ADC_GetOverSamplingShift(const ADC_TypeDef *ADCx)
4917{
4918  return (uint32_t)(((ADCx->CFGR2) & ((0xFUL << (5U)))));
4919}
[26]4920# 4544 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4921static inline void LL_ADC_EnableInternalRegulator(ADC_TypeDef *ADCx)
4922{
4923
4924
4925
4926  (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (28U))))));
4927
4928
4929}
[26]4930# 4563 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4931static inline void LL_ADC_DisableInternalRegulator(ADC_TypeDef *ADCx)
4932{
4933  ((ADCx->CR) &= ~(((0x1UL << (28U)) | ((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U))))));
4934}
4935
4936
4937
4938
4939
4940
4941
4942static inline uint32_t LL_ADC_IsInternalRegulatorEnabled(const ADC_TypeDef *ADCx)
4943{
4944  return ((((ADCx->CR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL);
4945}
[26]4946# 4595 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4947static inline void LL_ADC_Enable(ADC_TypeDef *ADCx)
4948{
4949
4950
4951
4952  (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (0U))))));
4953
4954
4955}
[26]4956# 4615 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4957static inline void LL_ADC_Disable(ADC_TypeDef *ADCx)
4958{
4959
4960
4961
4962  (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (1U))))));
4963
4964
4965}
[26]4966# 4634 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4967static inline uint32_t LL_ADC_IsEnabled(const ADC_TypeDef *ADCx)
4968{
4969  return ((((ADCx->CR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
4970}
4971
4972
4973
4974
4975
4976
4977
4978static inline uint32_t LL_ADC_IsDisableOngoing(const ADC_TypeDef *ADCx)
4979{
4980  return ((((ADCx->CR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
4981}
[26]4982# 4678 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]4983static inline void LL_ADC_StartCalibration(ADC_TypeDef *ADCx)
4984{
4985
4986
4987
4988  (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (31U))))));
4989
4990
4991}
4992
4993
4994
4995
4996
4997
4998
4999static inline uint32_t LL_ADC_IsCalibrationOnGoing(const ADC_TypeDef *ADCx)
5000{
5001  return ((((ADCx->CR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL);
5002}
[26]5003# 4725 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5004static inline void LL_ADC_REG_StartConversion(ADC_TypeDef *ADCx)
5005{
5006
5007
5008
5009  (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (2U))))));
5010
5011
5012}
[26]5013# 4745 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5014static inline void LL_ADC_REG_StopConversion(ADC_TypeDef *ADCx)
5015{
5016
5017
5018
5019  (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (4U))))));
5020
5021
5022}
5023
5024
5025
5026
5027
5028
5029
5030static inline uint32_t LL_ADC_REG_IsConversionOngoing(const ADC_TypeDef *ADCx)
5031{
5032  return ((((ADCx->CR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL);
5033}
5034
5035
5036
5037
5038
5039
5040
5041static inline uint32_t LL_ADC_REG_IsStopConversionOngoing(const ADC_TypeDef *ADCx)
5042{
5043  return ((((ADCx->CR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL);
5044}
[26]5045# 4786 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5046static inline uint32_t LL_ADC_REG_ReadConversionData32(const ADC_TypeDef *ADCx)
5047{
5048  return (uint32_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))));
5049}
[26]5050# 4801 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5051static inline uint16_t LL_ADC_REG_ReadConversionData12(const ADC_TypeDef *ADCx)
5052{
5053  return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x00000FFFUL);
5054}
[26]5055# 4816 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5056static inline uint16_t LL_ADC_REG_ReadConversionData10(const ADC_TypeDef *ADCx)
5057{
5058  return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000003FFUL);
5059}
[26]5060# 4831 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5061static inline uint8_t LL_ADC_REG_ReadConversionData8(const ADC_TypeDef *ADCx)
5062{
5063  return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000000FFUL);
5064}
[26]5065# 4846 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5066static inline uint8_t LL_ADC_REG_ReadConversionData6(const ADC_TypeDef *ADCx)
5067{
5068  return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x0000003FUL);
5069}
[26]5070# 4868 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5071static inline uint32_t LL_ADC_IsActiveFlag_ADRDY(const ADC_TypeDef *ADCx)
5072{
5073  return ((((ADCx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
5074}
[26]5075# 4895 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5076static inline uint32_t LL_ADC_IsActiveFlag_CCRDY(const ADC_TypeDef *ADCx)
5077{
5078  return ((((ADCx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL);
5079}
5080
5081
5082
5083
5084
5085
5086
5087static inline uint32_t LL_ADC_IsActiveFlag_EOC(const ADC_TypeDef *ADCx)
5088{
5089  return ((((ADCx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL);
5090}
5091
5092
5093
5094
5095
5096
5097
5098static inline uint32_t LL_ADC_IsActiveFlag_EOS(const ADC_TypeDef *ADCx)
5099{
5100  return ((((ADCx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
5101}
5102
5103
5104
5105
5106
5107
5108
5109static inline uint32_t LL_ADC_IsActiveFlag_OVR(const ADC_TypeDef *ADCx)
5110{
5111  return ((((ADCx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL);
5112}
5113
5114
5115
5116
5117
5118
5119
5120static inline uint32_t LL_ADC_IsActiveFlag_EOSMP(const ADC_TypeDef *ADCx)
5121{
5122  return ((((ADCx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
5123}
5124
5125
5126
5127
5128
5129
5130
5131static inline uint32_t LL_ADC_IsActiveFlag_AWD1(const ADC_TypeDef *ADCx)
5132{
5133  return ((((ADCx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL);
5134}
5135
5136
5137
5138
5139
5140
5141
5142static inline uint32_t LL_ADC_IsActiveFlag_AWD2(const ADC_TypeDef *ADCx)
5143{
5144  return ((((ADCx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL);
5145}
5146
5147
5148
5149
5150
5151
5152
5153static inline uint32_t LL_ADC_IsActiveFlag_AWD3(const ADC_TypeDef *ADCx)
5154{
5155  return ((((ADCx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL);
5156}
5157
5158
5159
5160
5161
5162
5163
5164static inline uint32_t LL_ADC_IsActiveFlag_EOCAL(const ADC_TypeDef *ADCx)
5165{
5166  return ((((ADCx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL);
5167}
[26]5168# 4997 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5169static inline void LL_ADC_ClearFlag_ADRDY(ADC_TypeDef *ADCx)
5170{
5171  ((ADCx->ISR) = ((0x1UL << (0U))));
5172}
5173
5174
5175
5176
5177
5178
5179
5180static inline void LL_ADC_ClearFlag_CCRDY(ADC_TypeDef *ADCx)
5181{
5182  ((ADCx->ISR) = ((0x1UL << (13U))));
5183}
5184
5185
5186
5187
5188
5189
5190
5191static inline void LL_ADC_ClearFlag_EOC(ADC_TypeDef *ADCx)
5192{
5193  ((ADCx->ISR) = ((0x1UL << (2U))));
5194}
5195
5196
5197
5198
5199
5200
5201
5202static inline void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx)
5203{
5204  ((ADCx->ISR) = ((0x1UL << (3U))));
5205}
5206
5207
5208
5209
5210
5211
5212
5213static inline void LL_ADC_ClearFlag_OVR(ADC_TypeDef *ADCx)
5214{
5215  ((ADCx->ISR) = ((0x1UL << (4U))));
5216}
5217
5218
5219
5220
5221
5222
5223
5224static inline void LL_ADC_ClearFlag_EOSMP(ADC_TypeDef *ADCx)
5225{
5226  ((ADCx->ISR) = ((0x1UL << (1U))));
5227}
5228
5229
5230
5231
5232
5233
5234
5235static inline void LL_ADC_ClearFlag_AWD1(ADC_TypeDef *ADCx)
5236{
5237  ((ADCx->ISR) = ((0x1UL << (7U))));
5238}
5239
5240
5241
5242
5243
5244
5245
5246static inline void LL_ADC_ClearFlag_AWD2(ADC_TypeDef *ADCx)
5247{
5248  ((ADCx->ISR) = ((0x1UL << (8U))));
5249}
5250
5251
5252
5253
5254
5255
5256
5257static inline void LL_ADC_ClearFlag_AWD3(ADC_TypeDef *ADCx)
5258{
5259  ((ADCx->ISR) = ((0x1UL << (9U))));
5260}
5261
5262
5263
5264
5265
5266
5267
5268static inline void LL_ADC_ClearFlag_EOCAL(ADC_TypeDef *ADCx)
5269{
5270  ((ADCx->ISR) = ((0x1UL << (11U))));
5271}
[26]5272# 5115 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5273static inline void LL_ADC_EnableIT_ADRDY(ADC_TypeDef *ADCx)
5274{
5275  ((ADCx->IER) |= ((0x1UL << (0U))));
5276}
5277
5278
5279
5280
5281
5282
5283
5284static inline void LL_ADC_EnableIT_CCRDY(ADC_TypeDef *ADCx)
5285{
5286  ((ADCx->IER) |= ((0x1UL << (13U))));
5287}
5288
5289
5290
5291
5292
5293
5294
5295static inline void LL_ADC_EnableIT_EOC(ADC_TypeDef *ADCx)
5296{
5297  ((ADCx->IER) |= ((0x1UL << (2U))));
5298}
5299
5300
5301
5302
5303
5304
5305
5306static inline void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx)
5307{
5308  ((ADCx->IER) |= ((0x1UL << (3U))));
5309}
5310
5311
5312
5313
5314
5315
5316
5317static inline void LL_ADC_EnableIT_OVR(ADC_TypeDef *ADCx)
5318{
5319  ((ADCx->IER) |= ((0x1UL << (4U))));
5320}
5321
5322
5323
5324
5325
5326
5327
5328static inline void LL_ADC_EnableIT_EOSMP(ADC_TypeDef *ADCx)
5329{
5330  ((ADCx->IER) |= ((0x1UL << (1U))));
5331}
5332
5333
5334
5335
5336
5337
5338
5339static inline void LL_ADC_EnableIT_AWD1(ADC_TypeDef *ADCx)
5340{
5341  ((ADCx->IER) |= ((0x1UL << (7U))));
5342}
5343
5344
5345
5346
5347
5348
5349
5350static inline void LL_ADC_EnableIT_AWD2(ADC_TypeDef *ADCx)
5351{
5352  ((ADCx->IER) |= ((0x1UL << (8U))));
5353}
5354
5355
5356
5357
5358
5359
5360
5361static inline void LL_ADC_EnableIT_AWD3(ADC_TypeDef *ADCx)
5362{
5363  ((ADCx->IER) |= ((0x1UL << (9U))));
5364}
5365
5366
5367
5368
5369
5370
5371
5372static inline void LL_ADC_EnableIT_EOCAL(ADC_TypeDef *ADCx)
5373{
5374  ((ADCx->IER) |= ((0x1UL << (11U))));
5375}
5376
5377
5378
5379
5380
5381
5382
5383static inline void LL_ADC_DisableIT_ADRDY(ADC_TypeDef *ADCx)
5384{
5385  ((ADCx->IER) &= ~((0x1UL << (0U))));
5386}
5387
5388
5389
5390
5391
5392
5393
5394static inline void LL_ADC_DisableIT_CCRDY(ADC_TypeDef *ADCx)
5395{
5396  ((ADCx->IER) &= ~((0x1UL << (13U))));
5397}
5398
5399
5400
5401
5402
5403
5404
5405static inline void LL_ADC_DisableIT_EOC(ADC_TypeDef *ADCx)
5406{
5407  ((ADCx->IER) &= ~((0x1UL << (2U))));
5408}
5409
5410
5411
5412
5413
5414
5415
5416static inline void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx)
5417{
5418  ((ADCx->IER) &= ~((0x1UL << (3U))));
5419}
5420
5421
5422
5423
5424
5425
5426
5427static inline void LL_ADC_DisableIT_OVR(ADC_TypeDef *ADCx)
5428{
5429  ((ADCx->IER) &= ~((0x1UL << (4U))));
5430}
5431
5432
5433
5434
5435
5436
5437
5438static inline void LL_ADC_DisableIT_EOSMP(ADC_TypeDef *ADCx)
5439{
5440  ((ADCx->IER) &= ~((0x1UL << (1U))));
5441}
5442
5443
5444
5445
5446
5447
5448
5449static inline void LL_ADC_DisableIT_AWD1(ADC_TypeDef *ADCx)
5450{
5451  ((ADCx->IER) &= ~((0x1UL << (7U))));
5452}
5453
5454
5455
5456
5457
5458
5459
5460static inline void LL_ADC_DisableIT_AWD2(ADC_TypeDef *ADCx)
5461{
5462  ((ADCx->IER) &= ~((0x1UL << (8U))));
5463}
5464
5465
5466
5467
5468
5469
5470
5471static inline void LL_ADC_DisableIT_AWD3(ADC_TypeDef *ADCx)
5472{
5473  ((ADCx->IER) &= ~((0x1UL << (9U))));
5474}
5475
5476
5477
5478
5479
5480
5481
5482static inline void LL_ADC_DisableIT_EOCAL(ADC_TypeDef *ADCx)
5483{
5484  ((ADCx->IER) &= ~((0x1UL << (11U))));
5485}
[26]5486# 5336 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5487static inline uint32_t LL_ADC_IsEnabledIT_ADRDY(const ADC_TypeDef *ADCx)
5488{
5489  return ((((ADCx->IER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL);
5490}
5491
5492
5493
5494
5495
5496
5497
5498static inline uint32_t LL_ADC_IsEnabledIT_CCRDY(const ADC_TypeDef *ADCx)
5499{
5500  return ((((ADCx->IER) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL);
5501}
[26]5502# 5359 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5503static inline uint32_t LL_ADC_IsEnabledIT_EOC(const ADC_TypeDef *ADCx)
5504{
5505  return ((((ADCx->IER) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL);
5506}
[26]5507# 5371 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5508static inline uint32_t LL_ADC_IsEnabledIT_EOS(const ADC_TypeDef *ADCx)
5509{
5510  return ((((ADCx->IER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL);
5511}
[26]5512# 5383 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5513static inline uint32_t LL_ADC_IsEnabledIT_OVR(const ADC_TypeDef *ADCx)
5514{
5515  return ((((ADCx->IER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL);
5516}
[26]5517# 5395 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5518static inline uint32_t LL_ADC_IsEnabledIT_EOSMP(const ADC_TypeDef *ADCx)
5519{
5520  return ((((ADCx->IER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL);
5521}
[26]5522# 5407 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5523static inline uint32_t LL_ADC_IsEnabledIT_AWD1(const ADC_TypeDef *ADCx)
5524{
5525  return ((((ADCx->IER) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL);
5526}
[26]5527# 5419 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5528static inline uint32_t LL_ADC_IsEnabledIT_AWD2(const ADC_TypeDef *ADCx)
5529{
5530  return ((((ADCx->IER) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL);
5531}
[26]5532# 5431 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5533static inline uint32_t LL_ADC_IsEnabledIT_AWD3(const ADC_TypeDef *ADCx)
5534{
5535  return ((((ADCx->IER) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL);
5536}
[26]5537# 5443 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h"
[6]5538static inline uint32_t LL_ADC_IsEnabledIT_EOCAL(const ADC_TypeDef *ADCx)
5539{
5540  return ((((ADCx->IER) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL);
5541}
[26]5542# 32 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2
5543# 49 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5544typedef struct
5545{
5546  uint32_t Ratio;
5547
5548
5549  uint32_t RightBitShift;
5550
5551
5552  uint32_t TriggeredMode;
5553
5554
5555} ADC_OversamplingTypeDef;
[26]5556# 79 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5557typedef struct
5558{
5559  uint32_t ClockPrescaler;
[26]5560# 94 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5561  uint32_t Resolution;
5562
5563
5564  uint32_t DataAlign;
5565
5566
5567
5568  uint32_t ScanConvMode;
[26]5569# 127 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5570  uint32_t EOCSelection;
5571
5572
5573
5574  FunctionalState LowPowerAutoWait;
[26]5575# 150 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5576  FunctionalState LowPowerAutoPowerOff;
5577
5578
5579
5580
5581
5582
5583  FunctionalState ContinuousConvMode;
5584
5585
5586
5587
5588  uint32_t NbrOfConversion;
[26]5589# 180 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5590  FunctionalState DiscontinuousConvMode;
[26]5591# 191 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5592  uint32_t ExternalTrigConv;
5593
5594
5595
5596
5597
5598
5599  uint32_t ExternalTrigConvEdge;
5600
5601
5602
5603  FunctionalState DMAContinuousRequests;
5604
5605
5606
5607
5608
5609
5610
5611  uint32_t Overrun;
[26]5612# 225 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5613  uint32_t SamplingTimeCommon1;
[26]5614# 243 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5615  uint32_t SamplingTimeCommon2;
[26]5616# 261 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5617  FunctionalState OversamplingMode;
5618
5619
5620
5621
5622  ADC_OversamplingTypeDef Oversampling;
5623
5624
5625
5626  uint32_t TriggerFrequencyMode;
[26]5627# 281 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5628} ADC_InitTypeDef;
[26]5629# 292 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5630typedef struct
5631{
5632  uint32_t Channel;
5633
5634
5635
5636
5637
5638  uint32_t Rank;
[26]5639# 313 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5640  uint32_t SamplingTime;
[26]5641# 331 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5642} ADC_ChannelConfTypeDef;
[26]5643# 341 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5644typedef struct
5645{
5646  uint32_t WatchdogNumber;
5647
5648
5649
5650
5651
5652
5653  uint32_t WatchdogMode;
5654
5655
5656
5657
5658
5659
5660  uint32_t Channel;
[26]5661# 367 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5662  FunctionalState ITMode;
5663
5664
5665  uint32_t HighThreshold;
[26]5666# 382 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5667  uint32_t LowThreshold;
[26]5668# 393 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5669} ADC_AnalogWDGConfTypeDef;
[26]5670# 460 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5671typedef struct
5672
5673{
5674  ADC_TypeDef *Instance;
5675  ADC_InitTypeDef Init;
5676  DMA_HandleTypeDef *DMA_Handle;
5677  HAL_LockTypeDef Lock;
5678  volatile uint32_t State;
5679  volatile uint32_t ErrorCode;
5680
5681  uint32_t ADCGroupRegularSequencerRanks;
[26]5682# 485 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5683} ADC_HandleTypeDef;
[26]5684# 1833 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
5685# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" 1
5686# 146 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h"
[6]5687HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef *hadc);
5688uint32_t HAL_ADCEx_Calibration_GetValue(const ADC_HandleTypeDef *hadc);
5689HAL_StatusTypeDef HAL_ADCEx_Calibration_SetValue(ADC_HandleTypeDef *hadc, uint32_t CalibrationFactor);
5690
5691
5692void HAL_ADCEx_LevelOutOfWindow2Callback(ADC_HandleTypeDef *hadc);
5693void HAL_ADCEx_LevelOutOfWindow3Callback(ADC_HandleTypeDef *hadc);
5694void HAL_ADCEx_EndOfSamplingCallback(ADC_HandleTypeDef *hadc);
5695void HAL_ADCEx_ChannelConfigReadyCallback(ADC_HandleTypeDef *hadc);
[26]5696# 164 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h"
[6]5697HAL_StatusTypeDef HAL_ADCEx_DisableVoltageRegulator(ADC_HandleTypeDef *hadc);
[26]5698# 1834 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2
5699# 1845 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5700HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef *hadc);
5701HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc);
5702void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc);
5703void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc);
[26]5704# 1867 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5705HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef *hadc);
5706HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef *hadc);
5707HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef *hadc, uint32_t Timeout);
5708HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeout);
5709
5710
5711HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef *hadc);
5712HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef *hadc);
5713
5714
5715HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef *hadc, uint32_t *pData, uint32_t Length);
5716HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef *hadc);
5717
5718
5719uint32_t HAL_ADC_GetValue(const ADC_HandleTypeDef *hadc);
5720
5721
5722void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc);
5723void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc);
5724void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef *hadc);
5725void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef *hadc);
5726void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc);
[26]5727# 1898 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5728HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef *hadc, const ADC_ChannelConfTypeDef *pConfig);
5729HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef *hadc,
5730                                                const ADC_AnalogWDGConfTypeDef *pAnalogWDGConfig);
[26]5731# 1910 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5732uint32_t HAL_ADC_GetState(const ADC_HandleTypeDef *hadc);
5733uint32_t HAL_ADC_GetError(const ADC_HandleTypeDef *hadc);
[26]5734# 1922 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h"
[6]5735HAL_StatusTypeDef ADC_ConversionStop(ADC_HandleTypeDef *hadc);
5736HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef *hadc);
5737HAL_StatusTypeDef ADC_Disable(ADC_HandleTypeDef *hadc);
[26]5738# 212 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
5739# 224 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h"
5740# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 1
5741# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h"
[6]5742typedef enum
5743{
5744  HAL_CRC_STATE_RESET = 0x00U,
5745  HAL_CRC_STATE_READY = 0x01U,
5746  HAL_CRC_STATE_BUSY = 0x02U,
5747  HAL_CRC_STATE_TIMEOUT = 0x03U,
5748  HAL_CRC_STATE_ERROR = 0x04U
5749} HAL_CRC_StateTypeDef;
5750
5751
5752
5753
5754typedef struct
5755{
5756  uint8_t DefaultPolynomialUse;
5757
5758
5759
5760
5761
5762  uint8_t DefaultInitValueUse;
5763
5764
5765
5766
5767  uint32_t GeneratingPolynomial;
5768
5769
5770
5771
5772  uint32_t CRCLength;
5773
5774
5775
5776
5777
5778
5779  uint32_t InitValue;
5780
5781
5782  uint32_t InputDataInversionMode;
5783
5784
5785
5786
5787
5788
5789  uint32_t OutputDataInversionMode;
5790
5791
5792
5793} CRC_InitTypeDef;
5794
5795
5796
5797
5798typedef struct
5799{
5800  CRC_TypeDef *Instance;
5801
5802  CRC_InitTypeDef Init;
5803
5804  HAL_LockTypeDef Lock;
5805
5806  volatile HAL_CRC_StateTypeDef State;
5807
5808  uint32_t InputDataFormat;
5809
5810
5811
5812
5813
5814
5815
5816} CRC_HandleTypeDef;
[26]5817# 288 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h"
5818# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h" 1
5819# 127 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h"
[6]5820HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set(CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength);
5821HAL_StatusTypeDef HAL_CRCEx_Input_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t InputReverseMode);
5822HAL_StatusTypeDef HAL_CRCEx_Output_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t OutputReverseMode);
[26]5823# 289 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 2
5824# 299 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h"
[6]5825HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc);
5826HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc);
5827void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc);
5828void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc);
[26]5829# 311 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h"
[6]5830uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
5831uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength);
[26]5832# 321 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h"
[6]5833HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc);
[26]5834# 225 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
5835# 236 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h"
5836# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" 1
5837# 44 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h"
[6]5838typedef enum
5839{
5840  HAL_EXTI_COMMON_CB_ID = 0x00U,
5841  HAL_EXTI_RISING_CB_ID = 0x01U,
5842  HAL_EXTI_FALLING_CB_ID = 0x02U,
5843} EXTI_CallbackIDTypeDef;
5844
5845
5846
5847
5848
5849typedef struct
5850{
5851  uint32_t Line;
5852  void (* RisingCallback)(void);
5853  void (* FallingCallback)(void);
5854} EXTI_HandleTypeDef;
5855
5856
5857
5858
5859typedef struct
5860{
5861  uint32_t Line;
5862
5863  uint32_t Mode;
5864
5865  uint32_t Trigger;
5866
5867  uint32_t GPIOSel;
5868
5869
5870} EXTI_ConfigTypeDef;
[26]5871# 347 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h"
[6]5872HAL_StatusTypeDef HAL_EXTI_SetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig);
5873HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig);
5874HAL_StatusTypeDef HAL_EXTI_ClearConfigLine(EXTI_HandleTypeDef *hexti);
5875HAL_StatusTypeDef HAL_EXTI_RegisterCallback(EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef CallbackID, void (*pPendingCbfn)(void));
5876HAL_StatusTypeDef HAL_EXTI_GetHandle(EXTI_HandleTypeDef *hexti, uint32_t ExtiLine);
[26]5877# 361 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h"
[6]5878void HAL_EXTI_IRQHandler(EXTI_HandleTypeDef *hexti);
5879uint32_t HAL_EXTI_GetPending(EXTI_HandleTypeDef *hexti, uint32_t Edge);
5880void HAL_EXTI_ClearPending(EXTI_HandleTypeDef *hexti, uint32_t Edge);
5881void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti);
[26]5882# 237 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]5883
5884
5885
[26]5886# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 1
5887# 45 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h"
[6]5888typedef struct
5889{
5890  uint32_t TypeErase;
5891
5892  uint32_t Banks;
5893
5894
5895  uint32_t Page;
5896
5897  uint32_t NbPages;
5898
5899} FLASH_EraseInitTypeDef;
5900
5901
5902
5903
5904typedef struct
5905{
5906  uint32_t OptionType;
5907
5908  uint32_t WRPArea;
5909
5910
5911  uint32_t WRPStartOffset;
5912
5913  uint32_t WRPEndOffset;
5914
5915  uint32_t RDPLevel;
5916
5917  uint32_t USERType;
5918
5919  uint32_t USERConfig;
[26]5920# 131 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h"
[6]5921} FLASH_OBProgramInitTypeDef;
5922
5923
5924
5925
5926typedef struct
5927{
5928  HAL_LockTypeDef Lock;
5929  uint32_t ErrorCode;
5930  uint32_t ProcedureOnGoing;
5931  uint32_t Address;
5932  uint32_t Banks;
5933  uint32_t Page;
5934  uint32_t NbPagesToErase;
5935} FLASH_ProcessTypeDef;
[26]5936# 804 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h"
5937# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" 1
5938# 64 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h"
[6]5939HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError);
5940HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit);
5941void HAL_FLASHEx_EnableDebugger(void);
5942void HAL_FLASHEx_DisableDebugger(void);
5943uint32_t HAL_FLASHEx_FlashEmptyCheck(void);
5944void HAL_FLASHEx_ForceFlashEmpty(uint32_t FlashEmpty);
5945
5946
5947
5948HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit);
5949void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit);
[26]5950# 98 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h"
[6]5951void FLASH_PageErase(uint32_t Banks, uint32_t Page);
[26]5952# 805 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 2
[6]5953
5954
5955
5956
5957extern FLASH_ProcessTypeDef pFlash;
[26]5958# 823 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h"
[6]5959HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data);
5960HAL_StatusTypeDef HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t Address, uint64_t Data);
5961
5962void HAL_FLASH_IRQHandler(void);
5963
5964void HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue);
5965void HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue);
[26]5966# 838 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h"
[6]5967HAL_StatusTypeDef HAL_FLASH_Unlock(void);
5968HAL_StatusTypeDef HAL_FLASH_Lock(void);
5969
5970HAL_StatusTypeDef HAL_FLASH_OB_Unlock(void);
5971HAL_StatusTypeDef HAL_FLASH_OB_Lock(void);
5972HAL_StatusTypeDef HAL_FLASH_OB_Launch(void);
[26]5973# 852 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h"
[6]5974uint32_t HAL_FLASH_GetError(void);
[26]5975# 865 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h"
[6]5976HAL_StatusTypeDef FLASH_WaitForLastOperation(uint32_t Timeout);
[26]5977# 241 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
5978# 264 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h"
5979# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 1
5980# 267 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h"
5981# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" 1
5982# 563 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h"
[6]5983void HAL_PWREx_EnableBatteryCharging(uint32_t ResistorSelection);
5984void HAL_PWREx_DisableBatteryCharging(void);
5985
5986
5987
5988
5989void HAL_PWREx_EnableInternalWakeUpLine(void);
5990void HAL_PWREx_DisableInternalWakeUpLine(void);
5991HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber);
5992HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber);
5993HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber);
5994HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber);
5995void HAL_PWREx_EnablePullUpPullDownConfig(void);
5996void HAL_PWREx_DisablePullUpPullDownConfig(void);
5997
5998
5999
6000
6001void HAL_PWREx_EnableFlashPowerDown(uint32_t PowerMode);
6002void HAL_PWREx_DisableFlashPowerDown(uint32_t PowerMode);
6003uint32_t HAL_PWREx_GetVoltageRange(void);
6004HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling);
[26]6005# 604 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h"
[6]6006void HAL_PWREx_EnableLowPowerRunMode(void);
6007HAL_StatusTypeDef HAL_PWREx_DisableLowPowerRunMode(void);
[26]6008# 268 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 2
6009# 279 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h"
[6]6010void HAL_PWR_DeInit(void);
[26]6011# 288 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h"
[6]6012void HAL_PWR_EnableBkUpAccess(void);
6013void HAL_PWR_DisableBkUpAccess(void);
6014
6015
6016void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinPolarity);
6017void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPinx);
6018
6019
6020void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry);
6021void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry);
6022void HAL_PWR_EnterSTANDBYMode(void);
6023void HAL_PWR_EnableSleepOnExit(void);
6024void HAL_PWR_DisableSleepOnExit(void);
6025void HAL_PWR_EnableSEVOnPend(void);
6026void HAL_PWR_DisableSEVOnPend(void);
[26]6027# 265 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]6028
6029
6030
6031
6032
6033
6034
[26]6035# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 1
6036# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6037typedef enum
6038{
6039  HAL_RTC_STATE_RESET = 0x00U,
6040  HAL_RTC_STATE_READY = 0x01U,
6041  HAL_RTC_STATE_BUSY = 0x02U,
6042  HAL_RTC_STATE_TIMEOUT = 0x03U,
6043  HAL_RTC_STATE_ERROR = 0x04U
6044
6045}HAL_RTCStateTypeDef;
6046
6047
6048
6049
6050typedef struct
6051{
6052  uint32_t HourFormat;
6053
6054
6055  uint32_t AsynchPrediv;
6056
6057
6058  uint32_t SynchPrediv;
6059
6060
6061  uint32_t OutPut;
6062
6063
6064  uint32_t OutPutRemap;
6065
6066
6067  uint32_t OutPutPolarity;
6068
6069
6070  uint32_t OutPutType;
6071
6072
6073  uint32_t OutPutPullUp;
6074
6075}RTC_InitTypeDef;
6076
6077
6078
6079
6080typedef struct
6081{
6082  uint8_t Hours;
6083
6084
6085
6086  uint8_t Minutes;
6087
6088
6089  uint8_t Seconds;
6090
6091
6092  uint8_t TimeFormat;
6093
6094
6095  uint32_t SubSeconds;
6096
6097
6098
6099  uint32_t SecondFraction;
6100
6101
6102
6103
6104
6105  uint32_t DayLightSaving;
6106
6107
6108  uint32_t StoreOperation;
6109
6110
6111}RTC_TimeTypeDef;
6112
6113
6114
6115
6116typedef struct
6117{
6118  uint8_t WeekDay;
6119
6120
6121  uint8_t Month;
6122
6123
6124  uint8_t Date;
6125
6126
6127  uint8_t Year;
6128
6129
6130}RTC_DateTypeDef;
6131
6132
6133
6134
6135typedef struct
6136{
6137  RTC_TimeTypeDef AlarmTime;
6138
6139  uint32_t AlarmMask;
6140
6141
6142  uint32_t AlarmSubSecondMask;
6143
6144
6145  uint32_t AlarmDateWeekDaySel;
6146
6147
6148  uint8_t AlarmDateWeekDay;
6149
6150
6151
6152  uint32_t Alarm;
6153
6154}RTC_AlarmTypeDef;
6155
6156
6157
6158
6159
6160
6161
6162typedef struct
6163
6164{
6165  RTC_TypeDef *Instance;
6166
6167  uint32_t TampOffset;
6168
6169  RTC_InitTypeDef Init;
6170
6171  HAL_LockTypeDef Lock;
6172
6173  volatile HAL_RTCStateTypeDef State;
[26]6174# 214 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6175}RTC_HandleTypeDef;
[26]6176# 721 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
6177# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" 1
6178# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h"
[6]6179typedef struct
6180{
6181  uint32_t Tamper;
6182
6183
6184  uint32_t Trigger;
6185
6186
6187  uint32_t NoErase;
6188
6189
6190  uint32_t MaskFlag;
6191
6192
6193  uint32_t Filter;
6194
6195
6196  uint32_t SamplingFrequency;
6197
6198
6199  uint32_t PrechargeDuration;
6200
6201
6202  uint32_t TamperPullUp;
6203
6204
6205  uint32_t TimeStampOnTamperDetection;
6206
6207}RTC_TamperTypeDef;
[26]6208# 84 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h"
[6]6209typedef struct
6210{
6211  uint32_t IntTamper;
6212
6213
6214  uint32_t TimeStampOnTamperDetection;
6215
6216} RTC_InternalTamperTypeDef;
[26]6217# 890 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h"
[6]6218HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin);
6219HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin);
6220HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc);
6221HAL_StatusTypeDef HAL_RTCEx_SetInternalTimeStamp(RTC_HandleTypeDef *hrtc);
6222HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTimeStamp(RTC_HandleTypeDef *hrtc);
6223HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format);
6224
6225void HAL_RTCEx_TimeStampIRQHandler(RTC_HandleTypeDef *hrtc);
6226HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout);
6227void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc);
[26]6228# 910 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h"
[6]6229HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock);
6230HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock);
6231HAL_StatusTypeDef HAL_RTCEx_DeactivateWakeUpTimer(RTC_HandleTypeDef *hrtc);
6232uint32_t HAL_RTCEx_GetWakeUpTimer(RTC_HandleTypeDef *hrtc);
6233void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc);
6234void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc);
6235HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout);
[26]6236# 926 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h"
[6]6237HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue);
6238HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS);
6239HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut(RTC_HandleTypeDef *hrtc, uint32_t CalibOutput);
6240HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut(RTC_HandleTypeDef *hrtc);
6241HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef *hrtc);
6242HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef *hrtc);
6243HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef *hrtc);
6244HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc);
[26]6245# 943 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h"
[6]6246void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc);
6247HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout);
6248
6249
6250
6251
6252
6253
6254
6255HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
6256HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper);
6257HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper);
6258HAL_StatusTypeDef HAL_RTCEx_PollForTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t Tamper, uint32_t Timeout);
6259HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper);
6260HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper_IT(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper);
6261HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTamper(RTC_HandleTypeDef *hrtc, uint32_t IntTamper);
6262HAL_StatusTypeDef HAL_RTCEx_PollForInternalTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t IntTamper, uint32_t Timeout);
6263void HAL_RTCEx_TamperIRQHandler(RTC_HandleTypeDef *hrtc);
6264void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc);
6265void HAL_RTCEx_Tamper2EventCallback(RTC_HandleTypeDef *hrtc);
6266void HAL_RTCEx_InternalTamper3EventCallback(RTC_HandleTypeDef *hrtc);
6267void HAL_RTCEx_InternalTamper4EventCallback(RTC_HandleTypeDef *hrtc);
6268void HAL_RTCEx_InternalTamper5EventCallback(RTC_HandleTypeDef *hrtc);
6269void HAL_RTCEx_InternalTamper6EventCallback(RTC_HandleTypeDef *hrtc);
6270
6271
6272
6273
6274
6275
6276
6277void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data);
6278uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister);
[26]6279# 722 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 2
6280# 732 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6281HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc);
6282HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc);
6283
6284void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc);
6285void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc);
[26]6286# 752 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6287HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
6288HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format);
6289HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
6290HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format);
[26]6291# 764 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6292HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format);
6293HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format);
6294HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm);
6295HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format);
6296void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc);
6297HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout);
6298void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc);
[26]6299# 779 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6300HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef* hrtc);
[26]6301# 788 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6302HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef *hrtc);
[26]6303# 938 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h"
[6]6304HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef* hrtc);
6305HAL_StatusTypeDef RTC_ExitInitMode(RTC_HandleTypeDef *hrtc);
6306uint8_t RTC_ByteToBcd2(uint8_t Value);
6307uint8_t RTC_Bcd2ToByte(uint8_t Value);
[26]6308# 273 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
6309# 284 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h"
6310# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 1
6311# 46 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h"
[6]6312typedef struct
6313{
6314  uint32_t Mode;
6315
6316
6317  uint32_t Direction;
6318
6319
6320  uint32_t DataSize;
6321
6322
6323  uint32_t CLKPolarity;
6324
6325
6326  uint32_t CLKPhase;
6327
6328
6329  uint32_t NSS;
6330
6331
6332
6333  uint32_t BaudRatePrescaler;
6334
6335
6336
6337
6338
6339  uint32_t FirstBit;
6340
6341
6342  uint32_t TIMode;
6343
6344
6345  uint32_t CRCCalculation;
6346
6347
6348  uint32_t CRCPolynomial;
6349
6350
6351  uint32_t CRCLength;
6352
6353
6354
6355  uint32_t NSSPMode;
6356
6357
6358
6359
6360
6361} SPI_InitTypeDef;
6362
6363
6364
6365
6366typedef enum
6367{
6368  HAL_SPI_STATE_RESET = 0x00U,
6369  HAL_SPI_STATE_READY = 0x01U,
6370  HAL_SPI_STATE_BUSY = 0x02U,
6371  HAL_SPI_STATE_BUSY_TX = 0x03U,
6372  HAL_SPI_STATE_BUSY_RX = 0x04U,
6373  HAL_SPI_STATE_BUSY_TX_RX = 0x05U,
6374  HAL_SPI_STATE_ERROR = 0x06U,
6375  HAL_SPI_STATE_ABORT = 0x07U
6376} HAL_SPI_StateTypeDef;
6377
6378
6379
6380
6381typedef struct __SPI_HandleTypeDef
6382{
6383  SPI_TypeDef *Instance;
6384
6385  SPI_InitTypeDef Init;
6386
6387  uint8_t *pTxBuffPtr;
6388
6389  uint16_t TxXferSize;
6390
6391  volatile uint16_t TxXferCount;
6392
6393  uint8_t *pRxBuffPtr;
6394
6395  uint16_t RxXferSize;
6396
6397  volatile uint16_t RxXferCount;
6398
6399  uint32_t CRCSize;
6400
6401  void (*RxISR)(struct __SPI_HandleTypeDef *hspi);
6402
6403  void (*TxISR)(struct __SPI_HandleTypeDef *hspi);
6404
6405  DMA_HandleTypeDef *hdmatx;
6406
6407  DMA_HandleTypeDef *hdmarx;
6408
6409  HAL_LockTypeDef Lock;
6410
6411  volatile HAL_SPI_StateTypeDef State;
6412
6413  volatile uint32_t ErrorCode;
[26]6414# 162 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h"
[6]6415} SPI_HandleTypeDef;
[26]6416# 762 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h"
6417# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h" 1
6418# 51 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h"
[6]6419HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi);
[26]6420# 763 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 2
6421# 773 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h"
[6]6422HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi);
6423HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi);
6424void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi);
6425void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi);
[26]6426# 792 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h"
[6]6427HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout);
6428HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout);
6429HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size,
6430                                          uint32_t Timeout);
6431HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
6432HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
6433HAL_StatusTypeDef HAL_SPI_TransmitReceive_IT(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData,
6434                                             uint16_t Size);
6435HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
6436HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size);
6437HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData,
6438                                              uint16_t Size);
6439HAL_StatusTypeDef HAL_SPI_DMAPause(SPI_HandleTypeDef *hspi);
6440HAL_StatusTypeDef HAL_SPI_DMAResume(SPI_HandleTypeDef *hspi);
6441HAL_StatusTypeDef HAL_SPI_DMAStop(SPI_HandleTypeDef *hspi);
6442
6443HAL_StatusTypeDef HAL_SPI_Abort(SPI_HandleTypeDef *hspi);
6444HAL_StatusTypeDef HAL_SPI_Abort_IT(SPI_HandleTypeDef *hspi);
6445
6446void HAL_SPI_IRQHandler(SPI_HandleTypeDef *hspi);
6447void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi);
6448void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi);
6449void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi);
6450void HAL_SPI_TxHalfCpltCallback(SPI_HandleTypeDef *hspi);
6451void HAL_SPI_RxHalfCpltCallback(SPI_HandleTypeDef *hspi);
6452void HAL_SPI_TxRxHalfCpltCallback(SPI_HandleTypeDef *hspi);
6453void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi);
6454void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi);
[26]6455# 828 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h"
[6]6456HAL_SPI_StateTypeDef HAL_SPI_GetState(SPI_HandleTypeDef *hspi);
6457uint32_t HAL_SPI_GetError(SPI_HandleTypeDef *hspi);
[26]6458# 285 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]6459
6460
6461
[26]6462# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 1
6463# 46 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6464typedef struct
6465{
6466  uint32_t Prescaler;
6467
6468
6469  uint32_t CounterMode;
6470
6471
6472  uint32_t Period;
6473
6474
6475
6476  uint32_t ClockDivision;
6477
6478
6479  uint32_t RepetitionCounter;
[26]6480# 72 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6481  uint32_t AutoReloadPreload;
6482
6483} TIM_Base_InitTypeDef;
6484
6485
6486
6487
6488typedef struct
6489{
6490  uint32_t OCMode;
6491
6492
6493  uint32_t Pulse;
6494
6495
6496  uint32_t OCPolarity;
6497
6498
6499  uint32_t OCNPolarity;
6500
6501
6502
6503  uint32_t OCFastMode;
6504
6505
6506
6507
6508  uint32_t OCIdleState;
6509
6510
6511
6512  uint32_t OCNIdleState;
6513
6514
6515} TIM_OC_InitTypeDef;
6516
6517
6518
6519
6520typedef struct
6521{
6522  uint32_t OCMode;
6523
6524
6525  uint32_t Pulse;
6526
6527
6528  uint32_t OCPolarity;
6529
6530
6531  uint32_t OCNPolarity;
6532
6533
6534
6535  uint32_t OCIdleState;
6536
6537
6538
6539  uint32_t OCNIdleState;
6540
6541
6542
6543  uint32_t ICPolarity;
6544
6545
6546  uint32_t ICSelection;
6547
6548
6549  uint32_t ICFilter;
6550
6551} TIM_OnePulse_InitTypeDef;
6552
6553
6554
6555
6556typedef struct
6557{
6558  uint32_t ICPolarity;
6559
6560
6561  uint32_t ICSelection;
6562
6563
6564  uint32_t ICPrescaler;
6565
6566
6567  uint32_t ICFilter;
6568
6569} TIM_IC_InitTypeDef;
6570
6571
6572
6573
6574typedef struct
6575{
6576  uint32_t EncoderMode;
6577
6578
6579  uint32_t IC1Polarity;
6580
6581
6582  uint32_t IC1Selection;
6583
6584
6585  uint32_t IC1Prescaler;
6586
6587
6588  uint32_t IC1Filter;
6589
6590
6591  uint32_t IC2Polarity;
6592
6593
6594  uint32_t IC2Selection;
6595
6596
6597  uint32_t IC2Prescaler;
6598
6599
6600  uint32_t IC2Filter;
6601
6602} TIM_Encoder_InitTypeDef;
6603
6604
6605
6606
6607typedef struct
6608{
6609  uint32_t ClockSource;
6610
6611  uint32_t ClockPolarity;
6612
6613  uint32_t ClockPrescaler;
6614
6615  uint32_t ClockFilter;
6616
6617} TIM_ClockConfigTypeDef;
6618
6619
6620
6621
6622typedef struct
6623{
6624  uint32_t ClearInputState;
6625
6626  uint32_t ClearInputSource;
6627
6628  uint32_t ClearInputPolarity;
6629
6630  uint32_t ClearInputPrescaler;
6631
6632
6633  uint32_t ClearInputFilter;
6634
6635} TIM_ClearInputConfigTypeDef;
6636
6637
6638
6639
6640
6641
6642typedef struct
6643{
6644  uint32_t MasterOutputTrigger;
6645
6646  uint32_t MasterOutputTrigger2;
6647
6648  uint32_t MasterSlaveMode;
6649
6650
6651
6652
6653
6654
6655} TIM_MasterConfigTypeDef;
6656
6657
6658
6659
6660typedef struct
6661{
6662  uint32_t SlaveMode;
6663
6664  uint32_t InputTrigger;
6665
6666  uint32_t TriggerPolarity;
6667
6668  uint32_t TriggerPrescaler;
6669
6670  uint32_t TriggerFilter;
6671
6672
6673} TIM_SlaveConfigTypeDef;
6674
6675
6676
6677
6678
6679
6680typedef struct
6681{
6682  uint32_t OffStateRunMode;
6683
6684  uint32_t OffStateIDLEMode;
6685
6686  uint32_t LockLevel;
6687
6688  uint32_t DeadTime;
6689
6690  uint32_t BreakState;
6691
6692  uint32_t BreakPolarity;
6693
6694  uint32_t BreakFilter;
6695
6696  uint32_t BreakAFMode;
6697
6698  uint32_t Break2State;
6699
6700  uint32_t Break2Polarity;
6701
6702  uint32_t Break2Filter;
6703
6704  uint32_t Break2AFMode;
6705
6706  uint32_t AutomaticOutput;
6707
6708} TIM_BreakDeadTimeConfigTypeDef;
6709
6710
6711
6712
6713typedef enum
6714{
6715  HAL_TIM_STATE_RESET = 0x00U,
6716  HAL_TIM_STATE_READY = 0x01U,
6717  HAL_TIM_STATE_BUSY = 0x02U,
6718  HAL_TIM_STATE_TIMEOUT = 0x03U,
6719  HAL_TIM_STATE_ERROR = 0x04U
6720} HAL_TIM_StateTypeDef;
6721
6722
6723
6724
6725typedef enum
6726{
6727  HAL_TIM_CHANNEL_STATE_RESET = 0x00U,
6728  HAL_TIM_CHANNEL_STATE_READY = 0x01U,
6729  HAL_TIM_CHANNEL_STATE_BUSY = 0x02U,
6730} HAL_TIM_ChannelStateTypeDef;
6731
6732
6733
6734
6735typedef enum
6736{
6737  HAL_DMA_BURST_STATE_RESET = 0x00U,
6738  HAL_DMA_BURST_STATE_READY = 0x01U,
6739  HAL_DMA_BURST_STATE_BUSY = 0x02U,
6740} HAL_TIM_DMABurstStateTypeDef;
6741
6742
6743
6744
6745typedef enum
6746{
6747  HAL_TIM_ACTIVE_CHANNEL_1 = 0x01U,
6748  HAL_TIM_ACTIVE_CHANNEL_2 = 0x02U,
6749  HAL_TIM_ACTIVE_CHANNEL_3 = 0x04U,
6750  HAL_TIM_ACTIVE_CHANNEL_4 = 0x08U,
6751  HAL_TIM_ACTIVE_CHANNEL_5 = 0x10U,
6752  HAL_TIM_ACTIVE_CHANNEL_6 = 0x20U,
6753  HAL_TIM_ACTIVE_CHANNEL_CLEARED = 0x00U
6754} HAL_TIM_ActiveChannel;
6755
6756
6757
6758
6759
6760
6761
6762typedef struct
6763
6764{
6765  TIM_TypeDef *Instance;
6766  TIM_Base_InitTypeDef Init;
6767  HAL_TIM_ActiveChannel Channel;
6768  DMA_HandleTypeDef *hdma[7];
6769
6770  HAL_LockTypeDef Lock;
6771  volatile HAL_TIM_StateTypeDef State;
6772  volatile HAL_TIM_ChannelStateTypeDef ChannelState[6];
6773  volatile HAL_TIM_ChannelStateTypeDef ChannelNState[4];
6774  volatile HAL_TIM_DMABurstStateTypeDef DMABurstState;
[26]6775# 397 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6776} TIM_HandleTypeDef;
[26]6777# 2192 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
6778# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" 1
6779# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6780typedef struct
6781{
6782  uint32_t IC1Polarity;
6783
6784
6785  uint32_t IC1Prescaler;
6786
6787
6788  uint32_t IC1Filter;
6789
6790
6791  uint32_t Commutation_Delay;
6792
6793} TIM_HallSensor_InitTypeDef;
6794
6795
6796
6797
6798typedef struct
6799{
6800  uint32_t Source;
6801
6802  uint32_t Enable;
6803
6804  uint32_t Polarity;
6805
6806} TIMEx_BreakInputConfigTypeDef;
[26]6807# 338 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6808HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeDef *sConfig);
6809HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim);
6810
6811void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim);
6812void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim);
6813
6814
6815HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim);
6816HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim);
6817
6818HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim);
6819HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim);
6820
6821HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length);
6822HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim);
[26]6823# 363 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6824HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
6825HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
6826
6827
6828HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6829HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6830
6831
6832HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData,
6833                                          uint16_t Length);
6834HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
[26]6835# 384 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6836HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
6837HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
6838
6839
6840HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6841HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6842
6843HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData,
6844                                           uint16_t Length);
6845HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
[26]6846# 404 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6847HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
6848HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
6849
6850
6851HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
6852HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
[26]6853# 419 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6854HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
6855                                              uint32_t CommutationSource);
6856HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
6857                                                 uint32_t CommutationSource);
6858HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger,
6859                                                  uint32_t CommutationSource);
6860HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim,
6861                                                        const TIM_MasterConfigTypeDef *sMasterConfig);
6862HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim,
6863                                                const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig);
6864HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput,
6865                                             const TIMEx_BreakInputConfigTypeDef *sBreakInputConfig);
6866HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels);
6867HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap);
6868HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Channel);
6869
6870HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput);
6871HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(const TIM_HandleTypeDef *htim, uint32_t BreakInput);
[26]6872# 446 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6873void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim);
6874void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim);
6875void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim);
6876void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim);
[26]6877# 459 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6878HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim);
6879HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t ChannelN);
[26]6880# 474 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h"
[6]6881void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma);
6882void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma);
[26]6883# 2193 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 2
6884# 2204 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6885HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim);
6886HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim);
6887void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim);
6888void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim);
6889
6890HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim);
6891HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim);
6892
6893HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim);
6894HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim);
6895
6896HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t Length);
6897HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim);
[26]6898# 2226 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6899HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim);
6900HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim);
6901void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim);
6902void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim);
6903
6904HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
6905HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
6906
6907HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6908HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6909
6910HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData,
6911                                       uint16_t Length);
6912HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
[26]6913# 2249 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6914HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim);
6915HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim);
6916void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim);
6917void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim);
6918
6919HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
6920HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
6921
6922HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6923HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6924
6925HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData,
6926                                        uint16_t Length);
6927HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
[26]6928# 2272 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6929HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim);
6930HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim);
6931void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim);
6932void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim);
6933
6934HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
6935HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
6936
6937HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6938HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6939
6940HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
6941HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
[26]6942# 2294 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6943HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode);
6944HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim);
6945void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim);
6946void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim);
6947
6948HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
6949HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
6950
6951HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
6952HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel);
[26]6953# 2313 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6954HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig);
6955HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim);
6956void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim);
6957void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim);
6958
6959HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel);
6960HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel);
6961
6962HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6963HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel);
6964
6965HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData1,
6966                                            uint32_t *pData2, uint16_t Length);
6967HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel);
[26]6968# 2336 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6969void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim);
[26]6970# 2346 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]6971HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig,
6972                                           uint32_t Channel);
6973HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig,
6974                                            uint32_t Channel);
6975HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConfig,
6976                                           uint32_t Channel);
6977HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig,
6978                                                 uint32_t OutputChannel, uint32_t InputChannel);
6979HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim,
6980                                           const TIM_ClearInputConfigTypeDef *sClearInputConfig,
6981                                           uint32_t Channel);
6982HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef *sClockSourceConfig);
6983HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection);
6984HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig);
6985HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig);
6986HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress,
6987                                              uint32_t BurstRequestSrc, const uint32_t *BurstBuffer,
6988                                              uint32_t BurstLength);
6989HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress,
6990                                                   uint32_t BurstRequestSrc, const uint32_t *BurstBuffer,
6991                                                   uint32_t BurstLength, uint32_t DataLength);
6992HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc);
6993HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress,
6994                                             uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength);
6995HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress,
6996                                                  uint32_t BurstRequestSrc, uint32_t *BurstBuffer,
6997                                                  uint32_t BurstLength, uint32_t DataLength);
6998HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc);
6999HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource);
7000uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel);
[26]7001# 2385 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]7002void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim);
7003void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim);
7004void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim);
7005void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim);
7006void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim);
7007void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim);
7008void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim);
7009void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim);
7010void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim);
7011void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim);
[26]7012# 2412 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]7013HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim);
7014HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim);
7015HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim);
7016HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim);
7017HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim);
7018HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim);
7019
7020
7021HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim);
7022HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channel);
7023HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim);
[26]7024# 2436 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h"
[6]7025void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure);
7026void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter);
7027void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config);
7028void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler,
7029                       uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter);
7030
7031void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma);
7032void TIM_DMAError(DMA_HandleTypeDef *hdma);
7033void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma);
7034void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma);
7035void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState);
[26]7036# 289 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
[6]7037
7038
7039
[26]7040# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 1
7041# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7042typedef struct
7043{
7044  uint32_t BaudRate;
[26]7045# 65 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7046  uint32_t WordLength;
7047
7048
7049  uint32_t StopBits;
7050
7051
7052  uint32_t Parity;
7053
7054
7055
7056
7057
7058
7059  uint32_t Mode;
7060
7061
7062  uint32_t HwFlowCtl;
7063
7064
7065
7066  uint32_t OverSampling;
7067
7068
7069  uint32_t OneBitSampling;
7070
7071
7072
7073  uint32_t ClockPrescaler;
7074
7075
7076} UART_InitTypeDef;
7077
7078
7079
7080
7081typedef struct
7082{
7083  uint32_t AdvFeatureInit;
7084
7085
7086
7087  uint32_t TxPinLevelInvert;
7088
7089
7090  uint32_t RxPinLevelInvert;
7091
7092
7093  uint32_t DataInvert;
7094
7095
7096
7097  uint32_t Swap;
7098
7099
7100  uint32_t OverrunDisable;
7101
7102
7103  uint32_t DMADisableonRxError;
7104
7105
7106  uint32_t AutoBaudRateEnable;
7107
7108
7109  uint32_t AutoBaudRateMode;
7110
7111
7112
7113  uint32_t MSBFirst;
7114
7115} UART_AdvFeatureInitTypeDef;
[26]7116# 177 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7117typedef uint32_t HAL_UART_StateTypeDef;
7118
7119
7120
7121
7122typedef enum
7123{
7124  UART_CLOCKSOURCE_PCLK1 = 0x00U,
7125  UART_CLOCKSOURCE_HSI = 0x02U,
7126  UART_CLOCKSOURCE_SYSCLK = 0x04U,
7127  UART_CLOCKSOURCE_LSE = 0x08U,
7128  UART_CLOCKSOURCE_UNDEFINED = 0x10U
7129} UART_ClockSourceTypeDef;
7130
7131
7132
7133
7134typedef struct __UART_HandleTypeDef
7135{
7136  USART_TypeDef *Instance;
7137
7138  UART_InitTypeDef Init;
7139
7140  UART_AdvFeatureInitTypeDef AdvancedInit;
7141
7142  uint8_t *pTxBuffPtr;
7143
7144  uint16_t TxXferSize;
7145
7146  volatile uint16_t TxXferCount;
7147
7148  uint8_t *pRxBuffPtr;
7149
7150  uint16_t RxXferSize;
7151
7152  volatile uint16_t RxXferCount;
7153
7154  uint16_t Mask;
7155
7156  uint32_t FifoMode;
7157
7158
7159  uint16_t NbRxDataToProcess;
7160
7161  uint16_t NbTxDataToProcess;
7162
7163  void (*RxISR)(struct __UART_HandleTypeDef *huart);
7164
7165  void (*TxISR)(struct __UART_HandleTypeDef *huart);
7166
7167  DMA_HandleTypeDef *hdmatx;
7168
7169  DMA_HandleTypeDef *hdmarx;
7170
7171  HAL_LockTypeDef Lock;
7172
7173  volatile HAL_UART_StateTypeDef gState;
7174
7175
7176
7177  volatile HAL_UART_StateTypeDef RxState;
7178
7179
7180  volatile uint32_t ErrorCode;
[26]7181# 259 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7182} UART_HandleTypeDef;
[26]7183# 1489 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
7184# 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" 1
7185# 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h"
[6]7186typedef struct
7187{
7188  uint32_t WakeUpEvent;
7189
7190
7191
7192
7193  uint16_t AddressLength;
7194
7195
7196  uint8_t Address;
7197} UART_WakeUpTypeDef;
[26]7198# 141 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h"
[6]7199HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime, uint32_t DeassertionTime);
[26]7200# 151 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h"
[6]7201void HAL_UARTEx_WakeupCallback(UART_HandleTypeDef *huart);
7202
7203void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart);
7204void HAL_UARTEx_TxFifoEmptyCallback(UART_HandleTypeDef *huart);
[26]7205# 165 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h"
[6]7206HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection);
7207HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart);
7208HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart);
7209HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t AddressLength);
7210HAL_StatusTypeDef HAL_UARTEx_EnableFifoMode(UART_HandleTypeDef *huart);
7211HAL_StatusTypeDef HAL_UARTEx_DisableFifoMode(UART_HandleTypeDef *huart);
7212HAL_StatusTypeDef HAL_UARTEx_SetTxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold);
7213HAL_StatusTypeDef HAL_UARTEx_SetRxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold);
[26]7214# 1490 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 2
7215# 1502 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7216HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart);
7217HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart);
7218HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLength);
7219HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Address, uint32_t WakeUpMethod);
7220HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart);
7221void HAL_UART_MspInit(UART_HandleTypeDef *huart);
7222void HAL_UART_MspDeInit(UART_HandleTypeDef *huart);
[26]7223# 1525 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7224HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout);
7225HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout);
7226HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size);
7227HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size);
7228HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size);
7229HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size);
7230HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart);
7231HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart);
7232HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart);
7233
7234HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart);
7235HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart);
7236HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart);
7237HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart);
7238HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart);
7239HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart);
7240
7241void HAL_UART_IRQHandler(UART_HandleTypeDef *huart);
7242void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart);
7243void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart);
7244void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart);
7245void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart);
7246void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart);
7247void HAL_UART_AbortCpltCallback(UART_HandleTypeDef *huart);
7248void HAL_UART_AbortTransmitCpltCallback(UART_HandleTypeDef *huart);
7249void HAL_UART_AbortReceiveCpltCallback(UART_HandleTypeDef *huart);
[26]7250# 1561 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7251HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart);
7252HAL_StatusTypeDef HAL_MultiProcessor_EnableMuteMode(UART_HandleTypeDef *huart);
7253HAL_StatusTypeDef HAL_MultiProcessor_DisableMuteMode(UART_HandleTypeDef *huart);
7254void HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart);
7255HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter(UART_HandleTypeDef *huart);
7256HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart);
[26]7257# 1577 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7258HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart);
7259uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart);
[26]7260# 1595 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h"
[6]7261HAL_StatusTypeDef UART_SetConfig(UART_HandleTypeDef *huart);
7262HAL_StatusTypeDef UART_CheckIdleState(UART_HandleTypeDef *huart);
7263HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout);
7264void UART_AdvFeatureConfig(UART_HandleTypeDef *huart);
[26]7265# 293 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2
7266# 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 2
7267# 43 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h"
[6]7268typedef enum
7269{
7270  HAL_TICK_FREQ_10HZ = 100U,
7271  HAL_TICK_FREQ_100HZ = 10U,
7272  HAL_TICK_FREQ_1KHZ = 1U,
7273  HAL_TICK_FREQ_DEFAULT = HAL_TICK_FREQ_1KHZ
7274} HAL_TickFreqTypeDef;
[26]7275# 732 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h"
[6]7276HAL_StatusTypeDef HAL_Init(void);
7277HAL_StatusTypeDef HAL_DeInit(void);
7278void HAL_MspInit(void);
7279void HAL_MspDeInit(void);
7280HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority);
[26]7281# 747 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h"
[6]7282void HAL_IncTick(void);
7283void HAL_Delay(uint32_t Delay);
7284uint32_t HAL_GetTick(void);
7285uint32_t HAL_GetTickPrio(void);
7286HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq);
7287HAL_TickFreqTypeDef HAL_GetTickFreq(void);
7288void HAL_SuspendTick(void);
7289void HAL_ResumeTick(void);
7290uint32_t HAL_GetHalVersion(void);
7291uint32_t HAL_GetREVID(void);
7292uint32_t HAL_GetDEVID(void);
7293uint32_t HAL_GetUIDw0(void);
7294uint32_t HAL_GetUIDw1(void);
7295uint32_t HAL_GetUIDw2(void);
[26]7296# 771 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h"
[6]7297void HAL_DBGMCU_EnableDBGStopMode(void);
7298void HAL_DBGMCU_DisableDBGStopMode(void);
7299void HAL_DBGMCU_EnableDBGStandbyMode(void);
7300void HAL_DBGMCU_DisableDBGStandbyMode(void);
[26]7301# 784 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h"
[6]7302extern volatile uint32_t uwTick;
7303extern uint32_t uwTickPrio;
7304extern HAL_TickFreqTypeDef uwTickFreq;
[26]7305# 805 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h"
[6]7306void HAL_SYSCFG_EnableIOAnalogSwitchBooster(void);
7307void HAL_SYSCFG_DisableIOAnalogSwitchBooster(void);
7308void HAL_SYSCFG_EnableRemap(uint32_t PinRemap);
7309void HAL_SYSCFG_DisableRemap(uint32_t PinRemap);
7310
7311
7312
7313
7314
7315void HAL_SYSCFG_StrobeDBattpinsConfig(uint32_t ConfigDeadBattery);
[26]7316# 32 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h" 2
7317# 55 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h"
[6]7318void Error_Handler(void);
[26]7319# 133 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h"
[6]7320enum SOC_CALC_MODE{
7321  SOC_CALC_MODE_AH_RATED,
7322  SOC_CALC_MODE_AH_AUTO,
7323  SOC_CALC_MODE_WH_RATED,
7324  SOC_CALC_MODE_WH_AUTO,
7325  SOC_CALC_MODE_WH_AUTO_TEMP,
7326};
7327
7328typedef union error_message_t
7329{
7330 char msg[sizeof(uint64_t)];
7331 uint64_t number;
7332} error_message_t;
[26]7333# 29 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\dma.h" 2
7334# 40 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\dma.h"
[6]7335void MX_DMA_Init(void);
[26]7336# 21 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\dma.c" 2
7337# 37 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\dma.c"
[6]7338void MX_DMA_Init(void)
7339{
7340
7341  do { volatile uint32_t tmpreg; ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->AHBENR) |= ((0x1UL << (0U)))); tmpreg = ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->AHBENR) & ((0x1UL << (0U)))); (void)tmpreg; } while(0U);
7342
7343
7344
7345  HAL_NVIC_SetPriority(DMA1_Channel1_IRQn, 1, 0);
7346  HAL_NVIC_EnableIRQ(DMA1_Channel1_IRQn);
7347
7348}
Note: See TracBrowser for help on using the repository browser.