[6] | 1 | # 1 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Src\\template.c" |
---|
| 2 | # 1 "<built-in>" 1 |
---|
| 3 | # 1 "<built-in>" 3 |
---|
| 4 | # 380 "<built-in>" 3 |
---|
| 5 | # 1 "<command line>" 1 |
---|
| 6 | # 1 "<built-in>" 2 |
---|
| 7 | # 1 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Src\\template.c" 2 |
---|
| 8 | # 12 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Src\\template.c" |
---|
| 9 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\main.h" 1 |
---|
| 10 | # 31 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\main.h" |
---|
| 11 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1 |
---|
| 12 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
| 13 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 1 |
---|
| 14 | # 195 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
| 15 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 1 |
---|
| 16 | # 27 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
| 17 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 1 |
---|
| 18 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" |
---|
| 19 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 1 |
---|
| 20 | # 119 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
---|
| 21 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 1 |
---|
| 22 | # 69 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
---|
| 23 | typedef enum |
---|
| 24 | { |
---|
| 25 | |
---|
| 26 | NonMaskableInt_IRQn = -14, |
---|
| 27 | HardFault_IRQn = -13, |
---|
| 28 | SVCall_IRQn = -5, |
---|
| 29 | PendSV_IRQn = -2, |
---|
| 30 | SysTick_IRQn = -1, |
---|
| 31 | |
---|
| 32 | WWDG_IRQn = 0, |
---|
| 33 | RTC_TAMP_IRQn = 2, |
---|
| 34 | FLASH_IRQn = 3, |
---|
| 35 | RCC_IRQn = 4, |
---|
| 36 | EXTI0_1_IRQn = 5, |
---|
| 37 | EXTI2_3_IRQn = 6, |
---|
| 38 | EXTI4_15_IRQn = 7, |
---|
| 39 | DMA1_Channel1_IRQn = 9, |
---|
| 40 | DMA1_Channel2_3_IRQn = 10, |
---|
| 41 | DMA1_Ch4_7_DMAMUX1_OVR_IRQn = 11, |
---|
| 42 | ADC1_IRQn = 12, |
---|
| 43 | TIM1_BRK_UP_TRG_COM_IRQn = 13, |
---|
| 44 | TIM1_CC_IRQn = 14, |
---|
| 45 | TIM3_IRQn = 16, |
---|
| 46 | TIM6_IRQn = 17, |
---|
| 47 | TIM7_IRQn = 18, |
---|
| 48 | TIM14_IRQn = 19, |
---|
| 49 | TIM15_IRQn = 20, |
---|
| 50 | TIM16_IRQn = 21, |
---|
| 51 | TIM17_IRQn = 22, |
---|
| 52 | I2C1_IRQn = 23, |
---|
| 53 | I2C2_IRQn = 24, |
---|
| 54 | SPI1_IRQn = 25, |
---|
| 55 | SPI2_IRQn = 26, |
---|
| 56 | USART1_IRQn = 27, |
---|
| 57 | USART2_IRQn = 28, |
---|
| 58 | USART3_4_IRQn = 29, |
---|
| 59 | } IRQn_Type; |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 1 |
---|
| 66 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 1 3 |
---|
| 73 | # 20 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3 |
---|
| 74 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 1 3 |
---|
| 75 | # 17 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
| 76 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 1 3 |
---|
| 77 | # 67 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 3 |
---|
| 78 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 1 3 |
---|
| 79 | # 35 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 3 |
---|
| 80 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 1 3 |
---|
| 81 | # 748 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
| 82 | static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_PARTIAL_WORD_func(char *addr, unsigned w, int n) { |
---|
| 83 | switch (n) { |
---|
| 84 | default: addr[3] = (-1) > 0 ? w : w >> 24; |
---|
| 85 | case 3: addr[2] = (-1) > 0 ? w >> 8 : w >> 16; |
---|
| 86 | case 2: addr[1] = (-1) > 0 ? w >> 16 : w >> 8; |
---|
| 87 | case 1: addr[0] = (-1) > 0 ? w >> 24 : w; |
---|
| 88 | case 0: ; |
---|
| 89 | } |
---|
| 90 | } |
---|
| 91 | |
---|
| 92 | static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_WORD_func(char *addr, unsigned w) { |
---|
| 93 | __SEGGER_RTL_WR_PARTIAL_WORD_func(addr, w, 4); |
---|
| 94 | } |
---|
| 95 | |
---|
| 96 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_RD_WORD_func(const void *addr) { |
---|
| 97 | const unsigned char *pAddr = (const unsigned char *)addr; |
---|
| 98 | |
---|
| 99 | return pAddr[0] * ((-1) > 0 ? 0x1000000u : 0x1u) + |
---|
| 100 | pAddr[1] * ((-1) > 0 ? 0x10000u : 0x100u) + |
---|
| 101 | pAddr[2] * ((-1) > 0 ? 0x100u : 0x10000u) + |
---|
| 102 | pAddr[3] * ((-1) > 0 ? 0x1u : 0x1000000u); |
---|
| 103 | } |
---|
| 104 | |
---|
| 105 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_BYTE_PATTERN_func(unsigned x) { |
---|
| 106 | return x * 0x01010101uL; |
---|
| 107 | } |
---|
| 108 | |
---|
| 109 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_HEAD_func(const void *pOrigin, unsigned Word, unsigned Standin) { |
---|
| 110 | unsigned Mask; |
---|
| 111 | unsigned Fill; |
---|
| 112 | |
---|
| 113 | (void)pOrigin; |
---|
| 114 | |
---|
| 115 | Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin); |
---|
| 116 | # 792 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
| 117 | Mask = 0xFFFFFFFFu; |
---|
| 118 | Mask <<= 8 * (((unsigned)(pOrigin)) & 3u); |
---|
| 119 | |
---|
| 120 | return (Word & Mask) | (Fill & ~Mask); |
---|
| 121 | |
---|
| 122 | |
---|
| 123 | } |
---|
| 124 | |
---|
| 125 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_TAIL_func(unsigned n, unsigned Word, unsigned Standin) { |
---|
| 126 | unsigned Mask; |
---|
| 127 | unsigned Fill; |
---|
| 128 | # 817 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
| 129 | if (n >= 4) { |
---|
| 130 | return Word; |
---|
| 131 | } else { |
---|
| 132 | Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin); |
---|
| 133 | Mask = 0xFFFFFFFFu << (8 * n); |
---|
| 134 | |
---|
| 135 | return (Fill & Mask) | (Word & ~Mask); |
---|
| 136 | } |
---|
| 137 | |
---|
| 138 | |
---|
| 139 | } |
---|
| 140 | |
---|
| 141 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_CHECK_func(unsigned x) { |
---|
| 142 | |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | |
---|
| 146 | |
---|
| 147 | |
---|
| 148 | |
---|
| 149 | return ((x-0x01010101u) & ~x & 0x80808080u); |
---|
| 150 | |
---|
| 151 | |
---|
| 152 | } |
---|
| 153 | |
---|
| 154 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_INDEX_func(unsigned x, unsigned y) { |
---|
| 155 | # 866 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
| 156 | if ((x & 0x000000FFuL) != (y & 0x000000FFuL)) { return 0; } |
---|
| 157 | if ((x & 0x0000FF00uL) != (y & 0x0000FF00uL)) { return 1; } |
---|
| 158 | if ((x & 0x00FF0000uL) != (y & 0x00FF0000uL)) { return 2; } |
---|
| 159 | if ((x & 0xFF000000uL) != (y & 0xFF000000uL)) { return 3; } |
---|
| 160 | return 4; |
---|
| 161 | |
---|
| 162 | |
---|
| 163 | } |
---|
| 164 | |
---|
| 165 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_BYTE_func(unsigned x, int Index) { |
---|
| 166 | |
---|
| 167 | |
---|
| 168 | |
---|
| 169 | return (x >> (8*Index)) & 0xFF; |
---|
| 170 | |
---|
| 171 | } |
---|
| 172 | |
---|
| 173 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_INDEX_func(unsigned x) { |
---|
| 174 | # 919 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
| 175 | if ((x & 0x000000FFuL) == 0) { return 0; } |
---|
| 176 | if ((x & 0x0000FF00uL) == 0) { return 1; } |
---|
| 177 | if ((x & 0x00FF0000uL) == 0) { return 2; } |
---|
| 178 | if ((x & 0xFF000000uL) == 0) { return 3; } |
---|
| 179 | return 4; |
---|
| 180 | |
---|
| 181 | |
---|
| 182 | } |
---|
| 183 | |
---|
| 184 | static __inline__ __attribute__((__always_inline__)) _Bool __SEGGER_RTL_atomic_is_lock_free(unsigned size, const volatile void *ptr) { |
---|
| 185 | switch (size) { |
---|
| 186 | case 1: return 1; |
---|
| 187 | case 2: return ((unsigned)ptr & 1) == 0; |
---|
| 188 | case 4: return ((unsigned)ptr & 3) == 0; |
---|
| 189 | default: return 0; |
---|
| 190 | } |
---|
| 191 | } |
---|
| 192 | # 946 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
---|
| 193 | extern const int __aeabi_SIGABRT; |
---|
| 194 | extern const int __aeabi_SIGINT; |
---|
| 195 | extern const int __aeabi_SIGILL; |
---|
| 196 | extern const int __aeabi_SIGFPE; |
---|
| 197 | extern const int __aeabi_SIGSEGV; |
---|
| 198 | extern const int __aeabi_SIGTERM; |
---|
| 199 | |
---|
| 200 | void __aeabi_SIG_DFL(int sig); |
---|
| 201 | void __aeabi_SIG_IGN(int sig); |
---|
| 202 | void __aeabi_SIG_ERR(int sig); |
---|
| 203 | # 36 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 2 3 |
---|
| 204 | # 68 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 2 3 |
---|
| 205 | # 18 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 2 3 |
---|
| 206 | # 38 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
| 207 | typedef struct __SEGGER_RTL_FILE_impl __SEGGER_RTL_FILE; |
---|
| 208 | |
---|
| 209 | |
---|
| 210 | typedef struct __SEGGER_RTL_locale_data_s __SEGGER_RTL_locale_t; |
---|
| 211 | typedef struct __SEGGER_RTL_locale_codeset_s __SEGGER_RTL_locale_codeset_t; |
---|
| 212 | |
---|
| 213 | typedef struct { |
---|
| 214 | |
---|
| 215 | |
---|
| 216 | |
---|
| 217 | const char * decimal_point; |
---|
| 218 | const char * thousands_sep; |
---|
| 219 | const char * grouping; |
---|
| 220 | |
---|
| 221 | const char * int_curr_symbol; |
---|
| 222 | const char * currency_symbol; |
---|
| 223 | const char * mon_decimal_point; |
---|
| 224 | const char * mon_thousands_sep; |
---|
| 225 | const char * mon_grouping; |
---|
| 226 | const char * positive_sign; |
---|
| 227 | const char * negative_sign; |
---|
| 228 | |
---|
| 229 | char int_frac_digits; |
---|
| 230 | char frac_digits; |
---|
| 231 | char p_cs_precedes; |
---|
| 232 | char p_sep_by_space; |
---|
| 233 | char n_cs_precedes; |
---|
| 234 | char n_sep_by_space; |
---|
| 235 | char p_sign_posn; |
---|
| 236 | char n_sign_posn; |
---|
| 237 | char int_p_cs_precedes; |
---|
| 238 | char int_n_cs_precedes; |
---|
| 239 | char int_p_sep_by_space; |
---|
| 240 | char int_n_sep_by_space; |
---|
| 241 | char int_p_sign_posn; |
---|
| 242 | char int_n_sign_posn; |
---|
| 243 | |
---|
| 244 | |
---|
| 245 | |
---|
| 246 | |
---|
| 247 | const char *day_names; |
---|
| 248 | const char *abbrev_day_names; |
---|
| 249 | const char *month_names; |
---|
| 250 | const char *abbrev_month_names; |
---|
| 251 | const char *am_pm_indicator; |
---|
| 252 | const char *date_format; |
---|
| 253 | const char *time_format; |
---|
| 254 | const char *date_time_format; |
---|
| 255 | } __SEGGER_RTL_locale_data_t; |
---|
| 256 | |
---|
| 257 | struct __SEGGER_RTL_locale_data_s { |
---|
| 258 | const char * name; |
---|
| 259 | const __SEGGER_RTL_locale_data_t * data; |
---|
| 260 | const __SEGGER_RTL_locale_codeset_t * codeset; |
---|
| 261 | }; |
---|
| 262 | |
---|
| 263 | struct __SEGGER_RTL_POSIX_locale_s { |
---|
| 264 | const __SEGGER_RTL_locale_t *__category[5]; |
---|
| 265 | }; |
---|
| 266 | |
---|
| 267 | struct timeval; |
---|
| 268 | # 107 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
| 269 | extern struct __SEGGER_RTL_POSIX_locale_s __SEGGER_RTL_global_locale; |
---|
| 270 | extern struct __SEGGER_RTL_POSIX_locale_s * __SEGGER_RTL_locale_ptr; |
---|
| 271 | extern char * __SEGGER_RTL_locale_name_buffer; |
---|
| 272 | # 118 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
| 273 | extern const __SEGGER_RTL_locale_t __SEGGER_RTL_c_locale; |
---|
| 274 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_1; |
---|
| 275 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_2; |
---|
| 276 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_3; |
---|
| 277 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_4; |
---|
| 278 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_5; |
---|
| 279 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_6; |
---|
| 280 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_7; |
---|
| 281 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_8; |
---|
| 282 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_9; |
---|
| 283 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_10; |
---|
| 284 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_11; |
---|
| 285 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_13; |
---|
| 286 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_14; |
---|
| 287 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_15; |
---|
| 288 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_16; |
---|
| 289 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1250; |
---|
| 290 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1251; |
---|
| 291 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1252; |
---|
| 292 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1253; |
---|
| 293 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1254; |
---|
| 294 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1255; |
---|
| 295 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1256; |
---|
| 296 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1257; |
---|
| 297 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1258; |
---|
| 298 | |
---|
| 299 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_c_locale_data; |
---|
| 300 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_DJ_locale; |
---|
| 301 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ER_locale; |
---|
| 302 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ET_locale; |
---|
| 303 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_NA_locale; |
---|
| 304 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_ZA_locale; |
---|
| 305 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ak_GH_locale; |
---|
| 306 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_am_ET_locale; |
---|
| 307 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_AE_locale; |
---|
| 308 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_BH_locale; |
---|
| 309 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_DZ_locale; |
---|
| 310 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_EG_locale; |
---|
| 311 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_IQ_locale; |
---|
| 312 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_JO_locale; |
---|
| 313 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_KW_locale; |
---|
| 314 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LB_locale; |
---|
| 315 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LY_locale; |
---|
| 316 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_MA_locale; |
---|
| 317 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_OM_locale; |
---|
| 318 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_QA_locale; |
---|
| 319 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SA_locale; |
---|
| 320 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SD_locale; |
---|
| 321 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SY_locale; |
---|
| 322 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_TN_locale; |
---|
| 323 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_YE_locale; |
---|
| 324 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_as_IN_locale; |
---|
| 325 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_asa_TZ_locale; |
---|
| 326 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Arab_IR_locale; |
---|
| 327 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_AZ_locale; |
---|
| 328 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Cyrl_AZ_locale; |
---|
| 329 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_IR_locale; |
---|
| 330 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Latn_AZ_locale; |
---|
| 331 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_be_BY_locale; |
---|
| 332 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bem_ZM_locale; |
---|
| 333 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bez_TZ_locale; |
---|
| 334 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bg_BG_locale; |
---|
| 335 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bm_ML_locale; |
---|
| 336 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_BD_locale; |
---|
| 337 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_IN_locale; |
---|
| 338 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_CN_locale; |
---|
| 339 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_IN_locale; |
---|
| 340 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_br_FR_locale; |
---|
| 341 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_brx_IN_locale; |
---|
| 342 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bs_BA_locale; |
---|
| 343 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_byn_ER_locale; |
---|
| 344 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ca_ES_locale; |
---|
| 345 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cch_NG_locale; |
---|
| 346 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cgg_UG_locale; |
---|
| 347 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_chr_US_locale; |
---|
| 348 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cs_CZ_locale; |
---|
| 349 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cy_GB_locale; |
---|
| 350 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_da_DK_locale; |
---|
| 351 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dav_KE_locale; |
---|
| 352 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_AT_locale; |
---|
| 353 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_BE_locale; |
---|
| 354 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_CH_locale; |
---|
| 355 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_DE_locale; |
---|
| 356 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LI_locale; |
---|
| 357 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LU_locale; |
---|
| 358 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dv_MV_locale; |
---|
| 359 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dz_BT_locale; |
---|
| 360 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ebu_KE_locale; |
---|
| 361 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_GH_locale; |
---|
| 362 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_TG_locale; |
---|
| 363 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_CY_locale; |
---|
| 364 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_GR_locale; |
---|
| 365 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AS_locale; |
---|
| 366 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AU_locale; |
---|
| 367 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BE_locale; |
---|
| 368 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BW_locale; |
---|
| 369 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BZ_locale; |
---|
| 370 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_CA_locale; |
---|
| 371 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_Dsrt_US_locale; |
---|
| 372 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GB_locale; |
---|
| 373 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GU_locale; |
---|
| 374 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_HK_locale; |
---|
| 375 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IE_locale; |
---|
| 376 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IN_locale; |
---|
| 377 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_JM_locale; |
---|
| 378 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MH_locale; |
---|
| 379 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MP_locale; |
---|
| 380 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MT_locale; |
---|
| 381 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MU_locale; |
---|
| 382 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NA_locale; |
---|
| 383 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NZ_locale; |
---|
| 384 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PH_locale; |
---|
| 385 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PK_locale; |
---|
| 386 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_SG_locale; |
---|
| 387 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_TT_locale; |
---|
| 388 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_UM_locale; |
---|
| 389 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_locale; |
---|
| 390 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_POSIX_locale; |
---|
| 391 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_VI_locale; |
---|
| 392 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZA_locale; |
---|
| 393 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZW_locale; |
---|
| 394 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZZ_locale; |
---|
| 395 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_AR_locale; |
---|
| 396 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_BO_locale; |
---|
| 397 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CL_locale; |
---|
| 398 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CO_locale; |
---|
| 399 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CR_locale; |
---|
| 400 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_DO_locale; |
---|
| 401 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_EC_locale; |
---|
| 402 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_ES_locale; |
---|
| 403 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GQ_locale; |
---|
| 404 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GT_locale; |
---|
| 405 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_HN_locale; |
---|
| 406 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_MX_locale; |
---|
| 407 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_NI_locale; |
---|
| 408 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PA_locale; |
---|
| 409 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PE_locale; |
---|
| 410 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PR_locale; |
---|
| 411 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PY_locale; |
---|
| 412 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_SV_locale; |
---|
| 413 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_US_locale; |
---|
| 414 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_UY_locale; |
---|
| 415 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_VE_locale; |
---|
| 416 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_et_EE_locale; |
---|
| 417 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_eu_ES_locale; |
---|
| 418 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_AF_locale; |
---|
| 419 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_IR_locale; |
---|
| 420 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ff_SN_locale; |
---|
| 421 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fi_FI_locale; |
---|
| 422 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fil_PH_locale; |
---|
| 423 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fo_FO_locale; |
---|
| 424 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BE_locale; |
---|
| 425 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BF_locale; |
---|
| 426 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BI_locale; |
---|
| 427 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BJ_locale; |
---|
| 428 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BL_locale; |
---|
| 429 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CA_locale; |
---|
| 430 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CD_locale; |
---|
| 431 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CF_locale; |
---|
| 432 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CG_locale; |
---|
| 433 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CH_locale; |
---|
| 434 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CI_locale; |
---|
| 435 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CM_locale; |
---|
| 436 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_DJ_locale; |
---|
| 437 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_FR_locale; |
---|
| 438 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GA_locale; |
---|
| 439 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GN_locale; |
---|
| 440 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GP_locale; |
---|
| 441 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GQ_locale; |
---|
| 442 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_KM_locale; |
---|
| 443 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_LU_locale; |
---|
| 444 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MC_locale; |
---|
| 445 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MF_locale; |
---|
| 446 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MG_locale; |
---|
| 447 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_ML_locale; |
---|
| 448 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MQ_locale; |
---|
| 449 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_NE_locale; |
---|
| 450 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RE_locale; |
---|
| 451 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RW_locale; |
---|
| 452 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_SN_locale; |
---|
| 453 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TD_locale; |
---|
| 454 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TG_locale; |
---|
| 455 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fur_IT_locale; |
---|
| 456 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ga_IE_locale; |
---|
| 457 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gaa_GH_locale; |
---|
| 458 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ER_locale; |
---|
| 459 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ET_locale; |
---|
| 460 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gl_ES_locale; |
---|
| 461 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gsw_CH_locale; |
---|
| 462 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gu_IN_locale; |
---|
| 463 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_guz_KE_locale; |
---|
| 464 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gv_GB_locale; |
---|
| 465 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_NG_locale; |
---|
| 466 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_SD_locale; |
---|
| 467 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_GH_locale; |
---|
| 468 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_GH_locale; |
---|
| 469 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NE_locale; |
---|
| 470 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NG_locale; |
---|
| 471 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NE_locale; |
---|
| 472 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NG_locale; |
---|
| 473 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_SD_locale; |
---|
| 474 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_haw_US_locale; |
---|
| 475 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_he_IL_locale; |
---|
| 476 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hi_IN_locale; |
---|
| 477 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hr_HR_locale; |
---|
| 478 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hu_HU_locale; |
---|
| 479 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hy_AM_locale; |
---|
| 480 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_id_ID_locale; |
---|
| 481 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ig_NG_locale; |
---|
| 482 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ii_CN_locale; |
---|
| 483 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_is_IS_locale; |
---|
| 484 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_CH_locale; |
---|
| 485 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_IT_locale; |
---|
| 486 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ja_JP_locale; |
---|
| 487 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_jmc_TZ_locale; |
---|
| 488 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ka_GE_locale; |
---|
| 489 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kab_DZ_locale; |
---|
| 490 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kaj_NG_locale; |
---|
| 491 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kam_KE_locale; |
---|
| 492 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kcg_NG_locale; |
---|
| 493 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kde_TZ_locale; |
---|
| 494 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kea_CV_locale; |
---|
| 495 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kfo_CI_locale; |
---|
| 496 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_khq_ML_locale; |
---|
| 497 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ki_KE_locale; |
---|
| 498 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_Cyrl_KZ_locale; |
---|
| 499 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_KZ_locale; |
---|
| 500 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kl_GL_locale; |
---|
| 501 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kln_KE_locale; |
---|
| 502 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_km_KH_locale; |
---|
| 503 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kn_IN_locale; |
---|
| 504 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ko_KR_locale; |
---|
| 505 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kok_IN_locale; |
---|
| 506 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_GN_locale; |
---|
| 507 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_LR_locale; |
---|
| 508 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksb_TZ_locale; |
---|
| 509 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksh_DE_locale; |
---|
| 510 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IQ_locale; |
---|
| 511 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IR_locale; |
---|
| 512 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IQ_locale; |
---|
| 513 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IR_locale; |
---|
| 514 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_SY_locale; |
---|
| 515 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_TR_locale; |
---|
| 516 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_SY_locale; |
---|
| 517 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_TR_locale; |
---|
| 518 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kw_GB_locale; |
---|
| 519 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ky_KG_locale; |
---|
| 520 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lag_TZ_locale; |
---|
| 521 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lg_UG_locale; |
---|
| 522 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CD_locale; |
---|
| 523 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CG_locale; |
---|
| 524 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lo_LA_locale; |
---|
| 525 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lt_LT_locale; |
---|
| 526 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luo_KE_locale; |
---|
| 527 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luy_KE_locale; |
---|
| 528 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lv_LV_locale; |
---|
| 529 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_KE_locale; |
---|
| 530 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_TZ_locale; |
---|
| 531 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mer_KE_locale; |
---|
| 532 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mfe_MU_locale; |
---|
| 533 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mg_MG_locale; |
---|
| 534 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mi_NZ_locale; |
---|
| 535 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mk_MK_locale; |
---|
| 536 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ml_IN_locale; |
---|
| 537 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_CN_locale; |
---|
| 538 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Cyrl_MN_locale; |
---|
| 539 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_MN_locale; |
---|
| 540 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Mong_CN_locale; |
---|
| 541 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mr_IN_locale; |
---|
| 542 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_BN_locale; |
---|
| 543 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_MY_locale; |
---|
| 544 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mt_MT_locale; |
---|
| 545 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_my_MM_locale; |
---|
| 546 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_naq_NA_locale; |
---|
| 547 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nb_NO_locale; |
---|
| 548 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nd_ZW_locale; |
---|
| 549 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nds_DE_locale; |
---|
| 550 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_IN_locale; |
---|
| 551 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_NP_locale; |
---|
| 552 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_BE_locale; |
---|
| 553 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_NL_locale; |
---|
| 554 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nn_NO_locale; |
---|
| 555 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nr_ZA_locale; |
---|
| 556 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nso_ZA_locale; |
---|
| 557 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ny_MW_locale; |
---|
| 558 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nyn_UG_locale; |
---|
| 559 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_oc_FR_locale; |
---|
| 560 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_ET_locale; |
---|
| 561 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_KE_locale; |
---|
| 562 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_or_IN_locale; |
---|
| 563 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Arab_PK_locale; |
---|
| 564 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Guru_IN_locale; |
---|
| 565 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_IN_locale; |
---|
| 566 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_PK_locale; |
---|
| 567 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pl_PL_locale; |
---|
| 568 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ps_AF_locale; |
---|
| 569 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_AO_locale; |
---|
| 570 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_BR_locale; |
---|
| 571 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_GW_locale; |
---|
| 572 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_MZ_locale; |
---|
| 573 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_PT_locale; |
---|
| 574 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rm_CH_locale; |
---|
| 575 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_MD_locale; |
---|
| 576 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_RO_locale; |
---|
| 577 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rof_TZ_locale; |
---|
| 578 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_MD_locale; |
---|
| 579 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_RU_locale; |
---|
| 580 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_UA_locale; |
---|
| 581 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rw_RW_locale; |
---|
| 582 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rwk_TZ_locale; |
---|
| 583 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sa_IN_locale; |
---|
| 584 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_saq_KE_locale; |
---|
| 585 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_FI_locale; |
---|
| 586 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_NO_locale; |
---|
| 587 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_seh_MZ_locale; |
---|
| 588 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ses_ML_locale; |
---|
| 589 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sg_CF_locale; |
---|
| 590 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_BA_locale; |
---|
| 591 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_CS_locale; |
---|
| 592 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_YU_locale; |
---|
| 593 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Latn_MA_locale; |
---|
| 594 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_MA_locale; |
---|
| 595 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Tfng_MA_locale; |
---|
| 596 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_si_LK_locale; |
---|
| 597 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sid_ET_locale; |
---|
| 598 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sk_SK_locale; |
---|
| 599 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sl_SI_locale; |
---|
| 600 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sn_ZW_locale; |
---|
| 601 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_DJ_locale; |
---|
| 602 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_ET_locale; |
---|
| 603 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_KE_locale; |
---|
| 604 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_SO_locale; |
---|
| 605 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sq_AL_locale; |
---|
| 606 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_BA_locale; |
---|
| 607 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_CS_locale; |
---|
| 608 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_BA_locale; |
---|
| 609 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_CS_locale; |
---|
| 610 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_ME_locale; |
---|
| 611 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_RS_locale; |
---|
| 612 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_YU_locale; |
---|
| 613 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_BA_locale; |
---|
| 614 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_CS_locale; |
---|
| 615 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_ME_locale; |
---|
| 616 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_RS_locale; |
---|
| 617 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_YU_locale; |
---|
| 618 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_ME_locale; |
---|
| 619 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_RS_locale; |
---|
| 620 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_YU_locale; |
---|
| 621 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_SZ_locale; |
---|
| 622 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_ZA_locale; |
---|
| 623 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ssy_ER_locale; |
---|
| 624 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_LS_locale; |
---|
| 625 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_ZA_locale; |
---|
| 626 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_FI_locale; |
---|
| 627 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_SE_locale; |
---|
| 628 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_KE_locale; |
---|
| 629 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_TZ_locale; |
---|
| 630 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_syr_SY_locale; |
---|
| 631 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_IN_locale; |
---|
| 632 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_LK_locale; |
---|
| 633 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_te_IN_locale; |
---|
| 634 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_KE_locale; |
---|
| 635 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_UG_locale; |
---|
| 636 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_Cyrl_TJ_locale; |
---|
| 637 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_TJ_locale; |
---|
| 638 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_th_TH_locale; |
---|
| 639 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ER_locale; |
---|
| 640 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ET_locale; |
---|
| 641 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tig_ER_locale; |
---|
| 642 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tl_PH_locale; |
---|
| 643 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tn_ZA_locale; |
---|
| 644 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_to_TO_locale; |
---|
| 645 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tr_TR_locale; |
---|
| 646 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_trv_TW_locale; |
---|
| 647 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ts_ZA_locale; |
---|
| 648 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tt_RU_locale; |
---|
| 649 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_Latn_MA_locale; |
---|
| 650 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_MA_locale; |
---|
| 651 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_Arab_CN_locale; |
---|
| 652 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_CN_locale; |
---|
| 653 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uk_UA_locale; |
---|
| 654 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_IN_locale; |
---|
| 655 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_PK_locale; |
---|
| 656 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_AF_locale; |
---|
| 657 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Arab_AF_locale; |
---|
| 658 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Cyrl_UZ_locale; |
---|
| 659 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Latn_UZ_locale; |
---|
| 660 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_UZ_locale; |
---|
| 661 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ve_ZA_locale; |
---|
| 662 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vi_VN_locale; |
---|
| 663 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vun_TZ_locale; |
---|
| 664 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wal_ET_locale; |
---|
| 665 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_Latn_SN_locale; |
---|
| 666 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_SN_locale; |
---|
| 667 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xh_ZA_locale; |
---|
| 668 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xog_UG_locale; |
---|
| 669 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_yo_NG_locale; |
---|
| 670 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_CN_locale; |
---|
| 671 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_CN_locale; |
---|
| 672 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_HK_locale; |
---|
| 673 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_MO_locale; |
---|
| 674 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_SG_locale; |
---|
| 675 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_HK_locale; |
---|
| 676 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_MO_locale; |
---|
| 677 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_TW_locale; |
---|
| 678 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_HK_locale; |
---|
| 679 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_MO_locale; |
---|
| 680 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_SG_locale; |
---|
| 681 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_TW_locale; |
---|
| 682 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zu_ZA_locale; |
---|
| 683 | |
---|
| 684 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_ascii; |
---|
| 685 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_utf8; |
---|
| 686 | |
---|
| 687 | extern const char __SEGGER_RTL_data_utf8_period []; |
---|
| 688 | extern const char __SEGGER_RTL_data_utf8_comma []; |
---|
| 689 | extern const char __SEGGER_RTL_data_utf8_space []; |
---|
| 690 | extern const char __SEGGER_RTL_data_utf8_plus []; |
---|
| 691 | extern const char __SEGGER_RTL_data_utf8_minus []; |
---|
| 692 | extern const char __SEGGER_RTL_data_empty_string[]; |
---|
| 693 | # 546 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
| 694 | int __SEGGER_RTL_X_set_time_of_day (const struct timeval *__tp); |
---|
| 695 | int __SEGGER_RTL_X_get_time_of_day (struct timeval *__tp); |
---|
| 696 | const __SEGGER_RTL_locale_t * __SEGGER_RTL_X_find_locale (const char *__locale); |
---|
| 697 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_open (const char *__filename, const char *__mode); |
---|
| 698 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_dopen (int __descriptor, const char *__mode); |
---|
| 699 | int __SEGGER_RTL_X_file_stat (__SEGGER_RTL_FILE *__stream); |
---|
| 700 | int __SEGGER_RTL_X_file_read (__SEGGER_RTL_FILE *__stream, char *__s, unsigned __len); |
---|
| 701 | int __SEGGER_RTL_X_file_write (__SEGGER_RTL_FILE *__stream, const char *__s, unsigned __len); |
---|
| 702 | int __SEGGER_RTL_X_file_unget (__SEGGER_RTL_FILE *__stream, int __c); |
---|
| 703 | int __SEGGER_RTL_X_file_close (__SEGGER_RTL_FILE *__stream); |
---|
| 704 | int __SEGGER_RTL_X_file_error (__SEGGER_RTL_FILE *__stream); |
---|
| 705 | int __SEGGER_RTL_X_file_flush (__SEGGER_RTL_FILE *__stream); |
---|
| 706 | int __SEGGER_RTL_X_file_eof (__SEGGER_RTL_FILE *__stream); |
---|
| 707 | void __SEGGER_RTL_X_file_clrerr (__SEGGER_RTL_FILE *__stream); |
---|
| 708 | int __SEGGER_RTL_X_file_seek (__SEGGER_RTL_FILE *__stream, long __offset, int __whence); |
---|
| 709 | int __SEGGER_RTL_X_file_getpos (__SEGGER_RTL_FILE *__stream, long *__pos); |
---|
| 710 | int __SEGGER_RTL_X_file_bufsize (__SEGGER_RTL_FILE *__stream); |
---|
| 711 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_tmpfile (void); |
---|
| 712 | char * __SEGGER_RTL_X_file_tmpnam (char *__s, unsigned __max); |
---|
| 713 | int __SEGGER_RTL_X_file_remove (const char *__filename); |
---|
| 714 | int __SEGGER_RTL_X_file_rename (const char *__old, const char *__new); |
---|
| 715 | void __attribute__((__weak__)) __SEGGER_RTL_X_heap_lock (void); |
---|
| 716 | void __attribute__((__weak__)) __SEGGER_RTL_X_heap_unlock (void); |
---|
| 717 | int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_lock (void); |
---|
| 718 | void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_unlock (int __state); |
---|
| 719 | int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_is_lock_free (unsigned int __size, void *__ptr); |
---|
| 720 | void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_synchronize (void); |
---|
| 721 | volatile int * __aeabi_errno_addr (void); |
---|
| 722 | void __aeabi_assert (const char *__expression, const char *__filename, int __line); |
---|
| 723 | # 584 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
---|
| 724 | void __SEGGER_RTL_execute_at_exit_fns (void); |
---|
| 725 | void __SEGGER_RTL_set_locale_name_buffer (char *__buffer); |
---|
| 726 | int __SEGGER_RTL_mb_max (const struct __SEGGER_RTL_POSIX_locale_s *__loc); |
---|
| 727 | int __SEGGER_RTL_mb_cur_max (void); |
---|
| 728 | void __SEGGER_RTL_init_heap (void *__ptr, unsigned int __size); |
---|
| 729 | # 21 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 2 3 |
---|
| 730 | # 272 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3 |
---|
| 731 | typedef signed char int8_t; |
---|
| 732 | typedef unsigned char uint8_t; |
---|
| 733 | typedef short int16_t; |
---|
| 734 | typedef unsigned short uint16_t; |
---|
| 735 | typedef int int32_t; |
---|
| 736 | typedef unsigned int uint32_t; |
---|
| 737 | typedef long long int int64_t; |
---|
| 738 | typedef long long unsigned int uint64_t; |
---|
| 739 | |
---|
| 740 | typedef signed char int_least8_t; |
---|
| 741 | typedef short int_least16_t; |
---|
| 742 | typedef int int_least32_t; |
---|
| 743 | typedef long long int int_least64_t; |
---|
| 744 | typedef unsigned char uint_least8_t; |
---|
| 745 | typedef unsigned short uint_least16_t; |
---|
| 746 | typedef unsigned int uint_least32_t; |
---|
| 747 | typedef long long unsigned int uint_least64_t; |
---|
| 748 | |
---|
| 749 | typedef signed char int_fast8_t; |
---|
| 750 | typedef short int_fast16_t; |
---|
| 751 | typedef int int_fast32_t; |
---|
| 752 | typedef long long int int_fast64_t; |
---|
| 753 | typedef unsigned char uint_fast8_t; |
---|
| 754 | typedef unsigned short uint_fast16_t; |
---|
| 755 | typedef unsigned int uint_fast32_t; |
---|
| 756 | typedef long long unsigned int uint_fast64_t; |
---|
| 757 | |
---|
| 758 | typedef int intptr_t; |
---|
| 759 | typedef unsigned int uintptr_t; |
---|
| 760 | |
---|
| 761 | typedef long long int intmax_t; |
---|
| 762 | typedef long long unsigned int uintmax_t; |
---|
| 763 | # 35 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
| 764 | # 63 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 765 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 1 3 |
---|
| 766 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 3 |
---|
| 767 | # 64 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
| 768 | # 115 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 769 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 1 3 |
---|
| 770 | # 54 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 3 |
---|
| 771 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 1 3 |
---|
| 772 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 773 | #pragma GCC diagnostic push |
---|
| 774 | #pragma GCC diagnostic ignored "-Wsign-conversion" |
---|
| 775 | #pragma GCC diagnostic ignored "-Wconversion" |
---|
| 776 | #pragma GCC diagnostic ignored "-Wunused-parameter" |
---|
| 777 | # 71 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 778 | #pragma GCC diagnostic push |
---|
| 779 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
| 780 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
| 781 | struct __attribute__((packed)) T_UINT32 { uint32_t v; }; |
---|
| 782 | #pragma GCC diagnostic pop |
---|
| 783 | |
---|
| 784 | |
---|
| 785 | |
---|
| 786 | #pragma GCC diagnostic push |
---|
| 787 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
| 788 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
| 789 | struct __attribute__((packed, aligned(1))) T_UINT16_WRITE { uint16_t v; }; |
---|
| 790 | #pragma GCC diagnostic pop |
---|
| 791 | |
---|
| 792 | |
---|
| 793 | |
---|
| 794 | #pragma GCC diagnostic push |
---|
| 795 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
| 796 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
| 797 | struct __attribute__((packed, aligned(1))) T_UINT16_READ { uint16_t v; }; |
---|
| 798 | #pragma GCC diagnostic pop |
---|
| 799 | |
---|
| 800 | |
---|
| 801 | |
---|
| 802 | #pragma GCC diagnostic push |
---|
| 803 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
| 804 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
| 805 | struct __attribute__((packed, aligned(1))) T_UINT32_WRITE { uint32_t v; }; |
---|
| 806 | #pragma GCC diagnostic pop |
---|
| 807 | |
---|
| 808 | |
---|
| 809 | |
---|
| 810 | #pragma GCC diagnostic push |
---|
| 811 | #pragma GCC diagnostic ignored "-Wpacked" |
---|
| 812 | #pragma GCC diagnostic ignored "-Wattributes" |
---|
| 813 | struct __attribute__((packed, aligned(1))) T_UINT32_READ { uint32_t v; }; |
---|
| 814 | #pragma GCC diagnostic pop |
---|
| 815 | # 131 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 816 | __attribute__((always_inline)) static inline __attribute__((__noreturn__)) void __cmsis_start(void) |
---|
| 817 | { |
---|
| 818 | extern void _start(void) __attribute__((__noreturn__)); |
---|
| 819 | |
---|
| 820 | typedef struct { |
---|
| 821 | uint32_t const* src; |
---|
| 822 | uint32_t* dest; |
---|
| 823 | uint32_t wlen; |
---|
| 824 | } __copy_table_t; |
---|
| 825 | |
---|
| 826 | typedef struct { |
---|
| 827 | uint32_t* dest; |
---|
| 828 | uint32_t wlen; |
---|
| 829 | } __zero_table_t; |
---|
| 830 | |
---|
| 831 | extern const __copy_table_t __copy_table_start__; |
---|
| 832 | extern const __copy_table_t __copy_table_end__; |
---|
| 833 | extern const __zero_table_t __zero_table_start__; |
---|
| 834 | extern const __zero_table_t __zero_table_end__; |
---|
| 835 | |
---|
| 836 | for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable) { |
---|
| 837 | for(uint32_t i=0u; i<pTable->wlen; ++i) { |
---|
| 838 | pTable->dest[i] = pTable->src[i]; |
---|
| 839 | } |
---|
| 840 | } |
---|
| 841 | |
---|
| 842 | for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable) { |
---|
| 843 | for(uint32_t i=0u; i<pTable->wlen; ++i) { |
---|
| 844 | pTable->dest[i] = 0u; |
---|
| 845 | } |
---|
| 846 | } |
---|
| 847 | |
---|
| 848 | _start(); |
---|
| 849 | } |
---|
| 850 | # 196 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 851 | __attribute__((always_inline)) static inline void __enable_irq(void) |
---|
| 852 | { |
---|
| 853 | __asm volatile ("cpsie i" : : : "memory"); |
---|
| 854 | } |
---|
| 855 | |
---|
| 856 | |
---|
| 857 | |
---|
| 858 | |
---|
| 859 | |
---|
| 860 | |
---|
| 861 | |
---|
| 862 | __attribute__((always_inline)) static inline void __disable_irq(void) |
---|
| 863 | { |
---|
| 864 | __asm volatile ("cpsid i" : : : "memory"); |
---|
| 865 | } |
---|
| 866 | |
---|
| 867 | |
---|
| 868 | |
---|
| 869 | |
---|
| 870 | |
---|
| 871 | |
---|
| 872 | |
---|
| 873 | __attribute__((always_inline)) static inline uint32_t __get_CONTROL(void) |
---|
| 874 | { |
---|
| 875 | uint32_t result; |
---|
| 876 | |
---|
| 877 | __asm volatile ("MRS %0, control" : "=r" (result) ); |
---|
| 878 | return(result); |
---|
| 879 | } |
---|
| 880 | # 248 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 881 | __attribute__((always_inline)) static inline void __set_CONTROL(uint32_t control) |
---|
| 882 | { |
---|
| 883 | __asm volatile ("MSR control, %0" : : "r" (control) : "memory"); |
---|
| 884 | } |
---|
| 885 | # 272 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 886 | __attribute__((always_inline)) static inline uint32_t __get_IPSR(void) |
---|
| 887 | { |
---|
| 888 | uint32_t result; |
---|
| 889 | |
---|
| 890 | __asm volatile ("MRS %0, ipsr" : "=r" (result) ); |
---|
| 891 | return(result); |
---|
| 892 | } |
---|
| 893 | |
---|
| 894 | |
---|
| 895 | |
---|
| 896 | |
---|
| 897 | |
---|
| 898 | |
---|
| 899 | |
---|
| 900 | __attribute__((always_inline)) static inline uint32_t __get_APSR(void) |
---|
| 901 | { |
---|
| 902 | uint32_t result; |
---|
| 903 | |
---|
| 904 | __asm volatile ("MRS %0, apsr" : "=r" (result) ); |
---|
| 905 | return(result); |
---|
| 906 | } |
---|
| 907 | |
---|
| 908 | |
---|
| 909 | |
---|
| 910 | |
---|
| 911 | |
---|
| 912 | |
---|
| 913 | |
---|
| 914 | __attribute__((always_inline)) static inline uint32_t __get_xPSR(void) |
---|
| 915 | { |
---|
| 916 | uint32_t result; |
---|
| 917 | |
---|
| 918 | __asm volatile ("MRS %0, xpsr" : "=r" (result) ); |
---|
| 919 | return(result); |
---|
| 920 | } |
---|
| 921 | |
---|
| 922 | |
---|
| 923 | |
---|
| 924 | |
---|
| 925 | |
---|
| 926 | |
---|
| 927 | |
---|
| 928 | __attribute__((always_inline)) static inline uint32_t __get_PSP(void) |
---|
| 929 | { |
---|
| 930 | uint32_t result; |
---|
| 931 | |
---|
| 932 | __asm volatile ("MRS %0, psp" : "=r" (result) ); |
---|
| 933 | return(result); |
---|
| 934 | } |
---|
| 935 | # 344 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 936 | __attribute__((always_inline)) static inline void __set_PSP(uint32_t topOfProcStack) |
---|
| 937 | { |
---|
| 938 | __asm volatile ("MSR psp, %0" : : "r" (topOfProcStack) : ); |
---|
| 939 | } |
---|
| 940 | # 368 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 941 | __attribute__((always_inline)) static inline uint32_t __get_MSP(void) |
---|
| 942 | { |
---|
| 943 | uint32_t result; |
---|
| 944 | |
---|
| 945 | __asm volatile ("MRS %0, msp" : "=r" (result) ); |
---|
| 946 | return(result); |
---|
| 947 | } |
---|
| 948 | # 398 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 949 | __attribute__((always_inline)) static inline void __set_MSP(uint32_t topOfMainStack) |
---|
| 950 | { |
---|
| 951 | __asm volatile ("MSR msp, %0" : : "r" (topOfMainStack) : ); |
---|
| 952 | } |
---|
| 953 | # 449 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 954 | __attribute__((always_inline)) static inline uint32_t __get_PRIMASK(void) |
---|
| 955 | { |
---|
| 956 | uint32_t result; |
---|
| 957 | |
---|
| 958 | __asm volatile ("MRS %0, primask" : "=r" (result) :: "memory"); |
---|
| 959 | return(result); |
---|
| 960 | } |
---|
| 961 | # 479 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 962 | __attribute__((always_inline)) static inline void __set_PRIMASK(uint32_t priMask) |
---|
| 963 | { |
---|
| 964 | __asm volatile ("MSR primask, %0" : : "r" (priMask) : "memory"); |
---|
| 965 | } |
---|
| 966 | # 833 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 967 | __attribute__((always_inline)) static inline uint32_t __get_FPSCR(void) |
---|
| 968 | { |
---|
| 969 | # 849 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 970 | return(0U); |
---|
| 971 | |
---|
| 972 | } |
---|
| 973 | |
---|
| 974 | |
---|
| 975 | |
---|
| 976 | |
---|
| 977 | |
---|
| 978 | |
---|
| 979 | |
---|
| 980 | __attribute__((always_inline)) static inline void __set_FPSCR(uint32_t fpscr) |
---|
| 981 | { |
---|
| 982 | # 872 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 983 | (void)fpscr; |
---|
| 984 | |
---|
| 985 | } |
---|
| 986 | # 933 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 987 | __attribute__((always_inline)) static inline void __ISB(void) |
---|
| 988 | { |
---|
| 989 | __asm volatile ("isb 0xF":::"memory"); |
---|
| 990 | } |
---|
| 991 | |
---|
| 992 | |
---|
| 993 | |
---|
| 994 | |
---|
| 995 | |
---|
| 996 | |
---|
| 997 | |
---|
| 998 | __attribute__((always_inline)) static inline void __DSB(void) |
---|
| 999 | { |
---|
| 1000 | __asm volatile ("dsb 0xF":::"memory"); |
---|
| 1001 | } |
---|
| 1002 | |
---|
| 1003 | |
---|
| 1004 | |
---|
| 1005 | |
---|
| 1006 | |
---|
| 1007 | |
---|
| 1008 | |
---|
| 1009 | __attribute__((always_inline)) static inline void __DMB(void) |
---|
| 1010 | { |
---|
| 1011 | __asm volatile ("dmb 0xF":::"memory"); |
---|
| 1012 | } |
---|
| 1013 | # 967 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1014 | __attribute__((always_inline)) static inline uint32_t __REV(uint32_t value) |
---|
| 1015 | { |
---|
| 1016 | |
---|
| 1017 | |
---|
| 1018 | |
---|
| 1019 | uint32_t result; |
---|
| 1020 | |
---|
| 1021 | __asm volatile ("rev %0, %1" : "=l" (result) : "l" (value) ); |
---|
| 1022 | return result; |
---|
| 1023 | |
---|
| 1024 | } |
---|
| 1025 | # 986 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1026 | __attribute__((always_inline)) static inline uint32_t __REV16(uint32_t value) |
---|
| 1027 | { |
---|
| 1028 | uint32_t result; |
---|
| 1029 | |
---|
| 1030 | __asm volatile ("rev16 %0, %1" : "=l" (result) : "l" (value) ); |
---|
| 1031 | return result; |
---|
| 1032 | } |
---|
| 1033 | # 1001 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1034 | __attribute__((always_inline)) static inline int16_t __REVSH(int16_t value) |
---|
| 1035 | { |
---|
| 1036 | |
---|
| 1037 | |
---|
| 1038 | |
---|
| 1039 | int16_t result; |
---|
| 1040 | |
---|
| 1041 | __asm volatile ("revsh %0, %1" : "=l" (result) : "l" (value) ); |
---|
| 1042 | return result; |
---|
| 1043 | |
---|
| 1044 | } |
---|
| 1045 | # 1021 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1046 | __attribute__((always_inline)) static inline uint32_t __ROR(uint32_t op1, uint32_t op2) |
---|
| 1047 | { |
---|
| 1048 | op2 %= 32U; |
---|
| 1049 | if (op2 == 0U) |
---|
| 1050 | { |
---|
| 1051 | return op1; |
---|
| 1052 | } |
---|
| 1053 | return (op1 >> op2) | (op1 << (32U - op2)); |
---|
| 1054 | } |
---|
| 1055 | # 1048 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1056 | __attribute__((always_inline)) static inline uint32_t __RBIT(uint32_t value) |
---|
| 1057 | { |
---|
| 1058 | uint32_t result; |
---|
| 1059 | |
---|
| 1060 | |
---|
| 1061 | |
---|
| 1062 | |
---|
| 1063 | |
---|
| 1064 | |
---|
| 1065 | uint32_t s = (4U * 8U) - 1U; |
---|
| 1066 | |
---|
| 1067 | result = value; |
---|
| 1068 | for (value >>= 1U; value != 0U; value >>= 1U) |
---|
| 1069 | { |
---|
| 1070 | result <<= 1U; |
---|
| 1071 | result |= value & 1U; |
---|
| 1072 | s--; |
---|
| 1073 | } |
---|
| 1074 | result <<= s; |
---|
| 1075 | |
---|
| 1076 | return result; |
---|
| 1077 | } |
---|
| 1078 | # 1078 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1079 | __attribute__((always_inline)) static inline uint8_t __CLZ(uint32_t value) |
---|
| 1080 | { |
---|
| 1081 | # 1089 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1082 | if (value == 0U) |
---|
| 1083 | { |
---|
| 1084 | return 32U; |
---|
| 1085 | } |
---|
| 1086 | return __builtin_clz(value); |
---|
| 1087 | } |
---|
| 1088 | # 1382 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1089 | __attribute__((always_inline)) static inline int32_t __SSAT(int32_t val, uint32_t sat) |
---|
| 1090 | { |
---|
| 1091 | if ((sat >= 1U) && (sat <= 32U)) |
---|
| 1092 | { |
---|
| 1093 | const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); |
---|
| 1094 | const int32_t min = -1 - max ; |
---|
| 1095 | if (val > max) |
---|
| 1096 | { |
---|
| 1097 | return max; |
---|
| 1098 | } |
---|
| 1099 | else if (val < min) |
---|
| 1100 | { |
---|
| 1101 | return min; |
---|
| 1102 | } |
---|
| 1103 | } |
---|
| 1104 | return val; |
---|
| 1105 | } |
---|
| 1106 | # 1407 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1107 | __attribute__((always_inline)) static inline uint32_t __USAT(int32_t val, uint32_t sat) |
---|
| 1108 | { |
---|
| 1109 | if (sat <= 31U) |
---|
| 1110 | { |
---|
| 1111 | const uint32_t max = ((1U << sat) - 1U); |
---|
| 1112 | if (val > (int32_t)max) |
---|
| 1113 | { |
---|
| 1114 | return max; |
---|
| 1115 | } |
---|
| 1116 | else if (val < 0) |
---|
| 1117 | { |
---|
| 1118 | return 0U; |
---|
| 1119 | } |
---|
| 1120 | } |
---|
| 1121 | return (uint32_t)val; |
---|
| 1122 | } |
---|
| 1123 | # 2166 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
---|
| 1124 | #pragma GCC diagnostic pop |
---|
| 1125 | # 55 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 2 3 |
---|
| 1126 | # 116 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
| 1127 | # 210 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1128 | typedef union |
---|
| 1129 | { |
---|
| 1130 | struct |
---|
| 1131 | { |
---|
| 1132 | uint32_t _reserved0:28; |
---|
| 1133 | uint32_t V:1; |
---|
| 1134 | uint32_t C:1; |
---|
| 1135 | uint32_t Z:1; |
---|
| 1136 | uint32_t N:1; |
---|
| 1137 | } b; |
---|
| 1138 | uint32_t w; |
---|
| 1139 | } APSR_Type; |
---|
| 1140 | # 240 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1141 | typedef union |
---|
| 1142 | { |
---|
| 1143 | struct |
---|
| 1144 | { |
---|
| 1145 | uint32_t ISR:9; |
---|
| 1146 | uint32_t _reserved0:23; |
---|
| 1147 | } b; |
---|
| 1148 | uint32_t w; |
---|
| 1149 | } IPSR_Type; |
---|
| 1150 | # 258 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1151 | typedef union |
---|
| 1152 | { |
---|
| 1153 | struct |
---|
| 1154 | { |
---|
| 1155 | uint32_t ISR:9; |
---|
| 1156 | uint32_t _reserved0:15; |
---|
| 1157 | uint32_t T:1; |
---|
| 1158 | uint32_t _reserved1:3; |
---|
| 1159 | uint32_t V:1; |
---|
| 1160 | uint32_t C:1; |
---|
| 1161 | uint32_t Z:1; |
---|
| 1162 | uint32_t N:1; |
---|
| 1163 | } b; |
---|
| 1164 | uint32_t w; |
---|
| 1165 | } xPSR_Type; |
---|
| 1166 | # 297 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1167 | typedef union |
---|
| 1168 | { |
---|
| 1169 | struct |
---|
| 1170 | { |
---|
| 1171 | uint32_t nPRIV:1; |
---|
| 1172 | uint32_t SPSEL:1; |
---|
| 1173 | uint32_t _reserved1:30; |
---|
| 1174 | } b; |
---|
| 1175 | uint32_t w; |
---|
| 1176 | } CONTROL_Type; |
---|
| 1177 | # 328 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1178 | typedef struct |
---|
| 1179 | { |
---|
| 1180 | volatile uint32_t ISER[1U]; |
---|
| 1181 | uint32_t RESERVED0[31U]; |
---|
| 1182 | volatile uint32_t ICER[1U]; |
---|
| 1183 | uint32_t RESERVED1[31U]; |
---|
| 1184 | volatile uint32_t ISPR[1U]; |
---|
| 1185 | uint32_t RESERVED2[31U]; |
---|
| 1186 | volatile uint32_t ICPR[1U]; |
---|
| 1187 | uint32_t RESERVED3[31U]; |
---|
| 1188 | uint32_t RESERVED4[64U]; |
---|
| 1189 | volatile uint32_t IP[8U]; |
---|
| 1190 | } NVIC_Type; |
---|
| 1191 | # 355 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1192 | typedef struct |
---|
| 1193 | { |
---|
| 1194 | volatile const uint32_t CPUID; |
---|
| 1195 | volatile uint32_t ICSR; |
---|
| 1196 | |
---|
| 1197 | volatile uint32_t VTOR; |
---|
| 1198 | |
---|
| 1199 | |
---|
| 1200 | |
---|
| 1201 | volatile uint32_t AIRCR; |
---|
| 1202 | volatile uint32_t SCR; |
---|
| 1203 | volatile uint32_t CCR; |
---|
| 1204 | uint32_t RESERVED1; |
---|
| 1205 | volatile uint32_t SHP[2U]; |
---|
| 1206 | volatile uint32_t SHCSR; |
---|
| 1207 | } SCB_Type; |
---|
| 1208 | # 472 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1209 | typedef struct |
---|
| 1210 | { |
---|
| 1211 | volatile uint32_t CTRL; |
---|
| 1212 | volatile uint32_t LOAD; |
---|
| 1213 | volatile uint32_t VAL; |
---|
| 1214 | volatile const uint32_t CALIB; |
---|
| 1215 | } SysTick_Type; |
---|
| 1216 | # 524 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1217 | typedef struct |
---|
| 1218 | { |
---|
| 1219 | volatile const uint32_t TYPE; |
---|
| 1220 | volatile uint32_t CTRL; |
---|
| 1221 | volatile uint32_t RNR; |
---|
| 1222 | volatile uint32_t RBAR; |
---|
| 1223 | volatile uint32_t RASR; |
---|
| 1224 | } MPU_Type; |
---|
| 1225 | # 741 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1226 | static inline void __NVIC_EnableIRQ(IRQn_Type IRQn) |
---|
| 1227 | { |
---|
| 1228 | if ((int32_t)(IRQn) >= 0) |
---|
| 1229 | { |
---|
| 1230 | __asm volatile("":::"memory"); |
---|
| 1231 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
| 1232 | __asm volatile("":::"memory"); |
---|
| 1233 | } |
---|
| 1234 | } |
---|
| 1235 | # 760 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1236 | static inline uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn) |
---|
| 1237 | { |
---|
| 1238 | if ((int32_t)(IRQn) >= 0) |
---|
| 1239 | { |
---|
| 1240 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); |
---|
| 1241 | } |
---|
| 1242 | else |
---|
| 1243 | { |
---|
| 1244 | return(0U); |
---|
| 1245 | } |
---|
| 1246 | } |
---|
| 1247 | # 779 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1248 | static inline void __NVIC_DisableIRQ(IRQn_Type IRQn) |
---|
| 1249 | { |
---|
| 1250 | if ((int32_t)(IRQn) >= 0) |
---|
| 1251 | { |
---|
| 1252 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
| 1253 | __DSB(); |
---|
| 1254 | __ISB(); |
---|
| 1255 | } |
---|
| 1256 | } |
---|
| 1257 | # 798 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1258 | static inline uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn) |
---|
| 1259 | { |
---|
| 1260 | if ((int32_t)(IRQn) >= 0) |
---|
| 1261 | { |
---|
| 1262 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); |
---|
| 1263 | } |
---|
| 1264 | else |
---|
| 1265 | { |
---|
| 1266 | return(0U); |
---|
| 1267 | } |
---|
| 1268 | } |
---|
| 1269 | # 817 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1270 | static inline void __NVIC_SetPendingIRQ(IRQn_Type IRQn) |
---|
| 1271 | { |
---|
| 1272 | if ((int32_t)(IRQn) >= 0) |
---|
| 1273 | { |
---|
| 1274 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
| 1275 | } |
---|
| 1276 | } |
---|
| 1277 | # 832 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1278 | static inline void __NVIC_ClearPendingIRQ(IRQn_Type IRQn) |
---|
| 1279 | { |
---|
| 1280 | if ((int32_t)(IRQn) >= 0) |
---|
| 1281 | { |
---|
| 1282 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
---|
| 1283 | } |
---|
| 1284 | } |
---|
| 1285 | # 850 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1286 | static inline void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) |
---|
| 1287 | { |
---|
| 1288 | if ((int32_t)(IRQn) >= 0) |
---|
| 1289 | { |
---|
| 1290 | ((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))) | |
---|
| 1291 | (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))); |
---|
| 1292 | } |
---|
| 1293 | else |
---|
| 1294 | { |
---|
| 1295 | ((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))) | |
---|
| 1296 | (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))); |
---|
| 1297 | } |
---|
| 1298 | } |
---|
| 1299 | # 874 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1300 | static inline uint32_t __NVIC_GetPriority(IRQn_Type IRQn) |
---|
| 1301 | { |
---|
| 1302 | |
---|
| 1303 | if ((int32_t)(IRQn) >= 0) |
---|
| 1304 | { |
---|
| 1305 | 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))); |
---|
| 1306 | } |
---|
| 1307 | else |
---|
| 1308 | { |
---|
| 1309 | 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))); |
---|
| 1310 | } |
---|
| 1311 | } |
---|
| 1312 | # 899 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1313 | static inline uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) |
---|
| 1314 | { |
---|
| 1315 | uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); |
---|
| 1316 | uint32_t PreemptPriorityBits; |
---|
| 1317 | uint32_t SubPriorityBits; |
---|
| 1318 | |
---|
| 1319 | PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp); |
---|
| 1320 | SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U)); |
---|
| 1321 | |
---|
| 1322 | return ( |
---|
| 1323 | ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | |
---|
| 1324 | ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) |
---|
| 1325 | ); |
---|
| 1326 | } |
---|
| 1327 | # 926 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1328 | static inline void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* const pPreemptPriority, uint32_t* const pSubPriority) |
---|
| 1329 | { |
---|
| 1330 | uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); |
---|
| 1331 | uint32_t PreemptPriorityBits; |
---|
| 1332 | uint32_t SubPriorityBits; |
---|
| 1333 | |
---|
| 1334 | PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp); |
---|
| 1335 | SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U)); |
---|
| 1336 | |
---|
| 1337 | *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL); |
---|
| 1338 | *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL); |
---|
| 1339 | } |
---|
| 1340 | # 950 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1341 | static inline void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) |
---|
| 1342 | { |
---|
| 1343 | |
---|
| 1344 | uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; |
---|
| 1345 | |
---|
| 1346 | |
---|
| 1347 | |
---|
| 1348 | (* (int *) (vectors + ((int32_t)IRQn + 16) * 4)) = vector; |
---|
| 1349 | |
---|
| 1350 | } |
---|
| 1351 | # 970 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1352 | static inline uint32_t __NVIC_GetVector(IRQn_Type IRQn) |
---|
| 1353 | { |
---|
| 1354 | |
---|
| 1355 | uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; |
---|
| 1356 | |
---|
| 1357 | |
---|
| 1358 | |
---|
| 1359 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + 16) * 4)); |
---|
| 1360 | } |
---|
| 1361 | |
---|
| 1362 | |
---|
| 1363 | |
---|
| 1364 | |
---|
| 1365 | |
---|
| 1366 | |
---|
| 1367 | __attribute__((__noreturn__)) static inline void __NVIC_SystemReset(void) |
---|
| 1368 | { |
---|
| 1369 | __DSB(); |
---|
| 1370 | |
---|
| 1371 | ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR = ((0x5FAUL << 16U) | |
---|
| 1372 | (1UL << 2U)); |
---|
| 1373 | __DSB(); |
---|
| 1374 | |
---|
| 1375 | for(;;) |
---|
| 1376 | { |
---|
| 1377 | __asm volatile ("nop"); |
---|
| 1378 | } |
---|
| 1379 | } |
---|
| 1380 | |
---|
| 1381 | |
---|
| 1382 | |
---|
| 1383 | |
---|
| 1384 | |
---|
| 1385 | |
---|
| 1386 | |
---|
| 1387 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 1 3 |
---|
| 1388 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3 |
---|
| 1389 | # 183 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3 |
---|
| 1390 | typedef struct { |
---|
| 1391 | uint32_t RBAR; |
---|
| 1392 | uint32_t RASR; |
---|
| 1393 | } ARM_MPU_Region_t; |
---|
| 1394 | |
---|
| 1395 | |
---|
| 1396 | |
---|
| 1397 | |
---|
| 1398 | static inline void ARM_MPU_Enable(uint32_t MPU_Control) |
---|
| 1399 | { |
---|
| 1400 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL = MPU_Control | (1UL ); |
---|
| 1401 | |
---|
| 1402 | |
---|
| 1403 | |
---|
| 1404 | __DSB(); |
---|
| 1405 | __ISB(); |
---|
| 1406 | } |
---|
| 1407 | |
---|
| 1408 | |
---|
| 1409 | |
---|
| 1410 | static inline void ARM_MPU_Disable(void) |
---|
| 1411 | { |
---|
| 1412 | __DMB(); |
---|
| 1413 | |
---|
| 1414 | |
---|
| 1415 | |
---|
| 1416 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL &= ~(1UL ); |
---|
| 1417 | } |
---|
| 1418 | |
---|
| 1419 | |
---|
| 1420 | |
---|
| 1421 | |
---|
| 1422 | static inline void ARM_MPU_ClrRegion(uint32_t rnr) |
---|
| 1423 | { |
---|
| 1424 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; |
---|
| 1425 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = 0U; |
---|
| 1426 | } |
---|
| 1427 | |
---|
| 1428 | |
---|
| 1429 | |
---|
| 1430 | |
---|
| 1431 | |
---|
| 1432 | static inline void ARM_MPU_SetRegion(uint32_t rbar, uint32_t rasr) |
---|
| 1433 | { |
---|
| 1434 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; |
---|
| 1435 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; |
---|
| 1436 | } |
---|
| 1437 | |
---|
| 1438 | |
---|
| 1439 | |
---|
| 1440 | |
---|
| 1441 | |
---|
| 1442 | |
---|
| 1443 | static inline void ARM_MPU_SetRegionEx(uint32_t rnr, uint32_t rbar, uint32_t rasr) |
---|
| 1444 | { |
---|
| 1445 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; |
---|
| 1446 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; |
---|
| 1447 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; |
---|
| 1448 | } |
---|
| 1449 | |
---|
| 1450 | |
---|
| 1451 | |
---|
| 1452 | |
---|
| 1453 | |
---|
| 1454 | |
---|
| 1455 | static inline void ARM_MPU_OrderedMemcpy(volatile uint32_t* dst, const uint32_t* __restrict src, uint32_t len) |
---|
| 1456 | { |
---|
| 1457 | uint32_t i; |
---|
| 1458 | for (i = 0U; i < len; ++i) |
---|
| 1459 | { |
---|
| 1460 | dst[i] = src[i]; |
---|
| 1461 | } |
---|
| 1462 | } |
---|
| 1463 | |
---|
| 1464 | |
---|
| 1465 | |
---|
| 1466 | |
---|
| 1467 | |
---|
| 1468 | static inline void ARM_MPU_Load(ARM_MPU_Region_t const* table, uint32_t cnt) |
---|
| 1469 | { |
---|
| 1470 | const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U; |
---|
| 1471 | while (cnt > 1U) { |
---|
| 1472 | ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), 1U*rowWordSize); |
---|
| 1473 | table += 1U; |
---|
| 1474 | cnt -= 1U; |
---|
| 1475 | } |
---|
| 1476 | ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), cnt*rowWordSize); |
---|
| 1477 | } |
---|
| 1478 | # 1006 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
---|
| 1479 | # 1025 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1480 | static inline uint32_t SCB_GetFPUType(void) |
---|
| 1481 | { |
---|
| 1482 | return 0U; |
---|
| 1483 | } |
---|
| 1484 | # 1056 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
---|
| 1485 | static inline uint32_t SysTick_Config(uint32_t ticks) |
---|
| 1486 | { |
---|
| 1487 | if ((ticks - 1UL) > (0xFFFFFFUL )) |
---|
| 1488 | { |
---|
| 1489 | return (1UL); |
---|
| 1490 | } |
---|
| 1491 | |
---|
| 1492 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->LOAD = (uint32_t)(ticks - 1UL); |
---|
| 1493 | __NVIC_SetPriority (SysTick_IRQn, (1UL << 2U) - 1UL); |
---|
| 1494 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->VAL = 0UL; |
---|
| 1495 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->CTRL = (1UL << 2U) | |
---|
| 1496 | (1UL << 1U) | |
---|
| 1497 | (1UL ); |
---|
| 1498 | return (0UL); |
---|
| 1499 | } |
---|
| 1500 | # 112 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2 |
---|
| 1501 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" 1 |
---|
| 1502 | # 56 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" |
---|
| 1503 | extern uint32_t SystemCoreClock; |
---|
| 1504 | |
---|
| 1505 | extern const uint32_t AHBPrescTable[16]; |
---|
| 1506 | extern const uint32_t APBPrescTable[8]; |
---|
| 1507 | # 85 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" |
---|
| 1508 | extern void SystemInit(void); |
---|
| 1509 | extern void SystemCoreClockUpdate(void); |
---|
| 1510 | # 113 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2 |
---|
| 1511 | # 122 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
---|
| 1512 | typedef struct |
---|
| 1513 | { |
---|
| 1514 | volatile uint32_t ISR; |
---|
| 1515 | volatile uint32_t IER; |
---|
| 1516 | volatile uint32_t CR; |
---|
| 1517 | volatile uint32_t CFGR1; |
---|
| 1518 | volatile uint32_t CFGR2; |
---|
| 1519 | volatile uint32_t SMPR; |
---|
| 1520 | uint32_t RESERVED1; |
---|
| 1521 | uint32_t RESERVED2; |
---|
| 1522 | volatile uint32_t AWD1TR; |
---|
| 1523 | volatile uint32_t AWD2TR; |
---|
| 1524 | volatile uint32_t CHSELR; |
---|
| 1525 | volatile uint32_t AWD3TR; |
---|
| 1526 | uint32_t RESERVED3[4]; |
---|
| 1527 | volatile uint32_t DR; |
---|
| 1528 | uint32_t RESERVED4[23]; |
---|
| 1529 | volatile uint32_t AWD2CR; |
---|
| 1530 | volatile uint32_t AWD3CR; |
---|
| 1531 | uint32_t RESERVED5[3]; |
---|
| 1532 | volatile uint32_t CALFACT; |
---|
| 1533 | } ADC_TypeDef; |
---|
| 1534 | |
---|
| 1535 | typedef struct |
---|
| 1536 | { |
---|
| 1537 | volatile uint32_t CCR; |
---|
| 1538 | } ADC_Common_TypeDef; |
---|
| 1539 | # 161 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
---|
| 1540 | typedef struct |
---|
| 1541 | { |
---|
| 1542 | volatile uint32_t DR; |
---|
| 1543 | volatile uint32_t IDR; |
---|
| 1544 | volatile uint32_t CR; |
---|
| 1545 | uint32_t RESERVED1; |
---|
| 1546 | volatile uint32_t INIT; |
---|
| 1547 | volatile uint32_t POL; |
---|
| 1548 | } CRC_TypeDef; |
---|
| 1549 | |
---|
| 1550 | |
---|
| 1551 | |
---|
| 1552 | |
---|
| 1553 | |
---|
| 1554 | typedef struct |
---|
| 1555 | { |
---|
| 1556 | volatile uint32_t IDCODE; |
---|
| 1557 | volatile uint32_t CR; |
---|
| 1558 | volatile uint32_t APBFZ1; |
---|
| 1559 | volatile uint32_t APBFZ2; |
---|
| 1560 | } DBG_TypeDef; |
---|
| 1561 | |
---|
| 1562 | |
---|
| 1563 | |
---|
| 1564 | |
---|
| 1565 | typedef struct |
---|
| 1566 | { |
---|
| 1567 | volatile uint32_t CCR; |
---|
| 1568 | volatile uint32_t CNDTR; |
---|
| 1569 | volatile uint32_t CPAR; |
---|
| 1570 | volatile uint32_t CMAR; |
---|
| 1571 | } DMA_Channel_TypeDef; |
---|
| 1572 | |
---|
| 1573 | typedef struct |
---|
| 1574 | { |
---|
| 1575 | volatile uint32_t ISR; |
---|
| 1576 | volatile uint32_t IFCR; |
---|
| 1577 | } DMA_TypeDef; |
---|
| 1578 | |
---|
| 1579 | |
---|
| 1580 | |
---|
| 1581 | |
---|
| 1582 | typedef struct |
---|
| 1583 | { |
---|
| 1584 | volatile uint32_t CCR; |
---|
| 1585 | }DMAMUX_Channel_TypeDef; |
---|
| 1586 | |
---|
| 1587 | typedef struct |
---|
| 1588 | { |
---|
| 1589 | volatile uint32_t CSR; |
---|
| 1590 | volatile uint32_t CFR; |
---|
| 1591 | }DMAMUX_ChannelStatus_TypeDef; |
---|
| 1592 | |
---|
| 1593 | typedef struct |
---|
| 1594 | { |
---|
| 1595 | volatile uint32_t RGCR; |
---|
| 1596 | }DMAMUX_RequestGen_TypeDef; |
---|
| 1597 | |
---|
| 1598 | typedef struct |
---|
| 1599 | { |
---|
| 1600 | volatile uint32_t RGSR; |
---|
| 1601 | volatile uint32_t RGCFR; |
---|
| 1602 | }DMAMUX_RequestGenStatus_TypeDef; |
---|
| 1603 | |
---|
| 1604 | |
---|
| 1605 | |
---|
| 1606 | |
---|
| 1607 | typedef struct |
---|
| 1608 | { |
---|
| 1609 | volatile uint32_t RTSR1; |
---|
| 1610 | volatile uint32_t FTSR1; |
---|
| 1611 | volatile uint32_t SWIER1; |
---|
| 1612 | volatile uint32_t RPR1; |
---|
| 1613 | volatile uint32_t FPR1; |
---|
| 1614 | uint32_t RESERVED1[3]; |
---|
| 1615 | uint32_t RESERVED2[5]; |
---|
| 1616 | uint32_t RESERVED3[11]; |
---|
| 1617 | volatile uint32_t EXTICR[4]; |
---|
| 1618 | uint32_t RESERVED4[4]; |
---|
| 1619 | volatile uint32_t IMR1; |
---|
| 1620 | volatile uint32_t EMR1; |
---|
| 1621 | } EXTI_TypeDef; |
---|
| 1622 | |
---|
| 1623 | |
---|
| 1624 | |
---|
| 1625 | |
---|
| 1626 | typedef struct |
---|
| 1627 | { |
---|
| 1628 | volatile uint32_t ACR; |
---|
| 1629 | uint32_t RESERVED1; |
---|
| 1630 | volatile uint32_t KEYR; |
---|
| 1631 | volatile uint32_t OPTKEYR; |
---|
| 1632 | volatile uint32_t SR; |
---|
| 1633 | volatile uint32_t CR; |
---|
| 1634 | volatile uint32_t ECCR; |
---|
| 1635 | uint32_t RESERVED2; |
---|
| 1636 | volatile uint32_t OPTR; |
---|
| 1637 | uint32_t RESERVED3[2]; |
---|
| 1638 | volatile uint32_t WRP1AR; |
---|
| 1639 | volatile uint32_t WRP1BR; |
---|
| 1640 | uint32_t RESERVED4[2]; |
---|
| 1641 | } FLASH_TypeDef; |
---|
| 1642 | |
---|
| 1643 | |
---|
| 1644 | |
---|
| 1645 | |
---|
| 1646 | typedef struct |
---|
| 1647 | { |
---|
| 1648 | volatile uint32_t MODER; |
---|
| 1649 | volatile uint32_t OTYPER; |
---|
| 1650 | volatile uint32_t OSPEEDR; |
---|
| 1651 | volatile uint32_t PUPDR; |
---|
| 1652 | volatile uint32_t IDR; |
---|
| 1653 | volatile uint32_t ODR; |
---|
| 1654 | volatile uint32_t BSRR; |
---|
| 1655 | volatile uint32_t LCKR; |
---|
| 1656 | volatile uint32_t AFR[2]; |
---|
| 1657 | volatile uint32_t BRR; |
---|
| 1658 | } GPIO_TypeDef; |
---|
| 1659 | |
---|
| 1660 | |
---|
| 1661 | |
---|
| 1662 | |
---|
| 1663 | |
---|
| 1664 | typedef struct |
---|
| 1665 | { |
---|
| 1666 | volatile uint32_t CR1; |
---|
| 1667 | volatile uint32_t CR2; |
---|
| 1668 | volatile uint32_t OAR1; |
---|
| 1669 | volatile uint32_t OAR2; |
---|
| 1670 | volatile uint32_t TIMINGR; |
---|
| 1671 | volatile uint32_t TIMEOUTR; |
---|
| 1672 | volatile uint32_t ISR; |
---|
| 1673 | volatile uint32_t ICR; |
---|
| 1674 | volatile uint32_t PECR; |
---|
| 1675 | volatile uint32_t RXDR; |
---|
| 1676 | volatile uint32_t TXDR; |
---|
| 1677 | } I2C_TypeDef; |
---|
| 1678 | |
---|
| 1679 | |
---|
| 1680 | |
---|
| 1681 | |
---|
| 1682 | typedef struct |
---|
| 1683 | { |
---|
| 1684 | volatile uint32_t KR; |
---|
| 1685 | volatile uint32_t PR; |
---|
| 1686 | volatile uint32_t RLR; |
---|
| 1687 | volatile uint32_t SR; |
---|
| 1688 | volatile uint32_t WINR; |
---|
| 1689 | } IWDG_TypeDef; |
---|
| 1690 | |
---|
| 1691 | |
---|
| 1692 | |
---|
| 1693 | |
---|
| 1694 | |
---|
| 1695 | |
---|
| 1696 | typedef struct |
---|
| 1697 | { |
---|
| 1698 | volatile uint32_t CR1; |
---|
| 1699 | uint32_t RESERVED0; |
---|
| 1700 | volatile uint32_t CR3; |
---|
| 1701 | volatile uint32_t CR4; |
---|
| 1702 | volatile uint32_t SR1; |
---|
| 1703 | volatile uint32_t SR2; |
---|
| 1704 | volatile uint32_t SCR; |
---|
| 1705 | uint32_t RESERVED1; |
---|
| 1706 | volatile uint32_t PUCRA; |
---|
| 1707 | volatile uint32_t PDCRA; |
---|
| 1708 | volatile uint32_t PUCRB; |
---|
| 1709 | volatile uint32_t PDCRB; |
---|
| 1710 | volatile uint32_t PUCRC; |
---|
| 1711 | volatile uint32_t PDCRC; |
---|
| 1712 | volatile uint32_t PUCRD; |
---|
| 1713 | volatile uint32_t PDCRD; |
---|
| 1714 | uint32_t RESERVED2; |
---|
| 1715 | uint32_t RESERVED3; |
---|
| 1716 | volatile uint32_t PUCRF; |
---|
| 1717 | volatile uint32_t PDCRF; |
---|
| 1718 | } PWR_TypeDef; |
---|
| 1719 | |
---|
| 1720 | |
---|
| 1721 | |
---|
| 1722 | |
---|
| 1723 | typedef struct |
---|
| 1724 | { |
---|
| 1725 | volatile uint32_t CR; |
---|
| 1726 | volatile uint32_t ICSCR; |
---|
| 1727 | volatile uint32_t CFGR; |
---|
| 1728 | volatile uint32_t PLLCFGR; |
---|
| 1729 | volatile uint32_t RESERVED0; |
---|
| 1730 | volatile uint32_t RESERVED1; |
---|
| 1731 | volatile uint32_t CIER; |
---|
| 1732 | volatile uint32_t CIFR; |
---|
| 1733 | volatile uint32_t CICR; |
---|
| 1734 | volatile uint32_t IOPRSTR; |
---|
| 1735 | volatile uint32_t AHBRSTR; |
---|
| 1736 | volatile uint32_t APBRSTR1; |
---|
| 1737 | volatile uint32_t APBRSTR2; |
---|
| 1738 | volatile uint32_t IOPENR; |
---|
| 1739 | volatile uint32_t AHBENR; |
---|
| 1740 | volatile uint32_t APBENR1; |
---|
| 1741 | volatile uint32_t APBENR2; |
---|
| 1742 | volatile uint32_t IOPSMENR; |
---|
| 1743 | volatile uint32_t AHBSMENR; |
---|
| 1744 | volatile uint32_t APBSMENR1; |
---|
| 1745 | volatile uint32_t APBSMENR2; |
---|
| 1746 | volatile uint32_t CCIPR; |
---|
| 1747 | volatile uint32_t RESERVED2; |
---|
| 1748 | volatile uint32_t BDCR; |
---|
| 1749 | volatile uint32_t CSR; |
---|
| 1750 | } RCC_TypeDef; |
---|
| 1751 | |
---|
| 1752 | |
---|
| 1753 | |
---|
| 1754 | |
---|
| 1755 | typedef struct |
---|
| 1756 | { |
---|
| 1757 | volatile uint32_t TR; |
---|
| 1758 | volatile uint32_t DR; |
---|
| 1759 | volatile uint32_t SSR; |
---|
| 1760 | volatile uint32_t ICSR; |
---|
| 1761 | volatile uint32_t PRER; |
---|
| 1762 | volatile uint32_t WUTR; |
---|
| 1763 | volatile uint32_t CR; |
---|
| 1764 | uint32_t RESERVED0; |
---|
| 1765 | uint32_t RESERVED1; |
---|
| 1766 | volatile uint32_t WPR; |
---|
| 1767 | volatile uint32_t CALR; |
---|
| 1768 | volatile uint32_t SHIFTR; |
---|
| 1769 | volatile uint32_t TSTR; |
---|
| 1770 | volatile uint32_t TSDR; |
---|
| 1771 | volatile uint32_t TSSSR; |
---|
| 1772 | uint32_t RESERVED2; |
---|
| 1773 | volatile uint32_t ALRMAR; |
---|
| 1774 | volatile uint32_t ALRMASSR; |
---|
| 1775 | volatile uint32_t ALRMBR; |
---|
| 1776 | volatile uint32_t ALRMBSSR; |
---|
| 1777 | volatile uint32_t SR; |
---|
| 1778 | volatile uint32_t MISR; |
---|
| 1779 | uint32_t RESERVED3; |
---|
| 1780 | volatile uint32_t SCR; |
---|
| 1781 | volatile uint32_t OR; |
---|
| 1782 | } RTC_TypeDef; |
---|
| 1783 | |
---|
| 1784 | |
---|
| 1785 | |
---|
| 1786 | |
---|
| 1787 | typedef struct |
---|
| 1788 | { |
---|
| 1789 | volatile uint32_t CR1; |
---|
| 1790 | volatile uint32_t CR2; |
---|
| 1791 | uint32_t RESERVED0; |
---|
| 1792 | volatile uint32_t FLTCR; |
---|
| 1793 | uint32_t RESERVED1[7]; |
---|
| 1794 | volatile uint32_t IER; |
---|
| 1795 | volatile uint32_t SR; |
---|
| 1796 | volatile uint32_t MISR; |
---|
| 1797 | uint32_t RESERVED2; |
---|
| 1798 | volatile uint32_t SCR; |
---|
| 1799 | uint32_t RESERVED3[48]; |
---|
| 1800 | volatile uint32_t BKP0R; |
---|
| 1801 | volatile uint32_t BKP1R; |
---|
| 1802 | volatile uint32_t BKP2R; |
---|
| 1803 | volatile uint32_t BKP3R; |
---|
| 1804 | volatile uint32_t BKP4R; |
---|
| 1805 | } TAMP_TypeDef; |
---|
| 1806 | |
---|
| 1807 | |
---|
| 1808 | |
---|
| 1809 | |
---|
| 1810 | typedef struct |
---|
| 1811 | { |
---|
| 1812 | volatile uint32_t CR1; |
---|
| 1813 | volatile uint32_t CR2; |
---|
| 1814 | volatile uint32_t SR; |
---|
| 1815 | volatile uint32_t DR; |
---|
| 1816 | volatile uint32_t CRCPR; |
---|
| 1817 | volatile uint32_t RXCRCR; |
---|
| 1818 | volatile uint32_t TXCRCR; |
---|
| 1819 | volatile uint32_t I2SCFGR; |
---|
| 1820 | volatile uint32_t I2SPR; |
---|
| 1821 | } SPI_TypeDef; |
---|
| 1822 | |
---|
| 1823 | |
---|
| 1824 | |
---|
| 1825 | |
---|
| 1826 | typedef struct |
---|
| 1827 | { |
---|
| 1828 | volatile uint32_t CFGR1; |
---|
| 1829 | uint32_t RESERVED0[5]; |
---|
| 1830 | volatile uint32_t CFGR2; |
---|
| 1831 | uint32_t RESERVED1[25]; |
---|
| 1832 | volatile uint32_t IT_LINE_SR[32]; |
---|
| 1833 | } SYSCFG_TypeDef; |
---|
| 1834 | |
---|
| 1835 | |
---|
| 1836 | |
---|
| 1837 | |
---|
| 1838 | typedef struct |
---|
| 1839 | { |
---|
| 1840 | volatile uint32_t CR1; |
---|
| 1841 | volatile uint32_t CR2; |
---|
| 1842 | volatile uint32_t SMCR; |
---|
| 1843 | volatile uint32_t DIER; |
---|
| 1844 | volatile uint32_t SR; |
---|
| 1845 | volatile uint32_t EGR; |
---|
| 1846 | volatile uint32_t CCMR1; |
---|
| 1847 | volatile uint32_t CCMR2; |
---|
| 1848 | volatile uint32_t CCER; |
---|
| 1849 | volatile uint32_t CNT; |
---|
| 1850 | volatile uint32_t PSC; |
---|
| 1851 | volatile uint32_t ARR; |
---|
| 1852 | volatile uint32_t RCR; |
---|
| 1853 | volatile uint32_t CCR1; |
---|
| 1854 | volatile uint32_t CCR2; |
---|
| 1855 | volatile uint32_t CCR3; |
---|
| 1856 | volatile uint32_t CCR4; |
---|
| 1857 | volatile uint32_t BDTR; |
---|
| 1858 | volatile uint32_t DCR; |
---|
| 1859 | volatile uint32_t DMAR; |
---|
| 1860 | volatile uint32_t OR1; |
---|
| 1861 | volatile uint32_t CCMR3; |
---|
| 1862 | volatile uint32_t CCR5; |
---|
| 1863 | volatile uint32_t CCR6; |
---|
| 1864 | volatile uint32_t AF1; |
---|
| 1865 | volatile uint32_t AF2; |
---|
| 1866 | volatile uint32_t TISEL; |
---|
| 1867 | } TIM_TypeDef; |
---|
| 1868 | |
---|
| 1869 | |
---|
| 1870 | |
---|
| 1871 | |
---|
| 1872 | typedef struct |
---|
| 1873 | { |
---|
| 1874 | volatile uint32_t CR1; |
---|
| 1875 | volatile uint32_t CR2; |
---|
| 1876 | volatile uint32_t CR3; |
---|
| 1877 | volatile uint32_t BRR; |
---|
| 1878 | volatile uint32_t GTPR; |
---|
| 1879 | volatile uint32_t RTOR; |
---|
| 1880 | volatile uint32_t RQR; |
---|
| 1881 | volatile uint32_t ISR; |
---|
| 1882 | volatile uint32_t ICR; |
---|
| 1883 | volatile uint32_t RDR; |
---|
| 1884 | volatile uint32_t TDR; |
---|
| 1885 | volatile uint32_t PRESC; |
---|
| 1886 | } USART_TypeDef; |
---|
| 1887 | |
---|
| 1888 | |
---|
| 1889 | |
---|
| 1890 | |
---|
| 1891 | |
---|
| 1892 | typedef struct |
---|
| 1893 | { |
---|
| 1894 | volatile uint32_t CR; |
---|
| 1895 | volatile uint32_t CFR; |
---|
| 1896 | volatile uint32_t SR; |
---|
| 1897 | } WWDG_TypeDef; |
---|
| 1898 | # 120 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2 |
---|
| 1899 | # 143 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
---|
| 1900 | typedef enum |
---|
| 1901 | { |
---|
| 1902 | RESET = 0, |
---|
| 1903 | SET = !RESET |
---|
| 1904 | } FlagStatus, ITStatus; |
---|
| 1905 | |
---|
| 1906 | typedef enum |
---|
| 1907 | { |
---|
| 1908 | DISABLE = 0, |
---|
| 1909 | ENABLE = !DISABLE |
---|
| 1910 | } FunctionalState; |
---|
| 1911 | |
---|
| 1912 | |
---|
| 1913 | typedef enum |
---|
| 1914 | { |
---|
| 1915 | SUCCESS = 0, |
---|
| 1916 | ERROR = !SUCCESS |
---|
| 1917 | } ErrorStatus; |
---|
| 1918 | # 230 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
---|
| 1919 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1 |
---|
| 1920 | # 231 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2 |
---|
| 1921 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
---|
| 1922 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\Legacy/stm32_hal_legacy.h" 1 |
---|
| 1923 | # 31 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
---|
| 1924 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 1 3 |
---|
| 1925 | # 72 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
| 1926 | typedef unsigned int size_t; |
---|
| 1927 | # 86 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
| 1928 | typedef unsigned int wchar_t; |
---|
| 1929 | # 97 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
| 1930 | typedef int ptrdiff_t; |
---|
| 1931 | # 110 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
---|
| 1932 | typedef double max_align_t; |
---|
| 1933 | # 32 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
---|
| 1934 | |
---|
| 1935 | |
---|
| 1936 | |
---|
| 1937 | |
---|
| 1938 | |
---|
| 1939 | |
---|
| 1940 | typedef enum |
---|
| 1941 | { |
---|
| 1942 | HAL_OK = 0x00U, |
---|
| 1943 | HAL_ERROR = 0x01U, |
---|
| 1944 | HAL_BUSY = 0x02U, |
---|
| 1945 | HAL_TIMEOUT = 0x03U |
---|
| 1946 | } HAL_StatusTypeDef; |
---|
| 1947 | |
---|
| 1948 | |
---|
| 1949 | |
---|
| 1950 | |
---|
| 1951 | typedef enum |
---|
| 1952 | { |
---|
| 1953 | HAL_UNLOCKED = 0x00U, |
---|
| 1954 | HAL_LOCKED = 0x01U |
---|
| 1955 | } HAL_LockTypeDef; |
---|
| 1956 | # 28 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
---|
| 1957 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" 1 |
---|
| 1958 | # 1248 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 1959 | static inline void LL_RCC_HSE_EnableCSS(void) |
---|
| 1960 | { |
---|
| 1961 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (19U)))); |
---|
| 1962 | } |
---|
| 1963 | |
---|
| 1964 | |
---|
| 1965 | |
---|
| 1966 | |
---|
| 1967 | |
---|
| 1968 | |
---|
| 1969 | static inline void LL_RCC_HSE_EnableBypass(void) |
---|
| 1970 | { |
---|
| 1971 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (18U)))); |
---|
| 1972 | } |
---|
| 1973 | |
---|
| 1974 | |
---|
| 1975 | |
---|
| 1976 | |
---|
| 1977 | |
---|
| 1978 | |
---|
| 1979 | static inline void LL_RCC_HSE_DisableBypass(void) |
---|
| 1980 | { |
---|
| 1981 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (18U)))); |
---|
| 1982 | } |
---|
| 1983 | |
---|
| 1984 | |
---|
| 1985 | |
---|
| 1986 | |
---|
| 1987 | |
---|
| 1988 | |
---|
| 1989 | static inline void LL_RCC_HSE_Enable(void) |
---|
| 1990 | { |
---|
| 1991 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (16U)))); |
---|
| 1992 | } |
---|
| 1993 | |
---|
| 1994 | |
---|
| 1995 | |
---|
| 1996 | |
---|
| 1997 | |
---|
| 1998 | |
---|
| 1999 | static inline void LL_RCC_HSE_Disable(void) |
---|
| 2000 | { |
---|
| 2001 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (16U)))); |
---|
| 2002 | } |
---|
| 2003 | |
---|
| 2004 | |
---|
| 2005 | |
---|
| 2006 | |
---|
| 2007 | |
---|
| 2008 | |
---|
| 2009 | static inline uint32_t LL_RCC_HSE_IsReady(void) |
---|
| 2010 | { |
---|
| 2011 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL); |
---|
| 2012 | } |
---|
| 2013 | # 1317 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2014 | static inline void LL_RCC_HSI_EnableInStopMode(void) |
---|
| 2015 | { |
---|
| 2016 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (9U)))); |
---|
| 2017 | } |
---|
| 2018 | |
---|
| 2019 | |
---|
| 2020 | |
---|
| 2021 | |
---|
| 2022 | |
---|
| 2023 | |
---|
| 2024 | static inline void LL_RCC_HSI_DisableInStopMode(void) |
---|
| 2025 | { |
---|
| 2026 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (9U)))); |
---|
| 2027 | } |
---|
| 2028 | |
---|
| 2029 | |
---|
| 2030 | |
---|
| 2031 | |
---|
| 2032 | |
---|
| 2033 | |
---|
| 2034 | static inline uint32_t LL_RCC_HSI_IsEnabledInStopMode(void) |
---|
| 2035 | { |
---|
| 2036 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
| 2037 | } |
---|
| 2038 | |
---|
| 2039 | |
---|
| 2040 | |
---|
| 2041 | |
---|
| 2042 | |
---|
| 2043 | |
---|
| 2044 | static inline void LL_RCC_HSI_Enable(void) |
---|
| 2045 | { |
---|
| 2046 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (8U)))); |
---|
| 2047 | } |
---|
| 2048 | |
---|
| 2049 | |
---|
| 2050 | |
---|
| 2051 | |
---|
| 2052 | |
---|
| 2053 | |
---|
| 2054 | static inline void LL_RCC_HSI_Disable(void) |
---|
| 2055 | { |
---|
| 2056 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (8U)))); |
---|
| 2057 | } |
---|
| 2058 | |
---|
| 2059 | |
---|
| 2060 | |
---|
| 2061 | |
---|
| 2062 | |
---|
| 2063 | |
---|
| 2064 | static inline uint32_t LL_RCC_HSI_IsReady(void) |
---|
| 2065 | { |
---|
| 2066 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); |
---|
| 2067 | } |
---|
| 2068 | # 1379 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2069 | static inline uint32_t LL_RCC_HSI_GetCalibration(void) |
---|
| 2070 | { |
---|
| 2071 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0xFFUL << (0U)))) >> (0U)); |
---|
| 2072 | } |
---|
| 2073 | # 1393 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2074 | static inline void LL_RCC_HSI_SetCalibTrimming(uint32_t Value) |
---|
| 2075 | { |
---|
| 2076 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR))) & (~((0x7FUL << (8U))))) | (Value << (8U))))); |
---|
| 2077 | } |
---|
| 2078 | |
---|
| 2079 | |
---|
| 2080 | |
---|
| 2081 | |
---|
| 2082 | |
---|
| 2083 | |
---|
| 2084 | static inline uint32_t LL_RCC_HSI_GetCalibTrimming(void) |
---|
| 2085 | { |
---|
| 2086 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0x7FUL << (8U)))) >> (8U)); |
---|
| 2087 | } |
---|
| 2088 | # 1471 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2089 | static inline void LL_RCC_LSE_Enable(void) |
---|
| 2090 | { |
---|
| 2091 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (0U)))); |
---|
| 2092 | } |
---|
| 2093 | |
---|
| 2094 | |
---|
| 2095 | |
---|
| 2096 | |
---|
| 2097 | |
---|
| 2098 | |
---|
| 2099 | static inline void LL_RCC_LSE_Disable(void) |
---|
| 2100 | { |
---|
| 2101 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (0U)))); |
---|
| 2102 | } |
---|
| 2103 | |
---|
| 2104 | |
---|
| 2105 | |
---|
| 2106 | |
---|
| 2107 | |
---|
| 2108 | |
---|
| 2109 | static inline void LL_RCC_LSE_EnableBypass(void) |
---|
| 2110 | { |
---|
| 2111 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (2U)))); |
---|
| 2112 | } |
---|
| 2113 | |
---|
| 2114 | |
---|
| 2115 | |
---|
| 2116 | |
---|
| 2117 | |
---|
| 2118 | |
---|
| 2119 | static inline void LL_RCC_LSE_DisableBypass(void) |
---|
| 2120 | { |
---|
| 2121 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (2U)))); |
---|
| 2122 | } |
---|
| 2123 | # 1517 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2124 | static inline void LL_RCC_LSE_SetDriveCapability(uint32_t LSEDrive) |
---|
| 2125 | { |
---|
| 2126 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (3U))))) | (LSEDrive)))); |
---|
| 2127 | } |
---|
| 2128 | # 1531 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2129 | static inline uint32_t LL_RCC_LSE_GetDriveCapability(void) |
---|
| 2130 | { |
---|
| 2131 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (3U))))); |
---|
| 2132 | } |
---|
| 2133 | |
---|
| 2134 | |
---|
| 2135 | |
---|
| 2136 | |
---|
| 2137 | |
---|
| 2138 | |
---|
| 2139 | static inline void LL_RCC_LSE_EnableCSS(void) |
---|
| 2140 | { |
---|
| 2141 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (5U)))); |
---|
| 2142 | } |
---|
| 2143 | # 1553 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2144 | static inline void LL_RCC_LSE_DisableCSS(void) |
---|
| 2145 | { |
---|
| 2146 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (5U)))); |
---|
| 2147 | } |
---|
| 2148 | |
---|
| 2149 | |
---|
| 2150 | |
---|
| 2151 | |
---|
| 2152 | |
---|
| 2153 | |
---|
| 2154 | static inline uint32_t LL_RCC_LSE_IsReady(void) |
---|
| 2155 | { |
---|
| 2156 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 2157 | } |
---|
| 2158 | |
---|
| 2159 | |
---|
| 2160 | |
---|
| 2161 | |
---|
| 2162 | |
---|
| 2163 | |
---|
| 2164 | static inline uint32_t LL_RCC_LSE_IsCSSDetected(void) |
---|
| 2165 | { |
---|
| 2166 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
---|
| 2167 | } |
---|
| 2168 | # 1591 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2169 | static inline void LL_RCC_LSI_Enable(void) |
---|
| 2170 | { |
---|
| 2171 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (0U)))); |
---|
| 2172 | } |
---|
| 2173 | |
---|
| 2174 | |
---|
| 2175 | |
---|
| 2176 | |
---|
| 2177 | |
---|
| 2178 | |
---|
| 2179 | static inline void LL_RCC_LSI_Disable(void) |
---|
| 2180 | { |
---|
| 2181 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) &= ~((0x1UL << (0U)))); |
---|
| 2182 | } |
---|
| 2183 | |
---|
| 2184 | |
---|
| 2185 | |
---|
| 2186 | |
---|
| 2187 | |
---|
| 2188 | |
---|
| 2189 | static inline uint32_t LL_RCC_LSI_IsReady(void) |
---|
| 2190 | { |
---|
| 2191 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 2192 | } |
---|
| 2193 | # 1629 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2194 | static inline void LL_RCC_LSCO_Enable(void) |
---|
| 2195 | { |
---|
| 2196 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (24U)))); |
---|
| 2197 | } |
---|
| 2198 | |
---|
| 2199 | |
---|
| 2200 | |
---|
| 2201 | |
---|
| 2202 | |
---|
| 2203 | |
---|
| 2204 | static inline void LL_RCC_LSCO_Disable(void) |
---|
| 2205 | { |
---|
| 2206 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (24U)))); |
---|
| 2207 | } |
---|
| 2208 | # 1652 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2209 | static inline void LL_RCC_LSCO_SetSource(uint32_t Source) |
---|
| 2210 | { |
---|
| 2211 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x1UL << (25U))))) | (Source)))); |
---|
| 2212 | } |
---|
| 2213 | # 1664 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2214 | static inline uint32_t LL_RCC_LSCO_GetSource(void) |
---|
| 2215 | { |
---|
| 2216 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (25U))))); |
---|
| 2217 | } |
---|
| 2218 | # 1688 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2219 | static inline void LL_RCC_SetSysClkSource(uint32_t Source) |
---|
| 2220 | { |
---|
| 2221 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (0U))))) | (Source)))); |
---|
| 2222 | } |
---|
| 2223 | # 1703 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2224 | static inline uint32_t LL_RCC_GetSysClkSource(void) |
---|
| 2225 | { |
---|
| 2226 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (3U))))); |
---|
| 2227 | } |
---|
| 2228 | # 1723 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2229 | static inline void LL_RCC_SetAHBPrescaler(uint32_t Prescaler) |
---|
| 2230 | { |
---|
| 2231 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0xFUL << (8U))))) | (Prescaler)))); |
---|
| 2232 | } |
---|
| 2233 | # 1739 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2234 | static inline void LL_RCC_SetAPB1Prescaler(uint32_t Prescaler) |
---|
| 2235 | { |
---|
| 2236 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (12U))))) | (Prescaler)))); |
---|
| 2237 | } |
---|
| 2238 | # 1760 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2239 | static inline void LL_RCC_SetHSIDiv(uint32_t HSIDiv) |
---|
| 2240 | { |
---|
| 2241 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR))) & (~((0x7UL << (11U))))) | (HSIDiv)))); |
---|
| 2242 | } |
---|
| 2243 | # 1778 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2244 | static inline uint32_t LL_RCC_GetAHBPrescaler(void) |
---|
| 2245 | { |
---|
| 2246 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0xFUL << (8U))))); |
---|
| 2247 | } |
---|
| 2248 | # 1793 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2249 | static inline uint32_t LL_RCC_GetAPB1Prescaler(void) |
---|
| 2250 | { |
---|
| 2251 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (12U))))); |
---|
| 2252 | } |
---|
| 2253 | # 1813 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2254 | static inline uint32_t LL_RCC_GetHSIDiv(void) |
---|
| 2255 | { |
---|
| 2256 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x7UL << (11U))))); |
---|
| 2257 | } |
---|
| 2258 | # 1854 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2259 | static inline void LL_RCC_ConfigMCO(uint32_t MCOxSource, uint32_t MCOxPrescaler) |
---|
| 2260 | { |
---|
| 2261 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (24U)) | (0x7UL << (28U))))) | (MCOxSource | MCOxPrescaler)))); |
---|
| 2262 | } |
---|
| 2263 | # 1935 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2264 | static inline void LL_RCC_SetUSARTClockSource(uint32_t USARTxSource) |
---|
| 2265 | { |
---|
| 2266 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((USARTxSource >> 16U)))) | ((USARTxSource & 0x0000FFFFU))))); |
---|
| 2267 | } |
---|
| 2268 | # 1976 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2269 | static inline void LL_RCC_SetI2CClockSource(uint32_t I2CxSource) |
---|
| 2270 | { |
---|
| 2271 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((I2CxSource >> 16U)))) | ((I2CxSource & 0x0000FFFFU))))); |
---|
| 2272 | } |
---|
| 2273 | # 2113 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2274 | static inline void LL_RCC_SetADCClockSource(uint32_t ADCxSource) |
---|
| 2275 | { |
---|
| 2276 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (30U))))) | (ADCxSource)))); |
---|
| 2277 | } |
---|
| 2278 | # 2149 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2279 | static inline void LL_RCC_SetI2SClockSource(uint32_t I2SxSource) |
---|
| 2280 | { |
---|
| 2281 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (14U))))) | (I2SxSource)))); |
---|
| 2282 | } |
---|
| 2283 | # 2177 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2284 | static inline uint32_t LL_RCC_GetUSARTClockSource(uint32_t USARTx) |
---|
| 2285 | { |
---|
| 2286 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (USARTx)) | (USARTx << 16U)); |
---|
| 2287 | } |
---|
| 2288 | # 2222 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2289 | static inline uint32_t LL_RCC_GetI2CClockSource(uint32_t I2Cx) |
---|
| 2290 | { |
---|
| 2291 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Cx)) | (I2Cx << 16U)); |
---|
| 2292 | } |
---|
| 2293 | # 2364 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2294 | static inline uint32_t LL_RCC_GetADCClockSource(uint32_t ADCx) |
---|
| 2295 | { |
---|
| 2296 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (ADCx))); |
---|
| 2297 | } |
---|
| 2298 | # 2403 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2299 | static inline uint32_t LL_RCC_GetI2SClockSource(uint32_t I2Sx) |
---|
| 2300 | { |
---|
| 2301 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Sx))); |
---|
| 2302 | } |
---|
| 2303 | # 2429 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2304 | static inline void LL_RCC_SetRTCClockSource(uint32_t Source) |
---|
| 2305 | { |
---|
| 2306 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (8U))))) | (Source)))); |
---|
| 2307 | } |
---|
| 2308 | # 2443 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2309 | static inline uint32_t LL_RCC_GetRTCClockSource(void) |
---|
| 2310 | { |
---|
| 2311 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (8U))))); |
---|
| 2312 | } |
---|
| 2313 | |
---|
| 2314 | |
---|
| 2315 | |
---|
| 2316 | |
---|
| 2317 | |
---|
| 2318 | |
---|
| 2319 | static inline void LL_RCC_EnableRTC(void) |
---|
| 2320 | { |
---|
| 2321 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (15U)))); |
---|
| 2322 | } |
---|
| 2323 | |
---|
| 2324 | |
---|
| 2325 | |
---|
| 2326 | |
---|
| 2327 | |
---|
| 2328 | |
---|
| 2329 | static inline void LL_RCC_DisableRTC(void) |
---|
| 2330 | { |
---|
| 2331 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (15U)))); |
---|
| 2332 | } |
---|
| 2333 | |
---|
| 2334 | |
---|
| 2335 | |
---|
| 2336 | |
---|
| 2337 | |
---|
| 2338 | |
---|
| 2339 | static inline uint32_t LL_RCC_IsEnabledRTC(void) |
---|
| 2340 | { |
---|
| 2341 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL); |
---|
| 2342 | } |
---|
| 2343 | |
---|
| 2344 | |
---|
| 2345 | |
---|
| 2346 | |
---|
| 2347 | |
---|
| 2348 | |
---|
| 2349 | static inline void LL_RCC_ForceBackupDomainReset(void) |
---|
| 2350 | { |
---|
| 2351 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (16U)))); |
---|
| 2352 | } |
---|
| 2353 | |
---|
| 2354 | |
---|
| 2355 | |
---|
| 2356 | |
---|
| 2357 | |
---|
| 2358 | |
---|
| 2359 | static inline void LL_RCC_ReleaseBackupDomainReset(void) |
---|
| 2360 | { |
---|
| 2361 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (16U)))); |
---|
| 2362 | } |
---|
| 2363 | # 2512 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2364 | static inline void LL_RCC_PLL_Enable(void) |
---|
| 2365 | { |
---|
| 2366 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (24U)))); |
---|
| 2367 | } |
---|
| 2368 | |
---|
| 2369 | |
---|
| 2370 | |
---|
| 2371 | |
---|
| 2372 | |
---|
| 2373 | |
---|
| 2374 | |
---|
| 2375 | static inline void LL_RCC_PLL_Disable(void) |
---|
| 2376 | { |
---|
| 2377 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (24U)))); |
---|
| 2378 | } |
---|
| 2379 | |
---|
| 2380 | |
---|
| 2381 | |
---|
| 2382 | |
---|
| 2383 | |
---|
| 2384 | |
---|
| 2385 | static inline uint32_t LL_RCC_PLL_IsReady(void) |
---|
| 2386 | { |
---|
| 2387 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
---|
| 2388 | } |
---|
| 2389 | # 2570 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2390 | static inline void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR) |
---|
| 2391 | { |
---|
| 2392 | (((((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)))); |
---|
| 2393 | |
---|
| 2394 | } |
---|
| 2395 | # 2635 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2396 | static inline void LL_RCC_PLL_ConfigDomain_ADC(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP) |
---|
| 2397 | { |
---|
| 2398 | (((((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)))); |
---|
| 2399 | |
---|
| 2400 | } |
---|
| 2401 | # 2700 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2402 | static inline void LL_RCC_PLL_ConfigDomain_I2S1(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP) |
---|
| 2403 | { |
---|
| 2404 | (((((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)))); |
---|
| 2405 | |
---|
| 2406 | } |
---|
| 2407 | # 2993 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2408 | static inline uint32_t LL_RCC_PLL_GetN(void) |
---|
| 2409 | { |
---|
| 2410 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7FUL << (8U)))) >> (8U)); |
---|
| 2411 | } |
---|
| 2412 | # 3035 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2413 | static inline uint32_t LL_RCC_PLL_GetP(void) |
---|
| 2414 | { |
---|
| 2415 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1FUL << (17U))))); |
---|
| 2416 | } |
---|
| 2417 | # 3073 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2418 | static inline uint32_t LL_RCC_PLL_GetR(void) |
---|
| 2419 | { |
---|
| 2420 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (29U))))); |
---|
| 2421 | } |
---|
| 2422 | # 3086 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2423 | static inline void LL_RCC_PLL_SetMainSource(uint32_t PLLSource) |
---|
| 2424 | { |
---|
| 2425 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U))))) | (PLLSource)))); |
---|
| 2426 | } |
---|
| 2427 | # 3099 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2428 | static inline uint32_t LL_RCC_PLL_GetMainSource(void) |
---|
| 2429 | { |
---|
| 2430 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x3UL << (0U))))); |
---|
| 2431 | } |
---|
| 2432 | # 3117 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2433 | static inline uint32_t LL_RCC_PLL_GetDivider(void) |
---|
| 2434 | { |
---|
| 2435 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (4U))))); |
---|
| 2436 | } |
---|
| 2437 | # 3129 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2438 | static inline void LL_RCC_PLL_EnableDomain_ADC(void) |
---|
| 2439 | { |
---|
| 2440 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U)))); |
---|
| 2441 | } |
---|
| 2442 | # 3144 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2443 | static inline void LL_RCC_PLL_DisableDomain_ADC(void) |
---|
| 2444 | { |
---|
| 2445 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U)))); |
---|
| 2446 | } |
---|
| 2447 | |
---|
| 2448 | |
---|
| 2449 | |
---|
| 2450 | |
---|
| 2451 | |
---|
| 2452 | |
---|
| 2453 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_ADC(void) |
---|
| 2454 | { |
---|
| 2455 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
| 2456 | } |
---|
| 2457 | # 3166 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2458 | static inline void LL_RCC_PLL_EnableDomain_I2S1(void) |
---|
| 2459 | { |
---|
| 2460 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U)))); |
---|
| 2461 | } |
---|
| 2462 | # 3195 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2463 | static inline void LL_RCC_PLL_DisableDomain_I2S1(void) |
---|
| 2464 | { |
---|
| 2465 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U)))); |
---|
| 2466 | } |
---|
| 2467 | |
---|
| 2468 | |
---|
| 2469 | |
---|
| 2470 | |
---|
| 2471 | |
---|
| 2472 | |
---|
| 2473 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_I2S1(void) |
---|
| 2474 | { |
---|
| 2475 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
| 2476 | } |
---|
| 2477 | # 3437 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2478 | static inline void LL_RCC_PLL_EnableDomain_SYS(void) |
---|
| 2479 | { |
---|
| 2480 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (28U)))); |
---|
| 2481 | } |
---|
| 2482 | # 3450 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2483 | static inline void LL_RCC_PLL_DisableDomain_SYS(void) |
---|
| 2484 | { |
---|
| 2485 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (28U)))); |
---|
| 2486 | } |
---|
| 2487 | |
---|
| 2488 | |
---|
| 2489 | |
---|
| 2490 | |
---|
| 2491 | |
---|
| 2492 | |
---|
| 2493 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_SYS(void) |
---|
| 2494 | { |
---|
| 2495 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
---|
| 2496 | } |
---|
| 2497 | # 3480 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2498 | static inline void LL_RCC_ClearFlag_LSIRDY(void) |
---|
| 2499 | { |
---|
| 2500 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (0U)))); |
---|
| 2501 | } |
---|
| 2502 | |
---|
| 2503 | |
---|
| 2504 | |
---|
| 2505 | |
---|
| 2506 | |
---|
| 2507 | |
---|
| 2508 | static inline void LL_RCC_ClearFlag_LSERDY(void) |
---|
| 2509 | { |
---|
| 2510 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (1U)))); |
---|
| 2511 | } |
---|
| 2512 | |
---|
| 2513 | |
---|
| 2514 | |
---|
| 2515 | |
---|
| 2516 | |
---|
| 2517 | |
---|
| 2518 | static inline void LL_RCC_ClearFlag_HSIRDY(void) |
---|
| 2519 | { |
---|
| 2520 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (3U)))); |
---|
| 2521 | } |
---|
| 2522 | |
---|
| 2523 | |
---|
| 2524 | |
---|
| 2525 | |
---|
| 2526 | |
---|
| 2527 | |
---|
| 2528 | static inline void LL_RCC_ClearFlag_HSERDY(void) |
---|
| 2529 | { |
---|
| 2530 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (4U)))); |
---|
| 2531 | } |
---|
| 2532 | |
---|
| 2533 | |
---|
| 2534 | |
---|
| 2535 | |
---|
| 2536 | |
---|
| 2537 | |
---|
| 2538 | static inline void LL_RCC_ClearFlag_PLLRDY(void) |
---|
| 2539 | { |
---|
| 2540 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (5U)))); |
---|
| 2541 | } |
---|
| 2542 | # 3541 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2543 | static inline void LL_RCC_ClearFlag_HSECSS(void) |
---|
| 2544 | { |
---|
| 2545 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (8U)))); |
---|
| 2546 | } |
---|
| 2547 | |
---|
| 2548 | |
---|
| 2549 | |
---|
| 2550 | |
---|
| 2551 | |
---|
| 2552 | |
---|
| 2553 | static inline void LL_RCC_ClearFlag_LSECSS(void) |
---|
| 2554 | { |
---|
| 2555 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (9U)))); |
---|
| 2556 | } |
---|
| 2557 | |
---|
| 2558 | |
---|
| 2559 | |
---|
| 2560 | |
---|
| 2561 | |
---|
| 2562 | |
---|
| 2563 | static inline uint32_t LL_RCC_IsActiveFlag_LSIRDY(void) |
---|
| 2564 | { |
---|
| 2565 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 2566 | } |
---|
| 2567 | |
---|
| 2568 | |
---|
| 2569 | |
---|
| 2570 | |
---|
| 2571 | |
---|
| 2572 | |
---|
| 2573 | static inline uint32_t LL_RCC_IsActiveFlag_LSERDY(void) |
---|
| 2574 | { |
---|
| 2575 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 2576 | } |
---|
| 2577 | |
---|
| 2578 | |
---|
| 2579 | |
---|
| 2580 | |
---|
| 2581 | |
---|
| 2582 | |
---|
| 2583 | static inline uint32_t LL_RCC_IsActiveFlag_HSIRDY(void) |
---|
| 2584 | { |
---|
| 2585 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 2586 | } |
---|
| 2587 | |
---|
| 2588 | |
---|
| 2589 | |
---|
| 2590 | |
---|
| 2591 | |
---|
| 2592 | |
---|
| 2593 | static inline uint32_t LL_RCC_IsActiveFlag_HSERDY(void) |
---|
| 2594 | { |
---|
| 2595 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
| 2596 | } |
---|
| 2597 | |
---|
| 2598 | |
---|
| 2599 | |
---|
| 2600 | |
---|
| 2601 | |
---|
| 2602 | |
---|
| 2603 | static inline uint32_t LL_RCC_IsActiveFlag_PLLRDY(void) |
---|
| 2604 | { |
---|
| 2605 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
| 2606 | } |
---|
| 2607 | # 3623 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2608 | static inline uint32_t LL_RCC_IsActiveFlag_HSECSS(void) |
---|
| 2609 | { |
---|
| 2610 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
| 2611 | } |
---|
| 2612 | |
---|
| 2613 | |
---|
| 2614 | |
---|
| 2615 | |
---|
| 2616 | |
---|
| 2617 | |
---|
| 2618 | static inline uint32_t LL_RCC_IsActiveFlag_LSECSS(void) |
---|
| 2619 | { |
---|
| 2620 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
| 2621 | } |
---|
| 2622 | |
---|
| 2623 | |
---|
| 2624 | |
---|
| 2625 | |
---|
| 2626 | |
---|
| 2627 | |
---|
| 2628 | static inline uint32_t LL_RCC_IsActiveFlag_IWDGRST(void) |
---|
| 2629 | { |
---|
| 2630 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (29U)))) == ((0x1UL << (29U)))) ? 1UL : 0UL); |
---|
| 2631 | } |
---|
| 2632 | |
---|
| 2633 | |
---|
| 2634 | |
---|
| 2635 | |
---|
| 2636 | |
---|
| 2637 | |
---|
| 2638 | static inline uint32_t LL_RCC_IsActiveFlag_LPWRRST(void) |
---|
| 2639 | { |
---|
| 2640 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL); |
---|
| 2641 | } |
---|
| 2642 | |
---|
| 2643 | |
---|
| 2644 | |
---|
| 2645 | |
---|
| 2646 | |
---|
| 2647 | |
---|
| 2648 | static inline uint32_t LL_RCC_IsActiveFlag_OBLRST(void) |
---|
| 2649 | { |
---|
| 2650 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
---|
| 2651 | } |
---|
| 2652 | |
---|
| 2653 | |
---|
| 2654 | |
---|
| 2655 | |
---|
| 2656 | |
---|
| 2657 | |
---|
| 2658 | static inline uint32_t LL_RCC_IsActiveFlag_PINRST(void) |
---|
| 2659 | { |
---|
| 2660 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL); |
---|
| 2661 | } |
---|
| 2662 | |
---|
| 2663 | |
---|
| 2664 | |
---|
| 2665 | |
---|
| 2666 | |
---|
| 2667 | |
---|
| 2668 | static inline uint32_t LL_RCC_IsActiveFlag_SFTRST(void) |
---|
| 2669 | { |
---|
| 2670 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
---|
| 2671 | } |
---|
| 2672 | |
---|
| 2673 | |
---|
| 2674 | |
---|
| 2675 | |
---|
| 2676 | |
---|
| 2677 | |
---|
| 2678 | static inline uint32_t LL_RCC_IsActiveFlag_WWDGRST(void) |
---|
| 2679 | { |
---|
| 2680 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (30U)))) == ((0x1UL << (30U)))) ? 1UL : 0UL); |
---|
| 2681 | } |
---|
| 2682 | |
---|
| 2683 | |
---|
| 2684 | |
---|
| 2685 | |
---|
| 2686 | |
---|
| 2687 | |
---|
| 2688 | static inline uint32_t LL_RCC_IsActiveFlag_PWRRST(void) |
---|
| 2689 | { |
---|
| 2690 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL); |
---|
| 2691 | } |
---|
| 2692 | |
---|
| 2693 | |
---|
| 2694 | |
---|
| 2695 | |
---|
| 2696 | |
---|
| 2697 | |
---|
| 2698 | static inline void LL_RCC_ClearResetFlags(void) |
---|
| 2699 | { |
---|
| 2700 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (23U)))); |
---|
| 2701 | } |
---|
| 2702 | # 3731 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2703 | static inline void LL_RCC_EnableIT_LSIRDY(void) |
---|
| 2704 | { |
---|
| 2705 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (0U)))); |
---|
| 2706 | } |
---|
| 2707 | |
---|
| 2708 | |
---|
| 2709 | |
---|
| 2710 | |
---|
| 2711 | |
---|
| 2712 | |
---|
| 2713 | static inline void LL_RCC_EnableIT_LSERDY(void) |
---|
| 2714 | { |
---|
| 2715 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (1U)))); |
---|
| 2716 | } |
---|
| 2717 | |
---|
| 2718 | |
---|
| 2719 | |
---|
| 2720 | |
---|
| 2721 | |
---|
| 2722 | |
---|
| 2723 | static inline void LL_RCC_EnableIT_HSIRDY(void) |
---|
| 2724 | { |
---|
| 2725 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (3U)))); |
---|
| 2726 | } |
---|
| 2727 | |
---|
| 2728 | |
---|
| 2729 | |
---|
| 2730 | |
---|
| 2731 | |
---|
| 2732 | |
---|
| 2733 | static inline void LL_RCC_EnableIT_HSERDY(void) |
---|
| 2734 | { |
---|
| 2735 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (4U)))); |
---|
| 2736 | } |
---|
| 2737 | |
---|
| 2738 | |
---|
| 2739 | |
---|
| 2740 | |
---|
| 2741 | |
---|
| 2742 | |
---|
| 2743 | static inline void LL_RCC_EnableIT_PLLRDY(void) |
---|
| 2744 | { |
---|
| 2745 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (5U)))); |
---|
| 2746 | } |
---|
| 2747 | # 3793 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2748 | static inline void LL_RCC_DisableIT_LSIRDY(void) |
---|
| 2749 | { |
---|
| 2750 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (0U)))); |
---|
| 2751 | } |
---|
| 2752 | |
---|
| 2753 | |
---|
| 2754 | |
---|
| 2755 | |
---|
| 2756 | |
---|
| 2757 | |
---|
| 2758 | static inline void LL_RCC_DisableIT_LSERDY(void) |
---|
| 2759 | { |
---|
| 2760 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (1U)))); |
---|
| 2761 | } |
---|
| 2762 | |
---|
| 2763 | |
---|
| 2764 | |
---|
| 2765 | |
---|
| 2766 | |
---|
| 2767 | |
---|
| 2768 | static inline void LL_RCC_DisableIT_HSIRDY(void) |
---|
| 2769 | { |
---|
| 2770 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (3U)))); |
---|
| 2771 | } |
---|
| 2772 | |
---|
| 2773 | |
---|
| 2774 | |
---|
| 2775 | |
---|
| 2776 | |
---|
| 2777 | |
---|
| 2778 | static inline void LL_RCC_DisableIT_HSERDY(void) |
---|
| 2779 | { |
---|
| 2780 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (4U)))); |
---|
| 2781 | } |
---|
| 2782 | |
---|
| 2783 | |
---|
| 2784 | |
---|
| 2785 | |
---|
| 2786 | |
---|
| 2787 | |
---|
| 2788 | static inline void LL_RCC_DisableIT_PLLRDY(void) |
---|
| 2789 | { |
---|
| 2790 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (5U)))); |
---|
| 2791 | } |
---|
| 2792 | # 3855 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2793 | static inline uint32_t LL_RCC_IsEnabledIT_LSIRDY(void) |
---|
| 2794 | { |
---|
| 2795 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 2796 | } |
---|
| 2797 | |
---|
| 2798 | |
---|
| 2799 | |
---|
| 2800 | |
---|
| 2801 | |
---|
| 2802 | |
---|
| 2803 | static inline uint32_t LL_RCC_IsEnabledIT_LSERDY(void) |
---|
| 2804 | { |
---|
| 2805 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 2806 | } |
---|
| 2807 | |
---|
| 2808 | |
---|
| 2809 | |
---|
| 2810 | |
---|
| 2811 | |
---|
| 2812 | |
---|
| 2813 | static inline uint32_t LL_RCC_IsEnabledIT_HSIRDY(void) |
---|
| 2814 | { |
---|
| 2815 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 2816 | } |
---|
| 2817 | # 3897 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
---|
| 2818 | static inline uint32_t LL_RCC_IsEnabledIT_HSERDY(void) |
---|
| 2819 | { |
---|
| 2820 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
| 2821 | } |
---|
| 2822 | |
---|
| 2823 | |
---|
| 2824 | |
---|
| 2825 | |
---|
| 2826 | |
---|
| 2827 | |
---|
| 2828 | static inline uint32_t LL_RCC_IsEnabledIT_PLLRDY(void) |
---|
| 2829 | { |
---|
| 2830 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
| 2831 | } |
---|
| 2832 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
---|
| 2833 | # 265 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
| 2834 | typedef struct |
---|
| 2835 | { |
---|
| 2836 | uint32_t PLLState; |
---|
| 2837 | |
---|
| 2838 | |
---|
| 2839 | uint32_t PLLSource; |
---|
| 2840 | |
---|
| 2841 | |
---|
| 2842 | uint32_t PLLM; |
---|
| 2843 | |
---|
| 2844 | |
---|
| 2845 | uint32_t PLLN; |
---|
| 2846 | |
---|
| 2847 | |
---|
| 2848 | uint32_t PLLP; |
---|
| 2849 | # 289 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
| 2850 | uint32_t PLLR; |
---|
| 2851 | |
---|
| 2852 | |
---|
| 2853 | |
---|
| 2854 | } RCC_PLLInitTypeDef; |
---|
| 2855 | |
---|
| 2856 | |
---|
| 2857 | |
---|
| 2858 | |
---|
| 2859 | typedef struct |
---|
| 2860 | { |
---|
| 2861 | uint32_t OscillatorType; |
---|
| 2862 | |
---|
| 2863 | |
---|
| 2864 | uint32_t HSEState; |
---|
| 2865 | |
---|
| 2866 | |
---|
| 2867 | uint32_t LSEState; |
---|
| 2868 | |
---|
| 2869 | |
---|
| 2870 | uint32_t HSIState; |
---|
| 2871 | |
---|
| 2872 | |
---|
| 2873 | uint32_t HSIDiv; |
---|
| 2874 | |
---|
| 2875 | |
---|
| 2876 | uint32_t HSICalibrationValue; |
---|
| 2877 | |
---|
| 2878 | |
---|
| 2879 | uint32_t LSIState; |
---|
| 2880 | # 327 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
| 2881 | RCC_PLLInitTypeDef PLL; |
---|
| 2882 | |
---|
| 2883 | } RCC_OscInitTypeDef; |
---|
| 2884 | |
---|
| 2885 | |
---|
| 2886 | |
---|
| 2887 | |
---|
| 2888 | typedef struct |
---|
| 2889 | { |
---|
| 2890 | uint32_t ClockType; |
---|
| 2891 | |
---|
| 2892 | |
---|
| 2893 | uint32_t SYSCLKSource; |
---|
| 2894 | |
---|
| 2895 | |
---|
| 2896 | uint32_t AHBCLKDivider; |
---|
| 2897 | |
---|
| 2898 | |
---|
| 2899 | uint32_t APB1CLKDivider; |
---|
| 2900 | |
---|
| 2901 | |
---|
| 2902 | |
---|
| 2903 | } RCC_ClkInitTypeDef; |
---|
| 2904 | # 3106 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
| 2905 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" 1 |
---|
| 2906 | # 46 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
| 2907 | typedef struct |
---|
| 2908 | { |
---|
| 2909 | uint32_t PeriphClockSelection; |
---|
| 2910 | |
---|
| 2911 | |
---|
| 2912 | uint32_t Usart1ClockSelection; |
---|
| 2913 | |
---|
| 2914 | |
---|
| 2915 | uint32_t Usart2ClockSelection; |
---|
| 2916 | # 73 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
| 2917 | uint32_t I2c1ClockSelection; |
---|
| 2918 | |
---|
| 2919 | |
---|
| 2920 | |
---|
| 2921 | |
---|
| 2922 | |
---|
| 2923 | |
---|
| 2924 | |
---|
| 2925 | uint32_t I2s1ClockSelection; |
---|
| 2926 | # 99 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
| 2927 | uint32_t AdcClockSelection; |
---|
| 2928 | # 113 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
| 2929 | uint32_t RTCClockSelection; |
---|
| 2930 | # 123 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
| 2931 | } RCC_PeriphCLKInitTypeDef; |
---|
| 2932 | # 1193 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
| 2933 | HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit); |
---|
| 2934 | void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit); |
---|
| 2935 | uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk); |
---|
| 2936 | # 1205 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
---|
| 2937 | void HAL_RCCEx_EnableLSCO(uint32_t LSCOSource); |
---|
| 2938 | void HAL_RCCEx_DisableLSCO(void); |
---|
| 2939 | # 3107 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
---|
| 2940 | # 3119 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
| 2941 | HAL_StatusTypeDef HAL_RCC_DeInit(void); |
---|
| 2942 | HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); |
---|
| 2943 | HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency); |
---|
| 2944 | # 3132 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
---|
| 2945 | void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv); |
---|
| 2946 | void HAL_RCC_EnableCSS(void); |
---|
| 2947 | void HAL_RCC_EnableLSECSS(void); |
---|
| 2948 | void HAL_RCC_DisableLSECSS(void); |
---|
| 2949 | uint32_t HAL_RCC_GetSysClockFreq(void); |
---|
| 2950 | uint32_t HAL_RCC_GetHCLKFreq(void); |
---|
| 2951 | uint32_t HAL_RCC_GetPCLK1Freq(void); |
---|
| 2952 | void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); |
---|
| 2953 | void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency); |
---|
| 2954 | uint32_t HAL_RCC_GetResetSource(void); |
---|
| 2955 | |
---|
| 2956 | void HAL_RCC_NMI_IRQHandler(void); |
---|
| 2957 | |
---|
| 2958 | void HAL_RCC_CSSCallback(void); |
---|
| 2959 | void HAL_RCC_LSECSSCallback(void); |
---|
| 2960 | # 196 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 2961 | |
---|
| 2962 | |
---|
| 2963 | |
---|
| 2964 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 1 |
---|
| 2965 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
| 2966 | typedef struct |
---|
| 2967 | { |
---|
| 2968 | uint32_t Pin; |
---|
| 2969 | |
---|
| 2970 | |
---|
| 2971 | uint32_t Mode; |
---|
| 2972 | |
---|
| 2973 | |
---|
| 2974 | uint32_t Pull; |
---|
| 2975 | |
---|
| 2976 | |
---|
| 2977 | uint32_t Speed; |
---|
| 2978 | |
---|
| 2979 | |
---|
| 2980 | uint32_t Alternate; |
---|
| 2981 | |
---|
| 2982 | } GPIO_InitTypeDef; |
---|
| 2983 | |
---|
| 2984 | |
---|
| 2985 | |
---|
| 2986 | |
---|
| 2987 | typedef enum |
---|
| 2988 | { |
---|
| 2989 | GPIO_PIN_RESET = 0U, |
---|
| 2990 | GPIO_PIN_SET |
---|
| 2991 | } GPIO_PinState; |
---|
| 2992 | # 306 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
| 2993 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio_ex.h" 1 |
---|
| 2994 | # 307 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 2 |
---|
| 2995 | # 320 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
| 2996 | void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init); |
---|
| 2997 | void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin); |
---|
| 2998 | # 333 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
---|
| 2999 | GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
---|
| 3000 | void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState); |
---|
| 3001 | void HAL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
---|
| 3002 | HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
---|
| 3003 | void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin); |
---|
| 3004 | void HAL_GPIO_EXTI_Rising_Callback(uint16_t GPIO_Pin); |
---|
| 3005 | void HAL_GPIO_EXTI_Falling_Callback(uint16_t GPIO_Pin); |
---|
| 3006 | # 200 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 3007 | |
---|
| 3008 | |
---|
| 3009 | |
---|
| 3010 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 1 |
---|
| 3011 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
| 3012 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 1 |
---|
| 3013 | # 29 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3014 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" 1 |
---|
| 3015 | # 524 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3016 | static inline void LL_DMAMUX_SetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Request) |
---|
| 3017 | { |
---|
| 3018 | (void)(DMAMUXx); |
---|
| 3019 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3FUL << (0U))))) | (Request)))); |
---|
| 3020 | } |
---|
| 3021 | # 615 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3022 | static inline uint32_t LL_DMAMUX_GetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3023 | { |
---|
| 3024 | (void)(DMAMUXx); |
---|
| 3025 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3FUL << (0U))))); |
---|
| 3026 | } |
---|
| 3027 | # 645 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3028 | static inline void LL_DMAMUX_SetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t RequestNb) |
---|
| 3029 | { |
---|
| 3030 | (void)(DMAMUXx); |
---|
| 3031 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (19U))))) | (((RequestNb - 1U) << (19U)))))); |
---|
| 3032 | } |
---|
| 3033 | # 674 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3034 | static inline uint32_t LL_DMAMUX_GetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3035 | { |
---|
| 3036 | (void)(DMAMUXx); |
---|
| 3037 | return (uint32_t)((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (19U))))) >> (19U)) + 1U); |
---|
| 3038 | } |
---|
| 3039 | # 708 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3040 | static inline void LL_DMAMUX_SetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Polarity) |
---|
| 3041 | { |
---|
| 3042 | (void)(DMAMUXx); |
---|
| 3043 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3UL << (17U))))) | (Polarity)))); |
---|
| 3044 | } |
---|
| 3045 | # 741 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3046 | static inline uint32_t LL_DMAMUX_GetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3047 | { |
---|
| 3048 | (void)(DMAMUXx); |
---|
| 3049 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3UL << (17U))))); |
---|
| 3050 | } |
---|
| 3051 | # 770 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3052 | static inline void LL_DMAMUX_EnableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3053 | { |
---|
| 3054 | (void)(DMAMUXx); |
---|
| 3055 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (9U)))); |
---|
| 3056 | } |
---|
| 3057 | # 799 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3058 | static inline void LL_DMAMUX_DisableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3059 | { |
---|
| 3060 | (void)(DMAMUXx); |
---|
| 3061 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (9U)))); |
---|
| 3062 | } |
---|
| 3063 | # 828 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3064 | static inline uint32_t LL_DMAMUX_IsEnabledEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3065 | { |
---|
| 3066 | (void)(DMAMUXx); |
---|
| 3067 | return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
| 3068 | } |
---|
| 3069 | # 857 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3070 | static inline void LL_DMAMUX_EnableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3071 | { |
---|
| 3072 | (void)(DMAMUXx); |
---|
| 3073 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (16U)))); |
---|
| 3074 | } |
---|
| 3075 | # 886 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3076 | static inline void LL_DMAMUX_DisableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3077 | { |
---|
| 3078 | (void)(DMAMUXx); |
---|
| 3079 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (16U)))); |
---|
| 3080 | } |
---|
| 3081 | # 915 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3082 | static inline uint32_t LL_DMAMUX_IsEnabledSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3083 | { |
---|
| 3084 | (void)(DMAMUXx); |
---|
| 3085 | return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
| 3086 | } |
---|
| 3087 | # 968 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3088 | static inline void LL_DMAMUX_SetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t SyncID) |
---|
| 3089 | { |
---|
| 3090 | (void)(DMAMUXx); |
---|
| 3091 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (24U))))) | (SyncID)))); |
---|
| 3092 | } |
---|
| 3093 | # 1020 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3094 | static inline uint32_t LL_DMAMUX_GetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3095 | { |
---|
| 3096 | (void)(DMAMUXx); |
---|
| 3097 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (24U))))); |
---|
| 3098 | } |
---|
| 3099 | # 1037 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3100 | static inline void LL_DMAMUX_EnableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3101 | { |
---|
| 3102 | (void)(DMAMUXx); |
---|
| 3103 | ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) |= ((0x1UL << (16U)))); |
---|
| 3104 | |
---|
| 3105 | } |
---|
| 3106 | # 1055 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3107 | static inline void LL_DMAMUX_DisableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3108 | { |
---|
| 3109 | (void)(DMAMUXx); |
---|
| 3110 | ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) &= ~((0x1UL << (16U)))); |
---|
| 3111 | |
---|
| 3112 | } |
---|
| 3113 | # 1073 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3114 | static inline uint32_t LL_DMAMUX_IsEnabledRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3115 | { |
---|
| 3116 | (void)(DMAMUXx); |
---|
| 3117 | return ((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
| 3118 | |
---|
| 3119 | } |
---|
| 3120 | # 1096 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3121 | static inline void LL_DMAMUX_SetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
---|
| 3122 | uint32_t Polarity) |
---|
| 3123 | { |
---|
| 3124 | (void)(DMAMUXx); |
---|
| 3125 | (((((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)))); |
---|
| 3126 | |
---|
| 3127 | } |
---|
| 3128 | # 1119 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3129 | static inline uint32_t LL_DMAMUX_GetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3130 | { |
---|
| 3131 | (void)(DMAMUXx); |
---|
| 3132 | return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x3UL << (17U))))); |
---|
| 3133 | |
---|
| 3134 | } |
---|
| 3135 | # 1139 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3136 | static inline void LL_DMAMUX_SetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
---|
| 3137 | uint32_t RequestNb) |
---|
| 3138 | { |
---|
| 3139 | (void)(DMAMUXx); |
---|
| 3140 | (((((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))))); |
---|
| 3141 | |
---|
| 3142 | } |
---|
| 3143 | # 1158 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3144 | static inline uint32_t LL_DMAMUX_GetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3145 | { |
---|
| 3146 | (void)(DMAMUXx); |
---|
| 3147 | return (uint32_t)((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (19U)))) >> (19U)) + 1U); |
---|
| 3148 | |
---|
| 3149 | } |
---|
| 3150 | # 1200 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3151 | static inline void LL_DMAMUX_SetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
---|
| 3152 | uint32_t RequestSignalID) |
---|
| 3153 | { |
---|
| 3154 | (void)(DMAMUXx); |
---|
| 3155 | (((((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)))); |
---|
| 3156 | |
---|
| 3157 | } |
---|
| 3158 | # 1242 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3159 | static inline uint32_t LL_DMAMUX_GetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3160 | { |
---|
| 3161 | (void)(DMAMUXx); |
---|
| 3162 | return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (0U))))); |
---|
| 3163 | |
---|
| 3164 | } |
---|
| 3165 | # 1263 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3166 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3167 | { |
---|
| 3168 | (void)(DMAMUXx); |
---|
| 3169 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 3170 | } |
---|
| 3171 | |
---|
| 3172 | |
---|
| 3173 | |
---|
| 3174 | |
---|
| 3175 | |
---|
| 3176 | |
---|
| 3177 | |
---|
| 3178 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3179 | { |
---|
| 3180 | (void)(DMAMUXx); |
---|
| 3181 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 3182 | } |
---|
| 3183 | |
---|
| 3184 | |
---|
| 3185 | |
---|
| 3186 | |
---|
| 3187 | |
---|
| 3188 | |
---|
| 3189 | |
---|
| 3190 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3191 | { |
---|
| 3192 | (void)(DMAMUXx); |
---|
| 3193 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
| 3194 | } |
---|
| 3195 | |
---|
| 3196 | |
---|
| 3197 | |
---|
| 3198 | |
---|
| 3199 | |
---|
| 3200 | |
---|
| 3201 | |
---|
| 3202 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3203 | { |
---|
| 3204 | (void)(DMAMUXx); |
---|
| 3205 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 3206 | } |
---|
| 3207 | |
---|
| 3208 | |
---|
| 3209 | |
---|
| 3210 | |
---|
| 3211 | |
---|
| 3212 | |
---|
| 3213 | |
---|
| 3214 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3215 | { |
---|
| 3216 | (void)(DMAMUXx); |
---|
| 3217 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
| 3218 | } |
---|
| 3219 | # 1324 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3220 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3221 | { |
---|
| 3222 | (void)(DMAMUXx); |
---|
| 3223 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
| 3224 | } |
---|
| 3225 | # 1338 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3226 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3227 | { |
---|
| 3228 | (void)(DMAMUXx); |
---|
| 3229 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
---|
| 3230 | } |
---|
| 3231 | # 1421 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3232 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3233 | { |
---|
| 3234 | (void)(DMAMUXx); |
---|
| 3235 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 3236 | } |
---|
| 3237 | |
---|
| 3238 | |
---|
| 3239 | |
---|
| 3240 | |
---|
| 3241 | |
---|
| 3242 | |
---|
| 3243 | |
---|
| 3244 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3245 | { |
---|
| 3246 | (void)(DMAMUXx); |
---|
| 3247 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 3248 | } |
---|
| 3249 | |
---|
| 3250 | |
---|
| 3251 | |
---|
| 3252 | |
---|
| 3253 | |
---|
| 3254 | |
---|
| 3255 | |
---|
| 3256 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3257 | { |
---|
| 3258 | (void)(DMAMUXx); |
---|
| 3259 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
| 3260 | } |
---|
| 3261 | |
---|
| 3262 | |
---|
| 3263 | |
---|
| 3264 | |
---|
| 3265 | |
---|
| 3266 | |
---|
| 3267 | |
---|
| 3268 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3269 | { |
---|
| 3270 | (void)(DMAMUXx); |
---|
| 3271 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 3272 | } |
---|
| 3273 | |
---|
| 3274 | |
---|
| 3275 | |
---|
| 3276 | |
---|
| 3277 | |
---|
| 3278 | |
---|
| 3279 | |
---|
| 3280 | static inline void LL_DMAMUX_ClearFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3281 | { |
---|
| 3282 | (void)(DMAMUXx); |
---|
| 3283 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (0U)))); |
---|
| 3284 | } |
---|
| 3285 | |
---|
| 3286 | |
---|
| 3287 | |
---|
| 3288 | |
---|
| 3289 | |
---|
| 3290 | |
---|
| 3291 | |
---|
| 3292 | static inline void LL_DMAMUX_ClearFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3293 | { |
---|
| 3294 | (void)(DMAMUXx); |
---|
| 3295 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (1U)))); |
---|
| 3296 | } |
---|
| 3297 | |
---|
| 3298 | |
---|
| 3299 | |
---|
| 3300 | |
---|
| 3301 | |
---|
| 3302 | |
---|
| 3303 | |
---|
| 3304 | static inline void LL_DMAMUX_ClearFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3305 | { |
---|
| 3306 | (void)(DMAMUXx); |
---|
| 3307 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (2U)))); |
---|
| 3308 | } |
---|
| 3309 | |
---|
| 3310 | |
---|
| 3311 | |
---|
| 3312 | |
---|
| 3313 | |
---|
| 3314 | |
---|
| 3315 | |
---|
| 3316 | static inline void LL_DMAMUX_ClearFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3317 | { |
---|
| 3318 | (void)(DMAMUXx); |
---|
| 3319 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (3U)))); |
---|
| 3320 | } |
---|
| 3321 | |
---|
| 3322 | |
---|
| 3323 | |
---|
| 3324 | |
---|
| 3325 | |
---|
| 3326 | |
---|
| 3327 | |
---|
| 3328 | static inline void LL_DMAMUX_ClearFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3329 | { |
---|
| 3330 | (void)(DMAMUXx); |
---|
| 3331 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (4U)))); |
---|
| 3332 | } |
---|
| 3333 | # 1530 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3334 | static inline void LL_DMAMUX_ClearFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3335 | { |
---|
| 3336 | (void)(DMAMUXx); |
---|
| 3337 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (5U)))); |
---|
| 3338 | } |
---|
| 3339 | # 1544 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3340 | static inline void LL_DMAMUX_ClearFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3341 | { |
---|
| 3342 | (void)(DMAMUXx); |
---|
| 3343 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (6U)))); |
---|
| 3344 | } |
---|
| 3345 | # 1627 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3346 | static inline void LL_DMAMUX_ClearFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3347 | { |
---|
| 3348 | (void)(DMAMUXx); |
---|
| 3349 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (0U)))); |
---|
| 3350 | } |
---|
| 3351 | |
---|
| 3352 | |
---|
| 3353 | |
---|
| 3354 | |
---|
| 3355 | |
---|
| 3356 | |
---|
| 3357 | |
---|
| 3358 | static inline void LL_DMAMUX_ClearFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3359 | { |
---|
| 3360 | (void)(DMAMUXx); |
---|
| 3361 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (1U)))); |
---|
| 3362 | } |
---|
| 3363 | |
---|
| 3364 | |
---|
| 3365 | |
---|
| 3366 | |
---|
| 3367 | |
---|
| 3368 | |
---|
| 3369 | |
---|
| 3370 | static inline void LL_DMAMUX_ClearFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3371 | { |
---|
| 3372 | (void)(DMAMUXx); |
---|
| 3373 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (2U)))); |
---|
| 3374 | } |
---|
| 3375 | |
---|
| 3376 | |
---|
| 3377 | |
---|
| 3378 | |
---|
| 3379 | |
---|
| 3380 | |
---|
| 3381 | |
---|
| 3382 | static inline void LL_DMAMUX_ClearFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
---|
| 3383 | { |
---|
| 3384 | (void)(DMAMUXx); |
---|
| 3385 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (3U)))); |
---|
| 3386 | } |
---|
| 3387 | # 1700 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3388 | static inline void LL_DMAMUX_EnableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3389 | { |
---|
| 3390 | (void)(DMAMUXx); |
---|
| 3391 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (8U)))); |
---|
| 3392 | } |
---|
| 3393 | # 1729 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3394 | static inline void LL_DMAMUX_DisableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3395 | { |
---|
| 3396 | (void)(DMAMUXx); |
---|
| 3397 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (8U)))); |
---|
| 3398 | } |
---|
| 3399 | # 1758 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3400 | static inline uint32_t LL_DMAMUX_IsEnabledIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
---|
| 3401 | { |
---|
| 3402 | (void)(DMAMUXx); |
---|
| 3403 | return ((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (8U))))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
| 3404 | } |
---|
| 3405 | # 1775 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3406 | static inline void LL_DMAMUX_EnableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3407 | { |
---|
| 3408 | (void)(DMAMUXx); |
---|
| 3409 | (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) |= ((0x1UL << (8U)))); |
---|
| 3410 | } |
---|
| 3411 | # 1792 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3412 | static inline void LL_DMAMUX_DisableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3413 | { |
---|
| 3414 | (void)(DMAMUXx); |
---|
| 3415 | (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) &= ~((0x1UL << (8U)))); |
---|
| 3416 | } |
---|
| 3417 | # 1809 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
---|
| 3418 | static inline uint32_t LL_DMAMUX_IsEnabledIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
---|
| 3419 | { |
---|
| 3420 | (void)(DMAMUXx); |
---|
| 3421 | return (((((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
| 3422 | } |
---|
| 3423 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 2 |
---|
| 3424 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3425 | static const uint8_t CHANNEL_OFFSET_TAB[] = |
---|
| 3426 | { |
---|
| 3427 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000008UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
| 3428 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000001CUL) - (((0x40000000UL) + 0x00020000UL))), |
---|
| 3429 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000030UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
| 3430 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000044UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
| 3431 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000058UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
| 3432 | |
---|
| 3433 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000006CUL) - (((0x40000000UL) + 0x00020000UL))), |
---|
| 3434 | |
---|
| 3435 | |
---|
| 3436 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000080UL) - (((0x40000000UL) + 0x00020000UL))), |
---|
| 3437 | |
---|
| 3438 | }; |
---|
| 3439 | # 500 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3440 | static inline void LL_DMA_EnableChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3441 | { |
---|
| 3442 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3443 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (0U)))); |
---|
| 3444 | } |
---|
| 3445 | # 520 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3446 | static inline void LL_DMA_DisableChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3447 | { |
---|
| 3448 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3449 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (0U)))); |
---|
| 3450 | } |
---|
| 3451 | # 540 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3452 | static inline uint32_t LL_DMA_IsEnabledChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3453 | { |
---|
| 3454 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3455 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 3456 | |
---|
| 3457 | } |
---|
| 3458 | # 576 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3459 | static inline void LL_DMA_ConfigTransfer(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configuration) |
---|
| 3460 | { |
---|
| 3461 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3462 | (((((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)))); |
---|
| 3463 | |
---|
| 3464 | |
---|
| 3465 | } |
---|
| 3466 | # 603 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3467 | static inline void LL_DMA_SetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Direction) |
---|
| 3468 | { |
---|
| 3469 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3470 | (((((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)))); |
---|
| 3471 | |
---|
| 3472 | } |
---|
| 3473 | # 628 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3474 | static inline uint32_t LL_DMA_GetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3475 | { |
---|
| 3476 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3477 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (4U)) | (0x1UL << (14U))))); |
---|
| 3478 | |
---|
| 3479 | } |
---|
| 3480 | # 654 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3481 | static inline void LL_DMA_SetMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Mode) |
---|
| 3482 | { |
---|
| 3483 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3484 | (((((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)))); |
---|
| 3485 | |
---|
| 3486 | } |
---|
| 3487 | # 677 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3488 | static inline uint32_t LL_DMA_GetMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3489 | { |
---|
| 3490 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3491 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (5U))))); |
---|
| 3492 | |
---|
| 3493 | } |
---|
| 3494 | # 701 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3495 | static inline void LL_DMA_SetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcIncMode) |
---|
| 3496 | { |
---|
| 3497 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3498 | (((((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)))); |
---|
| 3499 | |
---|
| 3500 | } |
---|
| 3501 | # 724 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3502 | static inline uint32_t LL_DMA_GetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3503 | { |
---|
| 3504 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3505 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (6U))))); |
---|
| 3506 | |
---|
| 3507 | } |
---|
| 3508 | # 748 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3509 | static inline void LL_DMA_SetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstIncMode) |
---|
| 3510 | { |
---|
| 3511 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3512 | (((((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)))); |
---|
| 3513 | |
---|
| 3514 | } |
---|
| 3515 | # 771 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3516 | static inline uint32_t LL_DMA_GetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3517 | { |
---|
| 3518 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3519 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (7U))))); |
---|
| 3520 | |
---|
| 3521 | } |
---|
| 3522 | # 796 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3523 | static inline void LL_DMA_SetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcDataSize) |
---|
| 3524 | { |
---|
| 3525 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3526 | (((((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)))); |
---|
| 3527 | |
---|
| 3528 | } |
---|
| 3529 | # 820 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3530 | static inline uint32_t LL_DMA_GetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3531 | { |
---|
| 3532 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3533 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (8U))))); |
---|
| 3534 | |
---|
| 3535 | } |
---|
| 3536 | # 845 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3537 | static inline void LL_DMA_SetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstDataSize) |
---|
| 3538 | { |
---|
| 3539 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3540 | (((((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)))); |
---|
| 3541 | |
---|
| 3542 | } |
---|
| 3543 | # 869 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3544 | static inline uint32_t LL_DMA_GetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3545 | { |
---|
| 3546 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3547 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (10U))))); |
---|
| 3548 | |
---|
| 3549 | } |
---|
| 3550 | # 895 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3551 | static inline void LL_DMA_SetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Priority) |
---|
| 3552 | { |
---|
| 3553 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3554 | (((((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)))); |
---|
| 3555 | |
---|
| 3556 | } |
---|
| 3557 | # 920 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3558 | static inline uint32_t LL_DMA_GetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3559 | { |
---|
| 3560 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3561 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (12U))))); |
---|
| 3562 | |
---|
| 3563 | } |
---|
| 3564 | # 944 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3565 | static inline void LL_DMA_SetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t NbData) |
---|
| 3566 | { |
---|
| 3567 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3568 | (((((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)))); |
---|
| 3569 | |
---|
| 3570 | } |
---|
| 3571 | # 967 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3572 | static inline uint32_t LL_DMA_GetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3573 | { |
---|
| 3574 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3575 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR) & ((0xFFFFUL << (0U))))); |
---|
| 3576 | |
---|
| 3577 | } |
---|
| 3578 | # 997 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3579 | static inline void LL_DMA_ConfigAddresses(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t SrcAddress, |
---|
| 3580 | uint32_t DstAddress, uint32_t Direction) |
---|
| 3581 | { |
---|
| 3582 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3583 | |
---|
| 3584 | if (Direction == (0x1UL << (4U))) |
---|
| 3585 | { |
---|
| 3586 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (SrcAddress)); |
---|
| 3587 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (DstAddress)); |
---|
| 3588 | } |
---|
| 3589 | |
---|
| 3590 | else |
---|
| 3591 | { |
---|
| 3592 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (SrcAddress)); |
---|
| 3593 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (DstAddress)); |
---|
| 3594 | } |
---|
| 3595 | } |
---|
| 3596 | # 1032 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3597 | static inline void LL_DMA_SetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
---|
| 3598 | { |
---|
| 3599 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3600 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress)); |
---|
| 3601 | } |
---|
| 3602 | # 1055 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3603 | static inline void LL_DMA_SetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphAddress) |
---|
| 3604 | { |
---|
| 3605 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3606 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (PeriphAddress)); |
---|
| 3607 | } |
---|
| 3608 | # 1076 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3609 | static inline uint32_t LL_DMA_GetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3610 | { |
---|
| 3611 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3612 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR))); |
---|
| 3613 | } |
---|
| 3614 | # 1097 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3615 | static inline uint32_t LL_DMA_GetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3616 | { |
---|
| 3617 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3618 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR))); |
---|
| 3619 | } |
---|
| 3620 | # 1120 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3621 | static inline void LL_DMA_SetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
---|
| 3622 | { |
---|
| 3623 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3624 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (MemoryAddress)); |
---|
| 3625 | } |
---|
| 3626 | # 1143 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3627 | static inline void LL_DMA_SetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
---|
| 3628 | { |
---|
| 3629 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3630 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress)); |
---|
| 3631 | } |
---|
| 3632 | # 1164 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3633 | static inline uint32_t LL_DMA_GetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3634 | { |
---|
| 3635 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3636 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR))); |
---|
| 3637 | } |
---|
| 3638 | # 1185 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3639 | static inline uint32_t LL_DMA_GetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3640 | { |
---|
| 3641 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 3642 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR))); |
---|
| 3643 | } |
---|
| 3644 | # 1270 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3645 | static inline void LL_DMA_SetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Request) |
---|
| 3646 | { |
---|
| 3647 | uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U); |
---|
| 3648 | ((((((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)))); |
---|
| 3649 | } |
---|
| 3650 | # 1354 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3651 | static inline uint32_t LL_DMA_GetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 3652 | { |
---|
| 3653 | uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U); |
---|
| 3654 | return ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR) & ((0x3FUL << (0U))))); |
---|
| 3655 | } |
---|
| 3656 | # 1374 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3657 | static inline uint32_t LL_DMA_IsActiveFlag_GI1(const DMA_TypeDef *DMAx) |
---|
| 3658 | { |
---|
| 3659 | return ((((DMAx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 3660 | } |
---|
| 3661 | |
---|
| 3662 | |
---|
| 3663 | |
---|
| 3664 | |
---|
| 3665 | |
---|
| 3666 | |
---|
| 3667 | |
---|
| 3668 | static inline uint32_t LL_DMA_IsActiveFlag_GI2(const DMA_TypeDef *DMAx) |
---|
| 3669 | { |
---|
| 3670 | return ((((DMAx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
| 3671 | } |
---|
| 3672 | |
---|
| 3673 | |
---|
| 3674 | |
---|
| 3675 | |
---|
| 3676 | |
---|
| 3677 | |
---|
| 3678 | |
---|
| 3679 | static inline uint32_t LL_DMA_IsActiveFlag_GI3(const DMA_TypeDef *DMAx) |
---|
| 3680 | { |
---|
| 3681 | return ((((DMAx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
| 3682 | } |
---|
| 3683 | |
---|
| 3684 | |
---|
| 3685 | |
---|
| 3686 | |
---|
| 3687 | |
---|
| 3688 | |
---|
| 3689 | |
---|
| 3690 | static inline uint32_t LL_DMA_IsActiveFlag_GI4(const DMA_TypeDef *DMAx) |
---|
| 3691 | { |
---|
| 3692 | return ((((DMAx->ISR) & ((0x1UL << (12U)))) == ((0x1UL << (12U)))) ? 1UL : 0UL); |
---|
| 3693 | } |
---|
| 3694 | |
---|
| 3695 | |
---|
| 3696 | |
---|
| 3697 | |
---|
| 3698 | |
---|
| 3699 | |
---|
| 3700 | |
---|
| 3701 | static inline uint32_t LL_DMA_IsActiveFlag_GI5(const DMA_TypeDef *DMAx) |
---|
| 3702 | { |
---|
| 3703 | return ((((DMAx->ISR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
---|
| 3704 | } |
---|
| 3705 | # 1430 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3706 | static inline uint32_t LL_DMA_IsActiveFlag_GI6(const DMA_TypeDef *DMAx) |
---|
| 3707 | { |
---|
| 3708 | return ((((DMAx->ISR) & ((0x1UL << (20U)))) == ((0x1UL << (20U)))) ? 1UL : 0UL); |
---|
| 3709 | } |
---|
| 3710 | # 1443 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3711 | static inline uint32_t LL_DMA_IsActiveFlag_GI7(const DMA_TypeDef *DMAx) |
---|
| 3712 | { |
---|
| 3713 | return ((((DMAx->ISR) & ((0x1UL << (24U)))) == ((0x1UL << (24U)))) ? 1UL : 0UL); |
---|
| 3714 | } |
---|
| 3715 | # 1455 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3716 | static inline uint32_t LL_DMA_IsActiveFlag_TC1(const DMA_TypeDef *DMAx) |
---|
| 3717 | { |
---|
| 3718 | return ((((DMAx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 3719 | } |
---|
| 3720 | |
---|
| 3721 | |
---|
| 3722 | |
---|
| 3723 | |
---|
| 3724 | |
---|
| 3725 | |
---|
| 3726 | |
---|
| 3727 | static inline uint32_t LL_DMA_IsActiveFlag_TC2(const DMA_TypeDef *DMAx) |
---|
| 3728 | { |
---|
| 3729 | return ((((DMAx->ISR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
---|
| 3730 | } |
---|
| 3731 | |
---|
| 3732 | |
---|
| 3733 | |
---|
| 3734 | |
---|
| 3735 | |
---|
| 3736 | |
---|
| 3737 | |
---|
| 3738 | static inline uint32_t LL_DMA_IsActiveFlag_TC3(const DMA_TypeDef *DMAx) |
---|
| 3739 | { |
---|
| 3740 | return ((((DMAx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
| 3741 | } |
---|
| 3742 | |
---|
| 3743 | |
---|
| 3744 | |
---|
| 3745 | |
---|
| 3746 | |
---|
| 3747 | |
---|
| 3748 | |
---|
| 3749 | static inline uint32_t LL_DMA_IsActiveFlag_TC4(const DMA_TypeDef *DMAx) |
---|
| 3750 | { |
---|
| 3751 | return ((((DMAx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
---|
| 3752 | } |
---|
| 3753 | |
---|
| 3754 | |
---|
| 3755 | |
---|
| 3756 | |
---|
| 3757 | |
---|
| 3758 | |
---|
| 3759 | |
---|
| 3760 | static inline uint32_t LL_DMA_IsActiveFlag_TC5(const DMA_TypeDef *DMAx) |
---|
| 3761 | { |
---|
| 3762 | return ((((DMAx->ISR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL); |
---|
| 3763 | } |
---|
| 3764 | # 1511 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3765 | static inline uint32_t LL_DMA_IsActiveFlag_TC6(const DMA_TypeDef *DMAx) |
---|
| 3766 | { |
---|
| 3767 | return ((((DMAx->ISR) & ((0x1UL << (21U)))) == ((0x1UL << (21U)))) ? 1UL : 0UL); |
---|
| 3768 | } |
---|
| 3769 | # 1524 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3770 | static inline uint32_t LL_DMA_IsActiveFlag_TC7(const DMA_TypeDef *DMAx) |
---|
| 3771 | { |
---|
| 3772 | return ((((DMAx->ISR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
---|
| 3773 | } |
---|
| 3774 | # 1536 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3775 | static inline uint32_t LL_DMA_IsActiveFlag_HT1(const DMA_TypeDef *DMAx) |
---|
| 3776 | { |
---|
| 3777 | return ((((DMAx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
| 3778 | } |
---|
| 3779 | |
---|
| 3780 | |
---|
| 3781 | |
---|
| 3782 | |
---|
| 3783 | |
---|
| 3784 | |
---|
| 3785 | |
---|
| 3786 | static inline uint32_t LL_DMA_IsActiveFlag_HT2(const DMA_TypeDef *DMAx) |
---|
| 3787 | { |
---|
| 3788 | return ((((DMAx->ISR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
---|
| 3789 | } |
---|
| 3790 | |
---|
| 3791 | |
---|
| 3792 | |
---|
| 3793 | |
---|
| 3794 | |
---|
| 3795 | |
---|
| 3796 | |
---|
| 3797 | static inline uint32_t LL_DMA_IsActiveFlag_HT3(const DMA_TypeDef *DMAx) |
---|
| 3798 | { |
---|
| 3799 | return ((((DMAx->ISR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); |
---|
| 3800 | } |
---|
| 3801 | |
---|
| 3802 | |
---|
| 3803 | |
---|
| 3804 | |
---|
| 3805 | |
---|
| 3806 | |
---|
| 3807 | |
---|
| 3808 | static inline uint32_t LL_DMA_IsActiveFlag_HT4(const DMA_TypeDef *DMAx) |
---|
| 3809 | { |
---|
| 3810 | return ((((DMAx->ISR) & ((0x1UL << (14U)))) == ((0x1UL << (14U)))) ? 1UL : 0UL); |
---|
| 3811 | } |
---|
| 3812 | |
---|
| 3813 | |
---|
| 3814 | |
---|
| 3815 | |
---|
| 3816 | |
---|
| 3817 | |
---|
| 3818 | |
---|
| 3819 | static inline uint32_t LL_DMA_IsActiveFlag_HT5(const DMA_TypeDef *DMAx) |
---|
| 3820 | { |
---|
| 3821 | return ((((DMAx->ISR) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? 1UL : 0UL); |
---|
| 3822 | } |
---|
| 3823 | # 1592 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3824 | static inline uint32_t LL_DMA_IsActiveFlag_HT6(const DMA_TypeDef *DMAx) |
---|
| 3825 | { |
---|
| 3826 | return ((((DMAx->ISR) & ((0x1UL << (22U)))) == ((0x1UL << (22U)))) ? 1UL : 0UL); |
---|
| 3827 | } |
---|
| 3828 | # 1605 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3829 | static inline uint32_t LL_DMA_IsActiveFlag_HT7(const DMA_TypeDef *DMAx) |
---|
| 3830 | { |
---|
| 3831 | return ((((DMAx->ISR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL); |
---|
| 3832 | } |
---|
| 3833 | # 1617 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3834 | static inline uint32_t LL_DMA_IsActiveFlag_TE1(const DMA_TypeDef *DMAx) |
---|
| 3835 | { |
---|
| 3836 | return ((((DMAx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 3837 | } |
---|
| 3838 | |
---|
| 3839 | |
---|
| 3840 | |
---|
| 3841 | |
---|
| 3842 | |
---|
| 3843 | |
---|
| 3844 | |
---|
| 3845 | static inline uint32_t LL_DMA_IsActiveFlag_TE2(const DMA_TypeDef *DMAx) |
---|
| 3846 | { |
---|
| 3847 | return ((((DMAx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
---|
| 3848 | } |
---|
| 3849 | |
---|
| 3850 | |
---|
| 3851 | |
---|
| 3852 | |
---|
| 3853 | |
---|
| 3854 | |
---|
| 3855 | |
---|
| 3856 | static inline uint32_t LL_DMA_IsActiveFlag_TE3(const DMA_TypeDef *DMAx) |
---|
| 3857 | { |
---|
| 3858 | return ((((DMAx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
---|
| 3859 | } |
---|
| 3860 | |
---|
| 3861 | |
---|
| 3862 | |
---|
| 3863 | |
---|
| 3864 | |
---|
| 3865 | |
---|
| 3866 | |
---|
| 3867 | static inline uint32_t LL_DMA_IsActiveFlag_TE4(const DMA_TypeDef *DMAx) |
---|
| 3868 | { |
---|
| 3869 | return ((((DMAx->ISR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL); |
---|
| 3870 | } |
---|
| 3871 | |
---|
| 3872 | |
---|
| 3873 | |
---|
| 3874 | |
---|
| 3875 | |
---|
| 3876 | |
---|
| 3877 | |
---|
| 3878 | static inline uint32_t LL_DMA_IsActiveFlag_TE5(const DMA_TypeDef *DMAx) |
---|
| 3879 | { |
---|
| 3880 | return ((((DMAx->ISR) & ((0x1UL << (19U)))) == ((0x1UL << (19U)))) ? 1UL : 0UL); |
---|
| 3881 | } |
---|
| 3882 | # 1673 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3883 | static inline uint32_t LL_DMA_IsActiveFlag_TE6(const DMA_TypeDef *DMAx) |
---|
| 3884 | { |
---|
| 3885 | return ((((DMAx->ISR) & ((0x1UL << (23U)))) == ((0x1UL << (23U)))) ? 1UL : 0UL); |
---|
| 3886 | } |
---|
| 3887 | # 1686 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3888 | static inline uint32_t LL_DMA_IsActiveFlag_TE7(const DMA_TypeDef *DMAx) |
---|
| 3889 | { |
---|
| 3890 | return ((((DMAx->ISR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL); |
---|
| 3891 | } |
---|
| 3892 | # 1702 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3893 | static inline void LL_DMA_ClearFlag_GI1(DMA_TypeDef *DMAx) |
---|
| 3894 | { |
---|
| 3895 | ((DMAx->IFCR) = ((0x1UL << (0U)))); |
---|
| 3896 | } |
---|
| 3897 | # 1717 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3898 | static inline void LL_DMA_ClearFlag_GI2(DMA_TypeDef *DMAx) |
---|
| 3899 | { |
---|
| 3900 | ((DMAx->IFCR) = ((0x1UL << (4U)))); |
---|
| 3901 | } |
---|
| 3902 | # 1732 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3903 | static inline void LL_DMA_ClearFlag_GI3(DMA_TypeDef *DMAx) |
---|
| 3904 | { |
---|
| 3905 | ((DMAx->IFCR) = ((0x1UL << (8U)))); |
---|
| 3906 | } |
---|
| 3907 | # 1747 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3908 | static inline void LL_DMA_ClearFlag_GI4(DMA_TypeDef *DMAx) |
---|
| 3909 | { |
---|
| 3910 | ((DMAx->IFCR) = ((0x1UL << (12U)))); |
---|
| 3911 | } |
---|
| 3912 | # 1762 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3913 | static inline void LL_DMA_ClearFlag_GI5(DMA_TypeDef *DMAx) |
---|
| 3914 | { |
---|
| 3915 | ((DMAx->IFCR) = ((0x1UL << (16U)))); |
---|
| 3916 | } |
---|
| 3917 | # 1778 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3918 | static inline void LL_DMA_ClearFlag_GI6(DMA_TypeDef *DMAx) |
---|
| 3919 | { |
---|
| 3920 | ((DMAx->IFCR) = ((0x1UL << (20U)))); |
---|
| 3921 | } |
---|
| 3922 | # 1795 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3923 | static inline void LL_DMA_ClearFlag_GI7(DMA_TypeDef *DMAx) |
---|
| 3924 | { |
---|
| 3925 | ((DMAx->IFCR) = ((0x1UL << (24U)))); |
---|
| 3926 | } |
---|
| 3927 | # 1807 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3928 | static inline void LL_DMA_ClearFlag_TC1(DMA_TypeDef *DMAx) |
---|
| 3929 | { |
---|
| 3930 | ((DMAx->IFCR) = ((0x1UL << (1U)))); |
---|
| 3931 | } |
---|
| 3932 | |
---|
| 3933 | |
---|
| 3934 | |
---|
| 3935 | |
---|
| 3936 | |
---|
| 3937 | |
---|
| 3938 | |
---|
| 3939 | static inline void LL_DMA_ClearFlag_TC2(DMA_TypeDef *DMAx) |
---|
| 3940 | { |
---|
| 3941 | ((DMAx->IFCR) = ((0x1UL << (5U)))); |
---|
| 3942 | } |
---|
| 3943 | |
---|
| 3944 | |
---|
| 3945 | |
---|
| 3946 | |
---|
| 3947 | |
---|
| 3948 | |
---|
| 3949 | |
---|
| 3950 | static inline void LL_DMA_ClearFlag_TC3(DMA_TypeDef *DMAx) |
---|
| 3951 | { |
---|
| 3952 | ((DMAx->IFCR) = ((0x1UL << (9U)))); |
---|
| 3953 | } |
---|
| 3954 | |
---|
| 3955 | |
---|
| 3956 | |
---|
| 3957 | |
---|
| 3958 | |
---|
| 3959 | |
---|
| 3960 | |
---|
| 3961 | static inline void LL_DMA_ClearFlag_TC4(DMA_TypeDef *DMAx) |
---|
| 3962 | { |
---|
| 3963 | ((DMAx->IFCR) = ((0x1UL << (13U)))); |
---|
| 3964 | } |
---|
| 3965 | |
---|
| 3966 | |
---|
| 3967 | |
---|
| 3968 | |
---|
| 3969 | |
---|
| 3970 | |
---|
| 3971 | |
---|
| 3972 | static inline void LL_DMA_ClearFlag_TC5(DMA_TypeDef *DMAx) |
---|
| 3973 | { |
---|
| 3974 | ((DMAx->IFCR) = ((0x1UL << (17U)))); |
---|
| 3975 | } |
---|
| 3976 | # 1863 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3977 | static inline void LL_DMA_ClearFlag_TC6(DMA_TypeDef *DMAx) |
---|
| 3978 | { |
---|
| 3979 | ((DMAx->IFCR) = ((0x1UL << (21U)))); |
---|
| 3980 | } |
---|
| 3981 | # 1876 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3982 | static inline void LL_DMA_ClearFlag_TC7(DMA_TypeDef *DMAx) |
---|
| 3983 | { |
---|
| 3984 | ((DMAx->IFCR) = ((0x1UL << (25U)))); |
---|
| 3985 | } |
---|
| 3986 | # 1888 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 3987 | static inline void LL_DMA_ClearFlag_HT1(DMA_TypeDef *DMAx) |
---|
| 3988 | { |
---|
| 3989 | ((DMAx->IFCR) = ((0x1UL << (2U)))); |
---|
| 3990 | } |
---|
| 3991 | |
---|
| 3992 | |
---|
| 3993 | |
---|
| 3994 | |
---|
| 3995 | |
---|
| 3996 | |
---|
| 3997 | |
---|
| 3998 | static inline void LL_DMA_ClearFlag_HT2(DMA_TypeDef *DMAx) |
---|
| 3999 | { |
---|
| 4000 | ((DMAx->IFCR) = ((0x1UL << (6U)))); |
---|
| 4001 | } |
---|
| 4002 | |
---|
| 4003 | |
---|
| 4004 | |
---|
| 4005 | |
---|
| 4006 | |
---|
| 4007 | |
---|
| 4008 | |
---|
| 4009 | static inline void LL_DMA_ClearFlag_HT3(DMA_TypeDef *DMAx) |
---|
| 4010 | { |
---|
| 4011 | ((DMAx->IFCR) = ((0x1UL << (10U)))); |
---|
| 4012 | } |
---|
| 4013 | |
---|
| 4014 | |
---|
| 4015 | |
---|
| 4016 | |
---|
| 4017 | |
---|
| 4018 | |
---|
| 4019 | |
---|
| 4020 | static inline void LL_DMA_ClearFlag_HT4(DMA_TypeDef *DMAx) |
---|
| 4021 | { |
---|
| 4022 | ((DMAx->IFCR) = ((0x1UL << (14U)))); |
---|
| 4023 | } |
---|
| 4024 | |
---|
| 4025 | |
---|
| 4026 | |
---|
| 4027 | |
---|
| 4028 | |
---|
| 4029 | |
---|
| 4030 | |
---|
| 4031 | static inline void LL_DMA_ClearFlag_HT5(DMA_TypeDef *DMAx) |
---|
| 4032 | { |
---|
| 4033 | ((DMAx->IFCR) = ((0x1UL << (18U)))); |
---|
| 4034 | } |
---|
| 4035 | # 1944 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4036 | static inline void LL_DMA_ClearFlag_HT6(DMA_TypeDef *DMAx) |
---|
| 4037 | { |
---|
| 4038 | ((DMAx->IFCR) = ((0x1UL << (22U)))); |
---|
| 4039 | } |
---|
| 4040 | # 1957 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4041 | static inline void LL_DMA_ClearFlag_HT7(DMA_TypeDef *DMAx) |
---|
| 4042 | { |
---|
| 4043 | ((DMAx->IFCR) = ((0x1UL << (26U)))); |
---|
| 4044 | } |
---|
| 4045 | # 1969 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4046 | static inline void LL_DMA_ClearFlag_TE1(DMA_TypeDef *DMAx) |
---|
| 4047 | { |
---|
| 4048 | ((DMAx->IFCR) = ((0x1UL << (3U)))); |
---|
| 4049 | } |
---|
| 4050 | |
---|
| 4051 | |
---|
| 4052 | |
---|
| 4053 | |
---|
| 4054 | |
---|
| 4055 | |
---|
| 4056 | |
---|
| 4057 | static inline void LL_DMA_ClearFlag_TE2(DMA_TypeDef *DMAx) |
---|
| 4058 | { |
---|
| 4059 | ((DMAx->IFCR) = ((0x1UL << (7U)))); |
---|
| 4060 | } |
---|
| 4061 | |
---|
| 4062 | |
---|
| 4063 | |
---|
| 4064 | |
---|
| 4065 | |
---|
| 4066 | |
---|
| 4067 | |
---|
| 4068 | static inline void LL_DMA_ClearFlag_TE3(DMA_TypeDef *DMAx) |
---|
| 4069 | { |
---|
| 4070 | ((DMAx->IFCR) = ((0x1UL << (11U)))); |
---|
| 4071 | } |
---|
| 4072 | |
---|
| 4073 | |
---|
| 4074 | |
---|
| 4075 | |
---|
| 4076 | |
---|
| 4077 | |
---|
| 4078 | |
---|
| 4079 | static inline void LL_DMA_ClearFlag_TE4(DMA_TypeDef *DMAx) |
---|
| 4080 | { |
---|
| 4081 | ((DMAx->IFCR) = ((0x1UL << (15U)))); |
---|
| 4082 | } |
---|
| 4083 | |
---|
| 4084 | |
---|
| 4085 | |
---|
| 4086 | |
---|
| 4087 | |
---|
| 4088 | |
---|
| 4089 | |
---|
| 4090 | static inline void LL_DMA_ClearFlag_TE5(DMA_TypeDef *DMAx) |
---|
| 4091 | { |
---|
| 4092 | ((DMAx->IFCR) = ((0x1UL << (19U)))); |
---|
| 4093 | } |
---|
| 4094 | # 2025 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4095 | static inline void LL_DMA_ClearFlag_TE6(DMA_TypeDef *DMAx) |
---|
| 4096 | { |
---|
| 4097 | ((DMAx->IFCR) = ((0x1UL << (23U)))); |
---|
| 4098 | } |
---|
| 4099 | # 2038 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4100 | static inline void LL_DMA_ClearFlag_TE7(DMA_TypeDef *DMAx) |
---|
| 4101 | { |
---|
| 4102 | ((DMAx->IFCR) = ((0x1UL << (27U)))); |
---|
| 4103 | } |
---|
| 4104 | # 2065 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4105 | static inline void LL_DMA_EnableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4106 | { |
---|
| 4107 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4108 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (1U)))); |
---|
| 4109 | } |
---|
| 4110 | # 2085 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4111 | static inline void LL_DMA_EnableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4112 | { |
---|
| 4113 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4114 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (2U)))); |
---|
| 4115 | } |
---|
| 4116 | # 2105 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4117 | static inline void LL_DMA_EnableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4118 | { |
---|
| 4119 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4120 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (3U)))); |
---|
| 4121 | } |
---|
| 4122 | # 2125 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4123 | static inline void LL_DMA_DisableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4124 | { |
---|
| 4125 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4126 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (1U)))); |
---|
| 4127 | } |
---|
| 4128 | # 2145 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4129 | static inline void LL_DMA_DisableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4130 | { |
---|
| 4131 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4132 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (2U)))); |
---|
| 4133 | } |
---|
| 4134 | # 2165 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4135 | static inline void LL_DMA_DisableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4136 | { |
---|
| 4137 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4138 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (3U)))); |
---|
| 4139 | } |
---|
| 4140 | # 2185 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4141 | static inline uint32_t LL_DMA_IsEnabledIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4142 | { |
---|
| 4143 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4144 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 4145 | |
---|
| 4146 | } |
---|
| 4147 | # 2206 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4148 | static inline uint32_t LL_DMA_IsEnabledIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4149 | { |
---|
| 4150 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4151 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
| 4152 | |
---|
| 4153 | } |
---|
| 4154 | # 2227 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
---|
| 4155 | static inline uint32_t LL_DMA_IsEnabledIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
---|
| 4156 | { |
---|
| 4157 | uint32_t dma_base_addr = (uint32_t)DMAx; |
---|
| 4158 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 4159 | |
---|
| 4160 | } |
---|
| 4161 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2 |
---|
| 4162 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
| 4163 | typedef struct |
---|
| 4164 | { |
---|
| 4165 | uint32_t Request; |
---|
| 4166 | |
---|
| 4167 | |
---|
| 4168 | uint32_t Direction; |
---|
| 4169 | |
---|
| 4170 | |
---|
| 4171 | |
---|
| 4172 | uint32_t PeriphInc; |
---|
| 4173 | |
---|
| 4174 | |
---|
| 4175 | uint32_t MemInc; |
---|
| 4176 | |
---|
| 4177 | |
---|
| 4178 | uint32_t PeriphDataAlignment; |
---|
| 4179 | |
---|
| 4180 | |
---|
| 4181 | uint32_t MemDataAlignment; |
---|
| 4182 | |
---|
| 4183 | |
---|
| 4184 | uint32_t Mode; |
---|
| 4185 | |
---|
| 4186 | |
---|
| 4187 | |
---|
| 4188 | |
---|
| 4189 | uint32_t Priority; |
---|
| 4190 | |
---|
| 4191 | } DMA_InitTypeDef; |
---|
| 4192 | |
---|
| 4193 | |
---|
| 4194 | |
---|
| 4195 | |
---|
| 4196 | typedef enum |
---|
| 4197 | { |
---|
| 4198 | HAL_DMA_STATE_RESET = 0x00U, |
---|
| 4199 | HAL_DMA_STATE_READY = 0x01U, |
---|
| 4200 | HAL_DMA_STATE_BUSY = 0x02U, |
---|
| 4201 | HAL_DMA_STATE_TIMEOUT = 0x03U, |
---|
| 4202 | } HAL_DMA_StateTypeDef; |
---|
| 4203 | |
---|
| 4204 | |
---|
| 4205 | |
---|
| 4206 | |
---|
| 4207 | typedef enum |
---|
| 4208 | { |
---|
| 4209 | HAL_DMA_FULL_TRANSFER = 0x00U, |
---|
| 4210 | HAL_DMA_HALF_TRANSFER = 0x01U |
---|
| 4211 | } HAL_DMA_LevelCompleteTypeDef; |
---|
| 4212 | |
---|
| 4213 | |
---|
| 4214 | |
---|
| 4215 | |
---|
| 4216 | typedef enum |
---|
| 4217 | { |
---|
| 4218 | HAL_DMA_XFER_CPLT_CB_ID = 0x00U, |
---|
| 4219 | HAL_DMA_XFER_HALFCPLT_CB_ID = 0x01U, |
---|
| 4220 | HAL_DMA_XFER_ERROR_CB_ID = 0x02U, |
---|
| 4221 | HAL_DMA_XFER_ABORT_CB_ID = 0x03U, |
---|
| 4222 | HAL_DMA_XFER_ALL_CB_ID = 0x04U |
---|
| 4223 | |
---|
| 4224 | } HAL_DMA_CallbackIDTypeDef; |
---|
| 4225 | |
---|
| 4226 | |
---|
| 4227 | |
---|
| 4228 | |
---|
| 4229 | typedef struct __DMA_HandleTypeDef |
---|
| 4230 | { |
---|
| 4231 | DMA_Channel_TypeDef *Instance; |
---|
| 4232 | |
---|
| 4233 | DMA_InitTypeDef Init; |
---|
| 4234 | |
---|
| 4235 | HAL_LockTypeDef Lock; |
---|
| 4236 | |
---|
| 4237 | volatile HAL_DMA_StateTypeDef State; |
---|
| 4238 | |
---|
| 4239 | void *Parent; |
---|
| 4240 | |
---|
| 4241 | void (* XferCpltCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
| 4242 | |
---|
| 4243 | void (* XferHalfCpltCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
| 4244 | |
---|
| 4245 | void (* XferErrorCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
| 4246 | |
---|
| 4247 | void (* XferAbortCallback)(struct __DMA_HandleTypeDef *hdma); |
---|
| 4248 | |
---|
| 4249 | volatile uint32_t ErrorCode; |
---|
| 4250 | |
---|
| 4251 | |
---|
| 4252 | |
---|
| 4253 | |
---|
| 4254 | |
---|
| 4255 | uint32_t ChannelIndex; |
---|
| 4256 | |
---|
| 4257 | DMAMUX_Channel_TypeDef *DMAmuxChannel; |
---|
| 4258 | |
---|
| 4259 | DMAMUX_ChannelStatus_TypeDef *DMAmuxChannelStatus; |
---|
| 4260 | |
---|
| 4261 | uint32_t DMAmuxChannelStatusMask; |
---|
| 4262 | |
---|
| 4263 | DMAMUX_RequestGen_TypeDef *DMAmuxRequestGen; |
---|
| 4264 | |
---|
| 4265 | DMAMUX_RequestGenStatus_TypeDef *DMAmuxRequestGenStatus; |
---|
| 4266 | |
---|
| 4267 | uint32_t DMAmuxRequestGenStatusMask; |
---|
| 4268 | } DMA_HandleTypeDef; |
---|
| 4269 | # 698 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
| 4270 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" 1 |
---|
| 4271 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" |
---|
| 4272 | typedef struct |
---|
| 4273 | { |
---|
| 4274 | uint32_t SyncSignalID; |
---|
| 4275 | |
---|
| 4276 | |
---|
| 4277 | uint32_t SyncPolarity; |
---|
| 4278 | |
---|
| 4279 | |
---|
| 4280 | FunctionalState SyncEnable; |
---|
| 4281 | |
---|
| 4282 | |
---|
| 4283 | FunctionalState EventEnable; |
---|
| 4284 | |
---|
| 4285 | |
---|
| 4286 | uint32_t RequestNumber; |
---|
| 4287 | |
---|
| 4288 | |
---|
| 4289 | |
---|
| 4290 | } HAL_DMA_MuxSyncConfigTypeDef; |
---|
| 4291 | |
---|
| 4292 | |
---|
| 4293 | |
---|
| 4294 | |
---|
| 4295 | |
---|
| 4296 | typedef struct |
---|
| 4297 | { |
---|
| 4298 | uint32_t SignalID; |
---|
| 4299 | |
---|
| 4300 | |
---|
| 4301 | uint32_t Polarity; |
---|
| 4302 | |
---|
| 4303 | |
---|
| 4304 | uint32_t RequestNumber; |
---|
| 4305 | |
---|
| 4306 | |
---|
| 4307 | } HAL_DMA_MuxRequestGeneratorConfigTypeDef; |
---|
| 4308 | # 206 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" |
---|
| 4309 | HAL_StatusTypeDef HAL_DMAEx_ConfigMuxRequestGenerator(DMA_HandleTypeDef *hdma, |
---|
| 4310 | HAL_DMA_MuxRequestGeneratorConfigTypeDef *pRequestGeneratorConfig); |
---|
| 4311 | HAL_StatusTypeDef HAL_DMAEx_EnableMuxRequestGenerator(DMA_HandleTypeDef *hdma); |
---|
| 4312 | HAL_StatusTypeDef HAL_DMAEx_DisableMuxRequestGenerator(DMA_HandleTypeDef *hdma); |
---|
| 4313 | |
---|
| 4314 | |
---|
| 4315 | |
---|
| 4316 | HAL_StatusTypeDef HAL_DMAEx_ConfigMuxSync(DMA_HandleTypeDef *hdma, HAL_DMA_MuxSyncConfigTypeDef *pSyncConfig); |
---|
| 4317 | |
---|
| 4318 | |
---|
| 4319 | void HAL_DMAEx_MUX_IRQHandler(DMA_HandleTypeDef *hdma); |
---|
| 4320 | # 699 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2 |
---|
| 4321 | # 710 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
| 4322 | HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma); |
---|
| 4323 | HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma); |
---|
| 4324 | # 720 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
| 4325 | HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength); |
---|
| 4326 | HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, |
---|
| 4327 | uint32_t DataLength); |
---|
| 4328 | HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma); |
---|
| 4329 | HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma); |
---|
| 4330 | HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef CompleteLevel, |
---|
| 4331 | uint32_t Timeout); |
---|
| 4332 | void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma); |
---|
| 4333 | HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void (* pCallback)(DMA_HandleTypeDef *_hdma)); |
---|
| 4334 | HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID); |
---|
| 4335 | # 739 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
---|
| 4336 | HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma); |
---|
| 4337 | uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma); |
---|
| 4338 | # 204 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 4339 | |
---|
| 4340 | |
---|
| 4341 | |
---|
| 4342 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" 1 |
---|
| 4343 | # 49 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
---|
| 4344 | typedef struct |
---|
| 4345 | { |
---|
| 4346 | uint8_t Enable; |
---|
| 4347 | |
---|
| 4348 | uint8_t Number; |
---|
| 4349 | |
---|
| 4350 | uint32_t BaseAddress; |
---|
| 4351 | |
---|
| 4352 | uint8_t Size; |
---|
| 4353 | |
---|
| 4354 | uint8_t SubRegionDisable; |
---|
| 4355 | |
---|
| 4356 | uint8_t TypeExtField; |
---|
| 4357 | |
---|
| 4358 | uint8_t AccessPermission; |
---|
| 4359 | |
---|
| 4360 | uint8_t DisableExec; |
---|
| 4361 | |
---|
| 4362 | uint8_t IsShareable; |
---|
| 4363 | |
---|
| 4364 | uint8_t IsCacheable; |
---|
| 4365 | |
---|
| 4366 | uint8_t IsBufferable; |
---|
| 4367 | |
---|
| 4368 | } MPU_Region_InitTypeDef; |
---|
| 4369 | # 250 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
---|
| 4370 | void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority); |
---|
| 4371 | void HAL_NVIC_EnableIRQ(IRQn_Type IRQn); |
---|
| 4372 | void HAL_NVIC_DisableIRQ(IRQn_Type IRQn); |
---|
| 4373 | void HAL_NVIC_SystemReset(void); |
---|
| 4374 | uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb); |
---|
| 4375 | # 264 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
---|
| 4376 | uint32_t HAL_NVIC_GetPriority(IRQn_Type IRQn); |
---|
| 4377 | uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn); |
---|
| 4378 | void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn); |
---|
| 4379 | void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn); |
---|
| 4380 | void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource); |
---|
| 4381 | void HAL_SYSTICK_IRQHandler(void); |
---|
| 4382 | void HAL_SYSTICK_Callback(void); |
---|
| 4383 | |
---|
| 4384 | |
---|
| 4385 | void HAL_MPU_Enable(uint32_t MPU_Control); |
---|
| 4386 | void HAL_MPU_Disable(void); |
---|
| 4387 | void HAL_MPU_EnableRegion(uint32_t RegionNumber); |
---|
| 4388 | void HAL_MPU_DisableRegion(uint32_t RegionNumber); |
---|
| 4389 | void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init); |
---|
| 4390 | # 208 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 4391 | |
---|
| 4392 | |
---|
| 4393 | |
---|
| 4394 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 1 |
---|
| 4395 | # 31 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 4396 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" 1 |
---|
| 4397 | # 1953 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4398 | static inline uint32_t LL_ADC_DMA_GetRegAddr(const ADC_TypeDef *ADCx, uint32_t Register) |
---|
| 4399 | { |
---|
| 4400 | |
---|
| 4401 | (void)(Register); |
---|
| 4402 | |
---|
| 4403 | |
---|
| 4404 | return (uint32_t) &(ADCx->DR); |
---|
| 4405 | } |
---|
| 4406 | # 2002 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4407 | static inline void LL_ADC_SetCommonClock(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock) |
---|
| 4408 | { |
---|
| 4409 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0xFUL << (18U))))) | (CommonClock)))); |
---|
| 4410 | } |
---|
| 4411 | # 2031 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4412 | static inline uint32_t LL_ADC_GetCommonClock(const ADC_Common_TypeDef *ADCxy_COMMON) |
---|
| 4413 | { |
---|
| 4414 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0xFUL << (18U))))); |
---|
| 4415 | } |
---|
| 4416 | # 2052 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4417 | static inline void LL_ADC_SetCommonFrequencyMode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonFrequencyMode) |
---|
| 4418 | { |
---|
| 4419 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (25U))))) | (CommonFrequencyMode)))); |
---|
| 4420 | } |
---|
| 4421 | # 2068 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4422 | static inline uint32_t LL_ADC_GetCommonFrequencyMode(const ADC_Common_TypeDef *ADCxy_COMMON) |
---|
| 4423 | { |
---|
| 4424 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (25U))))); |
---|
| 4425 | } |
---|
| 4426 | # 2111 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4427 | static inline void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
---|
| 4428 | { |
---|
| 4429 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))) | (PathInternal)))); |
---|
| 4430 | } |
---|
| 4431 | # 2153 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4432 | static inline void LL_ADC_SetCommonPathInternalChAdd(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
---|
| 4433 | { |
---|
| 4434 | ((ADCxy_COMMON->CCR) |= (PathInternal)); |
---|
| 4435 | } |
---|
| 4436 | # 2183 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4437 | static inline void LL_ADC_SetCommonPathInternalChRem(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
---|
| 4438 | { |
---|
| 4439 | ((ADCxy_COMMON->CCR) &= ~(PathInternal)); |
---|
| 4440 | } |
---|
| 4441 | # 2205 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4442 | static inline uint32_t LL_ADC_GetCommonPathInternalCh(const ADC_Common_TypeDef *ADCxy_COMMON) |
---|
| 4443 | { |
---|
| 4444 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))); |
---|
| 4445 | } |
---|
| 4446 | # 2241 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4447 | static inline void LL_ADC_SetClock(ADC_TypeDef *ADCx, uint32_t ClockSource) |
---|
| 4448 | { |
---|
| 4449 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x3UL << (30U))))) | (ClockSource)))); |
---|
| 4450 | } |
---|
| 4451 | # 2265 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4452 | static inline uint32_t LL_ADC_GetClock(const ADC_TypeDef *ADCx) |
---|
| 4453 | { |
---|
| 4454 | return (uint32_t)(((ADCx->CFGR2) & ((0x3UL << (30U))))); |
---|
| 4455 | } |
---|
| 4456 | # 2285 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4457 | static inline void LL_ADC_SetCalibrationFactor(ADC_TypeDef *ADCx, uint32_t CalibrationFactor) |
---|
| 4458 | { |
---|
| 4459 | (((ADCx->CALFACT)) = ((((((ADCx->CALFACT))) & (~((0x7FUL << (0U))))) | (CalibrationFactor)))); |
---|
| 4460 | |
---|
| 4461 | |
---|
| 4462 | } |
---|
| 4463 | # 2301 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4464 | static inline uint32_t LL_ADC_GetCalibrationFactor(const ADC_TypeDef *ADCx) |
---|
| 4465 | { |
---|
| 4466 | return (uint32_t)(((ADCx->CALFACT) & ((0x7FUL << (0U))))); |
---|
| 4467 | } |
---|
| 4468 | # 2322 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4469 | static inline void LL_ADC_SetResolution(ADC_TypeDef *ADCx, uint32_t Resolution) |
---|
| 4470 | { |
---|
| 4471 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (3U))))) | (Resolution)))); |
---|
| 4472 | } |
---|
| 4473 | # 2339 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4474 | static inline uint32_t LL_ADC_GetResolution(const ADC_TypeDef *ADCx) |
---|
| 4475 | { |
---|
| 4476 | return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (3U))))); |
---|
| 4477 | } |
---|
| 4478 | # 2358 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4479 | static inline void LL_ADC_SetDataAlignment(ADC_TypeDef *ADCx, uint32_t DataAlignment) |
---|
| 4480 | { |
---|
| 4481 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (5U))))) | (DataAlignment)))); |
---|
| 4482 | } |
---|
| 4483 | # 2373 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4484 | static inline uint32_t LL_ADC_GetDataAlignment(const ADC_TypeDef *ADCx) |
---|
| 4485 | { |
---|
| 4486 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (5U))))); |
---|
| 4487 | } |
---|
| 4488 | # 2430 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4489 | static inline void LL_ADC_SetLowPowerMode(ADC_TypeDef *ADCx, uint32_t LowPowerMode) |
---|
| 4490 | { |
---|
| 4491 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~(((0x1UL << (14U)) | (0x1UL << (15U)))))) | (LowPowerMode)))); |
---|
| 4492 | } |
---|
| 4493 | # 2483 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4494 | static inline uint32_t LL_ADC_GetLowPowerMode(const ADC_TypeDef *ADCx) |
---|
| 4495 | { |
---|
| 4496 | return (uint32_t)(((ADCx->CFGR1) & (((0x1UL << (14U)) | (0x1UL << (15U)))))); |
---|
| 4497 | } |
---|
| 4498 | # 2513 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4499 | static inline void LL_ADC_SetTriggerFrequencyMode(ADC_TypeDef *ADCx, uint32_t TriggerFrequencyMode) |
---|
| 4500 | { |
---|
| 4501 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (29U))))) | (TriggerFrequencyMode)))); |
---|
| 4502 | } |
---|
| 4503 | # 2526 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4504 | static inline uint32_t LL_ADC_GetTriggerFrequencyMode(const ADC_TypeDef *ADCx) |
---|
| 4505 | { |
---|
| 4506 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (29U))))); |
---|
| 4507 | } |
---|
| 4508 | # 2575 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4509 | static inline void LL_ADC_SetSamplingTimeCommonChannels(ADC_TypeDef *ADCx, uint32_t SamplingTimeY, |
---|
| 4510 | uint32_t SamplingTime) |
---|
| 4511 | { |
---|
| 4512 | (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL)))))) | (SamplingTime << (SamplingTimeY & (( 4UL) | ( 0UL))))))); |
---|
| 4513 | |
---|
| 4514 | |
---|
| 4515 | } |
---|
| 4516 | # 2608 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4517 | static inline uint32_t LL_ADC_GetSamplingTimeCommonChannels(const ADC_TypeDef *ADCx, uint32_t SamplingTimeY) |
---|
| 4518 | { |
---|
| 4519 | return (uint32_t)((((ADCx->SMPR) & ((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL)))))) |
---|
| 4520 | >> (SamplingTimeY & (( 4UL) | ( 0UL)))); |
---|
| 4521 | } |
---|
| 4522 | # 2657 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4523 | static inline void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) |
---|
| 4524 | { |
---|
| 4525 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U)) | (0x7UL << (6U))))) | (TriggerSource)))); |
---|
| 4526 | } |
---|
| 4527 | # 2689 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4528 | static inline uint32_t LL_ADC_REG_GetTriggerSource(const ADC_TypeDef *ADCx) |
---|
| 4529 | { |
---|
| 4530 | volatile uint32_t trigger_source = ((ADCx->CFGR1) & ((0x7UL << (6U)) | (0x3UL << (10U)))); |
---|
| 4531 | |
---|
| 4532 | |
---|
| 4533 | |
---|
| 4534 | uint32_t shift_exten = ((trigger_source & (0x3UL << (10U))) >> ((10UL) - 2UL)); |
---|
| 4535 | |
---|
| 4536 | |
---|
| 4537 | |
---|
| 4538 | return ((trigger_source |
---|
| 4539 | & (((((0x00000000UL) & (0x7UL << (6U))) << (4U * 0UL)) | (((0x7UL << (6U))) << (4U * 1UL)) | (((0x7UL << (6U))) << (4U * 2UL)) | (((0x7UL << (6U))) << (4U * 3UL)) ) >> shift_exten) & (0x7UL << (6U))) |
---|
| 4540 | | ((((((0x00000000UL) & (0x3UL << (10U))) << (4U * 0UL)) | ((((0x1UL << (10U)))) << (4U * 1UL)) | ((((0x1UL << (10U)))) << (4U * 2UL)) | ((((0x1UL << (10U)))) << (4U * 3UL)) ) >> shift_exten) & (0x3UL << (10U))) |
---|
| 4541 | ); |
---|
| 4542 | } |
---|
| 4543 | # 2716 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4544 | static inline uint32_t LL_ADC_REG_IsTriggerSourceSWStart(const ADC_TypeDef *ADCx) |
---|
| 4545 | { |
---|
| 4546 | return ((((ADCx->CFGR1) & ((0x3UL << (10U)))) == ((0x00000000UL) & (0x3UL << (10U)))) ? 1UL : 0UL); |
---|
| 4547 | } |
---|
| 4548 | # 2735 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4549 | static inline void LL_ADC_REG_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
---|
| 4550 | { |
---|
| 4551 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U))))) | (ExternalTriggerEdge)))); |
---|
| 4552 | } |
---|
| 4553 | # 2750 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4554 | static inline uint32_t LL_ADC_REG_GetTriggerEdge(const ADC_TypeDef *ADCx) |
---|
| 4555 | { |
---|
| 4556 | return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (10U))))); |
---|
| 4557 | } |
---|
| 4558 | # 2787 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4559 | static inline void LL_ADC_REG_SetSequencerConfigurable(ADC_TypeDef *ADCx, uint32_t Configurability) |
---|
| 4560 | { |
---|
| 4561 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (21U))))) | (Configurability)))); |
---|
| 4562 | } |
---|
| 4563 | # 2813 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4564 | static inline uint32_t LL_ADC_REG_GetSequencerConfigurable(const ADC_TypeDef *ADCx) |
---|
| 4565 | { |
---|
| 4566 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (21U))))); |
---|
| 4567 | } |
---|
| 4568 | # 2885 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4569 | static inline void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) |
---|
| 4570 | { |
---|
| 4571 | ((ADCx->CHSELR) |= (SequencerNbRanks)); |
---|
| 4572 | } |
---|
| 4573 | # 2944 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4574 | static inline uint32_t LL_ADC_REG_GetSequencerLength(const ADC_TypeDef *ADCx) |
---|
| 4575 | { |
---|
| 4576 | volatile uint32_t channels_ranks = ((ADCx->CHSELR) & ((0xFFFFFFFFUL << (0U)))); |
---|
| 4577 | uint32_t sequencer_length = (0x00000000UL); |
---|
| 4578 | uint32_t rank_index; |
---|
| 4579 | uint32_t rank_shifted; |
---|
| 4580 | |
---|
| 4581 | |
---|
| 4582 | |
---|
| 4583 | |
---|
| 4584 | |
---|
| 4585 | for (rank_index = 0U; rank_index <= (28U - 4U); rank_index += 4U) |
---|
| 4586 | { |
---|
| 4587 | rank_shifted = (uint32_t)(0xF0UL << rank_index); |
---|
| 4588 | if ((channels_ranks & rank_shifted) == rank_shifted) |
---|
| 4589 | { |
---|
| 4590 | sequencer_length = rank_shifted; |
---|
| 4591 | break; |
---|
| 4592 | } |
---|
| 4593 | } |
---|
| 4594 | |
---|
| 4595 | return sequencer_length; |
---|
| 4596 | } |
---|
| 4597 | # 2993 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4598 | static inline void LL_ADC_REG_SetSequencerScanDirection(ADC_TypeDef *ADCx, uint32_t ScanDirection) |
---|
| 4599 | { |
---|
| 4600 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (2U))))) | (ScanDirection)))); |
---|
| 4601 | } |
---|
| 4602 | # 3011 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4603 | static inline uint32_t LL_ADC_REG_GetSequencerScanDirection(const ADC_TypeDef *ADCx) |
---|
| 4604 | { |
---|
| 4605 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (2U))))); |
---|
| 4606 | } |
---|
| 4607 | # 3032 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4608 | static inline void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont) |
---|
| 4609 | { |
---|
| 4610 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (16U))))) | (SeqDiscont)))); |
---|
| 4611 | } |
---|
| 4612 | # 3047 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4613 | static inline uint32_t LL_ADC_REG_GetSequencerDiscont(const ADC_TypeDef *ADCx) |
---|
| 4614 | { |
---|
| 4615 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (16U))))); |
---|
| 4616 | } |
---|
| 4617 | # 3127 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4618 | static inline void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
---|
| 4619 | { |
---|
| 4620 | |
---|
| 4621 | |
---|
| 4622 | |
---|
| 4623 | |
---|
| 4624 | (((ADCx->CHSELR)) = ((((((ADCx->CHSELR))) & (~((0xFUL << (0U)) << (Rank & ((0x0000001FUL)))))) | (((Channel & ((0xFUL << (0U)) << (26UL))) >> (26UL)) << (Rank & ((0x0000001FUL))))))); |
---|
| 4625 | |
---|
| 4626 | |
---|
| 4627 | |
---|
| 4628 | } |
---|
| 4629 | # 3208 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4630 | static inline uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) |
---|
| 4631 | { |
---|
| 4632 | return (uint32_t)((((ADCx->CHSELR) & ((0xFUL << (0U)) << (Rank & ((0x0000001FUL))))) |
---|
| 4633 | |
---|
| 4634 | >> (Rank & ((0x0000001FUL))) |
---|
| 4635 | ) << ((26UL)) |
---|
| 4636 | ); |
---|
| 4637 | } |
---|
| 4638 | # 3302 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4639 | static inline void LL_ADC_REG_SetSequencerChannels(ADC_TypeDef *ADCx, uint32_t Channel) |
---|
| 4640 | { |
---|
| 4641 | |
---|
| 4642 | |
---|
| 4643 | ((ADCx->CHSELR) = ((Channel & ((0x7FFFFUL << (0U)))))); |
---|
| 4644 | } |
---|
| 4645 | # 3394 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4646 | static inline void LL_ADC_REG_SetSequencerChAdd(ADC_TypeDef *ADCx, uint32_t Channel) |
---|
| 4647 | { |
---|
| 4648 | |
---|
| 4649 | |
---|
| 4650 | ((ADCx->CHSELR) |= ((Channel & ((0x7FFFFUL << (0U)))))); |
---|
| 4651 | } |
---|
| 4652 | # 3486 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4653 | static inline void LL_ADC_REG_SetSequencerChRem(ADC_TypeDef *ADCx, uint32_t Channel) |
---|
| 4654 | { |
---|
| 4655 | |
---|
| 4656 | |
---|
| 4657 | ((ADCx->CHSELR) &= ~((Channel & ((0x7FFFFUL << (0U)))))); |
---|
| 4658 | } |
---|
| 4659 | # 3567 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4660 | static inline uint32_t LL_ADC_REG_GetSequencerChannels(const ADC_TypeDef *ADCx) |
---|
| 4661 | { |
---|
| 4662 | uint32_t channels_bitfield = (uint32_t)((ADCx->CHSELR) & ((0x7FFFFUL << (0U)))); |
---|
| 4663 | |
---|
| 4664 | return ((((channels_bitfield & (0x1UL << (0U))) >> ( 0UL)) * ((0x00000000UL) | ((0x1UL << (0U))) )) |
---|
| 4665 | | (((channels_bitfield & (0x1UL << (1U))) >> ( 1UL)) * (((0x01UL << (26U))) | ((0x1UL << (1U))) )) |
---|
| 4666 | | (((channels_bitfield & (0x1UL << (2U))) >> ( 2UL)) * (((0x02UL << (26U))) | ((0x1UL << (2U))) )) |
---|
| 4667 | | (((channels_bitfield & (0x1UL << (3U))) >> ( 3UL)) * (((0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (3U))) )) |
---|
| 4668 | | (((channels_bitfield & (0x1UL << (4U))) >> ( 4UL)) * (((0x04UL << (26U))) | ((0x1UL << (4U))) )) |
---|
| 4669 | | (((channels_bitfield & (0x1UL << (5U))) >> ( 5UL)) * (((0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (5U))) )) |
---|
| 4670 | | (((channels_bitfield & (0x1UL << (6U))) >> ( 6UL)) * (((0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (6U))) )) |
---|
| 4671 | | (((channels_bitfield & (0x1UL << (7U))) >> ( 7UL)) * (((0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (7U))) )) |
---|
| 4672 | | (((channels_bitfield & (0x1UL << (8U))) >> ( 8UL)) * (((0x08UL << (26U))) | ((0x1UL << (8U))) )) |
---|
| 4673 | | (((channels_bitfield & (0x1UL << (9U))) >> ( 9UL)) * (((0x08UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (9U))) )) |
---|
| 4674 | | (((channels_bitfield & (0x1UL << (10U))) >> (10UL)) * (((0x08UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (10U))))) |
---|
| 4675 | | (((channels_bitfield & (0x1UL << (11U))) >> (11UL)) * (((0x08UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (11U))))) |
---|
| 4676 | | (((channels_bitfield & (0x1UL << (12U))) >> (12UL)) * (((0x08UL << (26U)) | (0x04UL << (26U))) | ((0x1UL << (12U))))) |
---|
| 4677 | | (((channels_bitfield & (0x1UL << (13U))) >> (13UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (13U))))) |
---|
| 4678 | | (((channels_bitfield & (0x1UL << (14U))) >> (14UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (14U))))) |
---|
| 4679 | | (((channels_bitfield & (0x1UL << (15U))) >> (15UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (15U))))) |
---|
| 4680 | | (((channels_bitfield & (0x1UL << (16U))) >> (16UL)) * (((0x10UL << (26U))) | ((0x1UL << (16U))))) |
---|
| 4681 | | (((channels_bitfield & (0x1UL << (17U))) >> (17UL)) * (((0x10UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (17U))))) |
---|
| 4682 | |
---|
| 4683 | | (((channels_bitfield & (0x1UL << (18U))) >> (18UL)) * (((0x10UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (18U))))) |
---|
| 4684 | |
---|
| 4685 | ); |
---|
| 4686 | } |
---|
| 4687 | # 3613 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4688 | static inline void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous) |
---|
| 4689 | { |
---|
| 4690 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (13U))))) | (Continuous)))); |
---|
| 4691 | } |
---|
| 4692 | # 3630 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4693 | static inline uint32_t LL_ADC_REG_GetContinuousMode(const ADC_TypeDef *ADCx) |
---|
| 4694 | { |
---|
| 4695 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (13U))))); |
---|
| 4696 | } |
---|
| 4697 | # 3667 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4698 | static inline void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx, uint32_t DMATransfer) |
---|
| 4699 | { |
---|
| 4700 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (0U)) | (0x1UL << (1U))))) | (DMATransfer)))); |
---|
| 4701 | } |
---|
| 4702 | # 3700 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4703 | static inline uint32_t LL_ADC_REG_GetDMATransfer(const ADC_TypeDef *ADCx) |
---|
| 4704 | { |
---|
| 4705 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (0U)) | (0x1UL << (1U))))); |
---|
| 4706 | } |
---|
| 4707 | # 3724 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4708 | static inline void LL_ADC_REG_SetOverrun(ADC_TypeDef *ADCx, uint32_t Overrun) |
---|
| 4709 | { |
---|
| 4710 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (12U))))) | (Overrun)))); |
---|
| 4711 | } |
---|
| 4712 | # 3738 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4713 | static inline uint32_t LL_ADC_REG_GetOverrun(const ADC_TypeDef *ADCx) |
---|
| 4714 | { |
---|
| 4715 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (12U))))); |
---|
| 4716 | } |
---|
| 4717 | # 3826 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4718 | static inline void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTimeY) |
---|
| 4719 | { |
---|
| 4720 | |
---|
| 4721 | |
---|
| 4722 | (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((Channel << ( 8UL))))) | ((Channel << ( 8UL)) & (SamplingTimeY & (((0x7FFFFUL << (0U))) << ( 8UL))))))); |
---|
| 4723 | |
---|
| 4724 | |
---|
| 4725 | |
---|
| 4726 | } |
---|
| 4727 | # 3895 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4728 | static inline uint32_t LL_ADC_GetChannelSamplingTime(const ADC_TypeDef *ADCx, uint32_t Channel) |
---|
| 4729 | { |
---|
| 4730 | volatile uint32_t smpr = ((ADCx->SMPR)); |
---|
| 4731 | |
---|
| 4732 | |
---|
| 4733 | |
---|
| 4734 | uint32_t smp_channel_posbit0 = ((smpr & (((0x7FFFFUL << (0U))) << ( 8UL))) |
---|
| 4735 | >> ((((Channel & ((0x1FUL << (26U)))) >> (26UL)) |
---|
| 4736 | + ( 8UL)) |
---|
| 4737 | & 0x1FUL)); |
---|
| 4738 | |
---|
| 4739 | |
---|
| 4740 | return ((~(smp_channel_posbit0) * (( 0UL))) |
---|
| 4741 | | (smp_channel_posbit0 * (( 4UL) | (((0x7FFFFUL << (0U))) << ( 8UL))))); |
---|
| 4742 | } |
---|
| 4743 | # 3988 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4744 | static inline void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDChannelGroup) |
---|
| 4745 | { |
---|
| 4746 | |
---|
| 4747 | |
---|
| 4748 | |
---|
| 4749 | |
---|
| 4750 | volatile uint32_t *preg; |
---|
| 4751 | |
---|
| 4752 | if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL))) |
---|
| 4753 | { |
---|
| 4754 | preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((0UL) << 2UL)))); |
---|
| 4755 | } |
---|
| 4756 | else |
---|
| 4757 | { |
---|
| 4758 | preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD2CR)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL)))) >> ((20UL) + 1UL)) << 2UL)))); |
---|
| 4759 | |
---|
| 4760 | } |
---|
| 4761 | |
---|
| 4762 | (((*preg)) = ((((((*preg))) & (~((AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U)))))))) | (AWDChannelGroup & AWDy)))); |
---|
| 4763 | |
---|
| 4764 | |
---|
| 4765 | } |
---|
| 4766 | # 4089 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4767 | static inline uint32_t LL_ADC_GetAnalogWDMonitChannels(const ADC_TypeDef *ADCx, uint32_t AWDy) |
---|
| 4768 | { |
---|
| 4769 | volatile const uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL))) >> (20UL)) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000024UL))) << 2UL)))); |
---|
| 4770 | |
---|
| 4771 | |
---|
| 4772 | |
---|
| 4773 | |
---|
| 4774 | uint32_t analog_wd_monit_channels = (((*preg) & (AWDy)) & AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U))))); |
---|
| 4775 | |
---|
| 4776 | |
---|
| 4777 | |
---|
| 4778 | |
---|
| 4779 | |
---|
| 4780 | if (analog_wd_monit_channels != 0UL) |
---|
| 4781 | { |
---|
| 4782 | if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL))) |
---|
| 4783 | { |
---|
| 4784 | if ((analog_wd_monit_channels & (0x1UL << (22U))) == 0UL) |
---|
| 4785 | { |
---|
| 4786 | |
---|
| 4787 | analog_wd_monit_channels = ((analog_wd_monit_channels |
---|
| 4788 | | (((0x7FFFFUL << (0U)))) |
---|
| 4789 | ) |
---|
| 4790 | & (~((0x1FUL << (26U)))) |
---|
| 4791 | ); |
---|
| 4792 | } |
---|
| 4793 | else |
---|
| 4794 | { |
---|
| 4795 | |
---|
| 4796 | analog_wd_monit_channels = (analog_wd_monit_channels |
---|
| 4797 | | ((0x00001UL << (0U)) << (analog_wd_monit_channels >> (26U))) |
---|
| 4798 | ); |
---|
| 4799 | } |
---|
| 4800 | } |
---|
| 4801 | else |
---|
| 4802 | { |
---|
| 4803 | if ((analog_wd_monit_channels & ((0x7FFFFUL << (0U)))) == ((0x7FFFFUL << (0U)))) |
---|
| 4804 | { |
---|
| 4805 | |
---|
| 4806 | analog_wd_monit_channels = (((0x7FFFFUL << (0U))) |
---|
| 4807 | | ((0x1UL << (23U))) |
---|
| 4808 | ); |
---|
| 4809 | } |
---|
| 4810 | else |
---|
| 4811 | { |
---|
| 4812 | |
---|
| 4813 | |
---|
| 4814 | analog_wd_monit_channels = (analog_wd_monit_channels |
---|
| 4815 | | ((0x1UL << (23U)) | (0x1UL << (22U))) |
---|
| 4816 | | (((((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)) |
---|
| 4817 | ); |
---|
| 4818 | } |
---|
| 4819 | } |
---|
| 4820 | } |
---|
| 4821 | |
---|
| 4822 | return analog_wd_monit_channels; |
---|
| 4823 | } |
---|
| 4824 | # 4208 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4825 | static inline void LL_ADC_ConfigAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdHighValue, |
---|
| 4826 | uint32_t AWDThresholdLowValue) |
---|
| 4827 | { |
---|
| 4828 | |
---|
| 4829 | |
---|
| 4830 | |
---|
| 4831 | |
---|
| 4832 | |
---|
| 4833 | 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)))); |
---|
| 4834 | |
---|
| 4835 | |
---|
| 4836 | |
---|
| 4837 | |
---|
| 4838 | |
---|
| 4839 | |
---|
| 4840 | (((*preg)) = ((((((*preg))) & (~((0xFFFUL << (16U)) | (0xFFFUL << (0U))))) | ((AWDThresholdHighValue << (16UL)) | AWDThresholdLowValue)))); |
---|
| 4841 | |
---|
| 4842 | |
---|
| 4843 | } |
---|
| 4844 | # 4291 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4845 | static inline void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow, |
---|
| 4846 | uint32_t AWDThresholdValue) |
---|
| 4847 | { |
---|
| 4848 | |
---|
| 4849 | |
---|
| 4850 | |
---|
| 4851 | |
---|
| 4852 | |
---|
| 4853 | 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)))); |
---|
| 4854 | |
---|
| 4855 | |
---|
| 4856 | |
---|
| 4857 | |
---|
| 4858 | |
---|
| 4859 | (((*preg)) = ((((((*preg))) & (~(AWDThresholdsHighLow))) | (AWDThresholdValue << ((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL)))))); |
---|
| 4860 | |
---|
| 4861 | |
---|
| 4862 | } |
---|
| 4863 | # 4338 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4864 | static inline uint32_t LL_ADC_GetAnalogWDThresholds(const ADC_TypeDef *ADCx, |
---|
| 4865 | uint32_t AWDy, uint32_t AWDThresholdsHighLow) |
---|
| 4866 | { |
---|
| 4867 | |
---|
| 4868 | |
---|
| 4869 | |
---|
| 4870 | |
---|
| 4871 | |
---|
| 4872 | 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)))); |
---|
| 4873 | |
---|
| 4874 | |
---|
| 4875 | |
---|
| 4876 | |
---|
| 4877 | |
---|
| 4878 | return (uint32_t)(((*preg) & ((AWDThresholdsHighLow | (0xFFFUL << (0U))))) |
---|
| 4879 | |
---|
| 4880 | >> (((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL)) |
---|
| 4881 | & ~(AWDThresholdsHighLow & (0xFFFUL << (0U))))); |
---|
| 4882 | } |
---|
| 4883 | # 4378 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4884 | static inline void LL_ADC_SetOverSamplingScope(ADC_TypeDef *ADCx, uint32_t OvsScope) |
---|
| 4885 | { |
---|
| 4886 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (0U))))) | (OvsScope)))); |
---|
| 4887 | } |
---|
| 4888 | # 4391 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4889 | static inline uint32_t LL_ADC_GetOverSamplingScope(const ADC_TypeDef *ADCx) |
---|
| 4890 | { |
---|
| 4891 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (0U))))); |
---|
| 4892 | } |
---|
| 4893 | # 4414 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4894 | static inline void LL_ADC_SetOverSamplingDiscont(ADC_TypeDef *ADCx, uint32_t OverSamplingDiscont) |
---|
| 4895 | { |
---|
| 4896 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (9U))))) | (OverSamplingDiscont)))); |
---|
| 4897 | } |
---|
| 4898 | # 4433 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4899 | static inline uint32_t LL_ADC_GetOverSamplingDiscont(const ADC_TypeDef *ADCx) |
---|
| 4900 | { |
---|
| 4901 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (9U))))); |
---|
| 4902 | } |
---|
| 4903 | # 4470 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4904 | static inline void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_t Shift) |
---|
| 4905 | { |
---|
| 4906 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~(((0xFUL << (5U)) | (0x7UL << (2U)))))) | ((Shift | Ratio))))); |
---|
| 4907 | } |
---|
| 4908 | # 4489 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4909 | static inline uint32_t LL_ADC_GetOverSamplingRatio(const ADC_TypeDef *ADCx) |
---|
| 4910 | { |
---|
| 4911 | return (uint32_t)(((ADCx->CFGR2) & ((0x7UL << (2U))))); |
---|
| 4912 | } |
---|
| 4913 | # 4509 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4914 | static inline uint32_t LL_ADC_GetOverSamplingShift(const ADC_TypeDef *ADCx) |
---|
| 4915 | { |
---|
| 4916 | return (uint32_t)(((ADCx->CFGR2) & ((0xFUL << (5U))))); |
---|
| 4917 | } |
---|
| 4918 | # 4544 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4919 | static inline void LL_ADC_EnableInternalRegulator(ADC_TypeDef *ADCx) |
---|
| 4920 | { |
---|
| 4921 | |
---|
| 4922 | |
---|
| 4923 | |
---|
| 4924 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (28U)))))); |
---|
| 4925 | |
---|
| 4926 | |
---|
| 4927 | } |
---|
| 4928 | # 4563 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4929 | static inline void LL_ADC_DisableInternalRegulator(ADC_TypeDef *ADCx) |
---|
| 4930 | { |
---|
| 4931 | ((ADCx->CR) &= ~(((0x1UL << (28U)) | ((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))); |
---|
| 4932 | } |
---|
| 4933 | |
---|
| 4934 | |
---|
| 4935 | |
---|
| 4936 | |
---|
| 4937 | |
---|
| 4938 | |
---|
| 4939 | |
---|
| 4940 | static inline uint32_t LL_ADC_IsInternalRegulatorEnabled(const ADC_TypeDef *ADCx) |
---|
| 4941 | { |
---|
| 4942 | return ((((ADCx->CR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
---|
| 4943 | } |
---|
| 4944 | # 4595 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4945 | static inline void LL_ADC_Enable(ADC_TypeDef *ADCx) |
---|
| 4946 | { |
---|
| 4947 | |
---|
| 4948 | |
---|
| 4949 | |
---|
| 4950 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (0U)))))); |
---|
| 4951 | |
---|
| 4952 | |
---|
| 4953 | } |
---|
| 4954 | # 4615 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4955 | static inline void LL_ADC_Disable(ADC_TypeDef *ADCx) |
---|
| 4956 | { |
---|
| 4957 | |
---|
| 4958 | |
---|
| 4959 | |
---|
| 4960 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (1U)))))); |
---|
| 4961 | |
---|
| 4962 | |
---|
| 4963 | } |
---|
| 4964 | # 4634 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4965 | static inline uint32_t LL_ADC_IsEnabled(const ADC_TypeDef *ADCx) |
---|
| 4966 | { |
---|
| 4967 | return ((((ADCx->CR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 4968 | } |
---|
| 4969 | |
---|
| 4970 | |
---|
| 4971 | |
---|
| 4972 | |
---|
| 4973 | |
---|
| 4974 | |
---|
| 4975 | |
---|
| 4976 | static inline uint32_t LL_ADC_IsDisableOngoing(const ADC_TypeDef *ADCx) |
---|
| 4977 | { |
---|
| 4978 | return ((((ADCx->CR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 4979 | } |
---|
| 4980 | # 4678 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 4981 | static inline void LL_ADC_StartCalibration(ADC_TypeDef *ADCx) |
---|
| 4982 | { |
---|
| 4983 | |
---|
| 4984 | |
---|
| 4985 | |
---|
| 4986 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (31U)))))); |
---|
| 4987 | |
---|
| 4988 | |
---|
| 4989 | } |
---|
| 4990 | |
---|
| 4991 | |
---|
| 4992 | |
---|
| 4993 | |
---|
| 4994 | |
---|
| 4995 | |
---|
| 4996 | |
---|
| 4997 | static inline uint32_t LL_ADC_IsCalibrationOnGoing(const ADC_TypeDef *ADCx) |
---|
| 4998 | { |
---|
| 4999 | return ((((ADCx->CR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL); |
---|
| 5000 | } |
---|
| 5001 | # 4725 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5002 | static inline void LL_ADC_REG_StartConversion(ADC_TypeDef *ADCx) |
---|
| 5003 | { |
---|
| 5004 | |
---|
| 5005 | |
---|
| 5006 | |
---|
| 5007 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (2U)))))); |
---|
| 5008 | |
---|
| 5009 | |
---|
| 5010 | } |
---|
| 5011 | # 4745 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5012 | static inline void LL_ADC_REG_StopConversion(ADC_TypeDef *ADCx) |
---|
| 5013 | { |
---|
| 5014 | |
---|
| 5015 | |
---|
| 5016 | |
---|
| 5017 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (4U)))))); |
---|
| 5018 | |
---|
| 5019 | |
---|
| 5020 | } |
---|
| 5021 | |
---|
| 5022 | |
---|
| 5023 | |
---|
| 5024 | |
---|
| 5025 | |
---|
| 5026 | |
---|
| 5027 | |
---|
| 5028 | static inline uint32_t LL_ADC_REG_IsConversionOngoing(const ADC_TypeDef *ADCx) |
---|
| 5029 | { |
---|
| 5030 | return ((((ADCx->CR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
| 5031 | } |
---|
| 5032 | |
---|
| 5033 | |
---|
| 5034 | |
---|
| 5035 | |
---|
| 5036 | |
---|
| 5037 | |
---|
| 5038 | |
---|
| 5039 | static inline uint32_t LL_ADC_REG_IsStopConversionOngoing(const ADC_TypeDef *ADCx) |
---|
| 5040 | { |
---|
| 5041 | return ((((ADCx->CR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
| 5042 | } |
---|
| 5043 | # 4786 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5044 | static inline uint32_t LL_ADC_REG_ReadConversionData32(const ADC_TypeDef *ADCx) |
---|
| 5045 | { |
---|
| 5046 | return (uint32_t)(((ADCx->DR) & ((0xFFFFUL << (0U))))); |
---|
| 5047 | } |
---|
| 5048 | # 4801 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5049 | static inline uint16_t LL_ADC_REG_ReadConversionData12(const ADC_TypeDef *ADCx) |
---|
| 5050 | { |
---|
| 5051 | return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x00000FFFUL); |
---|
| 5052 | } |
---|
| 5053 | # 4816 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5054 | static inline uint16_t LL_ADC_REG_ReadConversionData10(const ADC_TypeDef *ADCx) |
---|
| 5055 | { |
---|
| 5056 | return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000003FFUL); |
---|
| 5057 | } |
---|
| 5058 | # 4831 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5059 | static inline uint8_t LL_ADC_REG_ReadConversionData8(const ADC_TypeDef *ADCx) |
---|
| 5060 | { |
---|
| 5061 | return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000000FFUL); |
---|
| 5062 | } |
---|
| 5063 | # 4846 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5064 | static inline uint8_t LL_ADC_REG_ReadConversionData6(const ADC_TypeDef *ADCx) |
---|
| 5065 | { |
---|
| 5066 | return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x0000003FUL); |
---|
| 5067 | } |
---|
| 5068 | # 4868 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5069 | static inline uint32_t LL_ADC_IsActiveFlag_ADRDY(const ADC_TypeDef *ADCx) |
---|
| 5070 | { |
---|
| 5071 | return ((((ADCx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 5072 | } |
---|
| 5073 | # 4895 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5074 | static inline uint32_t LL_ADC_IsActiveFlag_CCRDY(const ADC_TypeDef *ADCx) |
---|
| 5075 | { |
---|
| 5076 | return ((((ADCx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
---|
| 5077 | } |
---|
| 5078 | |
---|
| 5079 | |
---|
| 5080 | |
---|
| 5081 | |
---|
| 5082 | |
---|
| 5083 | |
---|
| 5084 | |
---|
| 5085 | static inline uint32_t LL_ADC_IsActiveFlag_EOC(const ADC_TypeDef *ADCx) |
---|
| 5086 | { |
---|
| 5087 | return ((((ADCx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
| 5088 | } |
---|
| 5089 | |
---|
| 5090 | |
---|
| 5091 | |
---|
| 5092 | |
---|
| 5093 | |
---|
| 5094 | |
---|
| 5095 | |
---|
| 5096 | static inline uint32_t LL_ADC_IsActiveFlag_EOS(const ADC_TypeDef *ADCx) |
---|
| 5097 | { |
---|
| 5098 | return ((((ADCx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 5099 | } |
---|
| 5100 | |
---|
| 5101 | |
---|
| 5102 | |
---|
| 5103 | |
---|
| 5104 | |
---|
| 5105 | |
---|
| 5106 | |
---|
| 5107 | static inline uint32_t LL_ADC_IsActiveFlag_OVR(const ADC_TypeDef *ADCx) |
---|
| 5108 | { |
---|
| 5109 | return ((((ADCx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
| 5110 | } |
---|
| 5111 | |
---|
| 5112 | |
---|
| 5113 | |
---|
| 5114 | |
---|
| 5115 | |
---|
| 5116 | |
---|
| 5117 | |
---|
| 5118 | static inline uint32_t LL_ADC_IsActiveFlag_EOSMP(const ADC_TypeDef *ADCx) |
---|
| 5119 | { |
---|
| 5120 | return ((((ADCx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 5121 | } |
---|
| 5122 | |
---|
| 5123 | |
---|
| 5124 | |
---|
| 5125 | |
---|
| 5126 | |
---|
| 5127 | |
---|
| 5128 | |
---|
| 5129 | static inline uint32_t LL_ADC_IsActiveFlag_AWD1(const ADC_TypeDef *ADCx) |
---|
| 5130 | { |
---|
| 5131 | return ((((ADCx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
---|
| 5132 | } |
---|
| 5133 | |
---|
| 5134 | |
---|
| 5135 | |
---|
| 5136 | |
---|
| 5137 | |
---|
| 5138 | |
---|
| 5139 | |
---|
| 5140 | static inline uint32_t LL_ADC_IsActiveFlag_AWD2(const ADC_TypeDef *ADCx) |
---|
| 5141 | { |
---|
| 5142 | return ((((ADCx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
| 5143 | } |
---|
| 5144 | |
---|
| 5145 | |
---|
| 5146 | |
---|
| 5147 | |
---|
| 5148 | |
---|
| 5149 | |
---|
| 5150 | |
---|
| 5151 | static inline uint32_t LL_ADC_IsActiveFlag_AWD3(const ADC_TypeDef *ADCx) |
---|
| 5152 | { |
---|
| 5153 | return ((((ADCx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
| 5154 | } |
---|
| 5155 | |
---|
| 5156 | |
---|
| 5157 | |
---|
| 5158 | |
---|
| 5159 | |
---|
| 5160 | |
---|
| 5161 | |
---|
| 5162 | static inline uint32_t LL_ADC_IsActiveFlag_EOCAL(const ADC_TypeDef *ADCx) |
---|
| 5163 | { |
---|
| 5164 | return ((((ADCx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
---|
| 5165 | } |
---|
| 5166 | # 4997 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5167 | static inline void LL_ADC_ClearFlag_ADRDY(ADC_TypeDef *ADCx) |
---|
| 5168 | { |
---|
| 5169 | ((ADCx->ISR) = ((0x1UL << (0U)))); |
---|
| 5170 | } |
---|
| 5171 | |
---|
| 5172 | |
---|
| 5173 | |
---|
| 5174 | |
---|
| 5175 | |
---|
| 5176 | |
---|
| 5177 | |
---|
| 5178 | static inline void LL_ADC_ClearFlag_CCRDY(ADC_TypeDef *ADCx) |
---|
| 5179 | { |
---|
| 5180 | ((ADCx->ISR) = ((0x1UL << (13U)))); |
---|
| 5181 | } |
---|
| 5182 | |
---|
| 5183 | |
---|
| 5184 | |
---|
| 5185 | |
---|
| 5186 | |
---|
| 5187 | |
---|
| 5188 | |
---|
| 5189 | static inline void LL_ADC_ClearFlag_EOC(ADC_TypeDef *ADCx) |
---|
| 5190 | { |
---|
| 5191 | ((ADCx->ISR) = ((0x1UL << (2U)))); |
---|
| 5192 | } |
---|
| 5193 | |
---|
| 5194 | |
---|
| 5195 | |
---|
| 5196 | |
---|
| 5197 | |
---|
| 5198 | |
---|
| 5199 | |
---|
| 5200 | static inline void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx) |
---|
| 5201 | { |
---|
| 5202 | ((ADCx->ISR) = ((0x1UL << (3U)))); |
---|
| 5203 | } |
---|
| 5204 | |
---|
| 5205 | |
---|
| 5206 | |
---|
| 5207 | |
---|
| 5208 | |
---|
| 5209 | |
---|
| 5210 | |
---|
| 5211 | static inline void LL_ADC_ClearFlag_OVR(ADC_TypeDef *ADCx) |
---|
| 5212 | { |
---|
| 5213 | ((ADCx->ISR) = ((0x1UL << (4U)))); |
---|
| 5214 | } |
---|
| 5215 | |
---|
| 5216 | |
---|
| 5217 | |
---|
| 5218 | |
---|
| 5219 | |
---|
| 5220 | |
---|
| 5221 | |
---|
| 5222 | static inline void LL_ADC_ClearFlag_EOSMP(ADC_TypeDef *ADCx) |
---|
| 5223 | { |
---|
| 5224 | ((ADCx->ISR) = ((0x1UL << (1U)))); |
---|
| 5225 | } |
---|
| 5226 | |
---|
| 5227 | |
---|
| 5228 | |
---|
| 5229 | |
---|
| 5230 | |
---|
| 5231 | |
---|
| 5232 | |
---|
| 5233 | static inline void LL_ADC_ClearFlag_AWD1(ADC_TypeDef *ADCx) |
---|
| 5234 | { |
---|
| 5235 | ((ADCx->ISR) = ((0x1UL << (7U)))); |
---|
| 5236 | } |
---|
| 5237 | |
---|
| 5238 | |
---|
| 5239 | |
---|
| 5240 | |
---|
| 5241 | |
---|
| 5242 | |
---|
| 5243 | |
---|
| 5244 | static inline void LL_ADC_ClearFlag_AWD2(ADC_TypeDef *ADCx) |
---|
| 5245 | { |
---|
| 5246 | ((ADCx->ISR) = ((0x1UL << (8U)))); |
---|
| 5247 | } |
---|
| 5248 | |
---|
| 5249 | |
---|
| 5250 | |
---|
| 5251 | |
---|
| 5252 | |
---|
| 5253 | |
---|
| 5254 | |
---|
| 5255 | static inline void LL_ADC_ClearFlag_AWD3(ADC_TypeDef *ADCx) |
---|
| 5256 | { |
---|
| 5257 | ((ADCx->ISR) = ((0x1UL << (9U)))); |
---|
| 5258 | } |
---|
| 5259 | |
---|
| 5260 | |
---|
| 5261 | |
---|
| 5262 | |
---|
| 5263 | |
---|
| 5264 | |
---|
| 5265 | |
---|
| 5266 | static inline void LL_ADC_ClearFlag_EOCAL(ADC_TypeDef *ADCx) |
---|
| 5267 | { |
---|
| 5268 | ((ADCx->ISR) = ((0x1UL << (11U)))); |
---|
| 5269 | } |
---|
| 5270 | # 5115 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5271 | static inline void LL_ADC_EnableIT_ADRDY(ADC_TypeDef *ADCx) |
---|
| 5272 | { |
---|
| 5273 | ((ADCx->IER) |= ((0x1UL << (0U)))); |
---|
| 5274 | } |
---|
| 5275 | |
---|
| 5276 | |
---|
| 5277 | |
---|
| 5278 | |
---|
| 5279 | |
---|
| 5280 | |
---|
| 5281 | |
---|
| 5282 | static inline void LL_ADC_EnableIT_CCRDY(ADC_TypeDef *ADCx) |
---|
| 5283 | { |
---|
| 5284 | ((ADCx->IER) |= ((0x1UL << (13U)))); |
---|
| 5285 | } |
---|
| 5286 | |
---|
| 5287 | |
---|
| 5288 | |
---|
| 5289 | |
---|
| 5290 | |
---|
| 5291 | |
---|
| 5292 | |
---|
| 5293 | static inline void LL_ADC_EnableIT_EOC(ADC_TypeDef *ADCx) |
---|
| 5294 | { |
---|
| 5295 | ((ADCx->IER) |= ((0x1UL << (2U)))); |
---|
| 5296 | } |
---|
| 5297 | |
---|
| 5298 | |
---|
| 5299 | |
---|
| 5300 | |
---|
| 5301 | |
---|
| 5302 | |
---|
| 5303 | |
---|
| 5304 | static inline void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx) |
---|
| 5305 | { |
---|
| 5306 | ((ADCx->IER) |= ((0x1UL << (3U)))); |
---|
| 5307 | } |
---|
| 5308 | |
---|
| 5309 | |
---|
| 5310 | |
---|
| 5311 | |
---|
| 5312 | |
---|
| 5313 | |
---|
| 5314 | |
---|
| 5315 | static inline void LL_ADC_EnableIT_OVR(ADC_TypeDef *ADCx) |
---|
| 5316 | { |
---|
| 5317 | ((ADCx->IER) |= ((0x1UL << (4U)))); |
---|
| 5318 | } |
---|
| 5319 | |
---|
| 5320 | |
---|
| 5321 | |
---|
| 5322 | |
---|
| 5323 | |
---|
| 5324 | |
---|
| 5325 | |
---|
| 5326 | static inline void LL_ADC_EnableIT_EOSMP(ADC_TypeDef *ADCx) |
---|
| 5327 | { |
---|
| 5328 | ((ADCx->IER) |= ((0x1UL << (1U)))); |
---|
| 5329 | } |
---|
| 5330 | |
---|
| 5331 | |
---|
| 5332 | |
---|
| 5333 | |
---|
| 5334 | |
---|
| 5335 | |
---|
| 5336 | |
---|
| 5337 | static inline void LL_ADC_EnableIT_AWD1(ADC_TypeDef *ADCx) |
---|
| 5338 | { |
---|
| 5339 | ((ADCx->IER) |= ((0x1UL << (7U)))); |
---|
| 5340 | } |
---|
| 5341 | |
---|
| 5342 | |
---|
| 5343 | |
---|
| 5344 | |
---|
| 5345 | |
---|
| 5346 | |
---|
| 5347 | |
---|
| 5348 | static inline void LL_ADC_EnableIT_AWD2(ADC_TypeDef *ADCx) |
---|
| 5349 | { |
---|
| 5350 | ((ADCx->IER) |= ((0x1UL << (8U)))); |
---|
| 5351 | } |
---|
| 5352 | |
---|
| 5353 | |
---|
| 5354 | |
---|
| 5355 | |
---|
| 5356 | |
---|
| 5357 | |
---|
| 5358 | |
---|
| 5359 | static inline void LL_ADC_EnableIT_AWD3(ADC_TypeDef *ADCx) |
---|
| 5360 | { |
---|
| 5361 | ((ADCx->IER) |= ((0x1UL << (9U)))); |
---|
| 5362 | } |
---|
| 5363 | |
---|
| 5364 | |
---|
| 5365 | |
---|
| 5366 | |
---|
| 5367 | |
---|
| 5368 | |
---|
| 5369 | |
---|
| 5370 | static inline void LL_ADC_EnableIT_EOCAL(ADC_TypeDef *ADCx) |
---|
| 5371 | { |
---|
| 5372 | ((ADCx->IER) |= ((0x1UL << (11U)))); |
---|
| 5373 | } |
---|
| 5374 | |
---|
| 5375 | |
---|
| 5376 | |
---|
| 5377 | |
---|
| 5378 | |
---|
| 5379 | |
---|
| 5380 | |
---|
| 5381 | static inline void LL_ADC_DisableIT_ADRDY(ADC_TypeDef *ADCx) |
---|
| 5382 | { |
---|
| 5383 | ((ADCx->IER) &= ~((0x1UL << (0U)))); |
---|
| 5384 | } |
---|
| 5385 | |
---|
| 5386 | |
---|
| 5387 | |
---|
| 5388 | |
---|
| 5389 | |
---|
| 5390 | |
---|
| 5391 | |
---|
| 5392 | static inline void LL_ADC_DisableIT_CCRDY(ADC_TypeDef *ADCx) |
---|
| 5393 | { |
---|
| 5394 | ((ADCx->IER) &= ~((0x1UL << (13U)))); |
---|
| 5395 | } |
---|
| 5396 | |
---|
| 5397 | |
---|
| 5398 | |
---|
| 5399 | |
---|
| 5400 | |
---|
| 5401 | |
---|
| 5402 | |
---|
| 5403 | static inline void LL_ADC_DisableIT_EOC(ADC_TypeDef *ADCx) |
---|
| 5404 | { |
---|
| 5405 | ((ADCx->IER) &= ~((0x1UL << (2U)))); |
---|
| 5406 | } |
---|
| 5407 | |
---|
| 5408 | |
---|
| 5409 | |
---|
| 5410 | |
---|
| 5411 | |
---|
| 5412 | |
---|
| 5413 | |
---|
| 5414 | static inline void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx) |
---|
| 5415 | { |
---|
| 5416 | ((ADCx->IER) &= ~((0x1UL << (3U)))); |
---|
| 5417 | } |
---|
| 5418 | |
---|
| 5419 | |
---|
| 5420 | |
---|
| 5421 | |
---|
| 5422 | |
---|
| 5423 | |
---|
| 5424 | |
---|
| 5425 | static inline void LL_ADC_DisableIT_OVR(ADC_TypeDef *ADCx) |
---|
| 5426 | { |
---|
| 5427 | ((ADCx->IER) &= ~((0x1UL << (4U)))); |
---|
| 5428 | } |
---|
| 5429 | |
---|
| 5430 | |
---|
| 5431 | |
---|
| 5432 | |
---|
| 5433 | |
---|
| 5434 | |
---|
| 5435 | |
---|
| 5436 | static inline void LL_ADC_DisableIT_EOSMP(ADC_TypeDef *ADCx) |
---|
| 5437 | { |
---|
| 5438 | ((ADCx->IER) &= ~((0x1UL << (1U)))); |
---|
| 5439 | } |
---|
| 5440 | |
---|
| 5441 | |
---|
| 5442 | |
---|
| 5443 | |
---|
| 5444 | |
---|
| 5445 | |
---|
| 5446 | |
---|
| 5447 | static inline void LL_ADC_DisableIT_AWD1(ADC_TypeDef *ADCx) |
---|
| 5448 | { |
---|
| 5449 | ((ADCx->IER) &= ~((0x1UL << (7U)))); |
---|
| 5450 | } |
---|
| 5451 | |
---|
| 5452 | |
---|
| 5453 | |
---|
| 5454 | |
---|
| 5455 | |
---|
| 5456 | |
---|
| 5457 | |
---|
| 5458 | static inline void LL_ADC_DisableIT_AWD2(ADC_TypeDef *ADCx) |
---|
| 5459 | { |
---|
| 5460 | ((ADCx->IER) &= ~((0x1UL << (8U)))); |
---|
| 5461 | } |
---|
| 5462 | |
---|
| 5463 | |
---|
| 5464 | |
---|
| 5465 | |
---|
| 5466 | |
---|
| 5467 | |
---|
| 5468 | |
---|
| 5469 | static inline void LL_ADC_DisableIT_AWD3(ADC_TypeDef *ADCx) |
---|
| 5470 | { |
---|
| 5471 | ((ADCx->IER) &= ~((0x1UL << (9U)))); |
---|
| 5472 | } |
---|
| 5473 | |
---|
| 5474 | |
---|
| 5475 | |
---|
| 5476 | |
---|
| 5477 | |
---|
| 5478 | |
---|
| 5479 | |
---|
| 5480 | static inline void LL_ADC_DisableIT_EOCAL(ADC_TypeDef *ADCx) |
---|
| 5481 | { |
---|
| 5482 | ((ADCx->IER) &= ~((0x1UL << (11U)))); |
---|
| 5483 | } |
---|
| 5484 | # 5336 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5485 | static inline uint32_t LL_ADC_IsEnabledIT_ADRDY(const ADC_TypeDef *ADCx) |
---|
| 5486 | { |
---|
| 5487 | return ((((ADCx->IER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
---|
| 5488 | } |
---|
| 5489 | |
---|
| 5490 | |
---|
| 5491 | |
---|
| 5492 | |
---|
| 5493 | |
---|
| 5494 | |
---|
| 5495 | |
---|
| 5496 | static inline uint32_t LL_ADC_IsEnabledIT_CCRDY(const ADC_TypeDef *ADCx) |
---|
| 5497 | { |
---|
| 5498 | return ((((ADCx->IER) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
---|
| 5499 | } |
---|
| 5500 | # 5359 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5501 | static inline uint32_t LL_ADC_IsEnabledIT_EOC(const ADC_TypeDef *ADCx) |
---|
| 5502 | { |
---|
| 5503 | return ((((ADCx->IER) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
---|
| 5504 | } |
---|
| 5505 | # 5371 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5506 | static inline uint32_t LL_ADC_IsEnabledIT_EOS(const ADC_TypeDef *ADCx) |
---|
| 5507 | { |
---|
| 5508 | return ((((ADCx->IER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
---|
| 5509 | } |
---|
| 5510 | # 5383 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5511 | static inline uint32_t LL_ADC_IsEnabledIT_OVR(const ADC_TypeDef *ADCx) |
---|
| 5512 | { |
---|
| 5513 | return ((((ADCx->IER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
---|
| 5514 | } |
---|
| 5515 | # 5395 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5516 | static inline uint32_t LL_ADC_IsEnabledIT_EOSMP(const ADC_TypeDef *ADCx) |
---|
| 5517 | { |
---|
| 5518 | return ((((ADCx->IER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
---|
| 5519 | } |
---|
| 5520 | # 5407 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5521 | static inline uint32_t LL_ADC_IsEnabledIT_AWD1(const ADC_TypeDef *ADCx) |
---|
| 5522 | { |
---|
| 5523 | return ((((ADCx->IER) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
---|
| 5524 | } |
---|
| 5525 | # 5419 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5526 | static inline uint32_t LL_ADC_IsEnabledIT_AWD2(const ADC_TypeDef *ADCx) |
---|
| 5527 | { |
---|
| 5528 | return ((((ADCx->IER) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
---|
| 5529 | } |
---|
| 5530 | # 5431 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5531 | static inline uint32_t LL_ADC_IsEnabledIT_AWD3(const ADC_TypeDef *ADCx) |
---|
| 5532 | { |
---|
| 5533 | return ((((ADCx->IER) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
---|
| 5534 | } |
---|
| 5535 | # 5443 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
---|
| 5536 | static inline uint32_t LL_ADC_IsEnabledIT_EOCAL(const ADC_TypeDef *ADCx) |
---|
| 5537 | { |
---|
| 5538 | return ((((ADCx->IER) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
---|
| 5539 | } |
---|
| 5540 | # 32 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2 |
---|
| 5541 | # 49 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5542 | typedef struct |
---|
| 5543 | { |
---|
| 5544 | uint32_t Ratio; |
---|
| 5545 | |
---|
| 5546 | |
---|
| 5547 | uint32_t RightBitShift; |
---|
| 5548 | |
---|
| 5549 | |
---|
| 5550 | uint32_t TriggeredMode; |
---|
| 5551 | |
---|
| 5552 | |
---|
| 5553 | } ADC_OversamplingTypeDef; |
---|
| 5554 | # 79 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5555 | typedef struct |
---|
| 5556 | { |
---|
| 5557 | uint32_t ClockPrescaler; |
---|
| 5558 | # 94 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5559 | uint32_t Resolution; |
---|
| 5560 | |
---|
| 5561 | |
---|
| 5562 | uint32_t DataAlign; |
---|
| 5563 | |
---|
| 5564 | |
---|
| 5565 | |
---|
| 5566 | uint32_t ScanConvMode; |
---|
| 5567 | # 127 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5568 | uint32_t EOCSelection; |
---|
| 5569 | |
---|
| 5570 | |
---|
| 5571 | |
---|
| 5572 | FunctionalState LowPowerAutoWait; |
---|
| 5573 | # 150 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5574 | FunctionalState LowPowerAutoPowerOff; |
---|
| 5575 | |
---|
| 5576 | |
---|
| 5577 | |
---|
| 5578 | |
---|
| 5579 | |
---|
| 5580 | |
---|
| 5581 | FunctionalState ContinuousConvMode; |
---|
| 5582 | |
---|
| 5583 | |
---|
| 5584 | |
---|
| 5585 | |
---|
| 5586 | uint32_t NbrOfConversion; |
---|
| 5587 | # 180 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5588 | FunctionalState DiscontinuousConvMode; |
---|
| 5589 | # 191 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5590 | uint32_t ExternalTrigConv; |
---|
| 5591 | |
---|
| 5592 | |
---|
| 5593 | |
---|
| 5594 | |
---|
| 5595 | |
---|
| 5596 | |
---|
| 5597 | uint32_t ExternalTrigConvEdge; |
---|
| 5598 | |
---|
| 5599 | |
---|
| 5600 | |
---|
| 5601 | FunctionalState DMAContinuousRequests; |
---|
| 5602 | |
---|
| 5603 | |
---|
| 5604 | |
---|
| 5605 | |
---|
| 5606 | |
---|
| 5607 | |
---|
| 5608 | |
---|
| 5609 | uint32_t Overrun; |
---|
| 5610 | # 225 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5611 | uint32_t SamplingTimeCommon1; |
---|
| 5612 | # 243 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5613 | uint32_t SamplingTimeCommon2; |
---|
| 5614 | # 261 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5615 | FunctionalState OversamplingMode; |
---|
| 5616 | |
---|
| 5617 | |
---|
| 5618 | |
---|
| 5619 | |
---|
| 5620 | ADC_OversamplingTypeDef Oversampling; |
---|
| 5621 | |
---|
| 5622 | |
---|
| 5623 | |
---|
| 5624 | uint32_t TriggerFrequencyMode; |
---|
| 5625 | # 281 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5626 | } ADC_InitTypeDef; |
---|
| 5627 | # 292 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5628 | typedef struct |
---|
| 5629 | { |
---|
| 5630 | uint32_t Channel; |
---|
| 5631 | |
---|
| 5632 | |
---|
| 5633 | |
---|
| 5634 | |
---|
| 5635 | |
---|
| 5636 | uint32_t Rank; |
---|
| 5637 | # 313 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5638 | uint32_t SamplingTime; |
---|
| 5639 | # 331 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5640 | } ADC_ChannelConfTypeDef; |
---|
| 5641 | # 341 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5642 | typedef struct |
---|
| 5643 | { |
---|
| 5644 | uint32_t WatchdogNumber; |
---|
| 5645 | |
---|
| 5646 | |
---|
| 5647 | |
---|
| 5648 | |
---|
| 5649 | |
---|
| 5650 | |
---|
| 5651 | uint32_t WatchdogMode; |
---|
| 5652 | |
---|
| 5653 | |
---|
| 5654 | |
---|
| 5655 | |
---|
| 5656 | |
---|
| 5657 | |
---|
| 5658 | uint32_t Channel; |
---|
| 5659 | # 367 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5660 | FunctionalState ITMode; |
---|
| 5661 | |
---|
| 5662 | |
---|
| 5663 | uint32_t HighThreshold; |
---|
| 5664 | # 382 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5665 | uint32_t LowThreshold; |
---|
| 5666 | # 393 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5667 | } ADC_AnalogWDGConfTypeDef; |
---|
| 5668 | # 460 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5669 | typedef struct |
---|
| 5670 | |
---|
| 5671 | { |
---|
| 5672 | ADC_TypeDef *Instance; |
---|
| 5673 | ADC_InitTypeDef Init; |
---|
| 5674 | DMA_HandleTypeDef *DMA_Handle; |
---|
| 5675 | HAL_LockTypeDef Lock; |
---|
| 5676 | volatile uint32_t State; |
---|
| 5677 | volatile uint32_t ErrorCode; |
---|
| 5678 | |
---|
| 5679 | uint32_t ADCGroupRegularSequencerRanks; |
---|
| 5680 | # 485 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5681 | } ADC_HandleTypeDef; |
---|
| 5682 | # 1833 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5683 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" 1 |
---|
| 5684 | # 146 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" |
---|
| 5685 | HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef *hadc); |
---|
| 5686 | uint32_t HAL_ADCEx_Calibration_GetValue(const ADC_HandleTypeDef *hadc); |
---|
| 5687 | HAL_StatusTypeDef HAL_ADCEx_Calibration_SetValue(ADC_HandleTypeDef *hadc, uint32_t CalibrationFactor); |
---|
| 5688 | |
---|
| 5689 | |
---|
| 5690 | void HAL_ADCEx_LevelOutOfWindow2Callback(ADC_HandleTypeDef *hadc); |
---|
| 5691 | void HAL_ADCEx_LevelOutOfWindow3Callback(ADC_HandleTypeDef *hadc); |
---|
| 5692 | void HAL_ADCEx_EndOfSamplingCallback(ADC_HandleTypeDef *hadc); |
---|
| 5693 | void HAL_ADCEx_ChannelConfigReadyCallback(ADC_HandleTypeDef *hadc); |
---|
| 5694 | # 164 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" |
---|
| 5695 | HAL_StatusTypeDef HAL_ADCEx_DisableVoltageRegulator(ADC_HandleTypeDef *hadc); |
---|
| 5696 | # 1834 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2 |
---|
| 5697 | # 1845 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5698 | HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef *hadc); |
---|
| 5699 | HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc); |
---|
| 5700 | void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc); |
---|
| 5701 | void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc); |
---|
| 5702 | # 1867 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5703 | HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef *hadc); |
---|
| 5704 | HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef *hadc); |
---|
| 5705 | HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef *hadc, uint32_t Timeout); |
---|
| 5706 | HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeout); |
---|
| 5707 | |
---|
| 5708 | |
---|
| 5709 | HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef *hadc); |
---|
| 5710 | HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef *hadc); |
---|
| 5711 | |
---|
| 5712 | |
---|
| 5713 | HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef *hadc, uint32_t *pData, uint32_t Length); |
---|
| 5714 | HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef *hadc); |
---|
| 5715 | |
---|
| 5716 | |
---|
| 5717 | uint32_t HAL_ADC_GetValue(const ADC_HandleTypeDef *hadc); |
---|
| 5718 | |
---|
| 5719 | |
---|
| 5720 | void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc); |
---|
| 5721 | void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc); |
---|
| 5722 | void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef *hadc); |
---|
| 5723 | void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef *hadc); |
---|
| 5724 | void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc); |
---|
| 5725 | # 1898 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5726 | HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef *hadc, const ADC_ChannelConfTypeDef *pConfig); |
---|
| 5727 | HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef *hadc, |
---|
| 5728 | const ADC_AnalogWDGConfTypeDef *pAnalogWDGConfig); |
---|
| 5729 | # 1910 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5730 | uint32_t HAL_ADC_GetState(const ADC_HandleTypeDef *hadc); |
---|
| 5731 | uint32_t HAL_ADC_GetError(const ADC_HandleTypeDef *hadc); |
---|
| 5732 | # 1922 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
---|
| 5733 | HAL_StatusTypeDef ADC_ConversionStop(ADC_HandleTypeDef *hadc); |
---|
| 5734 | HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef *hadc); |
---|
| 5735 | HAL_StatusTypeDef ADC_Disable(ADC_HandleTypeDef *hadc); |
---|
| 5736 | # 212 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 5737 | # 224 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
| 5738 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 1 |
---|
| 5739 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
| 5740 | typedef enum |
---|
| 5741 | { |
---|
| 5742 | HAL_CRC_STATE_RESET = 0x00U, |
---|
| 5743 | HAL_CRC_STATE_READY = 0x01U, |
---|
| 5744 | HAL_CRC_STATE_BUSY = 0x02U, |
---|
| 5745 | HAL_CRC_STATE_TIMEOUT = 0x03U, |
---|
| 5746 | HAL_CRC_STATE_ERROR = 0x04U |
---|
| 5747 | } HAL_CRC_StateTypeDef; |
---|
| 5748 | |
---|
| 5749 | |
---|
| 5750 | |
---|
| 5751 | |
---|
| 5752 | typedef struct |
---|
| 5753 | { |
---|
| 5754 | uint8_t DefaultPolynomialUse; |
---|
| 5755 | |
---|
| 5756 | |
---|
| 5757 | |
---|
| 5758 | |
---|
| 5759 | |
---|
| 5760 | uint8_t DefaultInitValueUse; |
---|
| 5761 | |
---|
| 5762 | |
---|
| 5763 | |
---|
| 5764 | |
---|
| 5765 | uint32_t GeneratingPolynomial; |
---|
| 5766 | |
---|
| 5767 | |
---|
| 5768 | |
---|
| 5769 | |
---|
| 5770 | uint32_t CRCLength; |
---|
| 5771 | |
---|
| 5772 | |
---|
| 5773 | |
---|
| 5774 | |
---|
| 5775 | |
---|
| 5776 | |
---|
| 5777 | uint32_t InitValue; |
---|
| 5778 | |
---|
| 5779 | |
---|
| 5780 | uint32_t InputDataInversionMode; |
---|
| 5781 | |
---|
| 5782 | |
---|
| 5783 | |
---|
| 5784 | |
---|
| 5785 | |
---|
| 5786 | |
---|
| 5787 | uint32_t OutputDataInversionMode; |
---|
| 5788 | |
---|
| 5789 | |
---|
| 5790 | |
---|
| 5791 | } CRC_InitTypeDef; |
---|
| 5792 | |
---|
| 5793 | |
---|
| 5794 | |
---|
| 5795 | |
---|
| 5796 | typedef struct |
---|
| 5797 | { |
---|
| 5798 | CRC_TypeDef *Instance; |
---|
| 5799 | |
---|
| 5800 | CRC_InitTypeDef Init; |
---|
| 5801 | |
---|
| 5802 | HAL_LockTypeDef Lock; |
---|
| 5803 | |
---|
| 5804 | volatile HAL_CRC_StateTypeDef State; |
---|
| 5805 | |
---|
| 5806 | uint32_t InputDataFormat; |
---|
| 5807 | |
---|
| 5808 | |
---|
| 5809 | |
---|
| 5810 | |
---|
| 5811 | |
---|
| 5812 | |
---|
| 5813 | |
---|
| 5814 | } CRC_HandleTypeDef; |
---|
| 5815 | # 288 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
| 5816 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h" 1 |
---|
| 5817 | # 127 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h" |
---|
| 5818 | HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set(CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength); |
---|
| 5819 | HAL_StatusTypeDef HAL_CRCEx_Input_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t InputReverseMode); |
---|
| 5820 | HAL_StatusTypeDef HAL_CRCEx_Output_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t OutputReverseMode); |
---|
| 5821 | # 289 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 2 |
---|
| 5822 | # 299 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
| 5823 | HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc); |
---|
| 5824 | HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc); |
---|
| 5825 | void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc); |
---|
| 5826 | void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc); |
---|
| 5827 | # 311 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
| 5828 | uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); |
---|
| 5829 | uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); |
---|
| 5830 | # 321 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
---|
| 5831 | HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc); |
---|
| 5832 | # 225 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 5833 | # 236 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
| 5834 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" 1 |
---|
| 5835 | # 44 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
---|
| 5836 | typedef enum |
---|
| 5837 | { |
---|
| 5838 | HAL_EXTI_COMMON_CB_ID = 0x00U, |
---|
| 5839 | HAL_EXTI_RISING_CB_ID = 0x01U, |
---|
| 5840 | HAL_EXTI_FALLING_CB_ID = 0x02U, |
---|
| 5841 | } EXTI_CallbackIDTypeDef; |
---|
| 5842 | |
---|
| 5843 | |
---|
| 5844 | |
---|
| 5845 | |
---|
| 5846 | |
---|
| 5847 | typedef struct |
---|
| 5848 | { |
---|
| 5849 | uint32_t Line; |
---|
| 5850 | void (* RisingCallback)(void); |
---|
| 5851 | void (* FallingCallback)(void); |
---|
| 5852 | } EXTI_HandleTypeDef; |
---|
| 5853 | |
---|
| 5854 | |
---|
| 5855 | |
---|
| 5856 | |
---|
| 5857 | typedef struct |
---|
| 5858 | { |
---|
| 5859 | uint32_t Line; |
---|
| 5860 | |
---|
| 5861 | uint32_t Mode; |
---|
| 5862 | |
---|
| 5863 | uint32_t Trigger; |
---|
| 5864 | |
---|
| 5865 | uint32_t GPIOSel; |
---|
| 5866 | |
---|
| 5867 | |
---|
| 5868 | } EXTI_ConfigTypeDef; |
---|
| 5869 | # 347 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
---|
| 5870 | HAL_StatusTypeDef HAL_EXTI_SetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig); |
---|
| 5871 | HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig); |
---|
| 5872 | HAL_StatusTypeDef HAL_EXTI_ClearConfigLine(EXTI_HandleTypeDef *hexti); |
---|
| 5873 | HAL_StatusTypeDef HAL_EXTI_RegisterCallback(EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef CallbackID, void (*pPendingCbfn)(void)); |
---|
| 5874 | HAL_StatusTypeDef HAL_EXTI_GetHandle(EXTI_HandleTypeDef *hexti, uint32_t ExtiLine); |
---|
| 5875 | # 361 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
---|
| 5876 | void HAL_EXTI_IRQHandler(EXTI_HandleTypeDef *hexti); |
---|
| 5877 | uint32_t HAL_EXTI_GetPending(EXTI_HandleTypeDef *hexti, uint32_t Edge); |
---|
| 5878 | void HAL_EXTI_ClearPending(EXTI_HandleTypeDef *hexti, uint32_t Edge); |
---|
| 5879 | void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti); |
---|
| 5880 | # 237 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 5881 | |
---|
| 5882 | |
---|
| 5883 | |
---|
| 5884 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 1 |
---|
| 5885 | # 45 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
| 5886 | typedef struct |
---|
| 5887 | { |
---|
| 5888 | uint32_t TypeErase; |
---|
| 5889 | |
---|
| 5890 | uint32_t Banks; |
---|
| 5891 | |
---|
| 5892 | |
---|
| 5893 | uint32_t Page; |
---|
| 5894 | |
---|
| 5895 | uint32_t NbPages; |
---|
| 5896 | |
---|
| 5897 | } FLASH_EraseInitTypeDef; |
---|
| 5898 | |
---|
| 5899 | |
---|
| 5900 | |
---|
| 5901 | |
---|
| 5902 | typedef struct |
---|
| 5903 | { |
---|
| 5904 | uint32_t OptionType; |
---|
| 5905 | |
---|
| 5906 | uint32_t WRPArea; |
---|
| 5907 | |
---|
| 5908 | |
---|
| 5909 | uint32_t WRPStartOffset; |
---|
| 5910 | |
---|
| 5911 | uint32_t WRPEndOffset; |
---|
| 5912 | |
---|
| 5913 | uint32_t RDPLevel; |
---|
| 5914 | |
---|
| 5915 | uint32_t USERType; |
---|
| 5916 | |
---|
| 5917 | uint32_t USERConfig; |
---|
| 5918 | # 131 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
| 5919 | } FLASH_OBProgramInitTypeDef; |
---|
| 5920 | |
---|
| 5921 | |
---|
| 5922 | |
---|
| 5923 | |
---|
| 5924 | typedef struct |
---|
| 5925 | { |
---|
| 5926 | HAL_LockTypeDef Lock; |
---|
| 5927 | uint32_t ErrorCode; |
---|
| 5928 | uint32_t ProcedureOnGoing; |
---|
| 5929 | uint32_t Address; |
---|
| 5930 | uint32_t Banks; |
---|
| 5931 | uint32_t Page; |
---|
| 5932 | uint32_t NbPagesToErase; |
---|
| 5933 | } FLASH_ProcessTypeDef; |
---|
| 5934 | # 804 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
| 5935 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" 1 |
---|
| 5936 | # 64 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" |
---|
| 5937 | HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError); |
---|
| 5938 | HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit); |
---|
| 5939 | void HAL_FLASHEx_EnableDebugger(void); |
---|
| 5940 | void HAL_FLASHEx_DisableDebugger(void); |
---|
| 5941 | uint32_t HAL_FLASHEx_FlashEmptyCheck(void); |
---|
| 5942 | void HAL_FLASHEx_ForceFlashEmpty(uint32_t FlashEmpty); |
---|
| 5943 | |
---|
| 5944 | |
---|
| 5945 | |
---|
| 5946 | HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit); |
---|
| 5947 | void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit); |
---|
| 5948 | # 98 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" |
---|
| 5949 | void FLASH_PageErase(uint32_t Banks, uint32_t Page); |
---|
| 5950 | # 805 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 2 |
---|
| 5951 | |
---|
| 5952 | |
---|
| 5953 | |
---|
| 5954 | |
---|
| 5955 | extern FLASH_ProcessTypeDef pFlash; |
---|
| 5956 | # 823 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
| 5957 | HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
---|
| 5958 | HAL_StatusTypeDef HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
---|
| 5959 | |
---|
| 5960 | void HAL_FLASH_IRQHandler(void); |
---|
| 5961 | |
---|
| 5962 | void HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue); |
---|
| 5963 | void HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue); |
---|
| 5964 | # 838 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
| 5965 | HAL_StatusTypeDef HAL_FLASH_Unlock(void); |
---|
| 5966 | HAL_StatusTypeDef HAL_FLASH_Lock(void); |
---|
| 5967 | |
---|
| 5968 | HAL_StatusTypeDef HAL_FLASH_OB_Unlock(void); |
---|
| 5969 | HAL_StatusTypeDef HAL_FLASH_OB_Lock(void); |
---|
| 5970 | HAL_StatusTypeDef HAL_FLASH_OB_Launch(void); |
---|
| 5971 | # 852 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
| 5972 | uint32_t HAL_FLASH_GetError(void); |
---|
| 5973 | # 865 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
---|
| 5974 | HAL_StatusTypeDef FLASH_WaitForLastOperation(uint32_t Timeout); |
---|
| 5975 | # 241 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 5976 | # 264 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
| 5977 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 1 |
---|
| 5978 | # 267 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
---|
| 5979 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" 1 |
---|
| 5980 | # 563 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" |
---|
| 5981 | void HAL_PWREx_EnableBatteryCharging(uint32_t ResistorSelection); |
---|
| 5982 | void HAL_PWREx_DisableBatteryCharging(void); |
---|
| 5983 | |
---|
| 5984 | |
---|
| 5985 | |
---|
| 5986 | |
---|
| 5987 | void HAL_PWREx_EnableInternalWakeUpLine(void); |
---|
| 5988 | void HAL_PWREx_DisableInternalWakeUpLine(void); |
---|
| 5989 | HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); |
---|
| 5990 | HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); |
---|
| 5991 | HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber); |
---|
| 5992 | HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber); |
---|
| 5993 | void HAL_PWREx_EnablePullUpPullDownConfig(void); |
---|
| 5994 | void HAL_PWREx_DisablePullUpPullDownConfig(void); |
---|
| 5995 | |
---|
| 5996 | |
---|
| 5997 | |
---|
| 5998 | |
---|
| 5999 | void HAL_PWREx_EnableFlashPowerDown(uint32_t PowerMode); |
---|
| 6000 | void HAL_PWREx_DisableFlashPowerDown(uint32_t PowerMode); |
---|
| 6001 | uint32_t HAL_PWREx_GetVoltageRange(void); |
---|
| 6002 | HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling); |
---|
| 6003 | # 604 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" |
---|
| 6004 | void HAL_PWREx_EnableLowPowerRunMode(void); |
---|
| 6005 | HAL_StatusTypeDef HAL_PWREx_DisableLowPowerRunMode(void); |
---|
| 6006 | # 268 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 2 |
---|
| 6007 | # 279 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
---|
| 6008 | void HAL_PWR_DeInit(void); |
---|
| 6009 | # 288 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
---|
| 6010 | void HAL_PWR_EnableBkUpAccess(void); |
---|
| 6011 | void HAL_PWR_DisableBkUpAccess(void); |
---|
| 6012 | |
---|
| 6013 | |
---|
| 6014 | void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinPolarity); |
---|
| 6015 | void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPinx); |
---|
| 6016 | |
---|
| 6017 | |
---|
| 6018 | void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry); |
---|
| 6019 | void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry); |
---|
| 6020 | void HAL_PWR_EnterSTANDBYMode(void); |
---|
| 6021 | void HAL_PWR_EnableSleepOnExit(void); |
---|
| 6022 | void HAL_PWR_DisableSleepOnExit(void); |
---|
| 6023 | void HAL_PWR_EnableSEVOnPend(void); |
---|
| 6024 | void HAL_PWR_DisableSEVOnPend(void); |
---|
| 6025 | # 265 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 6026 | |
---|
| 6027 | |
---|
| 6028 | |
---|
| 6029 | |
---|
| 6030 | |
---|
| 6031 | |
---|
| 6032 | |
---|
| 6033 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 1 |
---|
| 6034 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6035 | typedef enum |
---|
| 6036 | { |
---|
| 6037 | HAL_RTC_STATE_RESET = 0x00U, |
---|
| 6038 | HAL_RTC_STATE_READY = 0x01U, |
---|
| 6039 | HAL_RTC_STATE_BUSY = 0x02U, |
---|
| 6040 | HAL_RTC_STATE_TIMEOUT = 0x03U, |
---|
| 6041 | HAL_RTC_STATE_ERROR = 0x04U |
---|
| 6042 | |
---|
| 6043 | }HAL_RTCStateTypeDef; |
---|
| 6044 | |
---|
| 6045 | |
---|
| 6046 | |
---|
| 6047 | |
---|
| 6048 | typedef struct |
---|
| 6049 | { |
---|
| 6050 | uint32_t HourFormat; |
---|
| 6051 | |
---|
| 6052 | |
---|
| 6053 | uint32_t AsynchPrediv; |
---|
| 6054 | |
---|
| 6055 | |
---|
| 6056 | uint32_t SynchPrediv; |
---|
| 6057 | |
---|
| 6058 | |
---|
| 6059 | uint32_t OutPut; |
---|
| 6060 | |
---|
| 6061 | |
---|
| 6062 | uint32_t OutPutRemap; |
---|
| 6063 | |
---|
| 6064 | |
---|
| 6065 | uint32_t OutPutPolarity; |
---|
| 6066 | |
---|
| 6067 | |
---|
| 6068 | uint32_t OutPutType; |
---|
| 6069 | |
---|
| 6070 | |
---|
| 6071 | uint32_t OutPutPullUp; |
---|
| 6072 | |
---|
| 6073 | }RTC_InitTypeDef; |
---|
| 6074 | |
---|
| 6075 | |
---|
| 6076 | |
---|
| 6077 | |
---|
| 6078 | typedef struct |
---|
| 6079 | { |
---|
| 6080 | uint8_t Hours; |
---|
| 6081 | |
---|
| 6082 | |
---|
| 6083 | |
---|
| 6084 | uint8_t Minutes; |
---|
| 6085 | |
---|
| 6086 | |
---|
| 6087 | uint8_t Seconds; |
---|
| 6088 | |
---|
| 6089 | |
---|
| 6090 | uint8_t TimeFormat; |
---|
| 6091 | |
---|
| 6092 | |
---|
| 6093 | uint32_t SubSeconds; |
---|
| 6094 | |
---|
| 6095 | |
---|
| 6096 | |
---|
| 6097 | uint32_t SecondFraction; |
---|
| 6098 | |
---|
| 6099 | |
---|
| 6100 | |
---|
| 6101 | |
---|
| 6102 | |
---|
| 6103 | uint32_t DayLightSaving; |
---|
| 6104 | |
---|
| 6105 | |
---|
| 6106 | uint32_t StoreOperation; |
---|
| 6107 | |
---|
| 6108 | |
---|
| 6109 | }RTC_TimeTypeDef; |
---|
| 6110 | |
---|
| 6111 | |
---|
| 6112 | |
---|
| 6113 | |
---|
| 6114 | typedef struct |
---|
| 6115 | { |
---|
| 6116 | uint8_t WeekDay; |
---|
| 6117 | |
---|
| 6118 | |
---|
| 6119 | uint8_t Month; |
---|
| 6120 | |
---|
| 6121 | |
---|
| 6122 | uint8_t Date; |
---|
| 6123 | |
---|
| 6124 | |
---|
| 6125 | uint8_t Year; |
---|
| 6126 | |
---|
| 6127 | |
---|
| 6128 | }RTC_DateTypeDef; |
---|
| 6129 | |
---|
| 6130 | |
---|
| 6131 | |
---|
| 6132 | |
---|
| 6133 | typedef struct |
---|
| 6134 | { |
---|
| 6135 | RTC_TimeTypeDef AlarmTime; |
---|
| 6136 | |
---|
| 6137 | uint32_t AlarmMask; |
---|
| 6138 | |
---|
| 6139 | |
---|
| 6140 | uint32_t AlarmSubSecondMask; |
---|
| 6141 | |
---|
| 6142 | |
---|
| 6143 | uint32_t AlarmDateWeekDaySel; |
---|
| 6144 | |
---|
| 6145 | |
---|
| 6146 | uint8_t AlarmDateWeekDay; |
---|
| 6147 | |
---|
| 6148 | |
---|
| 6149 | |
---|
| 6150 | uint32_t Alarm; |
---|
| 6151 | |
---|
| 6152 | }RTC_AlarmTypeDef; |
---|
| 6153 | |
---|
| 6154 | |
---|
| 6155 | |
---|
| 6156 | |
---|
| 6157 | |
---|
| 6158 | |
---|
| 6159 | |
---|
| 6160 | typedef struct |
---|
| 6161 | |
---|
| 6162 | { |
---|
| 6163 | RTC_TypeDef *Instance; |
---|
| 6164 | |
---|
| 6165 | uint32_t TampOffset; |
---|
| 6166 | |
---|
| 6167 | RTC_InitTypeDef Init; |
---|
| 6168 | |
---|
| 6169 | HAL_LockTypeDef Lock; |
---|
| 6170 | |
---|
| 6171 | volatile HAL_RTCStateTypeDef State; |
---|
| 6172 | # 214 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6173 | }RTC_HandleTypeDef; |
---|
| 6174 | # 721 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6175 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" 1 |
---|
| 6176 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
| 6177 | typedef struct |
---|
| 6178 | { |
---|
| 6179 | uint32_t Tamper; |
---|
| 6180 | |
---|
| 6181 | |
---|
| 6182 | uint32_t Trigger; |
---|
| 6183 | |
---|
| 6184 | |
---|
| 6185 | uint32_t NoErase; |
---|
| 6186 | |
---|
| 6187 | |
---|
| 6188 | uint32_t MaskFlag; |
---|
| 6189 | |
---|
| 6190 | |
---|
| 6191 | uint32_t Filter; |
---|
| 6192 | |
---|
| 6193 | |
---|
| 6194 | uint32_t SamplingFrequency; |
---|
| 6195 | |
---|
| 6196 | |
---|
| 6197 | uint32_t PrechargeDuration; |
---|
| 6198 | |
---|
| 6199 | |
---|
| 6200 | uint32_t TamperPullUp; |
---|
| 6201 | |
---|
| 6202 | |
---|
| 6203 | uint32_t TimeStampOnTamperDetection; |
---|
| 6204 | |
---|
| 6205 | }RTC_TamperTypeDef; |
---|
| 6206 | # 84 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
| 6207 | typedef struct |
---|
| 6208 | { |
---|
| 6209 | uint32_t IntTamper; |
---|
| 6210 | |
---|
| 6211 | |
---|
| 6212 | uint32_t TimeStampOnTamperDetection; |
---|
| 6213 | |
---|
| 6214 | } RTC_InternalTamperTypeDef; |
---|
| 6215 | # 890 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
| 6216 | HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); |
---|
| 6217 | HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); |
---|
| 6218 | HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc); |
---|
| 6219 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTimeStamp(RTC_HandleTypeDef *hrtc); |
---|
| 6220 | HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTimeStamp(RTC_HandleTypeDef *hrtc); |
---|
| 6221 | HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format); |
---|
| 6222 | |
---|
| 6223 | void HAL_RTCEx_TimeStampIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
| 6224 | HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
| 6225 | void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6226 | # 910 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
| 6227 | HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); |
---|
| 6228 | HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); |
---|
| 6229 | HAL_StatusTypeDef HAL_RTCEx_DeactivateWakeUpTimer(RTC_HandleTypeDef *hrtc); |
---|
| 6230 | uint32_t HAL_RTCEx_GetWakeUpTimer(RTC_HandleTypeDef *hrtc); |
---|
| 6231 | void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
| 6232 | void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6233 | HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
| 6234 | # 926 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
| 6235 | HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue); |
---|
| 6236 | HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS); |
---|
| 6237 | HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut(RTC_HandleTypeDef *hrtc, uint32_t CalibOutput); |
---|
| 6238 | HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut(RTC_HandleTypeDef *hrtc); |
---|
| 6239 | HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef *hrtc); |
---|
| 6240 | HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef *hrtc); |
---|
| 6241 | HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef *hrtc); |
---|
| 6242 | HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc); |
---|
| 6243 | # 943 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
---|
| 6244 | void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6245 | HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
| 6246 | |
---|
| 6247 | |
---|
| 6248 | |
---|
| 6249 | |
---|
| 6250 | |
---|
| 6251 | |
---|
| 6252 | |
---|
| 6253 | HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper); |
---|
| 6254 | HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper); |
---|
| 6255 | HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper); |
---|
| 6256 | HAL_StatusTypeDef HAL_RTCEx_PollForTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t Tamper, uint32_t Timeout); |
---|
| 6257 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper); |
---|
| 6258 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper_IT(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper); |
---|
| 6259 | HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTamper(RTC_HandleTypeDef *hrtc, uint32_t IntTamper); |
---|
| 6260 | HAL_StatusTypeDef HAL_RTCEx_PollForInternalTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t IntTamper, uint32_t Timeout); |
---|
| 6261 | void HAL_RTCEx_TamperIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
| 6262 | void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6263 | void HAL_RTCEx_Tamper2EventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6264 | void HAL_RTCEx_InternalTamper3EventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6265 | void HAL_RTCEx_InternalTamper4EventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6266 | void HAL_RTCEx_InternalTamper5EventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6267 | void HAL_RTCEx_InternalTamper6EventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6268 | |
---|
| 6269 | |
---|
| 6270 | |
---|
| 6271 | |
---|
| 6272 | |
---|
| 6273 | |
---|
| 6274 | |
---|
| 6275 | void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data); |
---|
| 6276 | uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister); |
---|
| 6277 | # 722 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 2 |
---|
| 6278 | # 732 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6279 | HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc); |
---|
| 6280 | HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc); |
---|
| 6281 | |
---|
| 6282 | void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc); |
---|
| 6283 | void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc); |
---|
| 6284 | # 752 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6285 | HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
---|
| 6286 | HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
---|
| 6287 | HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
---|
| 6288 | HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
---|
| 6289 | # 764 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6290 | HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); |
---|
| 6291 | HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); |
---|
| 6292 | HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm); |
---|
| 6293 | HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format); |
---|
| 6294 | void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc); |
---|
| 6295 | HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
---|
| 6296 | void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc); |
---|
| 6297 | # 779 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6298 | HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef* hrtc); |
---|
| 6299 | # 788 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6300 | HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef *hrtc); |
---|
| 6301 | # 938 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
---|
| 6302 | HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef* hrtc); |
---|
| 6303 | HAL_StatusTypeDef RTC_ExitInitMode(RTC_HandleTypeDef *hrtc); |
---|
| 6304 | uint8_t RTC_ByteToBcd2(uint8_t Value); |
---|
| 6305 | uint8_t RTC_Bcd2ToByte(uint8_t Value); |
---|
| 6306 | # 273 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 6307 | # 284 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
---|
| 6308 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 1 |
---|
| 6309 | # 46 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
| 6310 | typedef struct |
---|
| 6311 | { |
---|
| 6312 | uint32_t Mode; |
---|
| 6313 | |
---|
| 6314 | |
---|
| 6315 | uint32_t Direction; |
---|
| 6316 | |
---|
| 6317 | |
---|
| 6318 | uint32_t DataSize; |
---|
| 6319 | |
---|
| 6320 | |
---|
| 6321 | uint32_t CLKPolarity; |
---|
| 6322 | |
---|
| 6323 | |
---|
| 6324 | uint32_t CLKPhase; |
---|
| 6325 | |
---|
| 6326 | |
---|
| 6327 | uint32_t NSS; |
---|
| 6328 | |
---|
| 6329 | |
---|
| 6330 | |
---|
| 6331 | uint32_t BaudRatePrescaler; |
---|
| 6332 | |
---|
| 6333 | |
---|
| 6334 | |
---|
| 6335 | |
---|
| 6336 | |
---|
| 6337 | uint32_t FirstBit; |
---|
| 6338 | |
---|
| 6339 | |
---|
| 6340 | uint32_t TIMode; |
---|
| 6341 | |
---|
| 6342 | |
---|
| 6343 | uint32_t CRCCalculation; |
---|
| 6344 | |
---|
| 6345 | |
---|
| 6346 | uint32_t CRCPolynomial; |
---|
| 6347 | |
---|
| 6348 | |
---|
| 6349 | uint32_t CRCLength; |
---|
| 6350 | |
---|
| 6351 | |
---|
| 6352 | |
---|
| 6353 | uint32_t NSSPMode; |
---|
| 6354 | |
---|
| 6355 | |
---|
| 6356 | |
---|
| 6357 | |
---|
| 6358 | |
---|
| 6359 | } SPI_InitTypeDef; |
---|
| 6360 | |
---|
| 6361 | |
---|
| 6362 | |
---|
| 6363 | |
---|
| 6364 | typedef enum |
---|
| 6365 | { |
---|
| 6366 | HAL_SPI_STATE_RESET = 0x00U, |
---|
| 6367 | HAL_SPI_STATE_READY = 0x01U, |
---|
| 6368 | HAL_SPI_STATE_BUSY = 0x02U, |
---|
| 6369 | HAL_SPI_STATE_BUSY_TX = 0x03U, |
---|
| 6370 | HAL_SPI_STATE_BUSY_RX = 0x04U, |
---|
| 6371 | HAL_SPI_STATE_BUSY_TX_RX = 0x05U, |
---|
| 6372 | HAL_SPI_STATE_ERROR = 0x06U, |
---|
| 6373 | HAL_SPI_STATE_ABORT = 0x07U |
---|
| 6374 | } HAL_SPI_StateTypeDef; |
---|
| 6375 | |
---|
| 6376 | |
---|
| 6377 | |
---|
| 6378 | |
---|
| 6379 | typedef struct __SPI_HandleTypeDef |
---|
| 6380 | { |
---|
| 6381 | SPI_TypeDef *Instance; |
---|
| 6382 | |
---|
| 6383 | SPI_InitTypeDef Init; |
---|
| 6384 | |
---|
| 6385 | uint8_t *pTxBuffPtr; |
---|
| 6386 | |
---|
| 6387 | uint16_t TxXferSize; |
---|
| 6388 | |
---|
| 6389 | volatile uint16_t TxXferCount; |
---|
| 6390 | |
---|
| 6391 | uint8_t *pRxBuffPtr; |
---|
| 6392 | |
---|
| 6393 | uint16_t RxXferSize; |
---|
| 6394 | |
---|
| 6395 | volatile uint16_t RxXferCount; |
---|
| 6396 | |
---|
| 6397 | uint32_t CRCSize; |
---|
| 6398 | |
---|
| 6399 | void (*RxISR)(struct __SPI_HandleTypeDef *hspi); |
---|
| 6400 | |
---|
| 6401 | void (*TxISR)(struct __SPI_HandleTypeDef *hspi); |
---|
| 6402 | |
---|
| 6403 | DMA_HandleTypeDef *hdmatx; |
---|
| 6404 | |
---|
| 6405 | DMA_HandleTypeDef *hdmarx; |
---|
| 6406 | |
---|
| 6407 | HAL_LockTypeDef Lock; |
---|
| 6408 | |
---|
| 6409 | volatile HAL_SPI_StateTypeDef State; |
---|
| 6410 | |
---|
| 6411 | volatile uint32_t ErrorCode; |
---|
| 6412 | # 162 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
| 6413 | } SPI_HandleTypeDef; |
---|
| 6414 | # 762 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
| 6415 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h" 1 |
---|
| 6416 | # 51 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h" |
---|
| 6417 | HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi); |
---|
| 6418 | # 763 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 2 |
---|
| 6419 | # 773 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
| 6420 | HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi); |
---|
| 6421 | HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi); |
---|
| 6422 | void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi); |
---|
| 6423 | void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi); |
---|
| 6424 | # 792 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
| 6425 | HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
| 6426 | HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
| 6427 | HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size, |
---|
| 6428 | uint32_t Timeout); |
---|
| 6429 | HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
| 6430 | HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
| 6431 | HAL_StatusTypeDef HAL_SPI_TransmitReceive_IT(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, |
---|
| 6432 | uint16_t Size); |
---|
| 6433 | HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
| 6434 | HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
---|
| 6435 | HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, |
---|
| 6436 | uint16_t Size); |
---|
| 6437 | HAL_StatusTypeDef HAL_SPI_DMAPause(SPI_HandleTypeDef *hspi); |
---|
| 6438 | HAL_StatusTypeDef HAL_SPI_DMAResume(SPI_HandleTypeDef *hspi); |
---|
| 6439 | HAL_StatusTypeDef HAL_SPI_DMAStop(SPI_HandleTypeDef *hspi); |
---|
| 6440 | |
---|
| 6441 | HAL_StatusTypeDef HAL_SPI_Abort(SPI_HandleTypeDef *hspi); |
---|
| 6442 | HAL_StatusTypeDef HAL_SPI_Abort_IT(SPI_HandleTypeDef *hspi); |
---|
| 6443 | |
---|
| 6444 | void HAL_SPI_IRQHandler(SPI_HandleTypeDef *hspi); |
---|
| 6445 | void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi); |
---|
| 6446 | void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi); |
---|
| 6447 | void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi); |
---|
| 6448 | void HAL_SPI_TxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
---|
| 6449 | void HAL_SPI_RxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
---|
| 6450 | void HAL_SPI_TxRxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
---|
| 6451 | void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi); |
---|
| 6452 | void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi); |
---|
| 6453 | # 828 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
---|
| 6454 | HAL_SPI_StateTypeDef HAL_SPI_GetState(SPI_HandleTypeDef *hspi); |
---|
| 6455 | uint32_t HAL_SPI_GetError(SPI_HandleTypeDef *hspi); |
---|
| 6456 | # 285 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 6457 | |
---|
| 6458 | |
---|
| 6459 | |
---|
| 6460 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 1 |
---|
| 6461 | # 46 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6462 | typedef struct |
---|
| 6463 | { |
---|
| 6464 | uint32_t Prescaler; |
---|
| 6465 | |
---|
| 6466 | |
---|
| 6467 | uint32_t CounterMode; |
---|
| 6468 | |
---|
| 6469 | |
---|
| 6470 | uint32_t Period; |
---|
| 6471 | |
---|
| 6472 | |
---|
| 6473 | |
---|
| 6474 | uint32_t ClockDivision; |
---|
| 6475 | |
---|
| 6476 | |
---|
| 6477 | uint32_t RepetitionCounter; |
---|
| 6478 | # 72 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6479 | uint32_t AutoReloadPreload; |
---|
| 6480 | |
---|
| 6481 | } TIM_Base_InitTypeDef; |
---|
| 6482 | |
---|
| 6483 | |
---|
| 6484 | |
---|
| 6485 | |
---|
| 6486 | typedef struct |
---|
| 6487 | { |
---|
| 6488 | uint32_t OCMode; |
---|
| 6489 | |
---|
| 6490 | |
---|
| 6491 | uint32_t Pulse; |
---|
| 6492 | |
---|
| 6493 | |
---|
| 6494 | uint32_t OCPolarity; |
---|
| 6495 | |
---|
| 6496 | |
---|
| 6497 | uint32_t OCNPolarity; |
---|
| 6498 | |
---|
| 6499 | |
---|
| 6500 | |
---|
| 6501 | uint32_t OCFastMode; |
---|
| 6502 | |
---|
| 6503 | |
---|
| 6504 | |
---|
| 6505 | |
---|
| 6506 | uint32_t OCIdleState; |
---|
| 6507 | |
---|
| 6508 | |
---|
| 6509 | |
---|
| 6510 | uint32_t OCNIdleState; |
---|
| 6511 | |
---|
| 6512 | |
---|
| 6513 | } TIM_OC_InitTypeDef; |
---|
| 6514 | |
---|
| 6515 | |
---|
| 6516 | |
---|
| 6517 | |
---|
| 6518 | typedef struct |
---|
| 6519 | { |
---|
| 6520 | uint32_t OCMode; |
---|
| 6521 | |
---|
| 6522 | |
---|
| 6523 | uint32_t Pulse; |
---|
| 6524 | |
---|
| 6525 | |
---|
| 6526 | uint32_t OCPolarity; |
---|
| 6527 | |
---|
| 6528 | |
---|
| 6529 | uint32_t OCNPolarity; |
---|
| 6530 | |
---|
| 6531 | |
---|
| 6532 | |
---|
| 6533 | uint32_t OCIdleState; |
---|
| 6534 | |
---|
| 6535 | |
---|
| 6536 | |
---|
| 6537 | uint32_t OCNIdleState; |
---|
| 6538 | |
---|
| 6539 | |
---|
| 6540 | |
---|
| 6541 | uint32_t ICPolarity; |
---|
| 6542 | |
---|
| 6543 | |
---|
| 6544 | uint32_t ICSelection; |
---|
| 6545 | |
---|
| 6546 | |
---|
| 6547 | uint32_t ICFilter; |
---|
| 6548 | |
---|
| 6549 | } TIM_OnePulse_InitTypeDef; |
---|
| 6550 | |
---|
| 6551 | |
---|
| 6552 | |
---|
| 6553 | |
---|
| 6554 | typedef struct |
---|
| 6555 | { |
---|
| 6556 | uint32_t ICPolarity; |
---|
| 6557 | |
---|
| 6558 | |
---|
| 6559 | uint32_t ICSelection; |
---|
| 6560 | |
---|
| 6561 | |
---|
| 6562 | uint32_t ICPrescaler; |
---|
| 6563 | |
---|
| 6564 | |
---|
| 6565 | uint32_t ICFilter; |
---|
| 6566 | |
---|
| 6567 | } TIM_IC_InitTypeDef; |
---|
| 6568 | |
---|
| 6569 | |
---|
| 6570 | |
---|
| 6571 | |
---|
| 6572 | typedef struct |
---|
| 6573 | { |
---|
| 6574 | uint32_t EncoderMode; |
---|
| 6575 | |
---|
| 6576 | |
---|
| 6577 | uint32_t IC1Polarity; |
---|
| 6578 | |
---|
| 6579 | |
---|
| 6580 | uint32_t IC1Selection; |
---|
| 6581 | |
---|
| 6582 | |
---|
| 6583 | uint32_t IC1Prescaler; |
---|
| 6584 | |
---|
| 6585 | |
---|
| 6586 | uint32_t IC1Filter; |
---|
| 6587 | |
---|
| 6588 | |
---|
| 6589 | uint32_t IC2Polarity; |
---|
| 6590 | |
---|
| 6591 | |
---|
| 6592 | uint32_t IC2Selection; |
---|
| 6593 | |
---|
| 6594 | |
---|
| 6595 | uint32_t IC2Prescaler; |
---|
| 6596 | |
---|
| 6597 | |
---|
| 6598 | uint32_t IC2Filter; |
---|
| 6599 | |
---|
| 6600 | } TIM_Encoder_InitTypeDef; |
---|
| 6601 | |
---|
| 6602 | |
---|
| 6603 | |
---|
| 6604 | |
---|
| 6605 | typedef struct |
---|
| 6606 | { |
---|
| 6607 | uint32_t ClockSource; |
---|
| 6608 | |
---|
| 6609 | uint32_t ClockPolarity; |
---|
| 6610 | |
---|
| 6611 | uint32_t ClockPrescaler; |
---|
| 6612 | |
---|
| 6613 | uint32_t ClockFilter; |
---|
| 6614 | |
---|
| 6615 | } TIM_ClockConfigTypeDef; |
---|
| 6616 | |
---|
| 6617 | |
---|
| 6618 | |
---|
| 6619 | |
---|
| 6620 | typedef struct |
---|
| 6621 | { |
---|
| 6622 | uint32_t ClearInputState; |
---|
| 6623 | |
---|
| 6624 | uint32_t ClearInputSource; |
---|
| 6625 | |
---|
| 6626 | uint32_t ClearInputPolarity; |
---|
| 6627 | |
---|
| 6628 | uint32_t ClearInputPrescaler; |
---|
| 6629 | |
---|
| 6630 | |
---|
| 6631 | uint32_t ClearInputFilter; |
---|
| 6632 | |
---|
| 6633 | } TIM_ClearInputConfigTypeDef; |
---|
| 6634 | |
---|
| 6635 | |
---|
| 6636 | |
---|
| 6637 | |
---|
| 6638 | |
---|
| 6639 | |
---|
| 6640 | typedef struct |
---|
| 6641 | { |
---|
| 6642 | uint32_t MasterOutputTrigger; |
---|
| 6643 | |
---|
| 6644 | uint32_t MasterOutputTrigger2; |
---|
| 6645 | |
---|
| 6646 | uint32_t MasterSlaveMode; |
---|
| 6647 | |
---|
| 6648 | |
---|
| 6649 | |
---|
| 6650 | |
---|
| 6651 | |
---|
| 6652 | |
---|
| 6653 | } TIM_MasterConfigTypeDef; |
---|
| 6654 | |
---|
| 6655 | |
---|
| 6656 | |
---|
| 6657 | |
---|
| 6658 | typedef struct |
---|
| 6659 | { |
---|
| 6660 | uint32_t SlaveMode; |
---|
| 6661 | |
---|
| 6662 | uint32_t InputTrigger; |
---|
| 6663 | |
---|
| 6664 | uint32_t TriggerPolarity; |
---|
| 6665 | |
---|
| 6666 | uint32_t TriggerPrescaler; |
---|
| 6667 | |
---|
| 6668 | uint32_t TriggerFilter; |
---|
| 6669 | |
---|
| 6670 | |
---|
| 6671 | } TIM_SlaveConfigTypeDef; |
---|
| 6672 | |
---|
| 6673 | |
---|
| 6674 | |
---|
| 6675 | |
---|
| 6676 | |
---|
| 6677 | |
---|
| 6678 | typedef struct |
---|
| 6679 | { |
---|
| 6680 | uint32_t OffStateRunMode; |
---|
| 6681 | |
---|
| 6682 | uint32_t OffStateIDLEMode; |
---|
| 6683 | |
---|
| 6684 | uint32_t LockLevel; |
---|
| 6685 | |
---|
| 6686 | uint32_t DeadTime; |
---|
| 6687 | |
---|
| 6688 | uint32_t BreakState; |
---|
| 6689 | |
---|
| 6690 | uint32_t BreakPolarity; |
---|
| 6691 | |
---|
| 6692 | uint32_t BreakFilter; |
---|
| 6693 | |
---|
| 6694 | uint32_t BreakAFMode; |
---|
| 6695 | |
---|
| 6696 | uint32_t Break2State; |
---|
| 6697 | |
---|
| 6698 | uint32_t Break2Polarity; |
---|
| 6699 | |
---|
| 6700 | uint32_t Break2Filter; |
---|
| 6701 | |
---|
| 6702 | uint32_t Break2AFMode; |
---|
| 6703 | |
---|
| 6704 | uint32_t AutomaticOutput; |
---|
| 6705 | |
---|
| 6706 | } TIM_BreakDeadTimeConfigTypeDef; |
---|
| 6707 | |
---|
| 6708 | |
---|
| 6709 | |
---|
| 6710 | |
---|
| 6711 | typedef enum |
---|
| 6712 | { |
---|
| 6713 | HAL_TIM_STATE_RESET = 0x00U, |
---|
| 6714 | HAL_TIM_STATE_READY = 0x01U, |
---|
| 6715 | HAL_TIM_STATE_BUSY = 0x02U, |
---|
| 6716 | HAL_TIM_STATE_TIMEOUT = 0x03U, |
---|
| 6717 | HAL_TIM_STATE_ERROR = 0x04U |
---|
| 6718 | } HAL_TIM_StateTypeDef; |
---|
| 6719 | |
---|
| 6720 | |
---|
| 6721 | |
---|
| 6722 | |
---|
| 6723 | typedef enum |
---|
| 6724 | { |
---|
| 6725 | HAL_TIM_CHANNEL_STATE_RESET = 0x00U, |
---|
| 6726 | HAL_TIM_CHANNEL_STATE_READY = 0x01U, |
---|
| 6727 | HAL_TIM_CHANNEL_STATE_BUSY = 0x02U, |
---|
| 6728 | } HAL_TIM_ChannelStateTypeDef; |
---|
| 6729 | |
---|
| 6730 | |
---|
| 6731 | |
---|
| 6732 | |
---|
| 6733 | typedef enum |
---|
| 6734 | { |
---|
| 6735 | HAL_DMA_BURST_STATE_RESET = 0x00U, |
---|
| 6736 | HAL_DMA_BURST_STATE_READY = 0x01U, |
---|
| 6737 | HAL_DMA_BURST_STATE_BUSY = 0x02U, |
---|
| 6738 | } HAL_TIM_DMABurstStateTypeDef; |
---|
| 6739 | |
---|
| 6740 | |
---|
| 6741 | |
---|
| 6742 | |
---|
| 6743 | typedef enum |
---|
| 6744 | { |
---|
| 6745 | HAL_TIM_ACTIVE_CHANNEL_1 = 0x01U, |
---|
| 6746 | HAL_TIM_ACTIVE_CHANNEL_2 = 0x02U, |
---|
| 6747 | HAL_TIM_ACTIVE_CHANNEL_3 = 0x04U, |
---|
| 6748 | HAL_TIM_ACTIVE_CHANNEL_4 = 0x08U, |
---|
| 6749 | HAL_TIM_ACTIVE_CHANNEL_5 = 0x10U, |
---|
| 6750 | HAL_TIM_ACTIVE_CHANNEL_6 = 0x20U, |
---|
| 6751 | HAL_TIM_ACTIVE_CHANNEL_CLEARED = 0x00U |
---|
| 6752 | } HAL_TIM_ActiveChannel; |
---|
| 6753 | |
---|
| 6754 | |
---|
| 6755 | |
---|
| 6756 | |
---|
| 6757 | |
---|
| 6758 | |
---|
| 6759 | |
---|
| 6760 | typedef struct |
---|
| 6761 | |
---|
| 6762 | { |
---|
| 6763 | TIM_TypeDef *Instance; |
---|
| 6764 | TIM_Base_InitTypeDef Init; |
---|
| 6765 | HAL_TIM_ActiveChannel Channel; |
---|
| 6766 | DMA_HandleTypeDef *hdma[7]; |
---|
| 6767 | |
---|
| 6768 | HAL_LockTypeDef Lock; |
---|
| 6769 | volatile HAL_TIM_StateTypeDef State; |
---|
| 6770 | volatile HAL_TIM_ChannelStateTypeDef ChannelState[6]; |
---|
| 6771 | volatile HAL_TIM_ChannelStateTypeDef ChannelNState[4]; |
---|
| 6772 | volatile HAL_TIM_DMABurstStateTypeDef DMABurstState; |
---|
| 6773 | # 397 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6774 | } TIM_HandleTypeDef; |
---|
| 6775 | # 2192 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6776 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" 1 |
---|
| 6777 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6778 | typedef struct |
---|
| 6779 | { |
---|
| 6780 | uint32_t IC1Polarity; |
---|
| 6781 | |
---|
| 6782 | |
---|
| 6783 | uint32_t IC1Prescaler; |
---|
| 6784 | |
---|
| 6785 | |
---|
| 6786 | uint32_t IC1Filter; |
---|
| 6787 | |
---|
| 6788 | |
---|
| 6789 | uint32_t Commutation_Delay; |
---|
| 6790 | |
---|
| 6791 | } TIM_HallSensor_InitTypeDef; |
---|
| 6792 | |
---|
| 6793 | |
---|
| 6794 | |
---|
| 6795 | |
---|
| 6796 | typedef struct |
---|
| 6797 | { |
---|
| 6798 | uint32_t Source; |
---|
| 6799 | |
---|
| 6800 | uint32_t Enable; |
---|
| 6801 | |
---|
| 6802 | uint32_t Polarity; |
---|
| 6803 | |
---|
| 6804 | } TIMEx_BreakInputConfigTypeDef; |
---|
| 6805 | # 338 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6806 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeDef *sConfig); |
---|
| 6807 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim); |
---|
| 6808 | |
---|
| 6809 | void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim); |
---|
| 6810 | void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim); |
---|
| 6811 | |
---|
| 6812 | |
---|
| 6813 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim); |
---|
| 6814 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim); |
---|
| 6815 | |
---|
| 6816 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim); |
---|
| 6817 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim); |
---|
| 6818 | |
---|
| 6819 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length); |
---|
| 6820 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim); |
---|
| 6821 | # 363 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6822 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6823 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6824 | |
---|
| 6825 | |
---|
| 6826 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6827 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6828 | |
---|
| 6829 | |
---|
| 6830 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
| 6831 | uint16_t Length); |
---|
| 6832 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6833 | # 384 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6834 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6835 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6836 | |
---|
| 6837 | |
---|
| 6838 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6839 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6840 | |
---|
| 6841 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
| 6842 | uint16_t Length); |
---|
| 6843 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6844 | # 404 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6845 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6846 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6847 | |
---|
| 6848 | |
---|
| 6849 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6850 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6851 | # 419 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6852 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
---|
| 6853 | uint32_t CommutationSource); |
---|
| 6854 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
---|
| 6855 | uint32_t CommutationSource); |
---|
| 6856 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
---|
| 6857 | uint32_t CommutationSource); |
---|
| 6858 | HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, |
---|
| 6859 | const TIM_MasterConfigTypeDef *sMasterConfig); |
---|
| 6860 | HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, |
---|
| 6861 | const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig); |
---|
| 6862 | HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput, |
---|
| 6863 | const TIMEx_BreakInputConfigTypeDef *sBreakInputConfig); |
---|
| 6864 | HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels); |
---|
| 6865 | HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap); |
---|
| 6866 | HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Channel); |
---|
| 6867 | |
---|
| 6868 | HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput); |
---|
| 6869 | HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(const TIM_HandleTypeDef *htim, uint32_t BreakInput); |
---|
| 6870 | # 446 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6871 | void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim); |
---|
| 6872 | void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
| 6873 | void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim); |
---|
| 6874 | void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim); |
---|
| 6875 | # 459 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6876 | HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim); |
---|
| 6877 | HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t ChannelN); |
---|
| 6878 | # 474 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
---|
| 6879 | void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma); |
---|
| 6880 | void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma); |
---|
| 6881 | # 2193 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 2 |
---|
| 6882 | # 2204 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6883 | HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim); |
---|
| 6884 | HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim); |
---|
| 6885 | void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim); |
---|
| 6886 | void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim); |
---|
| 6887 | |
---|
| 6888 | HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim); |
---|
| 6889 | HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim); |
---|
| 6890 | |
---|
| 6891 | HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim); |
---|
| 6892 | HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim); |
---|
| 6893 | |
---|
| 6894 | HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t Length); |
---|
| 6895 | HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim); |
---|
| 6896 | # 2226 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6897 | HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim); |
---|
| 6898 | HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim); |
---|
| 6899 | void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim); |
---|
| 6900 | void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim); |
---|
| 6901 | |
---|
| 6902 | HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6903 | HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6904 | |
---|
| 6905 | HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6906 | HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6907 | |
---|
| 6908 | HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
| 6909 | uint16_t Length); |
---|
| 6910 | HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6911 | # 2249 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6912 | HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim); |
---|
| 6913 | HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim); |
---|
| 6914 | void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim); |
---|
| 6915 | void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim); |
---|
| 6916 | |
---|
| 6917 | HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6918 | HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6919 | |
---|
| 6920 | HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6921 | HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6922 | |
---|
| 6923 | HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
---|
| 6924 | uint16_t Length); |
---|
| 6925 | HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6926 | # 2272 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6927 | HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim); |
---|
| 6928 | HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim); |
---|
| 6929 | void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim); |
---|
| 6930 | void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim); |
---|
| 6931 | |
---|
| 6932 | HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6933 | HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6934 | |
---|
| 6935 | HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6936 | HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6937 | |
---|
| 6938 | HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); |
---|
| 6939 | HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6940 | # 2294 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6941 | HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode); |
---|
| 6942 | HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim); |
---|
| 6943 | void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim); |
---|
| 6944 | void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim); |
---|
| 6945 | |
---|
| 6946 | HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6947 | HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6948 | |
---|
| 6949 | HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6950 | HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
---|
| 6951 | # 2313 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6952 | HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig); |
---|
| 6953 | HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim); |
---|
| 6954 | void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim); |
---|
| 6955 | void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim); |
---|
| 6956 | |
---|
| 6957 | HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6958 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6959 | |
---|
| 6960 | HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6961 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6962 | |
---|
| 6963 | HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData1, |
---|
| 6964 | uint32_t *pData2, uint16_t Length); |
---|
| 6965 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6966 | # 2336 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6967 | void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim); |
---|
| 6968 | # 2346 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 6969 | HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, |
---|
| 6970 | uint32_t Channel); |
---|
| 6971 | HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, |
---|
| 6972 | uint32_t Channel); |
---|
| 6973 | HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConfig, |
---|
| 6974 | uint32_t Channel); |
---|
| 6975 | HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig, |
---|
| 6976 | uint32_t OutputChannel, uint32_t InputChannel); |
---|
| 6977 | HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, |
---|
| 6978 | const TIM_ClearInputConfigTypeDef *sClearInputConfig, |
---|
| 6979 | uint32_t Channel); |
---|
| 6980 | HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef *sClockSourceConfig); |
---|
| 6981 | HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection); |
---|
| 6982 | HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); |
---|
| 6983 | HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); |
---|
| 6984 | HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
| 6985 | uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, |
---|
| 6986 | uint32_t BurstLength); |
---|
| 6987 | HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
| 6988 | uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, |
---|
| 6989 | uint32_t BurstLength, uint32_t DataLength); |
---|
| 6990 | HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); |
---|
| 6991 | HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
| 6992 | uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength); |
---|
| 6993 | HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
---|
| 6994 | uint32_t BurstRequestSrc, uint32_t *BurstBuffer, |
---|
| 6995 | uint32_t BurstLength, uint32_t DataLength); |
---|
| 6996 | HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); |
---|
| 6997 | HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource); |
---|
| 6998 | uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 6999 | # 2385 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 7000 | void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim); |
---|
| 7001 | void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
| 7002 | void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim); |
---|
| 7003 | void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim); |
---|
| 7004 | void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
| 7005 | void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim); |
---|
| 7006 | void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
| 7007 | void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim); |
---|
| 7008 | void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim); |
---|
| 7009 | void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim); |
---|
| 7010 | # 2412 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 7011 | HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim); |
---|
| 7012 | HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim); |
---|
| 7013 | HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim); |
---|
| 7014 | HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim); |
---|
| 7015 | HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim); |
---|
| 7016 | HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim); |
---|
| 7017 | |
---|
| 7018 | |
---|
| 7019 | HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim); |
---|
| 7020 | HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channel); |
---|
| 7021 | HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim); |
---|
| 7022 | # 2436 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
---|
| 7023 | void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure); |
---|
| 7024 | void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter); |
---|
| 7025 | void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); |
---|
| 7026 | void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, |
---|
| 7027 | uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter); |
---|
| 7028 | |
---|
| 7029 | void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma); |
---|
| 7030 | void TIM_DMAError(DMA_HandleTypeDef *hdma); |
---|
| 7031 | void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma); |
---|
| 7032 | void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma); |
---|
| 7033 | void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState); |
---|
| 7034 | # 289 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 7035 | |
---|
| 7036 | |
---|
| 7037 | |
---|
| 7038 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 1 |
---|
| 7039 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7040 | typedef struct |
---|
| 7041 | { |
---|
| 7042 | uint32_t BaudRate; |
---|
| 7043 | # 65 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7044 | uint32_t WordLength; |
---|
| 7045 | |
---|
| 7046 | |
---|
| 7047 | uint32_t StopBits; |
---|
| 7048 | |
---|
| 7049 | |
---|
| 7050 | uint32_t Parity; |
---|
| 7051 | |
---|
| 7052 | |
---|
| 7053 | |
---|
| 7054 | |
---|
| 7055 | |
---|
| 7056 | |
---|
| 7057 | uint32_t Mode; |
---|
| 7058 | |
---|
| 7059 | |
---|
| 7060 | uint32_t HwFlowCtl; |
---|
| 7061 | |
---|
| 7062 | |
---|
| 7063 | |
---|
| 7064 | uint32_t OverSampling; |
---|
| 7065 | |
---|
| 7066 | |
---|
| 7067 | uint32_t OneBitSampling; |
---|
| 7068 | |
---|
| 7069 | |
---|
| 7070 | |
---|
| 7071 | uint32_t ClockPrescaler; |
---|
| 7072 | |
---|
| 7073 | |
---|
| 7074 | } UART_InitTypeDef; |
---|
| 7075 | |
---|
| 7076 | |
---|
| 7077 | |
---|
| 7078 | |
---|
| 7079 | typedef struct |
---|
| 7080 | { |
---|
| 7081 | uint32_t AdvFeatureInit; |
---|
| 7082 | |
---|
| 7083 | |
---|
| 7084 | |
---|
| 7085 | uint32_t TxPinLevelInvert; |
---|
| 7086 | |
---|
| 7087 | |
---|
| 7088 | uint32_t RxPinLevelInvert; |
---|
| 7089 | |
---|
| 7090 | |
---|
| 7091 | uint32_t DataInvert; |
---|
| 7092 | |
---|
| 7093 | |
---|
| 7094 | |
---|
| 7095 | uint32_t Swap; |
---|
| 7096 | |
---|
| 7097 | |
---|
| 7098 | uint32_t OverrunDisable; |
---|
| 7099 | |
---|
| 7100 | |
---|
| 7101 | uint32_t DMADisableonRxError; |
---|
| 7102 | |
---|
| 7103 | |
---|
| 7104 | uint32_t AutoBaudRateEnable; |
---|
| 7105 | |
---|
| 7106 | |
---|
| 7107 | uint32_t AutoBaudRateMode; |
---|
| 7108 | |
---|
| 7109 | |
---|
| 7110 | |
---|
| 7111 | uint32_t MSBFirst; |
---|
| 7112 | |
---|
| 7113 | } UART_AdvFeatureInitTypeDef; |
---|
| 7114 | # 177 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7115 | typedef uint32_t HAL_UART_StateTypeDef; |
---|
| 7116 | |
---|
| 7117 | |
---|
| 7118 | |
---|
| 7119 | |
---|
| 7120 | typedef enum |
---|
| 7121 | { |
---|
| 7122 | UART_CLOCKSOURCE_PCLK1 = 0x00U, |
---|
| 7123 | UART_CLOCKSOURCE_HSI = 0x02U, |
---|
| 7124 | UART_CLOCKSOURCE_SYSCLK = 0x04U, |
---|
| 7125 | UART_CLOCKSOURCE_LSE = 0x08U, |
---|
| 7126 | UART_CLOCKSOURCE_UNDEFINED = 0x10U |
---|
| 7127 | } UART_ClockSourceTypeDef; |
---|
| 7128 | |
---|
| 7129 | |
---|
| 7130 | |
---|
| 7131 | |
---|
| 7132 | typedef struct __UART_HandleTypeDef |
---|
| 7133 | { |
---|
| 7134 | USART_TypeDef *Instance; |
---|
| 7135 | |
---|
| 7136 | UART_InitTypeDef Init; |
---|
| 7137 | |
---|
| 7138 | UART_AdvFeatureInitTypeDef AdvancedInit; |
---|
| 7139 | |
---|
| 7140 | uint8_t *pTxBuffPtr; |
---|
| 7141 | |
---|
| 7142 | uint16_t TxXferSize; |
---|
| 7143 | |
---|
| 7144 | volatile uint16_t TxXferCount; |
---|
| 7145 | |
---|
| 7146 | uint8_t *pRxBuffPtr; |
---|
| 7147 | |
---|
| 7148 | uint16_t RxXferSize; |
---|
| 7149 | |
---|
| 7150 | volatile uint16_t RxXferCount; |
---|
| 7151 | |
---|
| 7152 | uint16_t Mask; |
---|
| 7153 | |
---|
| 7154 | uint32_t FifoMode; |
---|
| 7155 | |
---|
| 7156 | |
---|
| 7157 | uint16_t NbRxDataToProcess; |
---|
| 7158 | |
---|
| 7159 | uint16_t NbTxDataToProcess; |
---|
| 7160 | |
---|
| 7161 | void (*RxISR)(struct __UART_HandleTypeDef *huart); |
---|
| 7162 | |
---|
| 7163 | void (*TxISR)(struct __UART_HandleTypeDef *huart); |
---|
| 7164 | |
---|
| 7165 | DMA_HandleTypeDef *hdmatx; |
---|
| 7166 | |
---|
| 7167 | DMA_HandleTypeDef *hdmarx; |
---|
| 7168 | |
---|
| 7169 | HAL_LockTypeDef Lock; |
---|
| 7170 | |
---|
| 7171 | volatile HAL_UART_StateTypeDef gState; |
---|
| 7172 | |
---|
| 7173 | |
---|
| 7174 | |
---|
| 7175 | volatile HAL_UART_StateTypeDef RxState; |
---|
| 7176 | |
---|
| 7177 | |
---|
| 7178 | volatile uint32_t ErrorCode; |
---|
| 7179 | # 259 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7180 | } UART_HandleTypeDef; |
---|
| 7181 | # 1489 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7182 | # 1 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" 1 |
---|
| 7183 | # 47 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
| 7184 | typedef struct |
---|
| 7185 | { |
---|
| 7186 | uint32_t WakeUpEvent; |
---|
| 7187 | |
---|
| 7188 | |
---|
| 7189 | |
---|
| 7190 | |
---|
| 7191 | uint16_t AddressLength; |
---|
| 7192 | |
---|
| 7193 | |
---|
| 7194 | uint8_t Address; |
---|
| 7195 | } UART_WakeUpTypeDef; |
---|
| 7196 | # 141 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
| 7197 | HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime, uint32_t DeassertionTime); |
---|
| 7198 | # 151 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
| 7199 | void HAL_UARTEx_WakeupCallback(UART_HandleTypeDef *huart); |
---|
| 7200 | |
---|
| 7201 | void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart); |
---|
| 7202 | void HAL_UARTEx_TxFifoEmptyCallback(UART_HandleTypeDef *huart); |
---|
| 7203 | # 165 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
---|
| 7204 | HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection); |
---|
| 7205 | HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart); |
---|
| 7206 | HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart); |
---|
| 7207 | HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t AddressLength); |
---|
| 7208 | HAL_StatusTypeDef HAL_UARTEx_EnableFifoMode(UART_HandleTypeDef *huart); |
---|
| 7209 | HAL_StatusTypeDef HAL_UARTEx_DisableFifoMode(UART_HandleTypeDef *huart); |
---|
| 7210 | HAL_StatusTypeDef HAL_UARTEx_SetTxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); |
---|
| 7211 | HAL_StatusTypeDef HAL_UARTEx_SetRxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); |
---|
| 7212 | # 1490 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 2 |
---|
| 7213 | # 1502 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7214 | HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart); |
---|
| 7215 | HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart); |
---|
| 7216 | HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLength); |
---|
| 7217 | HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Address, uint32_t WakeUpMethod); |
---|
| 7218 | HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart); |
---|
| 7219 | void HAL_UART_MspInit(UART_HandleTypeDef *huart); |
---|
| 7220 | void HAL_UART_MspDeInit(UART_HandleTypeDef *huart); |
---|
| 7221 | # 1525 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7222 | HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
| 7223 | HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
---|
| 7224 | HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
| 7225 | HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
| 7226 | HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
| 7227 | HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
---|
| 7228 | HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart); |
---|
| 7229 | HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart); |
---|
| 7230 | HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart); |
---|
| 7231 | |
---|
| 7232 | HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart); |
---|
| 7233 | HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart); |
---|
| 7234 | HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart); |
---|
| 7235 | HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart); |
---|
| 7236 | HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart); |
---|
| 7237 | HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart); |
---|
| 7238 | |
---|
| 7239 | void HAL_UART_IRQHandler(UART_HandleTypeDef *huart); |
---|
| 7240 | void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart); |
---|
| 7241 | void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart); |
---|
| 7242 | void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart); |
---|
| 7243 | void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart); |
---|
| 7244 | void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart); |
---|
| 7245 | void HAL_UART_AbortCpltCallback(UART_HandleTypeDef *huart); |
---|
| 7246 | void HAL_UART_AbortTransmitCpltCallback(UART_HandleTypeDef *huart); |
---|
| 7247 | void HAL_UART_AbortReceiveCpltCallback(UART_HandleTypeDef *huart); |
---|
| 7248 | # 1561 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7249 | HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart); |
---|
| 7250 | HAL_StatusTypeDef HAL_MultiProcessor_EnableMuteMode(UART_HandleTypeDef *huart); |
---|
| 7251 | HAL_StatusTypeDef HAL_MultiProcessor_DisableMuteMode(UART_HandleTypeDef *huart); |
---|
| 7252 | void HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart); |
---|
| 7253 | HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter(UART_HandleTypeDef *huart); |
---|
| 7254 | HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart); |
---|
| 7255 | # 1577 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7256 | HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart); |
---|
| 7257 | uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart); |
---|
| 7258 | # 1595 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
---|
| 7259 | HAL_StatusTypeDef UART_SetConfig(UART_HandleTypeDef *huart); |
---|
| 7260 | HAL_StatusTypeDef UART_CheckIdleState(UART_HandleTypeDef *huart); |
---|
| 7261 | HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout); |
---|
| 7262 | void UART_AdvFeatureConfig(UART_HandleTypeDef *huart); |
---|
| 7263 | # 293 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
---|
| 7264 | # 30 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 2 |
---|
| 7265 | # 43 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
| 7266 | typedef enum |
---|
| 7267 | { |
---|
| 7268 | HAL_TICK_FREQ_10HZ = 100U, |
---|
| 7269 | HAL_TICK_FREQ_100HZ = 10U, |
---|
| 7270 | HAL_TICK_FREQ_1KHZ = 1U, |
---|
| 7271 | HAL_TICK_FREQ_DEFAULT = HAL_TICK_FREQ_1KHZ |
---|
| 7272 | } HAL_TickFreqTypeDef; |
---|
| 7273 | # 732 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
| 7274 | HAL_StatusTypeDef HAL_Init(void); |
---|
| 7275 | HAL_StatusTypeDef HAL_DeInit(void); |
---|
| 7276 | void HAL_MspInit(void); |
---|
| 7277 | void HAL_MspDeInit(void); |
---|
| 7278 | HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority); |
---|
| 7279 | # 747 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
| 7280 | void HAL_IncTick(void); |
---|
| 7281 | void HAL_Delay(uint32_t Delay); |
---|
| 7282 | uint32_t HAL_GetTick(void); |
---|
| 7283 | uint32_t HAL_GetTickPrio(void); |
---|
| 7284 | HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq); |
---|
| 7285 | HAL_TickFreqTypeDef HAL_GetTickFreq(void); |
---|
| 7286 | void HAL_SuspendTick(void); |
---|
| 7287 | void HAL_ResumeTick(void); |
---|
| 7288 | uint32_t HAL_GetHalVersion(void); |
---|
| 7289 | uint32_t HAL_GetREVID(void); |
---|
| 7290 | uint32_t HAL_GetDEVID(void); |
---|
| 7291 | uint32_t HAL_GetUIDw0(void); |
---|
| 7292 | uint32_t HAL_GetUIDw1(void); |
---|
| 7293 | uint32_t HAL_GetUIDw2(void); |
---|
| 7294 | # 771 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
| 7295 | void HAL_DBGMCU_EnableDBGStopMode(void); |
---|
| 7296 | void HAL_DBGMCU_DisableDBGStopMode(void); |
---|
| 7297 | void HAL_DBGMCU_EnableDBGStandbyMode(void); |
---|
| 7298 | void HAL_DBGMCU_DisableDBGStandbyMode(void); |
---|
| 7299 | # 784 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
| 7300 | extern volatile uint32_t uwTick; |
---|
| 7301 | extern uint32_t uwTickPrio; |
---|
| 7302 | extern HAL_TickFreqTypeDef uwTickFreq; |
---|
| 7303 | # 805 "D:/projekte/ecs_smartSwitch/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
---|
| 7304 | void HAL_SYSCFG_EnableIOAnalogSwitchBooster(void); |
---|
| 7305 | void HAL_SYSCFG_DisableIOAnalogSwitchBooster(void); |
---|
| 7306 | void HAL_SYSCFG_EnableRemap(uint32_t PinRemap); |
---|
| 7307 | void HAL_SYSCFG_DisableRemap(uint32_t PinRemap); |
---|
| 7308 | |
---|
| 7309 | |
---|
| 7310 | |
---|
| 7311 | |
---|
| 7312 | |
---|
| 7313 | void HAL_SYSCFG_StrobeDBattpinsConfig(uint32_t ConfigDeadBattery); |
---|
| 7314 | # 32 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\main.h" 2 |
---|
| 7315 | # 55 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\main.h" |
---|
| 7316 | void Error_Handler(void); |
---|
| 7317 | # 133 "D:/projekte/ecs_smartSwitch/trunk/firmware/Inc\\main.h" |
---|
| 7318 | enum SOC_CALC_MODE{ |
---|
| 7319 | SOC_CALC_MODE_AH_RATED, |
---|
| 7320 | SOC_CALC_MODE_AH_AUTO, |
---|
| 7321 | SOC_CALC_MODE_WH_RATED, |
---|
| 7322 | SOC_CALC_MODE_WH_AUTO, |
---|
| 7323 | SOC_CALC_MODE_WH_AUTO_TEMP, |
---|
| 7324 | }; |
---|
| 7325 | |
---|
| 7326 | typedef union error_message_t |
---|
| 7327 | { |
---|
| 7328 | char msg[sizeof(uint64_t)]; |
---|
| 7329 | uint64_t number; |
---|
| 7330 | } error_message_t; |
---|
| 7331 | # 13 "D:\\projekte\\ecs_smartSwitch\\trunk\\firmware\\Src\\template.c" 2 |
---|
| 7332 | |
---|