| [26] | 1 | # 1 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\rtc.c" |
|---|
| [6] | 2 | # 1 "<built-in>" 1 |
|---|
| 3 | # 1 "<built-in>" 3 |
|---|
| 4 | # 380 "<built-in>" 3 |
|---|
| 5 | # 1 "<command line>" 1 |
|---|
| 6 | # 1 "<built-in>" 2 |
|---|
| [26] | 7 | # 1 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\rtc.c" 2 |
|---|
| 8 | # 21 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\rtc.c" |
|---|
| 9 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\rtc.h" 1 |
|---|
| 10 | # 27 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\rtc.h" |
|---|
| 11 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h" 1 |
|---|
| 12 | # 31 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h" |
|---|
| 13 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1 |
|---|
| 14 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
|---|
| 15 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 1 |
|---|
| 16 | # 195 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
|---|
| 17 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 1 |
|---|
| 18 | # 27 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
|---|
| 19 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 1 |
|---|
| 20 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" |
|---|
| 21 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 1 |
|---|
| 22 | # 119 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
|---|
| 23 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 1 |
|---|
| 24 | # 69 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
|---|
| [6] | 25 | typedef enum |
|---|
| 26 | { |
|---|
| 27 | |
|---|
| 28 | NonMaskableInt_IRQn = -14, |
|---|
| 29 | HardFault_IRQn = -13, |
|---|
| 30 | SVCall_IRQn = -5, |
|---|
| 31 | PendSV_IRQn = -2, |
|---|
| 32 | SysTick_IRQn = -1, |
|---|
| 33 | |
|---|
| 34 | WWDG_IRQn = 0, |
|---|
| 35 | RTC_TAMP_IRQn = 2, |
|---|
| 36 | FLASH_IRQn = 3, |
|---|
| 37 | RCC_IRQn = 4, |
|---|
| 38 | EXTI0_1_IRQn = 5, |
|---|
| 39 | EXTI2_3_IRQn = 6, |
|---|
| 40 | EXTI4_15_IRQn = 7, |
|---|
| 41 | DMA1_Channel1_IRQn = 9, |
|---|
| 42 | DMA1_Channel2_3_IRQn = 10, |
|---|
| 43 | DMA1_Ch4_7_DMAMUX1_OVR_IRQn = 11, |
|---|
| 44 | ADC1_IRQn = 12, |
|---|
| 45 | TIM1_BRK_UP_TRG_COM_IRQn = 13, |
|---|
| 46 | TIM1_CC_IRQn = 14, |
|---|
| 47 | TIM3_IRQn = 16, |
|---|
| 48 | TIM6_IRQn = 17, |
|---|
| 49 | TIM7_IRQn = 18, |
|---|
| 50 | TIM14_IRQn = 19, |
|---|
| 51 | TIM15_IRQn = 20, |
|---|
| 52 | TIM16_IRQn = 21, |
|---|
| 53 | TIM17_IRQn = 22, |
|---|
| 54 | I2C1_IRQn = 23, |
|---|
| 55 | I2C2_IRQn = 24, |
|---|
| 56 | SPI1_IRQn = 25, |
|---|
| 57 | SPI2_IRQn = 26, |
|---|
| 58 | USART1_IRQn = 27, |
|---|
| 59 | USART2_IRQn = 28, |
|---|
| 60 | USART3_4_IRQn = 29, |
|---|
| 61 | } IRQn_Type; |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | |
|---|
| [26] | 67 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 1 |
|---|
| 68 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 69 | |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | |
|---|
| 73 | |
|---|
| 74 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 1 3 |
|---|
| 75 | # 20 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3 |
|---|
| 76 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 1 3 |
|---|
| 77 | # 17 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
|---|
| 78 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 1 3 |
|---|
| 79 | # 67 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 3 |
|---|
| 80 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 1 3 |
|---|
| 81 | # 35 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 3 |
|---|
| 82 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 1 3 |
|---|
| 83 | # 748 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
|---|
| 84 | static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_PARTIAL_WORD_func(char *addr, unsigned w, int n) { |
|---|
| 85 | switch (n) { |
|---|
| 86 | default: addr[3] = (-1) > 0 ? w : w >> 24; |
|---|
| 87 | case 3: addr[2] = (-1) > 0 ? w >> 8 : w >> 16; |
|---|
| 88 | case 2: addr[1] = (-1) > 0 ? w >> 16 : w >> 8; |
|---|
| 89 | case 1: addr[0] = (-1) > 0 ? w >> 24 : w; |
|---|
| 90 | case 0: ; |
|---|
| 91 | } |
|---|
| 92 | } |
|---|
| 93 | |
|---|
| 94 | static __inline__ __attribute__((__always_inline__)) void __SEGGER_RTL_WR_WORD_func(char *addr, unsigned w) { |
|---|
| 95 | __SEGGER_RTL_WR_PARTIAL_WORD_func(addr, w, 4); |
|---|
| 96 | } |
|---|
| 97 | |
|---|
| 98 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_RD_WORD_func(const void *addr) { |
|---|
| 99 | const unsigned char *pAddr = (const unsigned char *)addr; |
|---|
| 100 | |
|---|
| 101 | return pAddr[0] * ((-1) > 0 ? 0x1000000u : 0x1u) + |
|---|
| 102 | pAddr[1] * ((-1) > 0 ? 0x10000u : 0x100u) + |
|---|
| 103 | pAddr[2] * ((-1) > 0 ? 0x100u : 0x10000u) + |
|---|
| 104 | pAddr[3] * ((-1) > 0 ? 0x1u : 0x1000000u); |
|---|
| 105 | } |
|---|
| 106 | |
|---|
| 107 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_BYTE_PATTERN_func(unsigned x) { |
|---|
| 108 | return x * 0x01010101uL; |
|---|
| 109 | } |
|---|
| 110 | |
|---|
| 111 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_HEAD_func(const void *pOrigin, unsigned Word, unsigned Standin) { |
|---|
| 112 | unsigned Mask; |
|---|
| 113 | unsigned Fill; |
|---|
| 114 | |
|---|
| 115 | (void)pOrigin; |
|---|
| 116 | |
|---|
| 117 | Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin); |
|---|
| 118 | # 792 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
|---|
| 119 | Mask = 0xFFFFFFFFu; |
|---|
| 120 | Mask <<= 8 * (((unsigned)(pOrigin)) & 3u); |
|---|
| 121 | |
|---|
| 122 | return (Word & Mask) | (Fill & ~Mask); |
|---|
| 123 | |
|---|
| 124 | |
|---|
| 125 | } |
|---|
| 126 | |
|---|
| 127 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_FILL_TAIL_func(unsigned n, unsigned Word, unsigned Standin) { |
|---|
| 128 | unsigned Mask; |
|---|
| 129 | unsigned Fill; |
|---|
| 130 | # 817 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
|---|
| 131 | if (n >= 4) { |
|---|
| 132 | return Word; |
|---|
| 133 | } else { |
|---|
| 134 | Fill = __SEGGER_RTL_BYTE_PATTERN_func(Standin); |
|---|
| 135 | Mask = 0xFFFFFFFFu << (8 * n); |
|---|
| 136 | |
|---|
| 137 | return (Fill & Mask) | (Word & ~Mask); |
|---|
| 138 | } |
|---|
| 139 | |
|---|
| 140 | |
|---|
| 141 | } |
|---|
| 142 | |
|---|
| 143 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_CHECK_func(unsigned x) { |
|---|
| 144 | |
|---|
| 145 | |
|---|
| 146 | |
|---|
| 147 | |
|---|
| 148 | |
|---|
| 149 | |
|---|
| 150 | |
|---|
| 151 | return ((x-0x01010101u) & ~x & 0x80808080u); |
|---|
| 152 | |
|---|
| 153 | |
|---|
| 154 | } |
|---|
| 155 | |
|---|
| 156 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_INDEX_func(unsigned x, unsigned y) { |
|---|
| 157 | # 866 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
|---|
| 158 | if ((x & 0x000000FFuL) != (y & 0x000000FFuL)) { return 0; } |
|---|
| 159 | if ((x & 0x0000FF00uL) != (y & 0x0000FF00uL)) { return 1; } |
|---|
| 160 | if ((x & 0x00FF0000uL) != (y & 0x00FF0000uL)) { return 2; } |
|---|
| 161 | if ((x & 0xFF000000uL) != (y & 0xFF000000uL)) { return 3; } |
|---|
| 162 | return 4; |
|---|
| 163 | |
|---|
| 164 | |
|---|
| 165 | } |
|---|
| 166 | |
|---|
| 167 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_DIFF_BYTE_func(unsigned x, int Index) { |
|---|
| 168 | |
|---|
| 169 | |
|---|
| 170 | |
|---|
| 171 | return (x >> (8*Index)) & 0xFF; |
|---|
| 172 | |
|---|
| 173 | } |
|---|
| 174 | |
|---|
| 175 | static __inline__ __attribute__((__always_inline__)) unsigned __SEGGER_RTL_ZBYTE_INDEX_func(unsigned x) { |
|---|
| 176 | # 919 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
|---|
| 177 | if ((x & 0x000000FFuL) == 0) { return 0; } |
|---|
| 178 | if ((x & 0x0000FF00uL) == 0) { return 1; } |
|---|
| 179 | if ((x & 0x00FF0000uL) == 0) { return 2; } |
|---|
| 180 | if ((x & 0xFF000000uL) == 0) { return 3; } |
|---|
| 181 | return 4; |
|---|
| 182 | |
|---|
| 183 | |
|---|
| 184 | } |
|---|
| 185 | |
|---|
| 186 | static __inline__ __attribute__((__always_inline__)) _Bool __SEGGER_RTL_atomic_is_lock_free(unsigned size, const volatile void *ptr) { |
|---|
| 187 | switch (size) { |
|---|
| 188 | case 1: return 1; |
|---|
| 189 | case 2: return ((unsigned)ptr & 1) == 0; |
|---|
| 190 | case 4: return ((unsigned)ptr & 3) == 0; |
|---|
| 191 | default: return 0; |
|---|
| 192 | } |
|---|
| 193 | } |
|---|
| 194 | # 946 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Arm_Conf.h" 3 |
|---|
| 195 | extern const int __aeabi_SIGABRT; |
|---|
| 196 | extern const int __aeabi_SIGINT; |
|---|
| 197 | extern const int __aeabi_SIGILL; |
|---|
| 198 | extern const int __aeabi_SIGFPE; |
|---|
| 199 | extern const int __aeabi_SIGSEGV; |
|---|
| 200 | extern const int __aeabi_SIGTERM; |
|---|
| 201 | |
|---|
| 202 | void __aeabi_SIG_DFL(int sig); |
|---|
| 203 | void __aeabi_SIG_IGN(int sig); |
|---|
| 204 | void __aeabi_SIG_ERR(int sig); |
|---|
| 205 | # 36 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_Conf.h" 2 3 |
|---|
| 206 | # 68 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL_ConfDefaults.h" 2 3 |
|---|
| 207 | # 18 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 2 3 |
|---|
| 208 | # 38 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
|---|
| 209 | typedef struct __SEGGER_RTL_FILE_impl __SEGGER_RTL_FILE; |
|---|
| 210 | |
|---|
| 211 | |
|---|
| 212 | typedef struct __SEGGER_RTL_locale_data_s __SEGGER_RTL_locale_t; |
|---|
| 213 | typedef struct __SEGGER_RTL_locale_codeset_s __SEGGER_RTL_locale_codeset_t; |
|---|
| 214 | |
|---|
| 215 | typedef struct { |
|---|
| 216 | |
|---|
| 217 | |
|---|
| 218 | |
|---|
| 219 | const char * decimal_point; |
|---|
| 220 | const char * thousands_sep; |
|---|
| 221 | const char * grouping; |
|---|
| 222 | |
|---|
| 223 | const char * int_curr_symbol; |
|---|
| 224 | const char * currency_symbol; |
|---|
| 225 | const char * mon_decimal_point; |
|---|
| 226 | const char * mon_thousands_sep; |
|---|
| 227 | const char * mon_grouping; |
|---|
| 228 | const char * positive_sign; |
|---|
| 229 | const char * negative_sign; |
|---|
| 230 | |
|---|
| 231 | char int_frac_digits; |
|---|
| 232 | char frac_digits; |
|---|
| 233 | char p_cs_precedes; |
|---|
| 234 | char p_sep_by_space; |
|---|
| 235 | char n_cs_precedes; |
|---|
| 236 | char n_sep_by_space; |
|---|
| 237 | char p_sign_posn; |
|---|
| 238 | char n_sign_posn; |
|---|
| 239 | char int_p_cs_precedes; |
|---|
| 240 | char int_n_cs_precedes; |
|---|
| 241 | char int_p_sep_by_space; |
|---|
| 242 | char int_n_sep_by_space; |
|---|
| 243 | char int_p_sign_posn; |
|---|
| 244 | char int_n_sign_posn; |
|---|
| 245 | |
|---|
| 246 | |
|---|
| 247 | |
|---|
| 248 | |
|---|
| 249 | const char *day_names; |
|---|
| 250 | const char *abbrev_day_names; |
|---|
| 251 | const char *month_names; |
|---|
| 252 | const char *abbrev_month_names; |
|---|
| 253 | const char *am_pm_indicator; |
|---|
| 254 | const char *date_format; |
|---|
| 255 | const char *time_format; |
|---|
| 256 | const char *date_time_format; |
|---|
| 257 | } __SEGGER_RTL_locale_data_t; |
|---|
| 258 | |
|---|
| 259 | struct __SEGGER_RTL_locale_data_s { |
|---|
| 260 | const char * name; |
|---|
| 261 | const __SEGGER_RTL_locale_data_t * data; |
|---|
| 262 | const __SEGGER_RTL_locale_codeset_t * codeset; |
|---|
| 263 | }; |
|---|
| 264 | |
|---|
| 265 | struct __SEGGER_RTL_POSIX_locale_s { |
|---|
| 266 | const __SEGGER_RTL_locale_t *__category[5]; |
|---|
| 267 | }; |
|---|
| 268 | |
|---|
| 269 | struct timeval; |
|---|
| 270 | # 107 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
|---|
| 271 | extern struct __SEGGER_RTL_POSIX_locale_s __SEGGER_RTL_global_locale; |
|---|
| 272 | extern struct __SEGGER_RTL_POSIX_locale_s * __SEGGER_RTL_locale_ptr; |
|---|
| 273 | extern char * __SEGGER_RTL_locale_name_buffer; |
|---|
| 274 | # 118 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
|---|
| 275 | extern const __SEGGER_RTL_locale_t __SEGGER_RTL_c_locale; |
|---|
| 276 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_1; |
|---|
| 277 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_2; |
|---|
| 278 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_3; |
|---|
| 279 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_4; |
|---|
| 280 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_5; |
|---|
| 281 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_6; |
|---|
| 282 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_7; |
|---|
| 283 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_8; |
|---|
| 284 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_9; |
|---|
| 285 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_10; |
|---|
| 286 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_11; |
|---|
| 287 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_13; |
|---|
| 288 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_14; |
|---|
| 289 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_15; |
|---|
| 290 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_iso8859_16; |
|---|
| 291 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1250; |
|---|
| 292 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1251; |
|---|
| 293 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1252; |
|---|
| 294 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1253; |
|---|
| 295 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1254; |
|---|
| 296 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1255; |
|---|
| 297 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1256; |
|---|
| 298 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1257; |
|---|
| 299 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_cp1258; |
|---|
| 300 | |
|---|
| 301 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_c_locale_data; |
|---|
| 302 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_DJ_locale; |
|---|
| 303 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ER_locale; |
|---|
| 304 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_aa_ET_locale; |
|---|
| 305 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_NA_locale; |
|---|
| 306 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_af_ZA_locale; |
|---|
| 307 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ak_GH_locale; |
|---|
| 308 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_am_ET_locale; |
|---|
| 309 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_AE_locale; |
|---|
| 310 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_BH_locale; |
|---|
| 311 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_DZ_locale; |
|---|
| 312 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_EG_locale; |
|---|
| 313 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_IQ_locale; |
|---|
| 314 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_JO_locale; |
|---|
| 315 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_KW_locale; |
|---|
| 316 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LB_locale; |
|---|
| 317 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_LY_locale; |
|---|
| 318 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_MA_locale; |
|---|
| 319 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_OM_locale; |
|---|
| 320 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_QA_locale; |
|---|
| 321 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SA_locale; |
|---|
| 322 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SD_locale; |
|---|
| 323 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_SY_locale; |
|---|
| 324 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_TN_locale; |
|---|
| 325 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ar_YE_locale; |
|---|
| 326 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_as_IN_locale; |
|---|
| 327 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_asa_TZ_locale; |
|---|
| 328 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Arab_IR_locale; |
|---|
| 329 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_AZ_locale; |
|---|
| 330 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Cyrl_AZ_locale; |
|---|
| 331 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_IR_locale; |
|---|
| 332 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_az_Latn_AZ_locale; |
|---|
| 333 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_be_BY_locale; |
|---|
| 334 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bem_ZM_locale; |
|---|
| 335 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bez_TZ_locale; |
|---|
| 336 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bg_BG_locale; |
|---|
| 337 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bm_ML_locale; |
|---|
| 338 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_BD_locale; |
|---|
| 339 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bn_IN_locale; |
|---|
| 340 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_CN_locale; |
|---|
| 341 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bo_IN_locale; |
|---|
| 342 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_br_FR_locale; |
|---|
| 343 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_brx_IN_locale; |
|---|
| 344 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_bs_BA_locale; |
|---|
| 345 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_byn_ER_locale; |
|---|
| 346 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ca_ES_locale; |
|---|
| 347 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cch_NG_locale; |
|---|
| 348 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cgg_UG_locale; |
|---|
| 349 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_chr_US_locale; |
|---|
| 350 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cs_CZ_locale; |
|---|
| 351 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_cy_GB_locale; |
|---|
| 352 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_da_DK_locale; |
|---|
| 353 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dav_KE_locale; |
|---|
| 354 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_AT_locale; |
|---|
| 355 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_BE_locale; |
|---|
| 356 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_CH_locale; |
|---|
| 357 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_DE_locale; |
|---|
| 358 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LI_locale; |
|---|
| 359 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_de_LU_locale; |
|---|
| 360 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dv_MV_locale; |
|---|
| 361 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_dz_BT_locale; |
|---|
| 362 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ebu_KE_locale; |
|---|
| 363 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_GH_locale; |
|---|
| 364 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ee_TG_locale; |
|---|
| 365 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_CY_locale; |
|---|
| 366 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_el_GR_locale; |
|---|
| 367 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AS_locale; |
|---|
| 368 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_AU_locale; |
|---|
| 369 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BE_locale; |
|---|
| 370 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BW_locale; |
|---|
| 371 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_BZ_locale; |
|---|
| 372 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_CA_locale; |
|---|
| 373 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_Dsrt_US_locale; |
|---|
| 374 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GB_locale; |
|---|
| 375 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_GU_locale; |
|---|
| 376 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_HK_locale; |
|---|
| 377 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IE_locale; |
|---|
| 378 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_IN_locale; |
|---|
| 379 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_JM_locale; |
|---|
| 380 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MH_locale; |
|---|
| 381 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MP_locale; |
|---|
| 382 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MT_locale; |
|---|
| 383 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_MU_locale; |
|---|
| 384 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NA_locale; |
|---|
| 385 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_NZ_locale; |
|---|
| 386 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PH_locale; |
|---|
| 387 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_PK_locale; |
|---|
| 388 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_SG_locale; |
|---|
| 389 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_TT_locale; |
|---|
| 390 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_UM_locale; |
|---|
| 391 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_locale; |
|---|
| 392 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_US_POSIX_locale; |
|---|
| 393 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_VI_locale; |
|---|
| 394 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZA_locale; |
|---|
| 395 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZW_locale; |
|---|
| 396 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_en_ZZ_locale; |
|---|
| 397 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_AR_locale; |
|---|
| 398 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_BO_locale; |
|---|
| 399 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CL_locale; |
|---|
| 400 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CO_locale; |
|---|
| 401 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_CR_locale; |
|---|
| 402 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_DO_locale; |
|---|
| 403 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_EC_locale; |
|---|
| 404 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_ES_locale; |
|---|
| 405 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GQ_locale; |
|---|
| 406 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_GT_locale; |
|---|
| 407 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_HN_locale; |
|---|
| 408 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_MX_locale; |
|---|
| 409 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_NI_locale; |
|---|
| 410 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PA_locale; |
|---|
| 411 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PE_locale; |
|---|
| 412 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PR_locale; |
|---|
| 413 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_PY_locale; |
|---|
| 414 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_SV_locale; |
|---|
| 415 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_US_locale; |
|---|
| 416 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_UY_locale; |
|---|
| 417 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_es_VE_locale; |
|---|
| 418 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_et_EE_locale; |
|---|
| 419 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_eu_ES_locale; |
|---|
| 420 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_AF_locale; |
|---|
| 421 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fa_IR_locale; |
|---|
| 422 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ff_SN_locale; |
|---|
| 423 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fi_FI_locale; |
|---|
| 424 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fil_PH_locale; |
|---|
| 425 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fo_FO_locale; |
|---|
| 426 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BE_locale; |
|---|
| 427 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BF_locale; |
|---|
| 428 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BI_locale; |
|---|
| 429 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BJ_locale; |
|---|
| 430 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_BL_locale; |
|---|
| 431 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CA_locale; |
|---|
| 432 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CD_locale; |
|---|
| 433 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CF_locale; |
|---|
| 434 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CG_locale; |
|---|
| 435 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CH_locale; |
|---|
| 436 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CI_locale; |
|---|
| 437 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_CM_locale; |
|---|
| 438 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_DJ_locale; |
|---|
| 439 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_FR_locale; |
|---|
| 440 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GA_locale; |
|---|
| 441 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GN_locale; |
|---|
| 442 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GP_locale; |
|---|
| 443 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_GQ_locale; |
|---|
| 444 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_KM_locale; |
|---|
| 445 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_LU_locale; |
|---|
| 446 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MC_locale; |
|---|
| 447 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MF_locale; |
|---|
| 448 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MG_locale; |
|---|
| 449 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_ML_locale; |
|---|
| 450 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_MQ_locale; |
|---|
| 451 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_NE_locale; |
|---|
| 452 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RE_locale; |
|---|
| 453 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_RW_locale; |
|---|
| 454 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_SN_locale; |
|---|
| 455 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TD_locale; |
|---|
| 456 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fr_TG_locale; |
|---|
| 457 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_fur_IT_locale; |
|---|
| 458 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ga_IE_locale; |
|---|
| 459 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gaa_GH_locale; |
|---|
| 460 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ER_locale; |
|---|
| 461 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gez_ET_locale; |
|---|
| 462 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gl_ES_locale; |
|---|
| 463 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gsw_CH_locale; |
|---|
| 464 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gu_IN_locale; |
|---|
| 465 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_guz_KE_locale; |
|---|
| 466 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_gv_GB_locale; |
|---|
| 467 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_NG_locale; |
|---|
| 468 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Arab_SD_locale; |
|---|
| 469 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_GH_locale; |
|---|
| 470 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_GH_locale; |
|---|
| 471 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NE_locale; |
|---|
| 472 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_Latn_NG_locale; |
|---|
| 473 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NE_locale; |
|---|
| 474 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_NG_locale; |
|---|
| 475 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ha_SD_locale; |
|---|
| 476 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_haw_US_locale; |
|---|
| 477 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_he_IL_locale; |
|---|
| 478 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hi_IN_locale; |
|---|
| 479 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hr_HR_locale; |
|---|
| 480 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hu_HU_locale; |
|---|
| 481 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_hy_AM_locale; |
|---|
| 482 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_id_ID_locale; |
|---|
| 483 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ig_NG_locale; |
|---|
| 484 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ii_CN_locale; |
|---|
| 485 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_is_IS_locale; |
|---|
| 486 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_CH_locale; |
|---|
| 487 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_it_IT_locale; |
|---|
| 488 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ja_JP_locale; |
|---|
| 489 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_jmc_TZ_locale; |
|---|
| 490 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ka_GE_locale; |
|---|
| 491 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kab_DZ_locale; |
|---|
| 492 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kaj_NG_locale; |
|---|
| 493 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kam_KE_locale; |
|---|
| 494 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kcg_NG_locale; |
|---|
| 495 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kde_TZ_locale; |
|---|
| 496 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kea_CV_locale; |
|---|
| 497 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kfo_CI_locale; |
|---|
| 498 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_khq_ML_locale; |
|---|
| 499 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ki_KE_locale; |
|---|
| 500 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_Cyrl_KZ_locale; |
|---|
| 501 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kk_KZ_locale; |
|---|
| 502 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kl_GL_locale; |
|---|
| 503 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kln_KE_locale; |
|---|
| 504 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_km_KH_locale; |
|---|
| 505 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kn_IN_locale; |
|---|
| 506 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ko_KR_locale; |
|---|
| 507 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kok_IN_locale; |
|---|
| 508 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_GN_locale; |
|---|
| 509 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kpe_LR_locale; |
|---|
| 510 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksb_TZ_locale; |
|---|
| 511 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ksh_DE_locale; |
|---|
| 512 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IQ_locale; |
|---|
| 513 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Arab_IR_locale; |
|---|
| 514 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IQ_locale; |
|---|
| 515 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_IR_locale; |
|---|
| 516 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_SY_locale; |
|---|
| 517 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_Latn_TR_locale; |
|---|
| 518 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_SY_locale; |
|---|
| 519 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ku_TR_locale; |
|---|
| 520 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_kw_GB_locale; |
|---|
| 521 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ky_KG_locale; |
|---|
| 522 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lag_TZ_locale; |
|---|
| 523 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lg_UG_locale; |
|---|
| 524 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CD_locale; |
|---|
| 525 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ln_CG_locale; |
|---|
| 526 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lo_LA_locale; |
|---|
| 527 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lt_LT_locale; |
|---|
| 528 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luo_KE_locale; |
|---|
| 529 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_luy_KE_locale; |
|---|
| 530 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_lv_LV_locale; |
|---|
| 531 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_KE_locale; |
|---|
| 532 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mas_TZ_locale; |
|---|
| 533 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mer_KE_locale; |
|---|
| 534 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mfe_MU_locale; |
|---|
| 535 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mg_MG_locale; |
|---|
| 536 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mi_NZ_locale; |
|---|
| 537 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mk_MK_locale; |
|---|
| 538 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ml_IN_locale; |
|---|
| 539 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_CN_locale; |
|---|
| 540 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Cyrl_MN_locale; |
|---|
| 541 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_MN_locale; |
|---|
| 542 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mn_Mong_CN_locale; |
|---|
| 543 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mr_IN_locale; |
|---|
| 544 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_BN_locale; |
|---|
| 545 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ms_MY_locale; |
|---|
| 546 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_mt_MT_locale; |
|---|
| 547 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_my_MM_locale; |
|---|
| 548 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_naq_NA_locale; |
|---|
| 549 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nb_NO_locale; |
|---|
| 550 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nd_ZW_locale; |
|---|
| 551 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nds_DE_locale; |
|---|
| 552 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_IN_locale; |
|---|
| 553 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ne_NP_locale; |
|---|
| 554 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_BE_locale; |
|---|
| 555 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nl_NL_locale; |
|---|
| 556 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nn_NO_locale; |
|---|
| 557 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nr_ZA_locale; |
|---|
| 558 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nso_ZA_locale; |
|---|
| 559 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ny_MW_locale; |
|---|
| 560 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_nyn_UG_locale; |
|---|
| 561 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_oc_FR_locale; |
|---|
| 562 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_ET_locale; |
|---|
| 563 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_om_KE_locale; |
|---|
| 564 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_or_IN_locale; |
|---|
| 565 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Arab_PK_locale; |
|---|
| 566 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_Guru_IN_locale; |
|---|
| 567 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_IN_locale; |
|---|
| 568 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pa_PK_locale; |
|---|
| 569 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pl_PL_locale; |
|---|
| 570 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ps_AF_locale; |
|---|
| 571 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_AO_locale; |
|---|
| 572 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_BR_locale; |
|---|
| 573 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_GW_locale; |
|---|
| 574 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_MZ_locale; |
|---|
| 575 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_pt_PT_locale; |
|---|
| 576 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rm_CH_locale; |
|---|
| 577 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_MD_locale; |
|---|
| 578 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ro_RO_locale; |
|---|
| 579 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rof_TZ_locale; |
|---|
| 580 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_MD_locale; |
|---|
| 581 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_RU_locale; |
|---|
| 582 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ru_UA_locale; |
|---|
| 583 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rw_RW_locale; |
|---|
| 584 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_rwk_TZ_locale; |
|---|
| 585 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sa_IN_locale; |
|---|
| 586 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_saq_KE_locale; |
|---|
| 587 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_FI_locale; |
|---|
| 588 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_se_NO_locale; |
|---|
| 589 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_seh_MZ_locale; |
|---|
| 590 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ses_ML_locale; |
|---|
| 591 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sg_CF_locale; |
|---|
| 592 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_BA_locale; |
|---|
| 593 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_CS_locale; |
|---|
| 594 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sh_YU_locale; |
|---|
| 595 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Latn_MA_locale; |
|---|
| 596 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_MA_locale; |
|---|
| 597 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_shi_Tfng_MA_locale; |
|---|
| 598 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_si_LK_locale; |
|---|
| 599 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sid_ET_locale; |
|---|
| 600 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sk_SK_locale; |
|---|
| 601 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sl_SI_locale; |
|---|
| 602 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sn_ZW_locale; |
|---|
| 603 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_DJ_locale; |
|---|
| 604 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_ET_locale; |
|---|
| 605 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_KE_locale; |
|---|
| 606 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_so_SO_locale; |
|---|
| 607 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sq_AL_locale; |
|---|
| 608 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_BA_locale; |
|---|
| 609 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_CS_locale; |
|---|
| 610 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_BA_locale; |
|---|
| 611 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_CS_locale; |
|---|
| 612 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_ME_locale; |
|---|
| 613 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_RS_locale; |
|---|
| 614 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Cyrl_YU_locale; |
|---|
| 615 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_BA_locale; |
|---|
| 616 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_CS_locale; |
|---|
| 617 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_ME_locale; |
|---|
| 618 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_RS_locale; |
|---|
| 619 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_Latn_YU_locale; |
|---|
| 620 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_ME_locale; |
|---|
| 621 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_RS_locale; |
|---|
| 622 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sr_YU_locale; |
|---|
| 623 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_SZ_locale; |
|---|
| 624 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ss_ZA_locale; |
|---|
| 625 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ssy_ER_locale; |
|---|
| 626 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_LS_locale; |
|---|
| 627 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_st_ZA_locale; |
|---|
| 628 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_FI_locale; |
|---|
| 629 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sv_SE_locale; |
|---|
| 630 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_KE_locale; |
|---|
| 631 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_sw_TZ_locale; |
|---|
| 632 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_syr_SY_locale; |
|---|
| 633 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_IN_locale; |
|---|
| 634 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ta_LK_locale; |
|---|
| 635 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_te_IN_locale; |
|---|
| 636 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_KE_locale; |
|---|
| 637 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_teo_UG_locale; |
|---|
| 638 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_Cyrl_TJ_locale; |
|---|
| 639 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tg_TJ_locale; |
|---|
| 640 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_th_TH_locale; |
|---|
| 641 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ER_locale; |
|---|
| 642 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ti_ET_locale; |
|---|
| 643 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tig_ER_locale; |
|---|
| 644 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tl_PH_locale; |
|---|
| 645 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tn_ZA_locale; |
|---|
| 646 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_to_TO_locale; |
|---|
| 647 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tr_TR_locale; |
|---|
| 648 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_trv_TW_locale; |
|---|
| 649 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ts_ZA_locale; |
|---|
| 650 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tt_RU_locale; |
|---|
| 651 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_Latn_MA_locale; |
|---|
| 652 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_tzm_MA_locale; |
|---|
| 653 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_Arab_CN_locale; |
|---|
| 654 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ug_CN_locale; |
|---|
| 655 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uk_UA_locale; |
|---|
| 656 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_IN_locale; |
|---|
| 657 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ur_PK_locale; |
|---|
| 658 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_AF_locale; |
|---|
| 659 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Arab_AF_locale; |
|---|
| 660 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Cyrl_UZ_locale; |
|---|
| 661 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_Latn_UZ_locale; |
|---|
| 662 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_uz_UZ_locale; |
|---|
| 663 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_ve_ZA_locale; |
|---|
| 664 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vi_VN_locale; |
|---|
| 665 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_vun_TZ_locale; |
|---|
| 666 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wal_ET_locale; |
|---|
| 667 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_Latn_SN_locale; |
|---|
| 668 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_wo_SN_locale; |
|---|
| 669 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xh_ZA_locale; |
|---|
| 670 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_xog_UG_locale; |
|---|
| 671 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_yo_NG_locale; |
|---|
| 672 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_CN_locale; |
|---|
| 673 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_CN_locale; |
|---|
| 674 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_HK_locale; |
|---|
| 675 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_MO_locale; |
|---|
| 676 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hans_SG_locale; |
|---|
| 677 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_HK_locale; |
|---|
| 678 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_MO_locale; |
|---|
| 679 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_Hant_TW_locale; |
|---|
| 680 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_HK_locale; |
|---|
| 681 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_MO_locale; |
|---|
| 682 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_SG_locale; |
|---|
| 683 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zh_TW_locale; |
|---|
| 684 | extern const __SEGGER_RTL_locale_data_t __SEGGER_RTL_zu_ZA_locale; |
|---|
| 685 | |
|---|
| 686 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_ascii; |
|---|
| 687 | extern const __SEGGER_RTL_locale_codeset_t __SEGGER_RTL_codeset_utf8; |
|---|
| 688 | |
|---|
| 689 | extern const char __SEGGER_RTL_data_utf8_period []; |
|---|
| 690 | extern const char __SEGGER_RTL_data_utf8_comma []; |
|---|
| 691 | extern const char __SEGGER_RTL_data_utf8_space []; |
|---|
| 692 | extern const char __SEGGER_RTL_data_utf8_plus []; |
|---|
| 693 | extern const char __SEGGER_RTL_data_utf8_minus []; |
|---|
| 694 | extern const char __SEGGER_RTL_data_empty_string[]; |
|---|
| 695 | # 546 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
|---|
| 696 | int __SEGGER_RTL_X_set_time_of_day (const struct timeval *__tp); |
|---|
| 697 | int __SEGGER_RTL_X_get_time_of_day (struct timeval *__tp); |
|---|
| 698 | const __SEGGER_RTL_locale_t * __SEGGER_RTL_X_find_locale (const char *__locale); |
|---|
| 699 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_open (const char *__filename, const char *__mode); |
|---|
| 700 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_dopen (int __descriptor, const char *__mode); |
|---|
| 701 | int __SEGGER_RTL_X_file_stat (__SEGGER_RTL_FILE *__stream); |
|---|
| 702 | int __SEGGER_RTL_X_file_read (__SEGGER_RTL_FILE *__stream, char *__s, unsigned __len); |
|---|
| 703 | int __SEGGER_RTL_X_file_write (__SEGGER_RTL_FILE *__stream, const char *__s, unsigned __len); |
|---|
| 704 | int __SEGGER_RTL_X_file_unget (__SEGGER_RTL_FILE *__stream, int __c); |
|---|
| 705 | int __SEGGER_RTL_X_file_close (__SEGGER_RTL_FILE *__stream); |
|---|
| 706 | int __SEGGER_RTL_X_file_error (__SEGGER_RTL_FILE *__stream); |
|---|
| 707 | int __SEGGER_RTL_X_file_flush (__SEGGER_RTL_FILE *__stream); |
|---|
| 708 | int __SEGGER_RTL_X_file_eof (__SEGGER_RTL_FILE *__stream); |
|---|
| 709 | void __SEGGER_RTL_X_file_clrerr (__SEGGER_RTL_FILE *__stream); |
|---|
| 710 | int __SEGGER_RTL_X_file_seek (__SEGGER_RTL_FILE *__stream, long __offset, int __whence); |
|---|
| 711 | int __SEGGER_RTL_X_file_getpos (__SEGGER_RTL_FILE *__stream, long *__pos); |
|---|
| 712 | int __SEGGER_RTL_X_file_bufsize (__SEGGER_RTL_FILE *__stream); |
|---|
| 713 | __SEGGER_RTL_FILE * __SEGGER_RTL_X_file_tmpfile (void); |
|---|
| 714 | char * __SEGGER_RTL_X_file_tmpnam (char *__s, unsigned __max); |
|---|
| 715 | int __SEGGER_RTL_X_file_remove (const char *__filename); |
|---|
| 716 | int __SEGGER_RTL_X_file_rename (const char *__old, const char *__new); |
|---|
| 717 | void __attribute__((__weak__)) __SEGGER_RTL_X_heap_lock (void); |
|---|
| 718 | void __attribute__((__weak__)) __SEGGER_RTL_X_heap_unlock (void); |
|---|
| 719 | int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_lock (void); |
|---|
| 720 | void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_unlock (int __state); |
|---|
| 721 | int __attribute__((__weak__)) __SEGGER_RTL_X_atomic_is_lock_free (unsigned int __size, void *__ptr); |
|---|
| 722 | void __attribute__((__weak__)) __SEGGER_RTL_X_atomic_synchronize (void); |
|---|
| 723 | volatile int * __aeabi_errno_addr (void); |
|---|
| 724 | void __aeabi_assert (const char *__expression, const char *__filename, int __line); |
|---|
| 725 | # 584 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\__SEGGER_RTL.h" 3 |
|---|
| 726 | void __SEGGER_RTL_execute_at_exit_fns (void); |
|---|
| 727 | void __SEGGER_RTL_set_locale_name_buffer (char *__buffer); |
|---|
| 728 | int __SEGGER_RTL_mb_max (const struct __SEGGER_RTL_POSIX_locale_s *__loc); |
|---|
| 729 | int __SEGGER_RTL_mb_cur_max (void); |
|---|
| 730 | void __SEGGER_RTL_init_heap (void *__ptr, unsigned int __size); |
|---|
| 731 | # 21 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 2 3 |
|---|
| 732 | # 272 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stdint.h" 3 |
|---|
| 733 | typedef signed char int8_t; |
|---|
| 734 | typedef unsigned char uint8_t; |
|---|
| 735 | typedef short int16_t; |
|---|
| 736 | typedef unsigned short uint16_t; |
|---|
| 737 | typedef int int32_t; |
|---|
| 738 | typedef unsigned int uint32_t; |
|---|
| 739 | typedef long long int int64_t; |
|---|
| 740 | typedef long long unsigned int uint64_t; |
|---|
| 741 | |
|---|
| 742 | typedef signed char int_least8_t; |
|---|
| 743 | typedef short int_least16_t; |
|---|
| 744 | typedef int int_least32_t; |
|---|
| 745 | typedef long long int int_least64_t; |
|---|
| 746 | typedef unsigned char uint_least8_t; |
|---|
| 747 | typedef unsigned short uint_least16_t; |
|---|
| 748 | typedef unsigned int uint_least32_t; |
|---|
| 749 | typedef long long unsigned int uint_least64_t; |
|---|
| 750 | |
|---|
| 751 | typedef signed char int_fast8_t; |
|---|
| 752 | typedef short int_fast16_t; |
|---|
| 753 | typedef int int_fast32_t; |
|---|
| 754 | typedef long long int int_fast64_t; |
|---|
| 755 | typedef unsigned char uint_fast8_t; |
|---|
| 756 | typedef unsigned short uint_fast16_t; |
|---|
| 757 | typedef unsigned int uint_fast32_t; |
|---|
| 758 | typedef long long unsigned int uint_fast64_t; |
|---|
| 759 | |
|---|
| 760 | typedef int intptr_t; |
|---|
| 761 | typedef unsigned int uintptr_t; |
|---|
| 762 | |
|---|
| 763 | typedef long long int intmax_t; |
|---|
| 764 | typedef long long unsigned int uintmax_t; |
|---|
| [26] | 765 | # 35 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
|---|
| 766 | # 63 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| 767 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 1 3 |
|---|
| 768 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_version.h" 3 |
|---|
| 769 | # 64 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
|---|
| 770 | # 115 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| 771 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 1 3 |
|---|
| 772 | # 54 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 3 |
|---|
| 773 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 1 3 |
|---|
| 774 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 775 | #pragma GCC diagnostic push |
|---|
| 776 | #pragma GCC diagnostic ignored "-Wsign-conversion" |
|---|
| 777 | #pragma GCC diagnostic ignored "-Wconversion" |
|---|
| 778 | #pragma GCC diagnostic ignored "-Wunused-parameter" |
|---|
| [26] | 779 | # 71 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 780 | #pragma GCC diagnostic push |
|---|
| 781 | #pragma GCC diagnostic ignored "-Wpacked" |
|---|
| 782 | #pragma GCC diagnostic ignored "-Wattributes" |
|---|
| 783 | struct __attribute__((packed)) T_UINT32 { uint32_t v; }; |
|---|
| 784 | #pragma GCC diagnostic pop |
|---|
| 785 | |
|---|
| 786 | |
|---|
| 787 | |
|---|
| 788 | #pragma GCC diagnostic push |
|---|
| 789 | #pragma GCC diagnostic ignored "-Wpacked" |
|---|
| 790 | #pragma GCC diagnostic ignored "-Wattributes" |
|---|
| 791 | struct __attribute__((packed, aligned(1))) T_UINT16_WRITE { uint16_t v; }; |
|---|
| 792 | #pragma GCC diagnostic pop |
|---|
| 793 | |
|---|
| 794 | |
|---|
| 795 | |
|---|
| 796 | #pragma GCC diagnostic push |
|---|
| 797 | #pragma GCC diagnostic ignored "-Wpacked" |
|---|
| 798 | #pragma GCC diagnostic ignored "-Wattributes" |
|---|
| 799 | struct __attribute__((packed, aligned(1))) T_UINT16_READ { uint16_t v; }; |
|---|
| 800 | #pragma GCC diagnostic pop |
|---|
| 801 | |
|---|
| 802 | |
|---|
| 803 | |
|---|
| 804 | #pragma GCC diagnostic push |
|---|
| 805 | #pragma GCC diagnostic ignored "-Wpacked" |
|---|
| 806 | #pragma GCC diagnostic ignored "-Wattributes" |
|---|
| 807 | struct __attribute__((packed, aligned(1))) T_UINT32_WRITE { uint32_t v; }; |
|---|
| 808 | #pragma GCC diagnostic pop |
|---|
| 809 | |
|---|
| 810 | |
|---|
| 811 | |
|---|
| 812 | #pragma GCC diagnostic push |
|---|
| 813 | #pragma GCC diagnostic ignored "-Wpacked" |
|---|
| 814 | #pragma GCC diagnostic ignored "-Wattributes" |
|---|
| 815 | struct __attribute__((packed, aligned(1))) T_UINT32_READ { uint32_t v; }; |
|---|
| 816 | #pragma GCC diagnostic pop |
|---|
| [26] | 817 | # 131 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 818 | __attribute__((always_inline)) static inline __attribute__((__noreturn__)) void __cmsis_start(void) |
|---|
| 819 | { |
|---|
| 820 | extern void _start(void) __attribute__((__noreturn__)); |
|---|
| 821 | |
|---|
| 822 | typedef struct { |
|---|
| 823 | uint32_t const* src; |
|---|
| 824 | uint32_t* dest; |
|---|
| 825 | uint32_t wlen; |
|---|
| 826 | } __copy_table_t; |
|---|
| 827 | |
|---|
| 828 | typedef struct { |
|---|
| 829 | uint32_t* dest; |
|---|
| 830 | uint32_t wlen; |
|---|
| 831 | } __zero_table_t; |
|---|
| 832 | |
|---|
| 833 | extern const __copy_table_t __copy_table_start__; |
|---|
| 834 | extern const __copy_table_t __copy_table_end__; |
|---|
| 835 | extern const __zero_table_t __zero_table_start__; |
|---|
| 836 | extern const __zero_table_t __zero_table_end__; |
|---|
| 837 | |
|---|
| 838 | for (__copy_table_t const* pTable = &__copy_table_start__; pTable < &__copy_table_end__; ++pTable) { |
|---|
| 839 | for(uint32_t i=0u; i<pTable->wlen; ++i) { |
|---|
| 840 | pTable->dest[i] = pTable->src[i]; |
|---|
| 841 | } |
|---|
| 842 | } |
|---|
| 843 | |
|---|
| 844 | for (__zero_table_t const* pTable = &__zero_table_start__; pTable < &__zero_table_end__; ++pTable) { |
|---|
| 845 | for(uint32_t i=0u; i<pTable->wlen; ++i) { |
|---|
| 846 | pTable->dest[i] = 0u; |
|---|
| 847 | } |
|---|
| 848 | } |
|---|
| 849 | |
|---|
| 850 | _start(); |
|---|
| 851 | } |
|---|
| [26] | 852 | # 196 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 853 | __attribute__((always_inline)) static inline void __enable_irq(void) |
|---|
| 854 | { |
|---|
| 855 | __asm volatile ("cpsie i" : : : "memory"); |
|---|
| 856 | } |
|---|
| 857 | |
|---|
| 858 | |
|---|
| 859 | |
|---|
| 860 | |
|---|
| 861 | |
|---|
| 862 | |
|---|
| 863 | |
|---|
| 864 | __attribute__((always_inline)) static inline void __disable_irq(void) |
|---|
| 865 | { |
|---|
| 866 | __asm volatile ("cpsid i" : : : "memory"); |
|---|
| 867 | } |
|---|
| 868 | |
|---|
| 869 | |
|---|
| 870 | |
|---|
| 871 | |
|---|
| 872 | |
|---|
| 873 | |
|---|
| 874 | |
|---|
| 875 | __attribute__((always_inline)) static inline uint32_t __get_CONTROL(void) |
|---|
| 876 | { |
|---|
| 877 | uint32_t result; |
|---|
| 878 | |
|---|
| 879 | __asm volatile ("MRS %0, control" : "=r" (result) ); |
|---|
| 880 | return(result); |
|---|
| 881 | } |
|---|
| [26] | 882 | # 248 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 883 | __attribute__((always_inline)) static inline void __set_CONTROL(uint32_t control) |
|---|
| 884 | { |
|---|
| 885 | __asm volatile ("MSR control, %0" : : "r" (control) : "memory"); |
|---|
| 886 | } |
|---|
| [26] | 887 | # 272 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 888 | __attribute__((always_inline)) static inline uint32_t __get_IPSR(void) |
|---|
| 889 | { |
|---|
| 890 | uint32_t result; |
|---|
| 891 | |
|---|
| 892 | __asm volatile ("MRS %0, ipsr" : "=r" (result) ); |
|---|
| 893 | return(result); |
|---|
| 894 | } |
|---|
| 895 | |
|---|
| 896 | |
|---|
| 897 | |
|---|
| 898 | |
|---|
| 899 | |
|---|
| 900 | |
|---|
| 901 | |
|---|
| 902 | __attribute__((always_inline)) static inline uint32_t __get_APSR(void) |
|---|
| 903 | { |
|---|
| 904 | uint32_t result; |
|---|
| 905 | |
|---|
| 906 | __asm volatile ("MRS %0, apsr" : "=r" (result) ); |
|---|
| 907 | return(result); |
|---|
| 908 | } |
|---|
| 909 | |
|---|
| 910 | |
|---|
| 911 | |
|---|
| 912 | |
|---|
| 913 | |
|---|
| 914 | |
|---|
| 915 | |
|---|
| 916 | __attribute__((always_inline)) static inline uint32_t __get_xPSR(void) |
|---|
| 917 | { |
|---|
| 918 | uint32_t result; |
|---|
| 919 | |
|---|
| 920 | __asm volatile ("MRS %0, xpsr" : "=r" (result) ); |
|---|
| 921 | return(result); |
|---|
| 922 | } |
|---|
| 923 | |
|---|
| 924 | |
|---|
| 925 | |
|---|
| 926 | |
|---|
| 927 | |
|---|
| 928 | |
|---|
| 929 | |
|---|
| 930 | __attribute__((always_inline)) static inline uint32_t __get_PSP(void) |
|---|
| 931 | { |
|---|
| 932 | uint32_t result; |
|---|
| 933 | |
|---|
| 934 | __asm volatile ("MRS %0, psp" : "=r" (result) ); |
|---|
| 935 | return(result); |
|---|
| 936 | } |
|---|
| [26] | 937 | # 344 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 938 | __attribute__((always_inline)) static inline void __set_PSP(uint32_t topOfProcStack) |
|---|
| 939 | { |
|---|
| 940 | __asm volatile ("MSR psp, %0" : : "r" (topOfProcStack) : ); |
|---|
| 941 | } |
|---|
| [26] | 942 | # 368 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 943 | __attribute__((always_inline)) static inline uint32_t __get_MSP(void) |
|---|
| 944 | { |
|---|
| 945 | uint32_t result; |
|---|
| 946 | |
|---|
| 947 | __asm volatile ("MRS %0, msp" : "=r" (result) ); |
|---|
| 948 | return(result); |
|---|
| 949 | } |
|---|
| [26] | 950 | # 398 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 951 | __attribute__((always_inline)) static inline void __set_MSP(uint32_t topOfMainStack) |
|---|
| 952 | { |
|---|
| 953 | __asm volatile ("MSR msp, %0" : : "r" (topOfMainStack) : ); |
|---|
| 954 | } |
|---|
| [26] | 955 | # 449 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 956 | __attribute__((always_inline)) static inline uint32_t __get_PRIMASK(void) |
|---|
| 957 | { |
|---|
| 958 | uint32_t result; |
|---|
| 959 | |
|---|
| 960 | __asm volatile ("MRS %0, primask" : "=r" (result) :: "memory"); |
|---|
| 961 | return(result); |
|---|
| 962 | } |
|---|
| [26] | 963 | # 479 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 964 | __attribute__((always_inline)) static inline void __set_PRIMASK(uint32_t priMask) |
|---|
| 965 | { |
|---|
| 966 | __asm volatile ("MSR primask, %0" : : "r" (priMask) : "memory"); |
|---|
| 967 | } |
|---|
| [26] | 968 | # 833 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 969 | __attribute__((always_inline)) static inline uint32_t __get_FPSCR(void) |
|---|
| 970 | { |
|---|
| [26] | 971 | # 849 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 972 | return(0U); |
|---|
| 973 | |
|---|
| 974 | } |
|---|
| 975 | |
|---|
| 976 | |
|---|
| 977 | |
|---|
| 978 | |
|---|
| 979 | |
|---|
| 980 | |
|---|
| 981 | |
|---|
| 982 | __attribute__((always_inline)) static inline void __set_FPSCR(uint32_t fpscr) |
|---|
| 983 | { |
|---|
| [26] | 984 | # 872 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 985 | (void)fpscr; |
|---|
| 986 | |
|---|
| 987 | } |
|---|
| [26] | 988 | # 933 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 989 | __attribute__((always_inline)) static inline void __ISB(void) |
|---|
| 990 | { |
|---|
| 991 | __asm volatile ("isb 0xF":::"memory"); |
|---|
| 992 | } |
|---|
| 993 | |
|---|
| 994 | |
|---|
| 995 | |
|---|
| 996 | |
|---|
| 997 | |
|---|
| 998 | |
|---|
| 999 | |
|---|
| 1000 | __attribute__((always_inline)) static inline void __DSB(void) |
|---|
| 1001 | { |
|---|
| 1002 | __asm volatile ("dsb 0xF":::"memory"); |
|---|
| 1003 | } |
|---|
| 1004 | |
|---|
| 1005 | |
|---|
| 1006 | |
|---|
| 1007 | |
|---|
| 1008 | |
|---|
| 1009 | |
|---|
| 1010 | |
|---|
| 1011 | __attribute__((always_inline)) static inline void __DMB(void) |
|---|
| 1012 | { |
|---|
| 1013 | __asm volatile ("dmb 0xF":::"memory"); |
|---|
| 1014 | } |
|---|
| [26] | 1015 | # 967 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1016 | __attribute__((always_inline)) static inline uint32_t __REV(uint32_t value) |
|---|
| 1017 | { |
|---|
| 1018 | |
|---|
| 1019 | |
|---|
| 1020 | |
|---|
| 1021 | uint32_t result; |
|---|
| 1022 | |
|---|
| 1023 | __asm volatile ("rev %0, %1" : "=l" (result) : "l" (value) ); |
|---|
| 1024 | return result; |
|---|
| 1025 | |
|---|
| 1026 | } |
|---|
| [26] | 1027 | # 986 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1028 | __attribute__((always_inline)) static inline uint32_t __REV16(uint32_t value) |
|---|
| 1029 | { |
|---|
| 1030 | uint32_t result; |
|---|
| 1031 | |
|---|
| 1032 | __asm volatile ("rev16 %0, %1" : "=l" (result) : "l" (value) ); |
|---|
| 1033 | return result; |
|---|
| 1034 | } |
|---|
| [26] | 1035 | # 1001 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1036 | __attribute__((always_inline)) static inline int16_t __REVSH(int16_t value) |
|---|
| 1037 | { |
|---|
| 1038 | |
|---|
| 1039 | |
|---|
| 1040 | |
|---|
| 1041 | int16_t result; |
|---|
| 1042 | |
|---|
| 1043 | __asm volatile ("revsh %0, %1" : "=l" (result) : "l" (value) ); |
|---|
| 1044 | return result; |
|---|
| 1045 | |
|---|
| 1046 | } |
|---|
| [26] | 1047 | # 1021 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1048 | __attribute__((always_inline)) static inline uint32_t __ROR(uint32_t op1, uint32_t op2) |
|---|
| 1049 | { |
|---|
| 1050 | op2 %= 32U; |
|---|
| 1051 | if (op2 == 0U) |
|---|
| 1052 | { |
|---|
| 1053 | return op1; |
|---|
| 1054 | } |
|---|
| 1055 | return (op1 >> op2) | (op1 << (32U - op2)); |
|---|
| 1056 | } |
|---|
| [26] | 1057 | # 1048 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1058 | __attribute__((always_inline)) static inline uint32_t __RBIT(uint32_t value) |
|---|
| 1059 | { |
|---|
| 1060 | uint32_t result; |
|---|
| 1061 | |
|---|
| 1062 | |
|---|
| 1063 | |
|---|
| 1064 | |
|---|
| 1065 | |
|---|
| 1066 | |
|---|
| 1067 | uint32_t s = (4U * 8U) - 1U; |
|---|
| 1068 | |
|---|
| 1069 | result = value; |
|---|
| 1070 | for (value >>= 1U; value != 0U; value >>= 1U) |
|---|
| 1071 | { |
|---|
| 1072 | result <<= 1U; |
|---|
| 1073 | result |= value & 1U; |
|---|
| 1074 | s--; |
|---|
| 1075 | } |
|---|
| 1076 | result <<= s; |
|---|
| 1077 | |
|---|
| 1078 | return result; |
|---|
| 1079 | } |
|---|
| [26] | 1080 | # 1078 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1081 | __attribute__((always_inline)) static inline uint8_t __CLZ(uint32_t value) |
|---|
| 1082 | { |
|---|
| [26] | 1083 | # 1089 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1084 | if (value == 0U) |
|---|
| 1085 | { |
|---|
| 1086 | return 32U; |
|---|
| 1087 | } |
|---|
| 1088 | return __builtin_clz(value); |
|---|
| 1089 | } |
|---|
| [26] | 1090 | # 1382 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1091 | __attribute__((always_inline)) static inline int32_t __SSAT(int32_t val, uint32_t sat) |
|---|
| 1092 | { |
|---|
| 1093 | if ((sat >= 1U) && (sat <= 32U)) |
|---|
| 1094 | { |
|---|
| 1095 | const int32_t max = (int32_t)((1U << (sat - 1U)) - 1U); |
|---|
| 1096 | const int32_t min = -1 - max ; |
|---|
| 1097 | if (val > max) |
|---|
| 1098 | { |
|---|
| 1099 | return max; |
|---|
| 1100 | } |
|---|
| 1101 | else if (val < min) |
|---|
| 1102 | { |
|---|
| 1103 | return min; |
|---|
| 1104 | } |
|---|
| 1105 | } |
|---|
| 1106 | return val; |
|---|
| 1107 | } |
|---|
| [26] | 1108 | # 1407 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1109 | __attribute__((always_inline)) static inline uint32_t __USAT(int32_t val, uint32_t sat) |
|---|
| 1110 | { |
|---|
| 1111 | if (sat <= 31U) |
|---|
| 1112 | { |
|---|
| 1113 | const uint32_t max = ((1U << sat) - 1U); |
|---|
| 1114 | if (val > (int32_t)max) |
|---|
| 1115 | { |
|---|
| 1116 | return max; |
|---|
| 1117 | } |
|---|
| 1118 | else if (val < 0) |
|---|
| 1119 | { |
|---|
| 1120 | return 0U; |
|---|
| 1121 | } |
|---|
| 1122 | } |
|---|
| 1123 | return (uint32_t)val; |
|---|
| 1124 | } |
|---|
| [26] | 1125 | # 2166 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_gcc.h" 3 |
|---|
| [6] | 1126 | #pragma GCC diagnostic pop |
|---|
| [26] | 1127 | # 55 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\cmsis_compiler.h" 2 3 |
|---|
| 1128 | # 116 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
|---|
| 1129 | # 210 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1130 | typedef union |
|---|
| 1131 | { |
|---|
| 1132 | struct |
|---|
| 1133 | { |
|---|
| 1134 | uint32_t _reserved0:28; |
|---|
| 1135 | uint32_t V:1; |
|---|
| 1136 | uint32_t C:1; |
|---|
| 1137 | uint32_t Z:1; |
|---|
| 1138 | uint32_t N:1; |
|---|
| 1139 | } b; |
|---|
| 1140 | uint32_t w; |
|---|
| 1141 | } APSR_Type; |
|---|
| [26] | 1142 | # 240 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1143 | typedef union |
|---|
| 1144 | { |
|---|
| 1145 | struct |
|---|
| 1146 | { |
|---|
| 1147 | uint32_t ISR:9; |
|---|
| 1148 | uint32_t _reserved0:23; |
|---|
| 1149 | } b; |
|---|
| 1150 | uint32_t w; |
|---|
| 1151 | } IPSR_Type; |
|---|
| [26] | 1152 | # 258 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1153 | typedef union |
|---|
| 1154 | { |
|---|
| 1155 | struct |
|---|
| 1156 | { |
|---|
| 1157 | uint32_t ISR:9; |
|---|
| 1158 | uint32_t _reserved0:15; |
|---|
| 1159 | uint32_t T:1; |
|---|
| 1160 | uint32_t _reserved1:3; |
|---|
| 1161 | uint32_t V:1; |
|---|
| 1162 | uint32_t C:1; |
|---|
| 1163 | uint32_t Z:1; |
|---|
| 1164 | uint32_t N:1; |
|---|
| 1165 | } b; |
|---|
| 1166 | uint32_t w; |
|---|
| 1167 | } xPSR_Type; |
|---|
| [26] | 1168 | # 297 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1169 | typedef union |
|---|
| 1170 | { |
|---|
| 1171 | struct |
|---|
| 1172 | { |
|---|
| 1173 | uint32_t nPRIV:1; |
|---|
| 1174 | uint32_t SPSEL:1; |
|---|
| 1175 | uint32_t _reserved1:30; |
|---|
| 1176 | } b; |
|---|
| 1177 | uint32_t w; |
|---|
| 1178 | } CONTROL_Type; |
|---|
| [26] | 1179 | # 328 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1180 | typedef struct |
|---|
| 1181 | { |
|---|
| 1182 | volatile uint32_t ISER[1U]; |
|---|
| 1183 | uint32_t RESERVED0[31U]; |
|---|
| 1184 | volatile uint32_t ICER[1U]; |
|---|
| 1185 | uint32_t RESERVED1[31U]; |
|---|
| 1186 | volatile uint32_t ISPR[1U]; |
|---|
| 1187 | uint32_t RESERVED2[31U]; |
|---|
| 1188 | volatile uint32_t ICPR[1U]; |
|---|
| 1189 | uint32_t RESERVED3[31U]; |
|---|
| 1190 | uint32_t RESERVED4[64U]; |
|---|
| 1191 | volatile uint32_t IP[8U]; |
|---|
| 1192 | } NVIC_Type; |
|---|
| [26] | 1193 | # 355 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1194 | typedef struct |
|---|
| 1195 | { |
|---|
| 1196 | volatile const uint32_t CPUID; |
|---|
| 1197 | volatile uint32_t ICSR; |
|---|
| 1198 | |
|---|
| 1199 | volatile uint32_t VTOR; |
|---|
| 1200 | |
|---|
| 1201 | |
|---|
| 1202 | |
|---|
| 1203 | volatile uint32_t AIRCR; |
|---|
| 1204 | volatile uint32_t SCR; |
|---|
| 1205 | volatile uint32_t CCR; |
|---|
| 1206 | uint32_t RESERVED1; |
|---|
| 1207 | volatile uint32_t SHP[2U]; |
|---|
| 1208 | volatile uint32_t SHCSR; |
|---|
| 1209 | } SCB_Type; |
|---|
| [26] | 1210 | # 472 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1211 | typedef struct |
|---|
| 1212 | { |
|---|
| 1213 | volatile uint32_t CTRL; |
|---|
| 1214 | volatile uint32_t LOAD; |
|---|
| 1215 | volatile uint32_t VAL; |
|---|
| 1216 | volatile const uint32_t CALIB; |
|---|
| 1217 | } SysTick_Type; |
|---|
| [26] | 1218 | # 524 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1219 | typedef struct |
|---|
| 1220 | { |
|---|
| 1221 | volatile const uint32_t TYPE; |
|---|
| 1222 | volatile uint32_t CTRL; |
|---|
| 1223 | volatile uint32_t RNR; |
|---|
| 1224 | volatile uint32_t RBAR; |
|---|
| 1225 | volatile uint32_t RASR; |
|---|
| 1226 | } MPU_Type; |
|---|
| [26] | 1227 | # 741 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1228 | static inline void __NVIC_EnableIRQ(IRQn_Type IRQn) |
|---|
| 1229 | { |
|---|
| 1230 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1231 | { |
|---|
| 1232 | __asm volatile("":::"memory"); |
|---|
| 1233 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
|---|
| 1234 | __asm volatile("":::"memory"); |
|---|
| 1235 | } |
|---|
| 1236 | } |
|---|
| [26] | 1237 | # 760 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1238 | static inline uint32_t __NVIC_GetEnableIRQ(IRQn_Type IRQn) |
|---|
| 1239 | { |
|---|
| 1240 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1241 | { |
|---|
| 1242 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISER[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); |
|---|
| 1243 | } |
|---|
| 1244 | else |
|---|
| 1245 | { |
|---|
| 1246 | return(0U); |
|---|
| 1247 | } |
|---|
| 1248 | } |
|---|
| [26] | 1249 | # 779 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1250 | static inline void __NVIC_DisableIRQ(IRQn_Type IRQn) |
|---|
| 1251 | { |
|---|
| 1252 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1253 | { |
|---|
| 1254 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICER[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
|---|
| 1255 | __DSB(); |
|---|
| 1256 | __ISB(); |
|---|
| 1257 | } |
|---|
| 1258 | } |
|---|
| [26] | 1259 | # 798 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1260 | static inline uint32_t __NVIC_GetPendingIRQ(IRQn_Type IRQn) |
|---|
| 1261 | { |
|---|
| 1262 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1263 | { |
|---|
| 1264 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] & (1UL << (((uint32_t)IRQn) & 0x1FUL))) != 0UL) ? 1UL : 0UL)); |
|---|
| 1265 | } |
|---|
| 1266 | else |
|---|
| 1267 | { |
|---|
| 1268 | return(0U); |
|---|
| 1269 | } |
|---|
| 1270 | } |
|---|
| [26] | 1271 | # 817 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1272 | static inline void __NVIC_SetPendingIRQ(IRQn_Type IRQn) |
|---|
| 1273 | { |
|---|
| 1274 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1275 | { |
|---|
| 1276 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ISPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
|---|
| 1277 | } |
|---|
| 1278 | } |
|---|
| [26] | 1279 | # 832 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1280 | static inline void __NVIC_ClearPendingIRQ(IRQn_Type IRQn) |
|---|
| 1281 | { |
|---|
| 1282 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1283 | { |
|---|
| 1284 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->ICPR[0U] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); |
|---|
| 1285 | } |
|---|
| 1286 | } |
|---|
| [26] | 1287 | # 850 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1288 | static inline void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) |
|---|
| 1289 | { |
|---|
| 1290 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1291 | { |
|---|
| 1292 | ((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )] = ((uint32_t)(((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )] & ~(0xFFUL << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))) | |
|---|
| 1293 | (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))); |
|---|
| 1294 | } |
|---|
| 1295 | else |
|---|
| 1296 | { |
|---|
| 1297 | ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHP[( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )] = ((uint32_t)(((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHP[( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )] & ~(0xFFUL << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))) | |
|---|
| 1298 | (((priority << (8U - 2U)) & (uint32_t)0xFFUL) << ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL))); |
|---|
| 1299 | } |
|---|
| 1300 | } |
|---|
| [26] | 1301 | # 874 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1302 | static inline uint32_t __NVIC_GetPriority(IRQn_Type IRQn) |
|---|
| 1303 | { |
|---|
| 1304 | |
|---|
| 1305 | if ((int32_t)(IRQn) >= 0) |
|---|
| 1306 | { |
|---|
| 1307 | return((uint32_t)(((((NVIC_Type *) ((0xE000E000UL) + 0x0100UL) )->IP[ ( (((uint32_t)(int32_t)(IRQn)) >> 2UL) )] >> ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL) ) & (uint32_t)0xFFUL) >> (8U - 2U))); |
|---|
| 1308 | } |
|---|
| 1309 | else |
|---|
| 1310 | { |
|---|
| 1311 | return((uint32_t)(((((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->SHP[( (((((uint32_t)(int32_t)(IRQn)) & 0x0FUL)-8UL) >> 2UL) )] >> ( ((((uint32_t)(int32_t)(IRQn)) ) & 0x03UL) * 8UL) ) & (uint32_t)0xFFUL) >> (8U - 2U))); |
|---|
| 1312 | } |
|---|
| 1313 | } |
|---|
| [26] | 1314 | # 899 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1315 | static inline uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority) |
|---|
| 1316 | { |
|---|
| 1317 | uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); |
|---|
| 1318 | uint32_t PreemptPriorityBits; |
|---|
| 1319 | uint32_t SubPriorityBits; |
|---|
| 1320 | |
|---|
| 1321 | PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp); |
|---|
| 1322 | SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U)); |
|---|
| 1323 | |
|---|
| 1324 | return ( |
|---|
| 1325 | ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | |
|---|
| 1326 | ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) |
|---|
| 1327 | ); |
|---|
| 1328 | } |
|---|
| [26] | 1329 | # 926 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1330 | static inline void NVIC_DecodePriority (uint32_t Priority, uint32_t PriorityGroup, uint32_t* const pPreemptPriority, uint32_t* const pSubPriority) |
|---|
| 1331 | { |
|---|
| 1332 | uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); |
|---|
| 1333 | uint32_t PreemptPriorityBits; |
|---|
| 1334 | uint32_t SubPriorityBits; |
|---|
| 1335 | |
|---|
| 1336 | PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(2U)) ? (uint32_t)(2U) : (uint32_t)(7UL - PriorityGroupTmp); |
|---|
| 1337 | SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(2U)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(2U)); |
|---|
| 1338 | |
|---|
| 1339 | *pPreemptPriority = (Priority >> SubPriorityBits) & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL); |
|---|
| 1340 | *pSubPriority = (Priority ) & (uint32_t)((1UL << (SubPriorityBits )) - 1UL); |
|---|
| 1341 | } |
|---|
| [26] | 1342 | # 950 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1343 | static inline void __NVIC_SetVector(IRQn_Type IRQn, uint32_t vector) |
|---|
| 1344 | { |
|---|
| 1345 | |
|---|
| 1346 | uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; |
|---|
| 1347 | |
|---|
| 1348 | |
|---|
| 1349 | |
|---|
| 1350 | (* (int *) (vectors + ((int32_t)IRQn + 16) * 4)) = vector; |
|---|
| 1351 | |
|---|
| 1352 | } |
|---|
| [26] | 1353 | # 970 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1354 | static inline uint32_t __NVIC_GetVector(IRQn_Type IRQn) |
|---|
| 1355 | { |
|---|
| 1356 | |
|---|
| 1357 | uint32_t vectors = ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->VTOR; |
|---|
| 1358 | |
|---|
| 1359 | |
|---|
| 1360 | |
|---|
| 1361 | return (uint32_t)(* (int *) (vectors + ((int32_t)IRQn + 16) * 4)); |
|---|
| 1362 | } |
|---|
| 1363 | |
|---|
| 1364 | |
|---|
| 1365 | |
|---|
| 1366 | |
|---|
| 1367 | |
|---|
| 1368 | |
|---|
| 1369 | __attribute__((__noreturn__)) static inline void __NVIC_SystemReset(void) |
|---|
| 1370 | { |
|---|
| 1371 | __DSB(); |
|---|
| 1372 | |
|---|
| 1373 | ((SCB_Type *) ((0xE000E000UL) + 0x0D00UL) )->AIRCR = ((0x5FAUL << 16U) | |
|---|
| 1374 | (1UL << 2U)); |
|---|
| 1375 | __DSB(); |
|---|
| 1376 | |
|---|
| 1377 | for(;;) |
|---|
| 1378 | { |
|---|
| 1379 | __asm volatile ("nop"); |
|---|
| 1380 | } |
|---|
| 1381 | } |
|---|
| 1382 | |
|---|
| 1383 | |
|---|
| 1384 | |
|---|
| 1385 | |
|---|
| 1386 | |
|---|
| 1387 | |
|---|
| 1388 | |
|---|
| [26] | 1389 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 1 3 |
|---|
| 1390 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3 |
|---|
| 1391 | # 183 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\mpu_armv7.h" 3 |
|---|
| [6] | 1392 | typedef struct { |
|---|
| 1393 | uint32_t RBAR; |
|---|
| 1394 | uint32_t RASR; |
|---|
| 1395 | } ARM_MPU_Region_t; |
|---|
| 1396 | |
|---|
| 1397 | |
|---|
| 1398 | |
|---|
| 1399 | |
|---|
| 1400 | static inline void ARM_MPU_Enable(uint32_t MPU_Control) |
|---|
| 1401 | { |
|---|
| 1402 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL = MPU_Control | (1UL ); |
|---|
| 1403 | |
|---|
| 1404 | |
|---|
| 1405 | |
|---|
| 1406 | __DSB(); |
|---|
| 1407 | __ISB(); |
|---|
| 1408 | } |
|---|
| 1409 | |
|---|
| 1410 | |
|---|
| 1411 | |
|---|
| 1412 | static inline void ARM_MPU_Disable(void) |
|---|
| 1413 | { |
|---|
| 1414 | __DMB(); |
|---|
| 1415 | |
|---|
| 1416 | |
|---|
| 1417 | |
|---|
| 1418 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->CTRL &= ~(1UL ); |
|---|
| 1419 | } |
|---|
| 1420 | |
|---|
| 1421 | |
|---|
| 1422 | |
|---|
| 1423 | |
|---|
| 1424 | static inline void ARM_MPU_ClrRegion(uint32_t rnr) |
|---|
| 1425 | { |
|---|
| 1426 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; |
|---|
| 1427 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = 0U; |
|---|
| 1428 | } |
|---|
| 1429 | |
|---|
| 1430 | |
|---|
| 1431 | |
|---|
| 1432 | |
|---|
| 1433 | |
|---|
| 1434 | static inline void ARM_MPU_SetRegion(uint32_t rbar, uint32_t rasr) |
|---|
| 1435 | { |
|---|
| 1436 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; |
|---|
| 1437 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; |
|---|
| 1438 | } |
|---|
| 1439 | |
|---|
| 1440 | |
|---|
| 1441 | |
|---|
| 1442 | |
|---|
| 1443 | |
|---|
| 1444 | |
|---|
| 1445 | static inline void ARM_MPU_SetRegionEx(uint32_t rnr, uint32_t rbar, uint32_t rasr) |
|---|
| 1446 | { |
|---|
| 1447 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RNR = rnr; |
|---|
| 1448 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR = rbar; |
|---|
| 1449 | ((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RASR = rasr; |
|---|
| 1450 | } |
|---|
| 1451 | |
|---|
| 1452 | |
|---|
| 1453 | |
|---|
| 1454 | |
|---|
| 1455 | |
|---|
| 1456 | |
|---|
| 1457 | static inline void ARM_MPU_OrderedMemcpy(volatile uint32_t* dst, const uint32_t* __restrict src, uint32_t len) |
|---|
| 1458 | { |
|---|
| 1459 | uint32_t i; |
|---|
| 1460 | for (i = 0U; i < len; ++i) |
|---|
| 1461 | { |
|---|
| 1462 | dst[i] = src[i]; |
|---|
| 1463 | } |
|---|
| 1464 | } |
|---|
| 1465 | |
|---|
| 1466 | |
|---|
| 1467 | |
|---|
| 1468 | |
|---|
| 1469 | |
|---|
| 1470 | static inline void ARM_MPU_Load(ARM_MPU_Region_t const* table, uint32_t cnt) |
|---|
| 1471 | { |
|---|
| 1472 | const uint32_t rowWordSize = sizeof(ARM_MPU_Region_t)/4U; |
|---|
| 1473 | while (cnt > 1U) { |
|---|
| 1474 | ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), 1U*rowWordSize); |
|---|
| 1475 | table += 1U; |
|---|
| 1476 | cnt -= 1U; |
|---|
| 1477 | } |
|---|
| 1478 | ARM_MPU_OrderedMemcpy(&(((MPU_Type *) ((0xE000E000UL) + 0x0D90UL) )->RBAR), &(table->RBAR), cnt*rowWordSize); |
|---|
| 1479 | } |
|---|
| [26] | 1480 | # 1006 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 2 3 |
|---|
| 1481 | # 1025 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1482 | static inline uint32_t SCB_GetFPUType(void) |
|---|
| 1483 | { |
|---|
| 1484 | return 0U; |
|---|
| 1485 | } |
|---|
| [26] | 1486 | # 1056 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Include\\core_cm0plus.h" 3 |
|---|
| [6] | 1487 | static inline uint32_t SysTick_Config(uint32_t ticks) |
|---|
| 1488 | { |
|---|
| 1489 | if ((ticks - 1UL) > (0xFFFFFFUL )) |
|---|
| 1490 | { |
|---|
| 1491 | return (1UL); |
|---|
| 1492 | } |
|---|
| 1493 | |
|---|
| 1494 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->LOAD = (uint32_t)(ticks - 1UL); |
|---|
| 1495 | __NVIC_SetPriority (SysTick_IRQn, (1UL << 2U) - 1UL); |
|---|
| 1496 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->VAL = 0UL; |
|---|
| 1497 | ((SysTick_Type *) ((0xE000E000UL) + 0x0010UL) )->CTRL = (1UL << 2U) | |
|---|
| 1498 | (1UL << 1U) | |
|---|
| 1499 | (1UL ); |
|---|
| 1500 | return (0UL); |
|---|
| 1501 | } |
|---|
| [26] | 1502 | # 112 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2 |
|---|
| 1503 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" 1 |
|---|
| 1504 | # 56 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" |
|---|
| [6] | 1505 | extern uint32_t SystemCoreClock; |
|---|
| 1506 | |
|---|
| 1507 | extern const uint32_t AHBPrescTable[16]; |
|---|
| 1508 | extern const uint32_t APBPrescTable[8]; |
|---|
| [26] | 1509 | # 85 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\system_stm32g0xx.h" |
|---|
| [6] | 1510 | extern void SystemInit(void); |
|---|
| 1511 | extern void SystemCoreClockUpdate(void); |
|---|
| [26] | 1512 | # 113 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" 2 |
|---|
| 1513 | # 122 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
|---|
| [6] | 1514 | typedef struct |
|---|
| 1515 | { |
|---|
| 1516 | volatile uint32_t ISR; |
|---|
| 1517 | volatile uint32_t IER; |
|---|
| 1518 | volatile uint32_t CR; |
|---|
| 1519 | volatile uint32_t CFGR1; |
|---|
| 1520 | volatile uint32_t CFGR2; |
|---|
| 1521 | volatile uint32_t SMPR; |
|---|
| 1522 | uint32_t RESERVED1; |
|---|
| 1523 | uint32_t RESERVED2; |
|---|
| 1524 | volatile uint32_t AWD1TR; |
|---|
| 1525 | volatile uint32_t AWD2TR; |
|---|
| 1526 | volatile uint32_t CHSELR; |
|---|
| 1527 | volatile uint32_t AWD3TR; |
|---|
| 1528 | uint32_t RESERVED3[4]; |
|---|
| 1529 | volatile uint32_t DR; |
|---|
| 1530 | uint32_t RESERVED4[23]; |
|---|
| 1531 | volatile uint32_t AWD2CR; |
|---|
| 1532 | volatile uint32_t AWD3CR; |
|---|
| 1533 | uint32_t RESERVED5[3]; |
|---|
| 1534 | volatile uint32_t CALFACT; |
|---|
| 1535 | } ADC_TypeDef; |
|---|
| 1536 | |
|---|
| 1537 | typedef struct |
|---|
| 1538 | { |
|---|
| 1539 | volatile uint32_t CCR; |
|---|
| 1540 | } ADC_Common_TypeDef; |
|---|
| [26] | 1541 | # 161 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g070xx.h" |
|---|
| [6] | 1542 | typedef struct |
|---|
| 1543 | { |
|---|
| 1544 | volatile uint32_t DR; |
|---|
| 1545 | volatile uint32_t IDR; |
|---|
| 1546 | volatile uint32_t CR; |
|---|
| 1547 | uint32_t RESERVED1; |
|---|
| 1548 | volatile uint32_t INIT; |
|---|
| 1549 | volatile uint32_t POL; |
|---|
| 1550 | } CRC_TypeDef; |
|---|
| 1551 | |
|---|
| 1552 | |
|---|
| 1553 | |
|---|
| 1554 | |
|---|
| 1555 | |
|---|
| 1556 | typedef struct |
|---|
| 1557 | { |
|---|
| 1558 | volatile uint32_t IDCODE; |
|---|
| 1559 | volatile uint32_t CR; |
|---|
| 1560 | volatile uint32_t APBFZ1; |
|---|
| 1561 | volatile uint32_t APBFZ2; |
|---|
| 1562 | } DBG_TypeDef; |
|---|
| 1563 | |
|---|
| 1564 | |
|---|
| 1565 | |
|---|
| 1566 | |
|---|
| 1567 | typedef struct |
|---|
| 1568 | { |
|---|
| 1569 | volatile uint32_t CCR; |
|---|
| 1570 | volatile uint32_t CNDTR; |
|---|
| 1571 | volatile uint32_t CPAR; |
|---|
| 1572 | volatile uint32_t CMAR; |
|---|
| 1573 | } DMA_Channel_TypeDef; |
|---|
| 1574 | |
|---|
| 1575 | typedef struct |
|---|
| 1576 | { |
|---|
| 1577 | volatile uint32_t ISR; |
|---|
| 1578 | volatile uint32_t IFCR; |
|---|
| 1579 | } DMA_TypeDef; |
|---|
| 1580 | |
|---|
| 1581 | |
|---|
| 1582 | |
|---|
| 1583 | |
|---|
| 1584 | typedef struct |
|---|
| 1585 | { |
|---|
| 1586 | volatile uint32_t CCR; |
|---|
| 1587 | }DMAMUX_Channel_TypeDef; |
|---|
| 1588 | |
|---|
| 1589 | typedef struct |
|---|
| 1590 | { |
|---|
| 1591 | volatile uint32_t CSR; |
|---|
| 1592 | volatile uint32_t CFR; |
|---|
| 1593 | }DMAMUX_ChannelStatus_TypeDef; |
|---|
| 1594 | |
|---|
| 1595 | typedef struct |
|---|
| 1596 | { |
|---|
| 1597 | volatile uint32_t RGCR; |
|---|
| 1598 | }DMAMUX_RequestGen_TypeDef; |
|---|
| 1599 | |
|---|
| 1600 | typedef struct |
|---|
| 1601 | { |
|---|
| 1602 | volatile uint32_t RGSR; |
|---|
| 1603 | volatile uint32_t RGCFR; |
|---|
| 1604 | }DMAMUX_RequestGenStatus_TypeDef; |
|---|
| 1605 | |
|---|
| 1606 | |
|---|
| 1607 | |
|---|
| 1608 | |
|---|
| 1609 | typedef struct |
|---|
| 1610 | { |
|---|
| 1611 | volatile uint32_t RTSR1; |
|---|
| 1612 | volatile uint32_t FTSR1; |
|---|
| 1613 | volatile uint32_t SWIER1; |
|---|
| 1614 | volatile uint32_t RPR1; |
|---|
| 1615 | volatile uint32_t FPR1; |
|---|
| 1616 | uint32_t RESERVED1[3]; |
|---|
| 1617 | uint32_t RESERVED2[5]; |
|---|
| 1618 | uint32_t RESERVED3[11]; |
|---|
| 1619 | volatile uint32_t EXTICR[4]; |
|---|
| 1620 | uint32_t RESERVED4[4]; |
|---|
| 1621 | volatile uint32_t IMR1; |
|---|
| 1622 | volatile uint32_t EMR1; |
|---|
| 1623 | } EXTI_TypeDef; |
|---|
| 1624 | |
|---|
| 1625 | |
|---|
| 1626 | |
|---|
| 1627 | |
|---|
| 1628 | typedef struct |
|---|
| 1629 | { |
|---|
| 1630 | volatile uint32_t ACR; |
|---|
| 1631 | uint32_t RESERVED1; |
|---|
| 1632 | volatile uint32_t KEYR; |
|---|
| 1633 | volatile uint32_t OPTKEYR; |
|---|
| 1634 | volatile uint32_t SR; |
|---|
| 1635 | volatile uint32_t CR; |
|---|
| 1636 | volatile uint32_t ECCR; |
|---|
| 1637 | uint32_t RESERVED2; |
|---|
| 1638 | volatile uint32_t OPTR; |
|---|
| 1639 | uint32_t RESERVED3[2]; |
|---|
| 1640 | volatile uint32_t WRP1AR; |
|---|
| 1641 | volatile uint32_t WRP1BR; |
|---|
| 1642 | uint32_t RESERVED4[2]; |
|---|
| 1643 | } FLASH_TypeDef; |
|---|
| 1644 | |
|---|
| 1645 | |
|---|
| 1646 | |
|---|
| 1647 | |
|---|
| 1648 | typedef struct |
|---|
| 1649 | { |
|---|
| 1650 | volatile uint32_t MODER; |
|---|
| 1651 | volatile uint32_t OTYPER; |
|---|
| 1652 | volatile uint32_t OSPEEDR; |
|---|
| 1653 | volatile uint32_t PUPDR; |
|---|
| 1654 | volatile uint32_t IDR; |
|---|
| 1655 | volatile uint32_t ODR; |
|---|
| 1656 | volatile uint32_t BSRR; |
|---|
| 1657 | volatile uint32_t LCKR; |
|---|
| 1658 | volatile uint32_t AFR[2]; |
|---|
| 1659 | volatile uint32_t BRR; |
|---|
| 1660 | } GPIO_TypeDef; |
|---|
| 1661 | |
|---|
| 1662 | |
|---|
| 1663 | |
|---|
| 1664 | |
|---|
| 1665 | |
|---|
| 1666 | typedef struct |
|---|
| 1667 | { |
|---|
| 1668 | volatile uint32_t CR1; |
|---|
| 1669 | volatile uint32_t CR2; |
|---|
| 1670 | volatile uint32_t OAR1; |
|---|
| 1671 | volatile uint32_t OAR2; |
|---|
| 1672 | volatile uint32_t TIMINGR; |
|---|
| 1673 | volatile uint32_t TIMEOUTR; |
|---|
| 1674 | volatile uint32_t ISR; |
|---|
| 1675 | volatile uint32_t ICR; |
|---|
| 1676 | volatile uint32_t PECR; |
|---|
| 1677 | volatile uint32_t RXDR; |
|---|
| 1678 | volatile uint32_t TXDR; |
|---|
| 1679 | } I2C_TypeDef; |
|---|
| 1680 | |
|---|
| 1681 | |
|---|
| 1682 | |
|---|
| 1683 | |
|---|
| 1684 | typedef struct |
|---|
| 1685 | { |
|---|
| 1686 | volatile uint32_t KR; |
|---|
| 1687 | volatile uint32_t PR; |
|---|
| 1688 | volatile uint32_t RLR; |
|---|
| 1689 | volatile uint32_t SR; |
|---|
| 1690 | volatile uint32_t WINR; |
|---|
| 1691 | } IWDG_TypeDef; |
|---|
| 1692 | |
|---|
| 1693 | |
|---|
| 1694 | |
|---|
| 1695 | |
|---|
| 1696 | |
|---|
| 1697 | |
|---|
| 1698 | typedef struct |
|---|
| 1699 | { |
|---|
| 1700 | volatile uint32_t CR1; |
|---|
| 1701 | uint32_t RESERVED0; |
|---|
| 1702 | volatile uint32_t CR3; |
|---|
| 1703 | volatile uint32_t CR4; |
|---|
| 1704 | volatile uint32_t SR1; |
|---|
| 1705 | volatile uint32_t SR2; |
|---|
| 1706 | volatile uint32_t SCR; |
|---|
| 1707 | uint32_t RESERVED1; |
|---|
| 1708 | volatile uint32_t PUCRA; |
|---|
| 1709 | volatile uint32_t PDCRA; |
|---|
| 1710 | volatile uint32_t PUCRB; |
|---|
| 1711 | volatile uint32_t PDCRB; |
|---|
| 1712 | volatile uint32_t PUCRC; |
|---|
| 1713 | volatile uint32_t PDCRC; |
|---|
| 1714 | volatile uint32_t PUCRD; |
|---|
| 1715 | volatile uint32_t PDCRD; |
|---|
| 1716 | uint32_t RESERVED2; |
|---|
| 1717 | uint32_t RESERVED3; |
|---|
| 1718 | volatile uint32_t PUCRF; |
|---|
| 1719 | volatile uint32_t PDCRF; |
|---|
| 1720 | } PWR_TypeDef; |
|---|
| 1721 | |
|---|
| 1722 | |
|---|
| 1723 | |
|---|
| 1724 | |
|---|
| 1725 | typedef struct |
|---|
| 1726 | { |
|---|
| 1727 | volatile uint32_t CR; |
|---|
| 1728 | volatile uint32_t ICSCR; |
|---|
| 1729 | volatile uint32_t CFGR; |
|---|
| 1730 | volatile uint32_t PLLCFGR; |
|---|
| 1731 | volatile uint32_t RESERVED0; |
|---|
| 1732 | volatile uint32_t RESERVED1; |
|---|
| 1733 | volatile uint32_t CIER; |
|---|
| 1734 | volatile uint32_t CIFR; |
|---|
| 1735 | volatile uint32_t CICR; |
|---|
| 1736 | volatile uint32_t IOPRSTR; |
|---|
| 1737 | volatile uint32_t AHBRSTR; |
|---|
| 1738 | volatile uint32_t APBRSTR1; |
|---|
| 1739 | volatile uint32_t APBRSTR2; |
|---|
| 1740 | volatile uint32_t IOPENR; |
|---|
| 1741 | volatile uint32_t AHBENR; |
|---|
| 1742 | volatile uint32_t APBENR1; |
|---|
| 1743 | volatile uint32_t APBENR2; |
|---|
| 1744 | volatile uint32_t IOPSMENR; |
|---|
| 1745 | volatile uint32_t AHBSMENR; |
|---|
| 1746 | volatile uint32_t APBSMENR1; |
|---|
| 1747 | volatile uint32_t APBSMENR2; |
|---|
| 1748 | volatile uint32_t CCIPR; |
|---|
| 1749 | volatile uint32_t RESERVED2; |
|---|
| 1750 | volatile uint32_t BDCR; |
|---|
| 1751 | volatile uint32_t CSR; |
|---|
| 1752 | } RCC_TypeDef; |
|---|
| 1753 | |
|---|
| 1754 | |
|---|
| 1755 | |
|---|
| 1756 | |
|---|
| 1757 | typedef struct |
|---|
| 1758 | { |
|---|
| 1759 | volatile uint32_t TR; |
|---|
| 1760 | volatile uint32_t DR; |
|---|
| 1761 | volatile uint32_t SSR; |
|---|
| 1762 | volatile uint32_t ICSR; |
|---|
| 1763 | volatile uint32_t PRER; |
|---|
| 1764 | volatile uint32_t WUTR; |
|---|
| 1765 | volatile uint32_t CR; |
|---|
| 1766 | uint32_t RESERVED0; |
|---|
| 1767 | uint32_t RESERVED1; |
|---|
| 1768 | volatile uint32_t WPR; |
|---|
| 1769 | volatile uint32_t CALR; |
|---|
| 1770 | volatile uint32_t SHIFTR; |
|---|
| 1771 | volatile uint32_t TSTR; |
|---|
| 1772 | volatile uint32_t TSDR; |
|---|
| 1773 | volatile uint32_t TSSSR; |
|---|
| 1774 | uint32_t RESERVED2; |
|---|
| 1775 | volatile uint32_t ALRMAR; |
|---|
| 1776 | volatile uint32_t ALRMASSR; |
|---|
| 1777 | volatile uint32_t ALRMBR; |
|---|
| 1778 | volatile uint32_t ALRMBSSR; |
|---|
| 1779 | volatile uint32_t SR; |
|---|
| 1780 | volatile uint32_t MISR; |
|---|
| 1781 | uint32_t RESERVED3; |
|---|
| 1782 | volatile uint32_t SCR; |
|---|
| 1783 | volatile uint32_t OR; |
|---|
| 1784 | } RTC_TypeDef; |
|---|
| 1785 | |
|---|
| 1786 | |
|---|
| 1787 | |
|---|
| 1788 | |
|---|
| 1789 | typedef struct |
|---|
| 1790 | { |
|---|
| 1791 | volatile uint32_t CR1; |
|---|
| 1792 | volatile uint32_t CR2; |
|---|
| 1793 | uint32_t RESERVED0; |
|---|
| 1794 | volatile uint32_t FLTCR; |
|---|
| 1795 | uint32_t RESERVED1[7]; |
|---|
| 1796 | volatile uint32_t IER; |
|---|
| 1797 | volatile uint32_t SR; |
|---|
| 1798 | volatile uint32_t MISR; |
|---|
| 1799 | uint32_t RESERVED2; |
|---|
| 1800 | volatile uint32_t SCR; |
|---|
| 1801 | uint32_t RESERVED3[48]; |
|---|
| 1802 | volatile uint32_t BKP0R; |
|---|
| 1803 | volatile uint32_t BKP1R; |
|---|
| 1804 | volatile uint32_t BKP2R; |
|---|
| 1805 | volatile uint32_t BKP3R; |
|---|
| 1806 | volatile uint32_t BKP4R; |
|---|
| 1807 | } TAMP_TypeDef; |
|---|
| 1808 | |
|---|
| 1809 | |
|---|
| 1810 | |
|---|
| 1811 | |
|---|
| 1812 | typedef struct |
|---|
| 1813 | { |
|---|
| 1814 | volatile uint32_t CR1; |
|---|
| 1815 | volatile uint32_t CR2; |
|---|
| 1816 | volatile uint32_t SR; |
|---|
| 1817 | volatile uint32_t DR; |
|---|
| 1818 | volatile uint32_t CRCPR; |
|---|
| 1819 | volatile uint32_t RXCRCR; |
|---|
| 1820 | volatile uint32_t TXCRCR; |
|---|
| 1821 | volatile uint32_t I2SCFGR; |
|---|
| 1822 | volatile uint32_t I2SPR; |
|---|
| 1823 | } SPI_TypeDef; |
|---|
| 1824 | |
|---|
| 1825 | |
|---|
| 1826 | |
|---|
| 1827 | |
|---|
| 1828 | typedef struct |
|---|
| 1829 | { |
|---|
| 1830 | volatile uint32_t CFGR1; |
|---|
| 1831 | uint32_t RESERVED0[5]; |
|---|
| 1832 | volatile uint32_t CFGR2; |
|---|
| 1833 | uint32_t RESERVED1[25]; |
|---|
| 1834 | volatile uint32_t IT_LINE_SR[32]; |
|---|
| 1835 | } SYSCFG_TypeDef; |
|---|
| 1836 | |
|---|
| 1837 | |
|---|
| 1838 | |
|---|
| 1839 | |
|---|
| 1840 | typedef struct |
|---|
| 1841 | { |
|---|
| 1842 | volatile uint32_t CR1; |
|---|
| 1843 | volatile uint32_t CR2; |
|---|
| 1844 | volatile uint32_t SMCR; |
|---|
| 1845 | volatile uint32_t DIER; |
|---|
| 1846 | volatile uint32_t SR; |
|---|
| 1847 | volatile uint32_t EGR; |
|---|
| 1848 | volatile uint32_t CCMR1; |
|---|
| 1849 | volatile uint32_t CCMR2; |
|---|
| 1850 | volatile uint32_t CCER; |
|---|
| 1851 | volatile uint32_t CNT; |
|---|
| 1852 | volatile uint32_t PSC; |
|---|
| 1853 | volatile uint32_t ARR; |
|---|
| 1854 | volatile uint32_t RCR; |
|---|
| 1855 | volatile uint32_t CCR1; |
|---|
| 1856 | volatile uint32_t CCR2; |
|---|
| 1857 | volatile uint32_t CCR3; |
|---|
| 1858 | volatile uint32_t CCR4; |
|---|
| 1859 | volatile uint32_t BDTR; |
|---|
| 1860 | volatile uint32_t DCR; |
|---|
| 1861 | volatile uint32_t DMAR; |
|---|
| 1862 | volatile uint32_t OR1; |
|---|
| 1863 | volatile uint32_t CCMR3; |
|---|
| 1864 | volatile uint32_t CCR5; |
|---|
| 1865 | volatile uint32_t CCR6; |
|---|
| 1866 | volatile uint32_t AF1; |
|---|
| 1867 | volatile uint32_t AF2; |
|---|
| 1868 | volatile uint32_t TISEL; |
|---|
| 1869 | } TIM_TypeDef; |
|---|
| 1870 | |
|---|
| 1871 | |
|---|
| 1872 | |
|---|
| 1873 | |
|---|
| 1874 | typedef struct |
|---|
| 1875 | { |
|---|
| 1876 | volatile uint32_t CR1; |
|---|
| 1877 | volatile uint32_t CR2; |
|---|
| 1878 | volatile uint32_t CR3; |
|---|
| 1879 | volatile uint32_t BRR; |
|---|
| 1880 | volatile uint32_t GTPR; |
|---|
| 1881 | volatile uint32_t RTOR; |
|---|
| 1882 | volatile uint32_t RQR; |
|---|
| 1883 | volatile uint32_t ISR; |
|---|
| 1884 | volatile uint32_t ICR; |
|---|
| 1885 | volatile uint32_t RDR; |
|---|
| 1886 | volatile uint32_t TDR; |
|---|
| 1887 | volatile uint32_t PRESC; |
|---|
| 1888 | } USART_TypeDef; |
|---|
| 1889 | |
|---|
| 1890 | |
|---|
| 1891 | |
|---|
| 1892 | |
|---|
| 1893 | |
|---|
| 1894 | typedef struct |
|---|
| 1895 | { |
|---|
| 1896 | volatile uint32_t CR; |
|---|
| 1897 | volatile uint32_t CFR; |
|---|
| 1898 | volatile uint32_t SR; |
|---|
| 1899 | } WWDG_TypeDef; |
|---|
| [26] | 1900 | # 120 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2 |
|---|
| 1901 | # 143 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
|---|
| [6] | 1902 | typedef enum |
|---|
| 1903 | { |
|---|
| 1904 | RESET = 0, |
|---|
| 1905 | SET = !RESET |
|---|
| 1906 | } FlagStatus, ITStatus; |
|---|
| 1907 | |
|---|
| 1908 | typedef enum |
|---|
| 1909 | { |
|---|
| 1910 | DISABLE = 0, |
|---|
| 1911 | ENABLE = !DISABLE |
|---|
| 1912 | } FunctionalState; |
|---|
| 1913 | |
|---|
| 1914 | |
|---|
| 1915 | typedef enum |
|---|
| 1916 | { |
|---|
| 1917 | SUCCESS = 0, |
|---|
| 1918 | ERROR = !SUCCESS |
|---|
| 1919 | } ErrorStatus; |
|---|
| [26] | 1920 | # 230 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" |
|---|
| 1921 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 1 |
|---|
| 1922 | # 231 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/CMSIS/Device/ST/STM32G0xx/Include\\stm32g0xx.h" 2 |
|---|
| 1923 | # 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
|---|
| 1924 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\Legacy/stm32_hal_legacy.h" 1 |
|---|
| 1925 | # 31 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
|---|
| [6] | 1926 | # 1 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 1 3 |
|---|
| 1927 | # 72 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
|---|
| 1928 | typedef unsigned int size_t; |
|---|
| 1929 | # 86 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
|---|
| 1930 | typedef unsigned int wchar_t; |
|---|
| 1931 | # 97 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
|---|
| 1932 | typedef int ptrdiff_t; |
|---|
| 1933 | # 110 "C:/Program Files/SEGGER/SEGGER Embedded Studio 8.22a/include\\stddef.h" 3 |
|---|
| 1934 | typedef double max_align_t; |
|---|
| [26] | 1935 | # 32 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_def.h" 2 |
|---|
| [6] | 1936 | |
|---|
| 1937 | |
|---|
| 1938 | |
|---|
| 1939 | |
|---|
| 1940 | |
|---|
| 1941 | |
|---|
| 1942 | typedef enum |
|---|
| 1943 | { |
|---|
| 1944 | HAL_OK = 0x00U, |
|---|
| 1945 | HAL_ERROR = 0x01U, |
|---|
| 1946 | HAL_BUSY = 0x02U, |
|---|
| 1947 | HAL_TIMEOUT = 0x03U |
|---|
| 1948 | } HAL_StatusTypeDef; |
|---|
| 1949 | |
|---|
| 1950 | |
|---|
| 1951 | |
|---|
| 1952 | |
|---|
| 1953 | typedef enum |
|---|
| 1954 | { |
|---|
| 1955 | HAL_UNLOCKED = 0x00U, |
|---|
| 1956 | HAL_LOCKED = 0x01U |
|---|
| 1957 | } HAL_LockTypeDef; |
|---|
| [26] | 1958 | # 28 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
|---|
| 1959 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" 1 |
|---|
| 1960 | # 1248 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 1961 | static inline void LL_RCC_HSE_EnableCSS(void) |
|---|
| 1962 | { |
|---|
| 1963 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (19U)))); |
|---|
| 1964 | } |
|---|
| 1965 | |
|---|
| 1966 | |
|---|
| 1967 | |
|---|
| 1968 | |
|---|
| 1969 | |
|---|
| 1970 | |
|---|
| 1971 | static inline void LL_RCC_HSE_EnableBypass(void) |
|---|
| 1972 | { |
|---|
| 1973 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (18U)))); |
|---|
| 1974 | } |
|---|
| 1975 | |
|---|
| 1976 | |
|---|
| 1977 | |
|---|
| 1978 | |
|---|
| 1979 | |
|---|
| 1980 | |
|---|
| 1981 | static inline void LL_RCC_HSE_DisableBypass(void) |
|---|
| 1982 | { |
|---|
| 1983 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (18U)))); |
|---|
| 1984 | } |
|---|
| 1985 | |
|---|
| 1986 | |
|---|
| 1987 | |
|---|
| 1988 | |
|---|
| 1989 | |
|---|
| 1990 | |
|---|
| 1991 | static inline void LL_RCC_HSE_Enable(void) |
|---|
| 1992 | { |
|---|
| 1993 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (16U)))); |
|---|
| 1994 | } |
|---|
| 1995 | |
|---|
| 1996 | |
|---|
| 1997 | |
|---|
| 1998 | |
|---|
| 1999 | |
|---|
| 2000 | |
|---|
| 2001 | static inline void LL_RCC_HSE_Disable(void) |
|---|
| 2002 | { |
|---|
| 2003 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (16U)))); |
|---|
| 2004 | } |
|---|
| 2005 | |
|---|
| 2006 | |
|---|
| 2007 | |
|---|
| 2008 | |
|---|
| 2009 | |
|---|
| 2010 | |
|---|
| 2011 | static inline uint32_t LL_RCC_HSE_IsReady(void) |
|---|
| 2012 | { |
|---|
| 2013 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL); |
|---|
| 2014 | } |
|---|
| [26] | 2015 | # 1317 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2016 | static inline void LL_RCC_HSI_EnableInStopMode(void) |
|---|
| 2017 | { |
|---|
| 2018 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (9U)))); |
|---|
| 2019 | } |
|---|
| 2020 | |
|---|
| 2021 | |
|---|
| 2022 | |
|---|
| 2023 | |
|---|
| 2024 | |
|---|
| 2025 | |
|---|
| 2026 | static inline void LL_RCC_HSI_DisableInStopMode(void) |
|---|
| 2027 | { |
|---|
| 2028 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (9U)))); |
|---|
| 2029 | } |
|---|
| 2030 | |
|---|
| 2031 | |
|---|
| 2032 | |
|---|
| 2033 | |
|---|
| 2034 | |
|---|
| 2035 | |
|---|
| 2036 | static inline uint32_t LL_RCC_HSI_IsEnabledInStopMode(void) |
|---|
| 2037 | { |
|---|
| 2038 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
|---|
| 2039 | } |
|---|
| 2040 | |
|---|
| 2041 | |
|---|
| 2042 | |
|---|
| 2043 | |
|---|
| 2044 | |
|---|
| 2045 | |
|---|
| 2046 | static inline void LL_RCC_HSI_Enable(void) |
|---|
| 2047 | { |
|---|
| 2048 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (8U)))); |
|---|
| 2049 | } |
|---|
| 2050 | |
|---|
| 2051 | |
|---|
| 2052 | |
|---|
| 2053 | |
|---|
| 2054 | |
|---|
| 2055 | |
|---|
| 2056 | static inline void LL_RCC_HSI_Disable(void) |
|---|
| 2057 | { |
|---|
| 2058 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (8U)))); |
|---|
| 2059 | } |
|---|
| 2060 | |
|---|
| 2061 | |
|---|
| 2062 | |
|---|
| 2063 | |
|---|
| 2064 | |
|---|
| 2065 | |
|---|
| 2066 | static inline uint32_t LL_RCC_HSI_IsReady(void) |
|---|
| 2067 | { |
|---|
| 2068 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); |
|---|
| 2069 | } |
|---|
| [26] | 2070 | # 1379 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2071 | static inline uint32_t LL_RCC_HSI_GetCalibration(void) |
|---|
| 2072 | { |
|---|
| 2073 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0xFFUL << (0U)))) >> (0U)); |
|---|
| 2074 | } |
|---|
| [26] | 2075 | # 1393 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2076 | static inline void LL_RCC_HSI_SetCalibTrimming(uint32_t Value) |
|---|
| 2077 | { |
|---|
| 2078 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR))) & (~((0x7FUL << (8U))))) | (Value << (8U))))); |
|---|
| 2079 | } |
|---|
| 2080 | |
|---|
| 2081 | |
|---|
| 2082 | |
|---|
| 2083 | |
|---|
| 2084 | |
|---|
| 2085 | |
|---|
| 2086 | static inline uint32_t LL_RCC_HSI_GetCalibTrimming(void) |
|---|
| 2087 | { |
|---|
| 2088 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->ICSCR) & ((0x7FUL << (8U)))) >> (8U)); |
|---|
| 2089 | } |
|---|
| [26] | 2090 | # 1471 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2091 | static inline void LL_RCC_LSE_Enable(void) |
|---|
| 2092 | { |
|---|
| 2093 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (0U)))); |
|---|
| 2094 | } |
|---|
| 2095 | |
|---|
| 2096 | |
|---|
| 2097 | |
|---|
| 2098 | |
|---|
| 2099 | |
|---|
| 2100 | |
|---|
| 2101 | static inline void LL_RCC_LSE_Disable(void) |
|---|
| 2102 | { |
|---|
| 2103 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (0U)))); |
|---|
| 2104 | } |
|---|
| 2105 | |
|---|
| 2106 | |
|---|
| 2107 | |
|---|
| 2108 | |
|---|
| 2109 | |
|---|
| 2110 | |
|---|
| 2111 | static inline void LL_RCC_LSE_EnableBypass(void) |
|---|
| 2112 | { |
|---|
| 2113 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (2U)))); |
|---|
| 2114 | } |
|---|
| 2115 | |
|---|
| 2116 | |
|---|
| 2117 | |
|---|
| 2118 | |
|---|
| 2119 | |
|---|
| 2120 | |
|---|
| 2121 | static inline void LL_RCC_LSE_DisableBypass(void) |
|---|
| 2122 | { |
|---|
| 2123 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (2U)))); |
|---|
| 2124 | } |
|---|
| [26] | 2125 | # 1517 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2126 | static inline void LL_RCC_LSE_SetDriveCapability(uint32_t LSEDrive) |
|---|
| 2127 | { |
|---|
| 2128 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (3U))))) | (LSEDrive)))); |
|---|
| 2129 | } |
|---|
| [26] | 2130 | # 1531 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2131 | static inline uint32_t LL_RCC_LSE_GetDriveCapability(void) |
|---|
| 2132 | { |
|---|
| 2133 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (3U))))); |
|---|
| 2134 | } |
|---|
| 2135 | |
|---|
| 2136 | |
|---|
| 2137 | |
|---|
| 2138 | |
|---|
| 2139 | |
|---|
| 2140 | |
|---|
| 2141 | static inline void LL_RCC_LSE_EnableCSS(void) |
|---|
| 2142 | { |
|---|
| 2143 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (5U)))); |
|---|
| 2144 | } |
|---|
| [26] | 2145 | # 1553 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2146 | static inline void LL_RCC_LSE_DisableCSS(void) |
|---|
| 2147 | { |
|---|
| 2148 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (5U)))); |
|---|
| 2149 | } |
|---|
| 2150 | |
|---|
| 2151 | |
|---|
| 2152 | |
|---|
| 2153 | |
|---|
| 2154 | |
|---|
| 2155 | |
|---|
| 2156 | static inline uint32_t LL_RCC_LSE_IsReady(void) |
|---|
| 2157 | { |
|---|
| 2158 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 2159 | } |
|---|
| 2160 | |
|---|
| 2161 | |
|---|
| 2162 | |
|---|
| 2163 | |
|---|
| 2164 | |
|---|
| 2165 | |
|---|
| 2166 | static inline uint32_t LL_RCC_LSE_IsCSSDetected(void) |
|---|
| 2167 | { |
|---|
| 2168 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
|---|
| 2169 | } |
|---|
| [26] | 2170 | # 1591 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2171 | static inline void LL_RCC_LSI_Enable(void) |
|---|
| 2172 | { |
|---|
| 2173 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (0U)))); |
|---|
| 2174 | } |
|---|
| 2175 | |
|---|
| 2176 | |
|---|
| 2177 | |
|---|
| 2178 | |
|---|
| 2179 | |
|---|
| 2180 | |
|---|
| 2181 | static inline void LL_RCC_LSI_Disable(void) |
|---|
| 2182 | { |
|---|
| 2183 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) &= ~((0x1UL << (0U)))); |
|---|
| 2184 | } |
|---|
| 2185 | |
|---|
| 2186 | |
|---|
| 2187 | |
|---|
| 2188 | |
|---|
| 2189 | |
|---|
| 2190 | |
|---|
| 2191 | static inline uint32_t LL_RCC_LSI_IsReady(void) |
|---|
| 2192 | { |
|---|
| 2193 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 2194 | } |
|---|
| [26] | 2195 | # 1629 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2196 | static inline void LL_RCC_LSCO_Enable(void) |
|---|
| 2197 | { |
|---|
| 2198 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (24U)))); |
|---|
| 2199 | } |
|---|
| 2200 | |
|---|
| 2201 | |
|---|
| 2202 | |
|---|
| 2203 | |
|---|
| 2204 | |
|---|
| 2205 | |
|---|
| 2206 | static inline void LL_RCC_LSCO_Disable(void) |
|---|
| 2207 | { |
|---|
| 2208 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (24U)))); |
|---|
| 2209 | } |
|---|
| [26] | 2210 | # 1652 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2211 | static inline void LL_RCC_LSCO_SetSource(uint32_t Source) |
|---|
| 2212 | { |
|---|
| 2213 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x1UL << (25U))))) | (Source)))); |
|---|
| 2214 | } |
|---|
| [26] | 2215 | # 1664 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2216 | static inline uint32_t LL_RCC_LSCO_GetSource(void) |
|---|
| 2217 | { |
|---|
| 2218 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (25U))))); |
|---|
| 2219 | } |
|---|
| [26] | 2220 | # 1688 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2221 | static inline void LL_RCC_SetSysClkSource(uint32_t Source) |
|---|
| 2222 | { |
|---|
| 2223 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (0U))))) | (Source)))); |
|---|
| 2224 | } |
|---|
| [26] | 2225 | # 1703 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2226 | static inline uint32_t LL_RCC_GetSysClkSource(void) |
|---|
| 2227 | { |
|---|
| 2228 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (3U))))); |
|---|
| 2229 | } |
|---|
| [26] | 2230 | # 1723 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2231 | static inline void LL_RCC_SetAHBPrescaler(uint32_t Prescaler) |
|---|
| 2232 | { |
|---|
| 2233 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0xFUL << (8U))))) | (Prescaler)))); |
|---|
| 2234 | } |
|---|
| [26] | 2235 | # 1739 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2236 | static inline void LL_RCC_SetAPB1Prescaler(uint32_t Prescaler) |
|---|
| 2237 | { |
|---|
| 2238 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (12U))))) | (Prescaler)))); |
|---|
| 2239 | } |
|---|
| [26] | 2240 | # 1760 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2241 | static inline void LL_RCC_SetHSIDiv(uint32_t HSIDiv) |
|---|
| 2242 | { |
|---|
| 2243 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR))) & (~((0x7UL << (11U))))) | (HSIDiv)))); |
|---|
| 2244 | } |
|---|
| [26] | 2245 | # 1778 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2246 | static inline uint32_t LL_RCC_GetAHBPrescaler(void) |
|---|
| 2247 | { |
|---|
| 2248 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0xFUL << (8U))))); |
|---|
| 2249 | } |
|---|
| [26] | 2250 | # 1793 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2251 | static inline uint32_t LL_RCC_GetAPB1Prescaler(void) |
|---|
| 2252 | { |
|---|
| 2253 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR) & ((0x7UL << (12U))))); |
|---|
| 2254 | } |
|---|
| [26] | 2255 | # 1813 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2256 | static inline uint32_t LL_RCC_GetHSIDiv(void) |
|---|
| 2257 | { |
|---|
| 2258 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x7UL << (11U))))); |
|---|
| 2259 | } |
|---|
| [26] | 2260 | # 1854 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2261 | static inline void LL_RCC_ConfigMCO(uint32_t MCOxSource, uint32_t MCOxPrescaler) |
|---|
| 2262 | { |
|---|
| 2263 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CFGR))) & (~((0x7UL << (24U)) | (0x7UL << (28U))))) | (MCOxSource | MCOxPrescaler)))); |
|---|
| 2264 | } |
|---|
| [26] | 2265 | # 1935 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2266 | static inline void LL_RCC_SetUSARTClockSource(uint32_t USARTxSource) |
|---|
| 2267 | { |
|---|
| 2268 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((USARTxSource >> 16U)))) | ((USARTxSource & 0x0000FFFFU))))); |
|---|
| 2269 | } |
|---|
| [26] | 2270 | # 1976 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2271 | static inline void LL_RCC_SetI2CClockSource(uint32_t I2CxSource) |
|---|
| 2272 | { |
|---|
| 2273 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((I2CxSource >> 16U)))) | ((I2CxSource & 0x0000FFFFU))))); |
|---|
| 2274 | } |
|---|
| [26] | 2275 | # 2113 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2276 | static inline void LL_RCC_SetADCClockSource(uint32_t ADCxSource) |
|---|
| 2277 | { |
|---|
| 2278 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (30U))))) | (ADCxSource)))); |
|---|
| 2279 | } |
|---|
| [26] | 2280 | # 2149 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2281 | static inline void LL_RCC_SetI2SClockSource(uint32_t I2SxSource) |
|---|
| 2282 | { |
|---|
| 2283 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR))) & (~((0x3UL << (14U))))) | (I2SxSource)))); |
|---|
| 2284 | } |
|---|
| [26] | 2285 | # 2177 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2286 | static inline uint32_t LL_RCC_GetUSARTClockSource(uint32_t USARTx) |
|---|
| 2287 | { |
|---|
| 2288 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (USARTx)) | (USARTx << 16U)); |
|---|
| 2289 | } |
|---|
| [26] | 2290 | # 2222 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2291 | static inline uint32_t LL_RCC_GetI2CClockSource(uint32_t I2Cx) |
|---|
| 2292 | { |
|---|
| 2293 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Cx)) | (I2Cx << 16U)); |
|---|
| 2294 | } |
|---|
| [26] | 2295 | # 2364 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2296 | static inline uint32_t LL_RCC_GetADCClockSource(uint32_t ADCx) |
|---|
| 2297 | { |
|---|
| 2298 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (ADCx))); |
|---|
| 2299 | } |
|---|
| [26] | 2300 | # 2403 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2301 | static inline uint32_t LL_RCC_GetI2SClockSource(uint32_t I2Sx) |
|---|
| 2302 | { |
|---|
| 2303 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CCIPR) & (I2Sx))); |
|---|
| 2304 | } |
|---|
| [26] | 2305 | # 2429 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2306 | static inline void LL_RCC_SetRTCClockSource(uint32_t Source) |
|---|
| 2307 | { |
|---|
| 2308 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR))) & (~((0x3UL << (8U))))) | (Source)))); |
|---|
| 2309 | } |
|---|
| [26] | 2310 | # 2443 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2311 | static inline uint32_t LL_RCC_GetRTCClockSource(void) |
|---|
| 2312 | { |
|---|
| 2313 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x3UL << (8U))))); |
|---|
| 2314 | } |
|---|
| 2315 | |
|---|
| 2316 | |
|---|
| 2317 | |
|---|
| 2318 | |
|---|
| 2319 | |
|---|
| 2320 | |
|---|
| 2321 | static inline void LL_RCC_EnableRTC(void) |
|---|
| 2322 | { |
|---|
| 2323 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (15U)))); |
|---|
| 2324 | } |
|---|
| 2325 | |
|---|
| 2326 | |
|---|
| 2327 | |
|---|
| 2328 | |
|---|
| 2329 | |
|---|
| 2330 | |
|---|
| 2331 | static inline void LL_RCC_DisableRTC(void) |
|---|
| 2332 | { |
|---|
| 2333 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (15U)))); |
|---|
| 2334 | } |
|---|
| 2335 | |
|---|
| 2336 | |
|---|
| 2337 | |
|---|
| 2338 | |
|---|
| 2339 | |
|---|
| 2340 | |
|---|
| 2341 | static inline uint32_t LL_RCC_IsEnabledRTC(void) |
|---|
| 2342 | { |
|---|
| 2343 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL); |
|---|
| 2344 | } |
|---|
| 2345 | |
|---|
| 2346 | |
|---|
| 2347 | |
|---|
| 2348 | |
|---|
| 2349 | |
|---|
| 2350 | |
|---|
| 2351 | static inline void LL_RCC_ForceBackupDomainReset(void) |
|---|
| 2352 | { |
|---|
| 2353 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (16U)))); |
|---|
| 2354 | } |
|---|
| 2355 | |
|---|
| 2356 | |
|---|
| 2357 | |
|---|
| 2358 | |
|---|
| 2359 | |
|---|
| 2360 | |
|---|
| 2361 | static inline void LL_RCC_ReleaseBackupDomainReset(void) |
|---|
| 2362 | { |
|---|
| 2363 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (16U)))); |
|---|
| 2364 | } |
|---|
| [26] | 2365 | # 2512 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2366 | static inline void LL_RCC_PLL_Enable(void) |
|---|
| 2367 | { |
|---|
| 2368 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) |= ((0x1UL << (24U)))); |
|---|
| 2369 | } |
|---|
| 2370 | |
|---|
| 2371 | |
|---|
| 2372 | |
|---|
| 2373 | |
|---|
| 2374 | |
|---|
| 2375 | |
|---|
| 2376 | |
|---|
| 2377 | static inline void LL_RCC_PLL_Disable(void) |
|---|
| 2378 | { |
|---|
| 2379 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) &= ~((0x1UL << (24U)))); |
|---|
| 2380 | } |
|---|
| 2381 | |
|---|
| 2382 | |
|---|
| 2383 | |
|---|
| 2384 | |
|---|
| 2385 | |
|---|
| 2386 | |
|---|
| 2387 | static inline uint32_t LL_RCC_PLL_IsReady(void) |
|---|
| 2388 | { |
|---|
| 2389 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
|---|
| 2390 | } |
|---|
| [26] | 2391 | # 2570 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2392 | static inline void LL_RCC_PLL_ConfigDomain_SYS(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR) |
|---|
| 2393 | { |
|---|
| 2394 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U)) | (0x7UL << (4U)) | (0x7FUL << (8U)) | (0x7UL << (29U))))) | (Source | PLLM | (PLLN << (8U)) | PLLR)))); |
|---|
| 2395 | |
|---|
| 2396 | } |
|---|
| [26] | 2397 | # 2635 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2398 | static inline void LL_RCC_PLL_ConfigDomain_ADC(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP) |
|---|
| 2399 | { |
|---|
| 2400 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U)) | (0x7UL << (4U)) | (0x7FUL << (8U)) | (0x1FUL << (17U))))) | (Source | PLLM | (PLLN << (8U)) | PLLP)))); |
|---|
| 2401 | |
|---|
| 2402 | } |
|---|
| [26] | 2403 | # 2700 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2404 | static inline void LL_RCC_PLL_ConfigDomain_I2S1(uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP) |
|---|
| 2405 | { |
|---|
| 2406 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U)) | (0x7UL << (4U)) | (0x7FUL << (8U)) | (0x1FUL << (17U))))) | (Source | PLLM | (PLLN << (8U)) | PLLP)))); |
|---|
| 2407 | |
|---|
| 2408 | } |
|---|
| [26] | 2409 | # 2993 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2410 | static inline uint32_t LL_RCC_PLL_GetN(void) |
|---|
| 2411 | { |
|---|
| 2412 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7FUL << (8U)))) >> (8U)); |
|---|
| 2413 | } |
|---|
| [26] | 2414 | # 3035 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2415 | static inline uint32_t LL_RCC_PLL_GetP(void) |
|---|
| 2416 | { |
|---|
| 2417 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1FUL << (17U))))); |
|---|
| 2418 | } |
|---|
| [26] | 2419 | # 3073 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2420 | static inline uint32_t LL_RCC_PLL_GetR(void) |
|---|
| 2421 | { |
|---|
| 2422 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (29U))))); |
|---|
| 2423 | } |
|---|
| [26] | 2424 | # 3086 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2425 | static inline void LL_RCC_PLL_SetMainSource(uint32_t PLLSource) |
|---|
| 2426 | { |
|---|
| 2427 | (((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR)) = ((((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR))) & (~((0x3UL << (0U))))) | (PLLSource)))); |
|---|
| 2428 | } |
|---|
| [26] | 2429 | # 3099 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2430 | static inline uint32_t LL_RCC_PLL_GetMainSource(void) |
|---|
| 2431 | { |
|---|
| 2432 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x3UL << (0U))))); |
|---|
| 2433 | } |
|---|
| [26] | 2434 | # 3117 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2435 | static inline uint32_t LL_RCC_PLL_GetDivider(void) |
|---|
| 2436 | { |
|---|
| 2437 | return (uint32_t)(((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x7UL << (4U))))); |
|---|
| 2438 | } |
|---|
| [26] | 2439 | # 3129 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2440 | static inline void LL_RCC_PLL_EnableDomain_ADC(void) |
|---|
| 2441 | { |
|---|
| 2442 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U)))); |
|---|
| 2443 | } |
|---|
| [26] | 2444 | # 3144 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2445 | static inline void LL_RCC_PLL_DisableDomain_ADC(void) |
|---|
| 2446 | { |
|---|
| 2447 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U)))); |
|---|
| 2448 | } |
|---|
| 2449 | |
|---|
| 2450 | |
|---|
| 2451 | |
|---|
| 2452 | |
|---|
| 2453 | |
|---|
| 2454 | |
|---|
| 2455 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_ADC(void) |
|---|
| 2456 | { |
|---|
| 2457 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
|---|
| 2458 | } |
|---|
| [26] | 2459 | # 3166 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2460 | static inline void LL_RCC_PLL_EnableDomain_I2S1(void) |
|---|
| 2461 | { |
|---|
| 2462 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (16U)))); |
|---|
| 2463 | } |
|---|
| [26] | 2464 | # 3195 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2465 | static inline void LL_RCC_PLL_DisableDomain_I2S1(void) |
|---|
| 2466 | { |
|---|
| 2467 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (16U)))); |
|---|
| 2468 | } |
|---|
| 2469 | |
|---|
| 2470 | |
|---|
| 2471 | |
|---|
| 2472 | |
|---|
| 2473 | |
|---|
| 2474 | |
|---|
| 2475 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_I2S1(void) |
|---|
| 2476 | { |
|---|
| 2477 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
|---|
| 2478 | } |
|---|
| [26] | 2479 | # 3437 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2480 | static inline void LL_RCC_PLL_EnableDomain_SYS(void) |
|---|
| 2481 | { |
|---|
| 2482 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) |= ((0x1UL << (28U)))); |
|---|
| 2483 | } |
|---|
| [26] | 2484 | # 3450 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2485 | static inline void LL_RCC_PLL_DisableDomain_SYS(void) |
|---|
| 2486 | { |
|---|
| 2487 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) &= ~((0x1UL << (28U)))); |
|---|
| 2488 | } |
|---|
| 2489 | |
|---|
| 2490 | |
|---|
| 2491 | |
|---|
| 2492 | |
|---|
| 2493 | |
|---|
| 2494 | |
|---|
| 2495 | static inline uint32_t LL_RCC_PLL_IsEnabledDomain_SYS(void) |
|---|
| 2496 | { |
|---|
| 2497 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->PLLCFGR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
|---|
| 2498 | } |
|---|
| [26] | 2499 | # 3480 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2500 | static inline void LL_RCC_ClearFlag_LSIRDY(void) |
|---|
| 2501 | { |
|---|
| 2502 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (0U)))); |
|---|
| 2503 | } |
|---|
| 2504 | |
|---|
| 2505 | |
|---|
| 2506 | |
|---|
| 2507 | |
|---|
| 2508 | |
|---|
| 2509 | |
|---|
| 2510 | static inline void LL_RCC_ClearFlag_LSERDY(void) |
|---|
| 2511 | { |
|---|
| 2512 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (1U)))); |
|---|
| 2513 | } |
|---|
| 2514 | |
|---|
| 2515 | |
|---|
| 2516 | |
|---|
| 2517 | |
|---|
| 2518 | |
|---|
| 2519 | |
|---|
| 2520 | static inline void LL_RCC_ClearFlag_HSIRDY(void) |
|---|
| 2521 | { |
|---|
| 2522 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (3U)))); |
|---|
| 2523 | } |
|---|
| 2524 | |
|---|
| 2525 | |
|---|
| 2526 | |
|---|
| 2527 | |
|---|
| 2528 | |
|---|
| 2529 | |
|---|
| 2530 | static inline void LL_RCC_ClearFlag_HSERDY(void) |
|---|
| 2531 | { |
|---|
| 2532 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (4U)))); |
|---|
| 2533 | } |
|---|
| 2534 | |
|---|
| 2535 | |
|---|
| 2536 | |
|---|
| 2537 | |
|---|
| 2538 | |
|---|
| 2539 | |
|---|
| 2540 | static inline void LL_RCC_ClearFlag_PLLRDY(void) |
|---|
| 2541 | { |
|---|
| 2542 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (5U)))); |
|---|
| 2543 | } |
|---|
| [26] | 2544 | # 3541 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2545 | static inline void LL_RCC_ClearFlag_HSECSS(void) |
|---|
| 2546 | { |
|---|
| 2547 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (8U)))); |
|---|
| 2548 | } |
|---|
| 2549 | |
|---|
| 2550 | |
|---|
| 2551 | |
|---|
| 2552 | |
|---|
| 2553 | |
|---|
| 2554 | |
|---|
| 2555 | static inline void LL_RCC_ClearFlag_LSECSS(void) |
|---|
| 2556 | { |
|---|
| 2557 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CICR) |= ((0x1UL << (9U)))); |
|---|
| 2558 | } |
|---|
| 2559 | |
|---|
| 2560 | |
|---|
| 2561 | |
|---|
| 2562 | |
|---|
| 2563 | |
|---|
| 2564 | |
|---|
| 2565 | static inline uint32_t LL_RCC_IsActiveFlag_LSIRDY(void) |
|---|
| 2566 | { |
|---|
| 2567 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 2568 | } |
|---|
| 2569 | |
|---|
| 2570 | |
|---|
| 2571 | |
|---|
| 2572 | |
|---|
| 2573 | |
|---|
| 2574 | |
|---|
| 2575 | static inline uint32_t LL_RCC_IsActiveFlag_LSERDY(void) |
|---|
| 2576 | { |
|---|
| 2577 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 2578 | } |
|---|
| 2579 | |
|---|
| 2580 | |
|---|
| 2581 | |
|---|
| 2582 | |
|---|
| 2583 | |
|---|
| 2584 | |
|---|
| 2585 | static inline uint32_t LL_RCC_IsActiveFlag_HSIRDY(void) |
|---|
| 2586 | { |
|---|
| 2587 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 2588 | } |
|---|
| 2589 | |
|---|
| 2590 | |
|---|
| 2591 | |
|---|
| 2592 | |
|---|
| 2593 | |
|---|
| 2594 | |
|---|
| 2595 | static inline uint32_t LL_RCC_IsActiveFlag_HSERDY(void) |
|---|
| 2596 | { |
|---|
| 2597 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
|---|
| 2598 | } |
|---|
| 2599 | |
|---|
| 2600 | |
|---|
| 2601 | |
|---|
| 2602 | |
|---|
| 2603 | |
|---|
| 2604 | |
|---|
| 2605 | static inline uint32_t LL_RCC_IsActiveFlag_PLLRDY(void) |
|---|
| 2606 | { |
|---|
| 2607 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
|---|
| 2608 | } |
|---|
| [26] | 2609 | # 3623 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2610 | static inline uint32_t LL_RCC_IsActiveFlag_HSECSS(void) |
|---|
| 2611 | { |
|---|
| 2612 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
|---|
| 2613 | } |
|---|
| 2614 | |
|---|
| 2615 | |
|---|
| 2616 | |
|---|
| 2617 | |
|---|
| 2618 | |
|---|
| 2619 | |
|---|
| 2620 | static inline uint32_t LL_RCC_IsActiveFlag_LSECSS(void) |
|---|
| 2621 | { |
|---|
| 2622 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIFR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
|---|
| 2623 | } |
|---|
| 2624 | |
|---|
| 2625 | |
|---|
| 2626 | |
|---|
| 2627 | |
|---|
| 2628 | |
|---|
| 2629 | |
|---|
| 2630 | static inline uint32_t LL_RCC_IsActiveFlag_IWDGRST(void) |
|---|
| 2631 | { |
|---|
| 2632 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (29U)))) == ((0x1UL << (29U)))) ? 1UL : 0UL); |
|---|
| 2633 | } |
|---|
| 2634 | |
|---|
| 2635 | |
|---|
| 2636 | |
|---|
| 2637 | |
|---|
| 2638 | |
|---|
| 2639 | |
|---|
| 2640 | static inline uint32_t LL_RCC_IsActiveFlag_LPWRRST(void) |
|---|
| 2641 | { |
|---|
| 2642 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL); |
|---|
| 2643 | } |
|---|
| 2644 | |
|---|
| 2645 | |
|---|
| 2646 | |
|---|
| 2647 | |
|---|
| 2648 | |
|---|
| 2649 | |
|---|
| 2650 | static inline uint32_t LL_RCC_IsActiveFlag_OBLRST(void) |
|---|
| 2651 | { |
|---|
| 2652 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
|---|
| 2653 | } |
|---|
| 2654 | |
|---|
| 2655 | |
|---|
| 2656 | |
|---|
| 2657 | |
|---|
| 2658 | |
|---|
| 2659 | |
|---|
| 2660 | static inline uint32_t LL_RCC_IsActiveFlag_PINRST(void) |
|---|
| 2661 | { |
|---|
| 2662 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL); |
|---|
| 2663 | } |
|---|
| 2664 | |
|---|
| 2665 | |
|---|
| 2666 | |
|---|
| 2667 | |
|---|
| 2668 | |
|---|
| 2669 | |
|---|
| 2670 | static inline uint32_t LL_RCC_IsActiveFlag_SFTRST(void) |
|---|
| 2671 | { |
|---|
| 2672 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
|---|
| 2673 | } |
|---|
| 2674 | |
|---|
| 2675 | |
|---|
| 2676 | |
|---|
| 2677 | |
|---|
| 2678 | |
|---|
| 2679 | |
|---|
| 2680 | static inline uint32_t LL_RCC_IsActiveFlag_WWDGRST(void) |
|---|
| 2681 | { |
|---|
| 2682 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (30U)))) == ((0x1UL << (30U)))) ? 1UL : 0UL); |
|---|
| 2683 | } |
|---|
| 2684 | |
|---|
| 2685 | |
|---|
| 2686 | |
|---|
| 2687 | |
|---|
| 2688 | |
|---|
| 2689 | |
|---|
| 2690 | static inline uint32_t LL_RCC_IsActiveFlag_PWRRST(void) |
|---|
| 2691 | { |
|---|
| 2692 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL); |
|---|
| 2693 | } |
|---|
| 2694 | |
|---|
| 2695 | |
|---|
| 2696 | |
|---|
| 2697 | |
|---|
| 2698 | |
|---|
| 2699 | |
|---|
| 2700 | static inline void LL_RCC_ClearResetFlags(void) |
|---|
| 2701 | { |
|---|
| 2702 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CSR) |= ((0x1UL << (23U)))); |
|---|
| 2703 | } |
|---|
| [26] | 2704 | # 3731 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2705 | static inline void LL_RCC_EnableIT_LSIRDY(void) |
|---|
| 2706 | { |
|---|
| 2707 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (0U)))); |
|---|
| 2708 | } |
|---|
| 2709 | |
|---|
| 2710 | |
|---|
| 2711 | |
|---|
| 2712 | |
|---|
| 2713 | |
|---|
| 2714 | |
|---|
| 2715 | static inline void LL_RCC_EnableIT_LSERDY(void) |
|---|
| 2716 | { |
|---|
| 2717 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (1U)))); |
|---|
| 2718 | } |
|---|
| 2719 | |
|---|
| 2720 | |
|---|
| 2721 | |
|---|
| 2722 | |
|---|
| 2723 | |
|---|
| 2724 | |
|---|
| 2725 | static inline void LL_RCC_EnableIT_HSIRDY(void) |
|---|
| 2726 | { |
|---|
| 2727 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (3U)))); |
|---|
| 2728 | } |
|---|
| 2729 | |
|---|
| 2730 | |
|---|
| 2731 | |
|---|
| 2732 | |
|---|
| 2733 | |
|---|
| 2734 | |
|---|
| 2735 | static inline void LL_RCC_EnableIT_HSERDY(void) |
|---|
| 2736 | { |
|---|
| 2737 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (4U)))); |
|---|
| 2738 | } |
|---|
| 2739 | |
|---|
| 2740 | |
|---|
| 2741 | |
|---|
| 2742 | |
|---|
| 2743 | |
|---|
| 2744 | |
|---|
| 2745 | static inline void LL_RCC_EnableIT_PLLRDY(void) |
|---|
| 2746 | { |
|---|
| 2747 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) |= ((0x1UL << (5U)))); |
|---|
| 2748 | } |
|---|
| [26] | 2749 | # 3793 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2750 | static inline void LL_RCC_DisableIT_LSIRDY(void) |
|---|
| 2751 | { |
|---|
| 2752 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (0U)))); |
|---|
| 2753 | } |
|---|
| 2754 | |
|---|
| 2755 | |
|---|
| 2756 | |
|---|
| 2757 | |
|---|
| 2758 | |
|---|
| 2759 | |
|---|
| 2760 | static inline void LL_RCC_DisableIT_LSERDY(void) |
|---|
| 2761 | { |
|---|
| 2762 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (1U)))); |
|---|
| 2763 | } |
|---|
| 2764 | |
|---|
| 2765 | |
|---|
| 2766 | |
|---|
| 2767 | |
|---|
| 2768 | |
|---|
| 2769 | |
|---|
| 2770 | static inline void LL_RCC_DisableIT_HSIRDY(void) |
|---|
| 2771 | { |
|---|
| 2772 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (3U)))); |
|---|
| 2773 | } |
|---|
| 2774 | |
|---|
| 2775 | |
|---|
| 2776 | |
|---|
| 2777 | |
|---|
| 2778 | |
|---|
| 2779 | |
|---|
| 2780 | static inline void LL_RCC_DisableIT_HSERDY(void) |
|---|
| 2781 | { |
|---|
| 2782 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (4U)))); |
|---|
| 2783 | } |
|---|
| 2784 | |
|---|
| 2785 | |
|---|
| 2786 | |
|---|
| 2787 | |
|---|
| 2788 | |
|---|
| 2789 | |
|---|
| 2790 | static inline void LL_RCC_DisableIT_PLLRDY(void) |
|---|
| 2791 | { |
|---|
| 2792 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) &= ~((0x1UL << (5U)))); |
|---|
| 2793 | } |
|---|
| [26] | 2794 | # 3855 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2795 | static inline uint32_t LL_RCC_IsEnabledIT_LSIRDY(void) |
|---|
| 2796 | { |
|---|
| 2797 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 2798 | } |
|---|
| 2799 | |
|---|
| 2800 | |
|---|
| 2801 | |
|---|
| 2802 | |
|---|
| 2803 | |
|---|
| 2804 | |
|---|
| 2805 | static inline uint32_t LL_RCC_IsEnabledIT_LSERDY(void) |
|---|
| 2806 | { |
|---|
| 2807 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 2808 | } |
|---|
| 2809 | |
|---|
| 2810 | |
|---|
| 2811 | |
|---|
| 2812 | |
|---|
| 2813 | |
|---|
| 2814 | |
|---|
| 2815 | static inline uint32_t LL_RCC_IsEnabledIT_HSIRDY(void) |
|---|
| 2816 | { |
|---|
| 2817 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 2818 | } |
|---|
| [26] | 2819 | # 3897 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_rcc.h" |
|---|
| [6] | 2820 | static inline uint32_t LL_RCC_IsEnabledIT_HSERDY(void) |
|---|
| 2821 | { |
|---|
| 2822 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
|---|
| 2823 | } |
|---|
| 2824 | |
|---|
| 2825 | |
|---|
| 2826 | |
|---|
| 2827 | |
|---|
| 2828 | |
|---|
| 2829 | |
|---|
| 2830 | static inline uint32_t LL_RCC_IsEnabledIT_PLLRDY(void) |
|---|
| 2831 | { |
|---|
| 2832 | return ((((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->CIER) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
|---|
| 2833 | } |
|---|
| [26] | 2834 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
|---|
| 2835 | # 265 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
|---|
| [6] | 2836 | typedef struct |
|---|
| 2837 | { |
|---|
| 2838 | uint32_t PLLState; |
|---|
| 2839 | |
|---|
| 2840 | |
|---|
| 2841 | uint32_t PLLSource; |
|---|
| 2842 | |
|---|
| 2843 | |
|---|
| 2844 | uint32_t PLLM; |
|---|
| 2845 | |
|---|
| 2846 | |
|---|
| 2847 | uint32_t PLLN; |
|---|
| 2848 | |
|---|
| 2849 | |
|---|
| 2850 | uint32_t PLLP; |
|---|
| [26] | 2851 | # 289 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
|---|
| [6] | 2852 | uint32_t PLLR; |
|---|
| 2853 | |
|---|
| 2854 | |
|---|
| 2855 | |
|---|
| 2856 | } RCC_PLLInitTypeDef; |
|---|
| 2857 | |
|---|
| 2858 | |
|---|
| 2859 | |
|---|
| 2860 | |
|---|
| 2861 | typedef struct |
|---|
| 2862 | { |
|---|
| 2863 | uint32_t OscillatorType; |
|---|
| 2864 | |
|---|
| 2865 | |
|---|
| 2866 | uint32_t HSEState; |
|---|
| 2867 | |
|---|
| 2868 | |
|---|
| 2869 | uint32_t LSEState; |
|---|
| 2870 | |
|---|
| 2871 | |
|---|
| 2872 | uint32_t HSIState; |
|---|
| 2873 | |
|---|
| 2874 | |
|---|
| 2875 | uint32_t HSIDiv; |
|---|
| 2876 | |
|---|
| 2877 | |
|---|
| 2878 | uint32_t HSICalibrationValue; |
|---|
| 2879 | |
|---|
| 2880 | |
|---|
| 2881 | uint32_t LSIState; |
|---|
| [26] | 2882 | # 327 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
|---|
| [6] | 2883 | RCC_PLLInitTypeDef PLL; |
|---|
| 2884 | |
|---|
| 2885 | } RCC_OscInitTypeDef; |
|---|
| 2886 | |
|---|
| 2887 | |
|---|
| 2888 | |
|---|
| 2889 | |
|---|
| 2890 | typedef struct |
|---|
| 2891 | { |
|---|
| 2892 | uint32_t ClockType; |
|---|
| 2893 | |
|---|
| 2894 | |
|---|
| 2895 | uint32_t SYSCLKSource; |
|---|
| 2896 | |
|---|
| 2897 | |
|---|
| 2898 | uint32_t AHBCLKDivider; |
|---|
| 2899 | |
|---|
| 2900 | |
|---|
| 2901 | uint32_t APB1CLKDivider; |
|---|
| 2902 | |
|---|
| 2903 | |
|---|
| 2904 | |
|---|
| 2905 | } RCC_ClkInitTypeDef; |
|---|
| [26] | 2906 | # 3106 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
|---|
| 2907 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" 1 |
|---|
| 2908 | # 46 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
|---|
| [6] | 2909 | typedef struct |
|---|
| 2910 | { |
|---|
| 2911 | uint32_t PeriphClockSelection; |
|---|
| 2912 | |
|---|
| 2913 | |
|---|
| 2914 | uint32_t Usart1ClockSelection; |
|---|
| 2915 | |
|---|
| 2916 | |
|---|
| 2917 | uint32_t Usart2ClockSelection; |
|---|
| [26] | 2918 | # 73 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
|---|
| [6] | 2919 | uint32_t I2c1ClockSelection; |
|---|
| 2920 | |
|---|
| 2921 | |
|---|
| 2922 | |
|---|
| 2923 | |
|---|
| 2924 | |
|---|
| 2925 | |
|---|
| 2926 | |
|---|
| 2927 | uint32_t I2s1ClockSelection; |
|---|
| [26] | 2928 | # 99 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
|---|
| [6] | 2929 | uint32_t AdcClockSelection; |
|---|
| [26] | 2930 | # 113 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
|---|
| [6] | 2931 | uint32_t RTCClockSelection; |
|---|
| [26] | 2932 | # 123 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
|---|
| [6] | 2933 | } RCC_PeriphCLKInitTypeDef; |
|---|
| [26] | 2934 | # 1193 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
|---|
| [6] | 2935 | HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit); |
|---|
| 2936 | void HAL_RCCEx_GetPeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit); |
|---|
| 2937 | uint32_t HAL_RCCEx_GetPeriphCLKFreq(uint32_t PeriphClk); |
|---|
| [26] | 2938 | # 1205 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc_ex.h" |
|---|
| [6] | 2939 | void HAL_RCCEx_EnableLSCO(uint32_t LSCOSource); |
|---|
| 2940 | void HAL_RCCEx_DisableLSCO(void); |
|---|
| [26] | 2941 | # 3107 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" 2 |
|---|
| 2942 | # 3119 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
|---|
| [6] | 2943 | HAL_StatusTypeDef HAL_RCC_DeInit(void); |
|---|
| 2944 | HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); |
|---|
| 2945 | HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency); |
|---|
| [26] | 2946 | # 3132 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rcc.h" |
|---|
| [6] | 2947 | void HAL_RCC_MCOConfig(uint32_t RCC_MCOx, uint32_t RCC_MCOSource, uint32_t RCC_MCODiv); |
|---|
| 2948 | void HAL_RCC_EnableCSS(void); |
|---|
| 2949 | void HAL_RCC_EnableLSECSS(void); |
|---|
| 2950 | void HAL_RCC_DisableLSECSS(void); |
|---|
| 2951 | uint32_t HAL_RCC_GetSysClockFreq(void); |
|---|
| 2952 | uint32_t HAL_RCC_GetHCLKFreq(void); |
|---|
| 2953 | uint32_t HAL_RCC_GetPCLK1Freq(void); |
|---|
| 2954 | void HAL_RCC_GetOscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct); |
|---|
| 2955 | void HAL_RCC_GetClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t *pFLatency); |
|---|
| 2956 | uint32_t HAL_RCC_GetResetSource(void); |
|---|
| 2957 | |
|---|
| 2958 | void HAL_RCC_NMI_IRQHandler(void); |
|---|
| 2959 | |
|---|
| 2960 | void HAL_RCC_CSSCallback(void); |
|---|
| 2961 | void HAL_RCC_LSECSSCallback(void); |
|---|
| [26] | 2962 | # 196 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 2963 | |
|---|
| 2964 | |
|---|
| 2965 | |
|---|
| [26] | 2966 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 1 |
|---|
| 2967 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
|---|
| [6] | 2968 | typedef struct |
|---|
| 2969 | { |
|---|
| 2970 | uint32_t Pin; |
|---|
| 2971 | |
|---|
| 2972 | |
|---|
| 2973 | uint32_t Mode; |
|---|
| 2974 | |
|---|
| 2975 | |
|---|
| 2976 | uint32_t Pull; |
|---|
| 2977 | |
|---|
| 2978 | |
|---|
| 2979 | uint32_t Speed; |
|---|
| 2980 | |
|---|
| 2981 | |
|---|
| 2982 | uint32_t Alternate; |
|---|
| 2983 | |
|---|
| 2984 | } GPIO_InitTypeDef; |
|---|
| 2985 | |
|---|
| 2986 | |
|---|
| 2987 | |
|---|
| 2988 | |
|---|
| 2989 | typedef enum |
|---|
| 2990 | { |
|---|
| 2991 | GPIO_PIN_RESET = 0U, |
|---|
| 2992 | GPIO_PIN_SET |
|---|
| 2993 | } GPIO_PinState; |
|---|
| [26] | 2994 | # 306 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
|---|
| 2995 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio_ex.h" 1 |
|---|
| 2996 | # 307 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" 2 |
|---|
| 2997 | # 320 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
|---|
| [6] | 2998 | void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init); |
|---|
| 2999 | void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin); |
|---|
| [26] | 3000 | # 333 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_gpio.h" |
|---|
| [6] | 3001 | GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
|---|
| 3002 | void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState); |
|---|
| 3003 | void HAL_GPIO_TogglePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
|---|
| 3004 | HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); |
|---|
| 3005 | void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin); |
|---|
| 3006 | void HAL_GPIO_EXTI_Rising_Callback(uint16_t GPIO_Pin); |
|---|
| 3007 | void HAL_GPIO_EXTI_Falling_Callback(uint16_t GPIO_Pin); |
|---|
| [26] | 3008 | # 200 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 3009 | |
|---|
| 3010 | |
|---|
| 3011 | |
|---|
| [26] | 3012 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 1 |
|---|
| 3013 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
|---|
| 3014 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 1 |
|---|
| 3015 | # 29 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| 3016 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" 1 |
|---|
| 3017 | # 524 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3018 | static inline void LL_DMAMUX_SetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Request) |
|---|
| 3019 | { |
|---|
| 3020 | (void)(DMAMUXx); |
|---|
| 3021 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3FUL << (0U))))) | (Request)))); |
|---|
| 3022 | } |
|---|
| [26] | 3023 | # 615 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3024 | static inline uint32_t LL_DMAMUX_GetRequestID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3025 | { |
|---|
| 3026 | (void)(DMAMUXx); |
|---|
| 3027 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3FUL << (0U))))); |
|---|
| 3028 | } |
|---|
| [26] | 3029 | # 645 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3030 | static inline void LL_DMAMUX_SetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t RequestNb) |
|---|
| 3031 | { |
|---|
| 3032 | (void)(DMAMUXx); |
|---|
| 3033 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (19U))))) | (((RequestNb - 1U) << (19U)))))); |
|---|
| 3034 | } |
|---|
| [26] | 3035 | # 674 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3036 | static inline uint32_t LL_DMAMUX_GetSyncRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3037 | { |
|---|
| 3038 | (void)(DMAMUXx); |
|---|
| 3039 | return (uint32_t)((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (19U))))) >> (19U)) + 1U); |
|---|
| 3040 | } |
|---|
| [26] | 3041 | # 708 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3042 | static inline void LL_DMAMUX_SetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t Polarity) |
|---|
| 3043 | { |
|---|
| 3044 | (void)(DMAMUXx); |
|---|
| 3045 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x3UL << (17U))))) | (Polarity)))); |
|---|
| 3046 | } |
|---|
| [26] | 3047 | # 741 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3048 | static inline uint32_t LL_DMAMUX_GetSyncPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3049 | { |
|---|
| 3050 | (void)(DMAMUXx); |
|---|
| 3051 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x3UL << (17U))))); |
|---|
| 3052 | } |
|---|
| [26] | 3053 | # 770 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3054 | static inline void LL_DMAMUX_EnableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3055 | { |
|---|
| 3056 | (void)(DMAMUXx); |
|---|
| 3057 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (9U)))); |
|---|
| 3058 | } |
|---|
| [26] | 3059 | # 799 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3060 | static inline void LL_DMAMUX_DisableEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3061 | { |
|---|
| 3062 | (void)(DMAMUXx); |
|---|
| 3063 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (9U)))); |
|---|
| 3064 | } |
|---|
| [26] | 3065 | # 828 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3066 | static inline uint32_t LL_DMAMUX_IsEnabledEventGeneration(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3067 | { |
|---|
| 3068 | (void)(DMAMUXx); |
|---|
| 3069 | return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
|---|
| 3070 | } |
|---|
| [26] | 3071 | # 857 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3072 | static inline void LL_DMAMUX_EnableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3073 | { |
|---|
| 3074 | (void)(DMAMUXx); |
|---|
| 3075 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (16U)))); |
|---|
| 3076 | } |
|---|
| [26] | 3077 | # 886 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3078 | static inline void LL_DMAMUX_DisableSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3079 | { |
|---|
| 3080 | (void)(DMAMUXx); |
|---|
| 3081 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (16U)))); |
|---|
| 3082 | } |
|---|
| [26] | 3083 | # 915 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3084 | static inline uint32_t LL_DMAMUX_IsEnabledSync(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3085 | { |
|---|
| 3086 | (void)(DMAMUXx); |
|---|
| 3087 | return (((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
|---|
| 3088 | } |
|---|
| [26] | 3089 | # 968 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3090 | static inline void LL_DMAMUX_SetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel, uint32_t SyncID) |
|---|
| 3091 | { |
|---|
| 3092 | (void)(DMAMUXx); |
|---|
| 3093 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR))) & (~((0x1FUL << (24U))))) | (SyncID)))); |
|---|
| 3094 | } |
|---|
| [26] | 3095 | # 1020 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3096 | static inline uint32_t LL_DMAMUX_GetSyncID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3097 | { |
|---|
| 3098 | (void)(DMAMUXx); |
|---|
| 3099 | return (uint32_t)((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1FUL << (24U))))); |
|---|
| 3100 | } |
|---|
| [26] | 3101 | # 1037 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3102 | static inline void LL_DMAMUX_EnableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3103 | { |
|---|
| 3104 | (void)(DMAMUXx); |
|---|
| 3105 | ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) |= ((0x1UL << (16U)))); |
|---|
| 3106 | |
|---|
| 3107 | } |
|---|
| [26] | 3108 | # 1055 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3109 | static inline void LL_DMAMUX_DisableRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3110 | { |
|---|
| 3111 | (void)(DMAMUXx); |
|---|
| 3112 | ((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) &= ~((0x1UL << (16U)))); |
|---|
| 3113 | |
|---|
| 3114 | } |
|---|
| [26] | 3115 | # 1073 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3116 | static inline uint32_t LL_DMAMUX_IsEnabledRequestGen(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3117 | { |
|---|
| 3118 | (void)(DMAMUXx); |
|---|
| 3119 | return ((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
|---|
| 3120 | |
|---|
| 3121 | } |
|---|
| [26] | 3122 | # 1096 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3123 | static inline void LL_DMAMUX_SetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
|---|
| 3124 | uint32_t Polarity) |
|---|
| 3125 | { |
|---|
| 3126 | (void)(DMAMUXx); |
|---|
| 3127 | (((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR)) = ((((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR))) & (~((0x3UL << (17U))))) | (Polarity)))); |
|---|
| 3128 | |
|---|
| 3129 | } |
|---|
| [26] | 3130 | # 1119 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3131 | static inline uint32_t LL_DMAMUX_GetRequestGenPolarity(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3132 | { |
|---|
| 3133 | (void)(DMAMUXx); |
|---|
| 3134 | return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x3UL << (17U))))); |
|---|
| 3135 | |
|---|
| 3136 | } |
|---|
| [26] | 3137 | # 1139 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3138 | static inline void LL_DMAMUX_SetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
|---|
| 3139 | uint32_t RequestNb) |
|---|
| 3140 | { |
|---|
| 3141 | (void)(DMAMUXx); |
|---|
| 3142 | (((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR)) = ((((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR))) & (~((0x1FUL << (19U))))) | ((RequestNb - 1U) << (19U))))); |
|---|
| 3143 | |
|---|
| 3144 | } |
|---|
| [26] | 3145 | # 1158 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3146 | static inline uint32_t LL_DMAMUX_GetGenRequestNb(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3147 | { |
|---|
| 3148 | (void)(DMAMUXx); |
|---|
| 3149 | return (uint32_t)((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (19U)))) >> (19U)) + 1U); |
|---|
| 3150 | |
|---|
| 3151 | } |
|---|
| [26] | 3152 | # 1200 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3153 | static inline void LL_DMAMUX_SetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel, |
|---|
| 3154 | uint32_t RequestSignalID) |
|---|
| 3155 | { |
|---|
| 3156 | (void)(DMAMUXx); |
|---|
| 3157 | (((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR)) = ((((((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR))) & (~((0x1FUL << (0U))))) | (RequestSignalID)))); |
|---|
| 3158 | |
|---|
| 3159 | } |
|---|
| [26] | 3160 | # 1242 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3161 | static inline uint32_t LL_DMAMUX_GetRequestSignalID(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3162 | { |
|---|
| 3163 | (void)(DMAMUXx); |
|---|
| 3164 | return (uint32_t)(((((DMAMUX_RequestGen_TypeDef *)((uint32_t)((uint32_t)((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + (0x00000004UL * (RequestGenChannel)))))->RGCR) & ((0x1FUL << (0U))))); |
|---|
| 3165 | |
|---|
| 3166 | } |
|---|
| [26] | 3167 | # 1263 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3168 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3169 | { |
|---|
| 3170 | (void)(DMAMUXx); |
|---|
| 3171 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 3172 | } |
|---|
| 3173 | |
|---|
| 3174 | |
|---|
| 3175 | |
|---|
| 3176 | |
|---|
| 3177 | |
|---|
| 3178 | |
|---|
| 3179 | |
|---|
| 3180 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3181 | { |
|---|
| 3182 | (void)(DMAMUXx); |
|---|
| 3183 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 3184 | } |
|---|
| 3185 | |
|---|
| 3186 | |
|---|
| 3187 | |
|---|
| 3188 | |
|---|
| 3189 | |
|---|
| 3190 | |
|---|
| 3191 | |
|---|
| 3192 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3193 | { |
|---|
| 3194 | (void)(DMAMUXx); |
|---|
| 3195 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
|---|
| 3196 | } |
|---|
| 3197 | |
|---|
| 3198 | |
|---|
| 3199 | |
|---|
| 3200 | |
|---|
| 3201 | |
|---|
| 3202 | |
|---|
| 3203 | |
|---|
| 3204 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3205 | { |
|---|
| 3206 | (void)(DMAMUXx); |
|---|
| 3207 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 3208 | } |
|---|
| 3209 | |
|---|
| 3210 | |
|---|
| 3211 | |
|---|
| 3212 | |
|---|
| 3213 | |
|---|
| 3214 | |
|---|
| 3215 | |
|---|
| 3216 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3217 | { |
|---|
| 3218 | (void)(DMAMUXx); |
|---|
| 3219 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
|---|
| 3220 | } |
|---|
| [26] | 3221 | # 1324 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3222 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3223 | { |
|---|
| 3224 | (void)(DMAMUXx); |
|---|
| 3225 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
|---|
| 3226 | } |
|---|
| [26] | 3227 | # 1338 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3228 | static inline uint32_t LL_DMAMUX_IsActiveFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3229 | { |
|---|
| 3230 | (void)(DMAMUXx); |
|---|
| 3231 | return ((((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CSR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
|---|
| 3232 | } |
|---|
| [26] | 3233 | # 1421 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3234 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3235 | { |
|---|
| 3236 | (void)(DMAMUXx); |
|---|
| 3237 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 3238 | } |
|---|
| 3239 | |
|---|
| 3240 | |
|---|
| 3241 | |
|---|
| 3242 | |
|---|
| 3243 | |
|---|
| 3244 | |
|---|
| 3245 | |
|---|
| 3246 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3247 | { |
|---|
| 3248 | (void)(DMAMUXx); |
|---|
| 3249 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 3250 | } |
|---|
| 3251 | |
|---|
| 3252 | |
|---|
| 3253 | |
|---|
| 3254 | |
|---|
| 3255 | |
|---|
| 3256 | |
|---|
| 3257 | |
|---|
| 3258 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3259 | { |
|---|
| 3260 | (void)(DMAMUXx); |
|---|
| 3261 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
|---|
| 3262 | } |
|---|
| 3263 | |
|---|
| 3264 | |
|---|
| 3265 | |
|---|
| 3266 | |
|---|
| 3267 | |
|---|
| 3268 | |
|---|
| 3269 | |
|---|
| 3270 | static inline uint32_t LL_DMAMUX_IsActiveFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3271 | { |
|---|
| 3272 | (void)(DMAMUXx); |
|---|
| 3273 | return ((((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGSR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 3274 | } |
|---|
| 3275 | |
|---|
| 3276 | |
|---|
| 3277 | |
|---|
| 3278 | |
|---|
| 3279 | |
|---|
| 3280 | |
|---|
| 3281 | |
|---|
| 3282 | static inline void LL_DMAMUX_ClearFlag_SO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3283 | { |
|---|
| 3284 | (void)(DMAMUXx); |
|---|
| 3285 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (0U)))); |
|---|
| 3286 | } |
|---|
| 3287 | |
|---|
| 3288 | |
|---|
| 3289 | |
|---|
| 3290 | |
|---|
| 3291 | |
|---|
| 3292 | |
|---|
| 3293 | |
|---|
| 3294 | static inline void LL_DMAMUX_ClearFlag_SO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3295 | { |
|---|
| 3296 | (void)(DMAMUXx); |
|---|
| 3297 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (1U)))); |
|---|
| 3298 | } |
|---|
| 3299 | |
|---|
| 3300 | |
|---|
| 3301 | |
|---|
| 3302 | |
|---|
| 3303 | |
|---|
| 3304 | |
|---|
| 3305 | |
|---|
| 3306 | static inline void LL_DMAMUX_ClearFlag_SO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3307 | { |
|---|
| 3308 | (void)(DMAMUXx); |
|---|
| 3309 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (2U)))); |
|---|
| 3310 | } |
|---|
| 3311 | |
|---|
| 3312 | |
|---|
| 3313 | |
|---|
| 3314 | |
|---|
| 3315 | |
|---|
| 3316 | |
|---|
| 3317 | |
|---|
| 3318 | static inline void LL_DMAMUX_ClearFlag_SO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3319 | { |
|---|
| 3320 | (void)(DMAMUXx); |
|---|
| 3321 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (3U)))); |
|---|
| 3322 | } |
|---|
| 3323 | |
|---|
| 3324 | |
|---|
| 3325 | |
|---|
| 3326 | |
|---|
| 3327 | |
|---|
| 3328 | |
|---|
| 3329 | |
|---|
| 3330 | static inline void LL_DMAMUX_ClearFlag_SO4(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3331 | { |
|---|
| 3332 | (void)(DMAMUXx); |
|---|
| 3333 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (4U)))); |
|---|
| 3334 | } |
|---|
| [26] | 3335 | # 1530 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3336 | static inline void LL_DMAMUX_ClearFlag_SO5(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3337 | { |
|---|
| 3338 | (void)(DMAMUXx); |
|---|
| 3339 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (5U)))); |
|---|
| 3340 | } |
|---|
| [26] | 3341 | # 1544 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3342 | static inline void LL_DMAMUX_ClearFlag_SO6(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3343 | { |
|---|
| 3344 | (void)(DMAMUXx); |
|---|
| 3345 | ((((DMAMUX_ChannelStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000080UL))->CFR) |= ((0x1UL << (6U)))); |
|---|
| 3346 | } |
|---|
| [26] | 3347 | # 1627 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3348 | static inline void LL_DMAMUX_ClearFlag_RGO0(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3349 | { |
|---|
| 3350 | (void)(DMAMUXx); |
|---|
| 3351 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (0U)))); |
|---|
| 3352 | } |
|---|
| 3353 | |
|---|
| 3354 | |
|---|
| 3355 | |
|---|
| 3356 | |
|---|
| 3357 | |
|---|
| 3358 | |
|---|
| 3359 | |
|---|
| 3360 | static inline void LL_DMAMUX_ClearFlag_RGO1(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3361 | { |
|---|
| 3362 | (void)(DMAMUXx); |
|---|
| 3363 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (1U)))); |
|---|
| 3364 | } |
|---|
| 3365 | |
|---|
| 3366 | |
|---|
| 3367 | |
|---|
| 3368 | |
|---|
| 3369 | |
|---|
| 3370 | |
|---|
| 3371 | |
|---|
| 3372 | static inline void LL_DMAMUX_ClearFlag_RGO2(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3373 | { |
|---|
| 3374 | (void)(DMAMUXx); |
|---|
| 3375 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (2U)))); |
|---|
| 3376 | } |
|---|
| 3377 | |
|---|
| 3378 | |
|---|
| 3379 | |
|---|
| 3380 | |
|---|
| 3381 | |
|---|
| 3382 | |
|---|
| 3383 | |
|---|
| 3384 | static inline void LL_DMAMUX_ClearFlag_RGO3(const DMAMUX_Channel_TypeDef *DMAMUXx) |
|---|
| 3385 | { |
|---|
| 3386 | (void)(DMAMUXx); |
|---|
| 3387 | ((((DMAMUX_RequestGenStatus_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000140UL))->RGCFR) |= ((0x1UL << (3U)))); |
|---|
| 3388 | } |
|---|
| [26] | 3389 | # 1700 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3390 | static inline void LL_DMAMUX_EnableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3391 | { |
|---|
| 3392 | (void)(DMAMUXx); |
|---|
| 3393 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) |= ((0x1UL << (8U)))); |
|---|
| 3394 | } |
|---|
| [26] | 3395 | # 1729 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3396 | static inline void LL_DMAMUX_DisableIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3397 | { |
|---|
| 3398 | (void)(DMAMUXx); |
|---|
| 3399 | (((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) &= ~((0x1UL << (8U)))); |
|---|
| 3400 | } |
|---|
| [26] | 3401 | # 1758 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3402 | static inline uint32_t LL_DMAMUX_IsEnabledIT_SO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t Channel) |
|---|
| 3403 | { |
|---|
| 3404 | (void)(DMAMUXx); |
|---|
| 3405 | return ((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel)->CCR) & ((0x1UL << (8U))))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
|---|
| 3406 | } |
|---|
| [26] | 3407 | # 1775 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3408 | static inline void LL_DMAMUX_EnableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3409 | { |
|---|
| 3410 | (void)(DMAMUXx); |
|---|
| 3411 | (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) |= ((0x1UL << (8U)))); |
|---|
| 3412 | } |
|---|
| [26] | 3413 | # 1792 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3414 | static inline void LL_DMAMUX_DisableIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3415 | { |
|---|
| 3416 | (void)(DMAMUXx); |
|---|
| 3417 | (((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) &= ~((0x1UL << (8U)))); |
|---|
| 3418 | } |
|---|
| [26] | 3419 | # 1809 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dmamux.h" |
|---|
| [6] | 3420 | static inline uint32_t LL_DMAMUX_IsEnabledIT_RGO(const DMAMUX_Channel_TypeDef *DMAMUXx, uint32_t RequestGenChannel) |
|---|
| 3421 | { |
|---|
| 3422 | (void)(DMAMUXx); |
|---|
| 3423 | return (((((((DMAMUX_RequestGen_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL) + 0x00000100UL)) + RequestGenChannel)->RGCR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
|---|
| 3424 | } |
|---|
| [26] | 3425 | # 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" 2 |
|---|
| 3426 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3427 | static const uint8_t CHANNEL_OFFSET_TAB[] = |
|---|
| 3428 | { |
|---|
| 3429 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000008UL) - (((0x40000000UL) + 0x00020000UL))), |
|---|
| 3430 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000001CUL) - (((0x40000000UL) + 0x00020000UL))), |
|---|
| 3431 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000030UL) - (((0x40000000UL) + 0x00020000UL))), |
|---|
| 3432 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000044UL) - (((0x40000000UL) + 0x00020000UL))), |
|---|
| 3433 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000058UL) - (((0x40000000UL) + 0x00020000UL))), |
|---|
| 3434 | |
|---|
| 3435 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x0000006CUL) - (((0x40000000UL) + 0x00020000UL))), |
|---|
| 3436 | |
|---|
| 3437 | |
|---|
| 3438 | (uint8_t)(((((0x40000000UL) + 0x00020000UL)) + 0x00000080UL) - (((0x40000000UL) + 0x00020000UL))), |
|---|
| 3439 | |
|---|
| 3440 | }; |
|---|
| [26] | 3441 | # 500 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3442 | static inline void LL_DMA_EnableChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3443 | { |
|---|
| 3444 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3445 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (0U)))); |
|---|
| 3446 | } |
|---|
| [26] | 3447 | # 520 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3448 | static inline void LL_DMA_DisableChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3449 | { |
|---|
| 3450 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3451 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (0U)))); |
|---|
| 3452 | } |
|---|
| [26] | 3453 | # 540 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3454 | static inline uint32_t LL_DMA_IsEnabledChannel(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3455 | { |
|---|
| 3456 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3457 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 3458 | |
|---|
| 3459 | } |
|---|
| [26] | 3460 | # 576 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3461 | static inline void LL_DMA_ConfigTransfer(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Configuration) |
|---|
| 3462 | { |
|---|
| 3463 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3464 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (4U)) | (0x1UL << (14U)) | (0x1UL << (5U)) | (0x1UL << (6U)) | (0x1UL << (7U)) | (0x3UL << (8U)) | (0x3UL << (10U)) | (0x3UL << (12U))))) | (Configuration)))); |
|---|
| 3465 | |
|---|
| 3466 | |
|---|
| 3467 | } |
|---|
| [26] | 3468 | # 603 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3469 | static inline void LL_DMA_SetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Direction) |
|---|
| 3470 | { |
|---|
| 3471 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3472 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (4U)) | (0x1UL << (14U))))) | (Direction)))); |
|---|
| 3473 | |
|---|
| 3474 | } |
|---|
| [26] | 3475 | # 628 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3476 | static inline uint32_t LL_DMA_GetDataTransferDirection(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3477 | { |
|---|
| 3478 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3479 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (4U)) | (0x1UL << (14U))))); |
|---|
| 3480 | |
|---|
| 3481 | } |
|---|
| [26] | 3482 | # 654 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3483 | static inline void LL_DMA_SetMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Mode) |
|---|
| 3484 | { |
|---|
| 3485 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3486 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (5U))))) | (Mode)))); |
|---|
| 3487 | |
|---|
| 3488 | } |
|---|
| [26] | 3489 | # 677 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3490 | static inline uint32_t LL_DMA_GetMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3491 | { |
|---|
| 3492 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3493 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (5U))))); |
|---|
| 3494 | |
|---|
| 3495 | } |
|---|
| [26] | 3496 | # 701 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3497 | static inline void LL_DMA_SetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcIncMode) |
|---|
| 3498 | { |
|---|
| 3499 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3500 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (6U))))) | (PeriphOrM2MSrcIncMode)))); |
|---|
| 3501 | |
|---|
| 3502 | } |
|---|
| [26] | 3503 | # 724 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3504 | static inline uint32_t LL_DMA_GetPeriphIncMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3505 | { |
|---|
| 3506 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3507 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (6U))))); |
|---|
| 3508 | |
|---|
| 3509 | } |
|---|
| [26] | 3510 | # 748 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3511 | static inline void LL_DMA_SetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstIncMode) |
|---|
| 3512 | { |
|---|
| 3513 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3514 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x1UL << (7U))))) | (MemoryOrM2MDstIncMode)))); |
|---|
| 3515 | |
|---|
| 3516 | } |
|---|
| [26] | 3517 | # 771 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3518 | static inline uint32_t LL_DMA_GetMemoryIncMode(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3519 | { |
|---|
| 3520 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3521 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (7U))))); |
|---|
| 3522 | |
|---|
| 3523 | } |
|---|
| [26] | 3524 | # 796 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3525 | static inline void LL_DMA_SetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphOrM2MSrcDataSize) |
|---|
| 3526 | { |
|---|
| 3527 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3528 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x3UL << (8U))))) | (PeriphOrM2MSrcDataSize)))); |
|---|
| 3529 | |
|---|
| 3530 | } |
|---|
| [26] | 3531 | # 820 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3532 | static inline uint32_t LL_DMA_GetPeriphSize(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3533 | { |
|---|
| 3534 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3535 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (8U))))); |
|---|
| 3536 | |
|---|
| 3537 | } |
|---|
| [26] | 3538 | # 845 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3539 | static inline void LL_DMA_SetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryOrM2MDstDataSize) |
|---|
| 3540 | { |
|---|
| 3541 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3542 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x3UL << (10U))))) | (MemoryOrM2MDstDataSize)))); |
|---|
| 3543 | |
|---|
| 3544 | } |
|---|
| [26] | 3545 | # 869 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3546 | static inline uint32_t LL_DMA_GetMemorySize(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3547 | { |
|---|
| 3548 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3549 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (10U))))); |
|---|
| 3550 | |
|---|
| 3551 | } |
|---|
| [26] | 3552 | # 895 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3553 | static inline void LL_DMA_SetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Priority) |
|---|
| 3554 | { |
|---|
| 3555 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3556 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR))) & (~((0x3UL << (12U))))) | (Priority)))); |
|---|
| 3557 | |
|---|
| 3558 | } |
|---|
| [26] | 3559 | # 920 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3560 | static inline uint32_t LL_DMA_GetChannelPriorityLevel(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3561 | { |
|---|
| 3562 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3563 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x3UL << (12U))))); |
|---|
| 3564 | |
|---|
| 3565 | } |
|---|
| [26] | 3566 | # 944 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3567 | static inline void LL_DMA_SetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t NbData) |
|---|
| 3568 | { |
|---|
| 3569 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3570 | (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR)) = ((((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR))) & (~((0xFFFFUL << (0U))))) | (NbData)))); |
|---|
| 3571 | |
|---|
| 3572 | } |
|---|
| [26] | 3573 | # 967 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3574 | static inline uint32_t LL_DMA_GetDataLength(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3575 | { |
|---|
| 3576 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3577 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CNDTR) & ((0xFFFFUL << (0U))))); |
|---|
| 3578 | |
|---|
| 3579 | } |
|---|
| [26] | 3580 | # 997 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3581 | static inline void LL_DMA_ConfigAddresses(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t SrcAddress, |
|---|
| 3582 | uint32_t DstAddress, uint32_t Direction) |
|---|
| 3583 | { |
|---|
| 3584 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3585 | |
|---|
| 3586 | if (Direction == (0x1UL << (4U))) |
|---|
| 3587 | { |
|---|
| 3588 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (SrcAddress)); |
|---|
| 3589 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (DstAddress)); |
|---|
| 3590 | } |
|---|
| 3591 | |
|---|
| 3592 | else |
|---|
| 3593 | { |
|---|
| 3594 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (SrcAddress)); |
|---|
| 3595 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (DstAddress)); |
|---|
| 3596 | } |
|---|
| 3597 | } |
|---|
| [26] | 3598 | # 1032 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3599 | static inline void LL_DMA_SetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
|---|
| 3600 | { |
|---|
| 3601 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3602 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress)); |
|---|
| 3603 | } |
|---|
| [26] | 3604 | # 1055 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3605 | static inline void LL_DMA_SetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t PeriphAddress) |
|---|
| 3606 | { |
|---|
| 3607 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3608 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (PeriphAddress)); |
|---|
| 3609 | } |
|---|
| [26] | 3610 | # 1076 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3611 | static inline uint32_t LL_DMA_GetMemoryAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3612 | { |
|---|
| 3613 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3614 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR))); |
|---|
| 3615 | } |
|---|
| [26] | 3616 | # 1097 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3617 | static inline uint32_t LL_DMA_GetPeriphAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3618 | { |
|---|
| 3619 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3620 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR))); |
|---|
| 3621 | } |
|---|
| [26] | 3622 | # 1120 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3623 | static inline void LL_DMA_SetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
|---|
| 3624 | { |
|---|
| 3625 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3626 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR) = (MemoryAddress)); |
|---|
| 3627 | } |
|---|
| [26] | 3628 | # 1143 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3629 | static inline void LL_DMA_SetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t MemoryAddress) |
|---|
| 3630 | { |
|---|
| 3631 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3632 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR) = (MemoryAddress)); |
|---|
| 3633 | } |
|---|
| [26] | 3634 | # 1164 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3635 | static inline uint32_t LL_DMA_GetM2MSrcAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3636 | { |
|---|
| 3637 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3638 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CPAR))); |
|---|
| 3639 | } |
|---|
| [26] | 3640 | # 1185 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3641 | static inline uint32_t LL_DMA_GetM2MDstAddress(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3642 | { |
|---|
| 3643 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 3644 | return (((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CMAR))); |
|---|
| 3645 | } |
|---|
| [26] | 3646 | # 1270 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3647 | static inline void LL_DMA_SetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel, uint32_t Request) |
|---|
| 3648 | { |
|---|
| 3649 | uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U); |
|---|
| 3650 | ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR)) = (((((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR))) & (~((0x3FUL << (0U))))) | (Request)))); |
|---|
| 3651 | } |
|---|
| [26] | 3652 | # 1354 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3653 | static inline uint32_t LL_DMA_GetPeriphRequest(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 3654 | { |
|---|
| 3655 | uint32_t dmamux_ccr_offset = ((((uint32_t)DMAx ^ (uint32_t)((DMA_TypeDef *) (((0x40000000UL) + 0x00020000UL)))) >> 10U) * 7U); |
|---|
| 3656 | return ((((((DMAMUX_Channel_TypeDef *) ((((0x40000000UL) + 0x00020000UL) + 0x00000800UL))) + Channel + dmamux_ccr_offset)->CCR) & ((0x3FUL << (0U))))); |
|---|
| 3657 | } |
|---|
| [26] | 3658 | # 1374 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3659 | static inline uint32_t LL_DMA_IsActiveFlag_GI1(const DMA_TypeDef *DMAx) |
|---|
| 3660 | { |
|---|
| 3661 | return ((((DMAx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 3662 | } |
|---|
| 3663 | |
|---|
| 3664 | |
|---|
| 3665 | |
|---|
| 3666 | |
|---|
| 3667 | |
|---|
| 3668 | |
|---|
| 3669 | |
|---|
| 3670 | static inline uint32_t LL_DMA_IsActiveFlag_GI2(const DMA_TypeDef *DMAx) |
|---|
| 3671 | { |
|---|
| 3672 | return ((((DMAx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
|---|
| 3673 | } |
|---|
| 3674 | |
|---|
| 3675 | |
|---|
| 3676 | |
|---|
| 3677 | |
|---|
| 3678 | |
|---|
| 3679 | |
|---|
| 3680 | |
|---|
| 3681 | static inline uint32_t LL_DMA_IsActiveFlag_GI3(const DMA_TypeDef *DMAx) |
|---|
| 3682 | { |
|---|
| 3683 | return ((((DMAx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
|---|
| 3684 | } |
|---|
| 3685 | |
|---|
| 3686 | |
|---|
| 3687 | |
|---|
| 3688 | |
|---|
| 3689 | |
|---|
| 3690 | |
|---|
| 3691 | |
|---|
| 3692 | static inline uint32_t LL_DMA_IsActiveFlag_GI4(const DMA_TypeDef *DMAx) |
|---|
| 3693 | { |
|---|
| 3694 | return ((((DMAx->ISR) & ((0x1UL << (12U)))) == ((0x1UL << (12U)))) ? 1UL : 0UL); |
|---|
| 3695 | } |
|---|
| 3696 | |
|---|
| 3697 | |
|---|
| 3698 | |
|---|
| 3699 | |
|---|
| 3700 | |
|---|
| 3701 | |
|---|
| 3702 | |
|---|
| 3703 | static inline uint32_t LL_DMA_IsActiveFlag_GI5(const DMA_TypeDef *DMAx) |
|---|
| 3704 | { |
|---|
| 3705 | return ((((DMAx->ISR) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? 1UL : 0UL); |
|---|
| 3706 | } |
|---|
| [26] | 3707 | # 1430 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3708 | static inline uint32_t LL_DMA_IsActiveFlag_GI6(const DMA_TypeDef *DMAx) |
|---|
| 3709 | { |
|---|
| 3710 | return ((((DMAx->ISR) & ((0x1UL << (20U)))) == ((0x1UL << (20U)))) ? 1UL : 0UL); |
|---|
| 3711 | } |
|---|
| [26] | 3712 | # 1443 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3713 | static inline uint32_t LL_DMA_IsActiveFlag_GI7(const DMA_TypeDef *DMAx) |
|---|
| 3714 | { |
|---|
| 3715 | return ((((DMAx->ISR) & ((0x1UL << (24U)))) == ((0x1UL << (24U)))) ? 1UL : 0UL); |
|---|
| 3716 | } |
|---|
| [26] | 3717 | # 1455 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3718 | static inline uint32_t LL_DMA_IsActiveFlag_TC1(const DMA_TypeDef *DMAx) |
|---|
| 3719 | { |
|---|
| 3720 | return ((((DMAx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 3721 | } |
|---|
| 3722 | |
|---|
| 3723 | |
|---|
| 3724 | |
|---|
| 3725 | |
|---|
| 3726 | |
|---|
| 3727 | |
|---|
| 3728 | |
|---|
| 3729 | static inline uint32_t LL_DMA_IsActiveFlag_TC2(const DMA_TypeDef *DMAx) |
|---|
| 3730 | { |
|---|
| 3731 | return ((((DMAx->ISR) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? 1UL : 0UL); |
|---|
| 3732 | } |
|---|
| 3733 | |
|---|
| 3734 | |
|---|
| 3735 | |
|---|
| 3736 | |
|---|
| 3737 | |
|---|
| 3738 | |
|---|
| 3739 | |
|---|
| 3740 | static inline uint32_t LL_DMA_IsActiveFlag_TC3(const DMA_TypeDef *DMAx) |
|---|
| 3741 | { |
|---|
| 3742 | return ((((DMAx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
|---|
| 3743 | } |
|---|
| 3744 | |
|---|
| 3745 | |
|---|
| 3746 | |
|---|
| 3747 | |
|---|
| 3748 | |
|---|
| 3749 | |
|---|
| 3750 | |
|---|
| 3751 | static inline uint32_t LL_DMA_IsActiveFlag_TC4(const DMA_TypeDef *DMAx) |
|---|
| 3752 | { |
|---|
| 3753 | return ((((DMAx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
|---|
| 3754 | } |
|---|
| 3755 | |
|---|
| 3756 | |
|---|
| 3757 | |
|---|
| 3758 | |
|---|
| 3759 | |
|---|
| 3760 | |
|---|
| 3761 | |
|---|
| 3762 | static inline uint32_t LL_DMA_IsActiveFlag_TC5(const DMA_TypeDef *DMAx) |
|---|
| 3763 | { |
|---|
| 3764 | return ((((DMAx->ISR) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? 1UL : 0UL); |
|---|
| 3765 | } |
|---|
| [26] | 3766 | # 1511 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3767 | static inline uint32_t LL_DMA_IsActiveFlag_TC6(const DMA_TypeDef *DMAx) |
|---|
| 3768 | { |
|---|
| 3769 | return ((((DMAx->ISR) & ((0x1UL << (21U)))) == ((0x1UL << (21U)))) ? 1UL : 0UL); |
|---|
| 3770 | } |
|---|
| [26] | 3771 | # 1524 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3772 | static inline uint32_t LL_DMA_IsActiveFlag_TC7(const DMA_TypeDef *DMAx) |
|---|
| 3773 | { |
|---|
| 3774 | return ((((DMAx->ISR) & ((0x1UL << (25U)))) == ((0x1UL << (25U)))) ? 1UL : 0UL); |
|---|
| 3775 | } |
|---|
| [26] | 3776 | # 1536 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3777 | static inline uint32_t LL_DMA_IsActiveFlag_HT1(const DMA_TypeDef *DMAx) |
|---|
| 3778 | { |
|---|
| 3779 | return ((((DMAx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
|---|
| 3780 | } |
|---|
| 3781 | |
|---|
| 3782 | |
|---|
| 3783 | |
|---|
| 3784 | |
|---|
| 3785 | |
|---|
| 3786 | |
|---|
| 3787 | |
|---|
| 3788 | static inline uint32_t LL_DMA_IsActiveFlag_HT2(const DMA_TypeDef *DMAx) |
|---|
| 3789 | { |
|---|
| 3790 | return ((((DMAx->ISR) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? 1UL : 0UL); |
|---|
| 3791 | } |
|---|
| 3792 | |
|---|
| 3793 | |
|---|
| 3794 | |
|---|
| 3795 | |
|---|
| 3796 | |
|---|
| 3797 | |
|---|
| 3798 | |
|---|
| 3799 | static inline uint32_t LL_DMA_IsActiveFlag_HT3(const DMA_TypeDef *DMAx) |
|---|
| 3800 | { |
|---|
| 3801 | return ((((DMAx->ISR) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? 1UL : 0UL); |
|---|
| 3802 | } |
|---|
| 3803 | |
|---|
| 3804 | |
|---|
| 3805 | |
|---|
| 3806 | |
|---|
| 3807 | |
|---|
| 3808 | |
|---|
| 3809 | |
|---|
| 3810 | static inline uint32_t LL_DMA_IsActiveFlag_HT4(const DMA_TypeDef *DMAx) |
|---|
| 3811 | { |
|---|
| 3812 | return ((((DMAx->ISR) & ((0x1UL << (14U)))) == ((0x1UL << (14U)))) ? 1UL : 0UL); |
|---|
| 3813 | } |
|---|
| 3814 | |
|---|
| 3815 | |
|---|
| 3816 | |
|---|
| 3817 | |
|---|
| 3818 | |
|---|
| 3819 | |
|---|
| 3820 | |
|---|
| 3821 | static inline uint32_t LL_DMA_IsActiveFlag_HT5(const DMA_TypeDef *DMAx) |
|---|
| 3822 | { |
|---|
| 3823 | return ((((DMAx->ISR) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? 1UL : 0UL); |
|---|
| 3824 | } |
|---|
| [26] | 3825 | # 1592 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3826 | static inline uint32_t LL_DMA_IsActiveFlag_HT6(const DMA_TypeDef *DMAx) |
|---|
| 3827 | { |
|---|
| 3828 | return ((((DMAx->ISR) & ((0x1UL << (22U)))) == ((0x1UL << (22U)))) ? 1UL : 0UL); |
|---|
| 3829 | } |
|---|
| [26] | 3830 | # 1605 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3831 | static inline uint32_t LL_DMA_IsActiveFlag_HT7(const DMA_TypeDef *DMAx) |
|---|
| 3832 | { |
|---|
| 3833 | return ((((DMAx->ISR) & ((0x1UL << (26U)))) == ((0x1UL << (26U)))) ? 1UL : 0UL); |
|---|
| 3834 | } |
|---|
| [26] | 3835 | # 1617 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3836 | static inline uint32_t LL_DMA_IsActiveFlag_TE1(const DMA_TypeDef *DMAx) |
|---|
| 3837 | { |
|---|
| 3838 | return ((((DMAx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 3839 | } |
|---|
| 3840 | |
|---|
| 3841 | |
|---|
| 3842 | |
|---|
| 3843 | |
|---|
| 3844 | |
|---|
| 3845 | |
|---|
| 3846 | |
|---|
| 3847 | static inline uint32_t LL_DMA_IsActiveFlag_TE2(const DMA_TypeDef *DMAx) |
|---|
| 3848 | { |
|---|
| 3849 | return ((((DMAx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
|---|
| 3850 | } |
|---|
| 3851 | |
|---|
| 3852 | |
|---|
| 3853 | |
|---|
| 3854 | |
|---|
| 3855 | |
|---|
| 3856 | |
|---|
| 3857 | |
|---|
| 3858 | static inline uint32_t LL_DMA_IsActiveFlag_TE3(const DMA_TypeDef *DMAx) |
|---|
| 3859 | { |
|---|
| 3860 | return ((((DMAx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
|---|
| 3861 | } |
|---|
| 3862 | |
|---|
| 3863 | |
|---|
| 3864 | |
|---|
| 3865 | |
|---|
| 3866 | |
|---|
| 3867 | |
|---|
| 3868 | |
|---|
| 3869 | static inline uint32_t LL_DMA_IsActiveFlag_TE4(const DMA_TypeDef *DMAx) |
|---|
| 3870 | { |
|---|
| 3871 | return ((((DMAx->ISR) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? 1UL : 0UL); |
|---|
| 3872 | } |
|---|
| 3873 | |
|---|
| 3874 | |
|---|
| 3875 | |
|---|
| 3876 | |
|---|
| 3877 | |
|---|
| 3878 | |
|---|
| 3879 | |
|---|
| 3880 | static inline uint32_t LL_DMA_IsActiveFlag_TE5(const DMA_TypeDef *DMAx) |
|---|
| 3881 | { |
|---|
| 3882 | return ((((DMAx->ISR) & ((0x1UL << (19U)))) == ((0x1UL << (19U)))) ? 1UL : 0UL); |
|---|
| 3883 | } |
|---|
| [26] | 3884 | # 1673 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3885 | static inline uint32_t LL_DMA_IsActiveFlag_TE6(const DMA_TypeDef *DMAx) |
|---|
| 3886 | { |
|---|
| 3887 | return ((((DMAx->ISR) & ((0x1UL << (23U)))) == ((0x1UL << (23U)))) ? 1UL : 0UL); |
|---|
| 3888 | } |
|---|
| [26] | 3889 | # 1686 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3890 | static inline uint32_t LL_DMA_IsActiveFlag_TE7(const DMA_TypeDef *DMAx) |
|---|
| 3891 | { |
|---|
| 3892 | return ((((DMAx->ISR) & ((0x1UL << (27U)))) == ((0x1UL << (27U)))) ? 1UL : 0UL); |
|---|
| 3893 | } |
|---|
| [26] | 3894 | # 1702 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3895 | static inline void LL_DMA_ClearFlag_GI1(DMA_TypeDef *DMAx) |
|---|
| 3896 | { |
|---|
| 3897 | ((DMAx->IFCR) = ((0x1UL << (0U)))); |
|---|
| 3898 | } |
|---|
| [26] | 3899 | # 1717 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3900 | static inline void LL_DMA_ClearFlag_GI2(DMA_TypeDef *DMAx) |
|---|
| 3901 | { |
|---|
| 3902 | ((DMAx->IFCR) = ((0x1UL << (4U)))); |
|---|
| 3903 | } |
|---|
| [26] | 3904 | # 1732 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3905 | static inline void LL_DMA_ClearFlag_GI3(DMA_TypeDef *DMAx) |
|---|
| 3906 | { |
|---|
| 3907 | ((DMAx->IFCR) = ((0x1UL << (8U)))); |
|---|
| 3908 | } |
|---|
| [26] | 3909 | # 1747 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3910 | static inline void LL_DMA_ClearFlag_GI4(DMA_TypeDef *DMAx) |
|---|
| 3911 | { |
|---|
| 3912 | ((DMAx->IFCR) = ((0x1UL << (12U)))); |
|---|
| 3913 | } |
|---|
| [26] | 3914 | # 1762 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3915 | static inline void LL_DMA_ClearFlag_GI5(DMA_TypeDef *DMAx) |
|---|
| 3916 | { |
|---|
| 3917 | ((DMAx->IFCR) = ((0x1UL << (16U)))); |
|---|
| 3918 | } |
|---|
| [26] | 3919 | # 1778 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3920 | static inline void LL_DMA_ClearFlag_GI6(DMA_TypeDef *DMAx) |
|---|
| 3921 | { |
|---|
| 3922 | ((DMAx->IFCR) = ((0x1UL << (20U)))); |
|---|
| 3923 | } |
|---|
| [26] | 3924 | # 1795 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3925 | static inline void LL_DMA_ClearFlag_GI7(DMA_TypeDef *DMAx) |
|---|
| 3926 | { |
|---|
| 3927 | ((DMAx->IFCR) = ((0x1UL << (24U)))); |
|---|
| 3928 | } |
|---|
| [26] | 3929 | # 1807 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3930 | static inline void LL_DMA_ClearFlag_TC1(DMA_TypeDef *DMAx) |
|---|
| 3931 | { |
|---|
| 3932 | ((DMAx->IFCR) = ((0x1UL << (1U)))); |
|---|
| 3933 | } |
|---|
| 3934 | |
|---|
| 3935 | |
|---|
| 3936 | |
|---|
| 3937 | |
|---|
| 3938 | |
|---|
| 3939 | |
|---|
| 3940 | |
|---|
| 3941 | static inline void LL_DMA_ClearFlag_TC2(DMA_TypeDef *DMAx) |
|---|
| 3942 | { |
|---|
| 3943 | ((DMAx->IFCR) = ((0x1UL << (5U)))); |
|---|
| 3944 | } |
|---|
| 3945 | |
|---|
| 3946 | |
|---|
| 3947 | |
|---|
| 3948 | |
|---|
| 3949 | |
|---|
| 3950 | |
|---|
| 3951 | |
|---|
| 3952 | static inline void LL_DMA_ClearFlag_TC3(DMA_TypeDef *DMAx) |
|---|
| 3953 | { |
|---|
| 3954 | ((DMAx->IFCR) = ((0x1UL << (9U)))); |
|---|
| 3955 | } |
|---|
| 3956 | |
|---|
| 3957 | |
|---|
| 3958 | |
|---|
| 3959 | |
|---|
| 3960 | |
|---|
| 3961 | |
|---|
| 3962 | |
|---|
| 3963 | static inline void LL_DMA_ClearFlag_TC4(DMA_TypeDef *DMAx) |
|---|
| 3964 | { |
|---|
| 3965 | ((DMAx->IFCR) = ((0x1UL << (13U)))); |
|---|
| 3966 | } |
|---|
| 3967 | |
|---|
| 3968 | |
|---|
| 3969 | |
|---|
| 3970 | |
|---|
| 3971 | |
|---|
| 3972 | |
|---|
| 3973 | |
|---|
| 3974 | static inline void LL_DMA_ClearFlag_TC5(DMA_TypeDef *DMAx) |
|---|
| 3975 | { |
|---|
| 3976 | ((DMAx->IFCR) = ((0x1UL << (17U)))); |
|---|
| 3977 | } |
|---|
| [26] | 3978 | # 1863 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3979 | static inline void LL_DMA_ClearFlag_TC6(DMA_TypeDef *DMAx) |
|---|
| 3980 | { |
|---|
| 3981 | ((DMAx->IFCR) = ((0x1UL << (21U)))); |
|---|
| 3982 | } |
|---|
| [26] | 3983 | # 1876 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3984 | static inline void LL_DMA_ClearFlag_TC7(DMA_TypeDef *DMAx) |
|---|
| 3985 | { |
|---|
| 3986 | ((DMAx->IFCR) = ((0x1UL << (25U)))); |
|---|
| 3987 | } |
|---|
| [26] | 3988 | # 1888 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 3989 | static inline void LL_DMA_ClearFlag_HT1(DMA_TypeDef *DMAx) |
|---|
| 3990 | { |
|---|
| 3991 | ((DMAx->IFCR) = ((0x1UL << (2U)))); |
|---|
| 3992 | } |
|---|
| 3993 | |
|---|
| 3994 | |
|---|
| 3995 | |
|---|
| 3996 | |
|---|
| 3997 | |
|---|
| 3998 | |
|---|
| 3999 | |
|---|
| 4000 | static inline void LL_DMA_ClearFlag_HT2(DMA_TypeDef *DMAx) |
|---|
| 4001 | { |
|---|
| 4002 | ((DMAx->IFCR) = ((0x1UL << (6U)))); |
|---|
| 4003 | } |
|---|
| 4004 | |
|---|
| 4005 | |
|---|
| 4006 | |
|---|
| 4007 | |
|---|
| 4008 | |
|---|
| 4009 | |
|---|
| 4010 | |
|---|
| 4011 | static inline void LL_DMA_ClearFlag_HT3(DMA_TypeDef *DMAx) |
|---|
| 4012 | { |
|---|
| 4013 | ((DMAx->IFCR) = ((0x1UL << (10U)))); |
|---|
| 4014 | } |
|---|
| 4015 | |
|---|
| 4016 | |
|---|
| 4017 | |
|---|
| 4018 | |
|---|
| 4019 | |
|---|
| 4020 | |
|---|
| 4021 | |
|---|
| 4022 | static inline void LL_DMA_ClearFlag_HT4(DMA_TypeDef *DMAx) |
|---|
| 4023 | { |
|---|
| 4024 | ((DMAx->IFCR) = ((0x1UL << (14U)))); |
|---|
| 4025 | } |
|---|
| 4026 | |
|---|
| 4027 | |
|---|
| 4028 | |
|---|
| 4029 | |
|---|
| 4030 | |
|---|
| 4031 | |
|---|
| 4032 | |
|---|
| 4033 | static inline void LL_DMA_ClearFlag_HT5(DMA_TypeDef *DMAx) |
|---|
| 4034 | { |
|---|
| 4035 | ((DMAx->IFCR) = ((0x1UL << (18U)))); |
|---|
| 4036 | } |
|---|
| [26] | 4037 | # 1944 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4038 | static inline void LL_DMA_ClearFlag_HT6(DMA_TypeDef *DMAx) |
|---|
| 4039 | { |
|---|
| 4040 | ((DMAx->IFCR) = ((0x1UL << (22U)))); |
|---|
| 4041 | } |
|---|
| [26] | 4042 | # 1957 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4043 | static inline void LL_DMA_ClearFlag_HT7(DMA_TypeDef *DMAx) |
|---|
| 4044 | { |
|---|
| 4045 | ((DMAx->IFCR) = ((0x1UL << (26U)))); |
|---|
| 4046 | } |
|---|
| [26] | 4047 | # 1969 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4048 | static inline void LL_DMA_ClearFlag_TE1(DMA_TypeDef *DMAx) |
|---|
| 4049 | { |
|---|
| 4050 | ((DMAx->IFCR) = ((0x1UL << (3U)))); |
|---|
| 4051 | } |
|---|
| 4052 | |
|---|
| 4053 | |
|---|
| 4054 | |
|---|
| 4055 | |
|---|
| 4056 | |
|---|
| 4057 | |
|---|
| 4058 | |
|---|
| 4059 | static inline void LL_DMA_ClearFlag_TE2(DMA_TypeDef *DMAx) |
|---|
| 4060 | { |
|---|
| 4061 | ((DMAx->IFCR) = ((0x1UL << (7U)))); |
|---|
| 4062 | } |
|---|
| 4063 | |
|---|
| 4064 | |
|---|
| 4065 | |
|---|
| 4066 | |
|---|
| 4067 | |
|---|
| 4068 | |
|---|
| 4069 | |
|---|
| 4070 | static inline void LL_DMA_ClearFlag_TE3(DMA_TypeDef *DMAx) |
|---|
| 4071 | { |
|---|
| 4072 | ((DMAx->IFCR) = ((0x1UL << (11U)))); |
|---|
| 4073 | } |
|---|
| 4074 | |
|---|
| 4075 | |
|---|
| 4076 | |
|---|
| 4077 | |
|---|
| 4078 | |
|---|
| 4079 | |
|---|
| 4080 | |
|---|
| 4081 | static inline void LL_DMA_ClearFlag_TE4(DMA_TypeDef *DMAx) |
|---|
| 4082 | { |
|---|
| 4083 | ((DMAx->IFCR) = ((0x1UL << (15U)))); |
|---|
| 4084 | } |
|---|
| 4085 | |
|---|
| 4086 | |
|---|
| 4087 | |
|---|
| 4088 | |
|---|
| 4089 | |
|---|
| 4090 | |
|---|
| 4091 | |
|---|
| 4092 | static inline void LL_DMA_ClearFlag_TE5(DMA_TypeDef *DMAx) |
|---|
| 4093 | { |
|---|
| 4094 | ((DMAx->IFCR) = ((0x1UL << (19U)))); |
|---|
| 4095 | } |
|---|
| [26] | 4096 | # 2025 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4097 | static inline void LL_DMA_ClearFlag_TE6(DMA_TypeDef *DMAx) |
|---|
| 4098 | { |
|---|
| 4099 | ((DMAx->IFCR) = ((0x1UL << (23U)))); |
|---|
| 4100 | } |
|---|
| [26] | 4101 | # 2038 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4102 | static inline void LL_DMA_ClearFlag_TE7(DMA_TypeDef *DMAx) |
|---|
| 4103 | { |
|---|
| 4104 | ((DMAx->IFCR) = ((0x1UL << (27U)))); |
|---|
| 4105 | } |
|---|
| [26] | 4106 | # 2065 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4107 | static inline void LL_DMA_EnableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4108 | { |
|---|
| 4109 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4110 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (1U)))); |
|---|
| 4111 | } |
|---|
| [26] | 4112 | # 2085 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4113 | static inline void LL_DMA_EnableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4114 | { |
|---|
| 4115 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4116 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (2U)))); |
|---|
| 4117 | } |
|---|
| [26] | 4118 | # 2105 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4119 | static inline void LL_DMA_EnableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4120 | { |
|---|
| 4121 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4122 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) |= ((0x1UL << (3U)))); |
|---|
| 4123 | } |
|---|
| [26] | 4124 | # 2125 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4125 | static inline void LL_DMA_DisableIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4126 | { |
|---|
| 4127 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4128 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (1U)))); |
|---|
| 4129 | } |
|---|
| [26] | 4130 | # 2145 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4131 | static inline void LL_DMA_DisableIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4132 | { |
|---|
| 4133 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4134 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (2U)))); |
|---|
| 4135 | } |
|---|
| [26] | 4136 | # 2165 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4137 | static inline void LL_DMA_DisableIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4138 | { |
|---|
| 4139 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4140 | ((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) &= ~((0x1UL << (3U)))); |
|---|
| 4141 | } |
|---|
| [26] | 4142 | # 2185 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4143 | static inline uint32_t LL_DMA_IsEnabledIT_TC(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4144 | { |
|---|
| 4145 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4146 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 4147 | |
|---|
| 4148 | } |
|---|
| [26] | 4149 | # 2206 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4150 | static inline uint32_t LL_DMA_IsEnabledIT_HT(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4151 | { |
|---|
| 4152 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4153 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
|---|
| 4154 | |
|---|
| 4155 | } |
|---|
| [26] | 4156 | # 2227 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_dma.h" |
|---|
| [6] | 4157 | static inline uint32_t LL_DMA_IsEnabledIT_TE(const DMA_TypeDef *DMAx, uint32_t Channel) |
|---|
| 4158 | { |
|---|
| 4159 | uint32_t dma_base_addr = (uint32_t)DMAx; |
|---|
| 4160 | return ((((((DMA_Channel_TypeDef *)(dma_base_addr + CHANNEL_OFFSET_TAB[Channel]))->CCR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 4161 | |
|---|
| 4162 | } |
|---|
| [26] | 4163 | # 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2 |
|---|
| 4164 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
|---|
| [6] | 4165 | typedef struct |
|---|
| 4166 | { |
|---|
| 4167 | uint32_t Request; |
|---|
| 4168 | |
|---|
| 4169 | |
|---|
| 4170 | uint32_t Direction; |
|---|
| 4171 | |
|---|
| 4172 | |
|---|
| 4173 | |
|---|
| 4174 | uint32_t PeriphInc; |
|---|
| 4175 | |
|---|
| 4176 | |
|---|
| 4177 | uint32_t MemInc; |
|---|
| 4178 | |
|---|
| 4179 | |
|---|
| 4180 | uint32_t PeriphDataAlignment; |
|---|
| 4181 | |
|---|
| 4182 | |
|---|
| 4183 | uint32_t MemDataAlignment; |
|---|
| 4184 | |
|---|
| 4185 | |
|---|
| 4186 | uint32_t Mode; |
|---|
| 4187 | |
|---|
| 4188 | |
|---|
| 4189 | |
|---|
| 4190 | |
|---|
| 4191 | uint32_t Priority; |
|---|
| 4192 | |
|---|
| 4193 | } DMA_InitTypeDef; |
|---|
| 4194 | |
|---|
| 4195 | |
|---|
| 4196 | |
|---|
| 4197 | |
|---|
| 4198 | typedef enum |
|---|
| 4199 | { |
|---|
| 4200 | HAL_DMA_STATE_RESET = 0x00U, |
|---|
| 4201 | HAL_DMA_STATE_READY = 0x01U, |
|---|
| 4202 | HAL_DMA_STATE_BUSY = 0x02U, |
|---|
| 4203 | HAL_DMA_STATE_TIMEOUT = 0x03U, |
|---|
| 4204 | } HAL_DMA_StateTypeDef; |
|---|
| 4205 | |
|---|
| 4206 | |
|---|
| 4207 | |
|---|
| 4208 | |
|---|
| 4209 | typedef enum |
|---|
| 4210 | { |
|---|
| 4211 | HAL_DMA_FULL_TRANSFER = 0x00U, |
|---|
| 4212 | HAL_DMA_HALF_TRANSFER = 0x01U |
|---|
| 4213 | } HAL_DMA_LevelCompleteTypeDef; |
|---|
| 4214 | |
|---|
| 4215 | |
|---|
| 4216 | |
|---|
| 4217 | |
|---|
| 4218 | typedef enum |
|---|
| 4219 | { |
|---|
| 4220 | HAL_DMA_XFER_CPLT_CB_ID = 0x00U, |
|---|
| 4221 | HAL_DMA_XFER_HALFCPLT_CB_ID = 0x01U, |
|---|
| 4222 | HAL_DMA_XFER_ERROR_CB_ID = 0x02U, |
|---|
| 4223 | HAL_DMA_XFER_ABORT_CB_ID = 0x03U, |
|---|
| 4224 | HAL_DMA_XFER_ALL_CB_ID = 0x04U |
|---|
| 4225 | |
|---|
| 4226 | } HAL_DMA_CallbackIDTypeDef; |
|---|
| 4227 | |
|---|
| 4228 | |
|---|
| 4229 | |
|---|
| 4230 | |
|---|
| 4231 | typedef struct __DMA_HandleTypeDef |
|---|
| 4232 | { |
|---|
| 4233 | DMA_Channel_TypeDef *Instance; |
|---|
| 4234 | |
|---|
| 4235 | DMA_InitTypeDef Init; |
|---|
| 4236 | |
|---|
| 4237 | HAL_LockTypeDef Lock; |
|---|
| 4238 | |
|---|
| 4239 | volatile HAL_DMA_StateTypeDef State; |
|---|
| 4240 | |
|---|
| 4241 | void *Parent; |
|---|
| 4242 | |
|---|
| 4243 | void (* XferCpltCallback)(struct __DMA_HandleTypeDef *hdma); |
|---|
| 4244 | |
|---|
| 4245 | void (* XferHalfCpltCallback)(struct __DMA_HandleTypeDef *hdma); |
|---|
| 4246 | |
|---|
| 4247 | void (* XferErrorCallback)(struct __DMA_HandleTypeDef *hdma); |
|---|
| 4248 | |
|---|
| 4249 | void (* XferAbortCallback)(struct __DMA_HandleTypeDef *hdma); |
|---|
| 4250 | |
|---|
| 4251 | volatile uint32_t ErrorCode; |
|---|
| 4252 | |
|---|
| 4253 | |
|---|
| 4254 | |
|---|
| 4255 | |
|---|
| 4256 | |
|---|
| 4257 | uint32_t ChannelIndex; |
|---|
| 4258 | |
|---|
| 4259 | DMAMUX_Channel_TypeDef *DMAmuxChannel; |
|---|
| 4260 | |
|---|
| 4261 | DMAMUX_ChannelStatus_TypeDef *DMAmuxChannelStatus; |
|---|
| 4262 | |
|---|
| 4263 | uint32_t DMAmuxChannelStatusMask; |
|---|
| 4264 | |
|---|
| 4265 | DMAMUX_RequestGen_TypeDef *DMAmuxRequestGen; |
|---|
| 4266 | |
|---|
| 4267 | DMAMUX_RequestGenStatus_TypeDef *DMAmuxRequestGenStatus; |
|---|
| 4268 | |
|---|
| 4269 | uint32_t DMAmuxRequestGenStatusMask; |
|---|
| 4270 | } DMA_HandleTypeDef; |
|---|
| [26] | 4271 | # 698 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
|---|
| 4272 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" 1 |
|---|
| 4273 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" |
|---|
| [6] | 4274 | typedef struct |
|---|
| 4275 | { |
|---|
| 4276 | uint32_t SyncSignalID; |
|---|
| 4277 | |
|---|
| 4278 | |
|---|
| 4279 | uint32_t SyncPolarity; |
|---|
| 4280 | |
|---|
| 4281 | |
|---|
| 4282 | FunctionalState SyncEnable; |
|---|
| 4283 | |
|---|
| 4284 | |
|---|
| 4285 | FunctionalState EventEnable; |
|---|
| 4286 | |
|---|
| 4287 | |
|---|
| 4288 | uint32_t RequestNumber; |
|---|
| 4289 | |
|---|
| 4290 | |
|---|
| 4291 | |
|---|
| 4292 | } HAL_DMA_MuxSyncConfigTypeDef; |
|---|
| 4293 | |
|---|
| 4294 | |
|---|
| 4295 | |
|---|
| 4296 | |
|---|
| 4297 | |
|---|
| 4298 | typedef struct |
|---|
| 4299 | { |
|---|
| 4300 | uint32_t SignalID; |
|---|
| 4301 | |
|---|
| 4302 | |
|---|
| 4303 | uint32_t Polarity; |
|---|
| 4304 | |
|---|
| 4305 | |
|---|
| 4306 | uint32_t RequestNumber; |
|---|
| 4307 | |
|---|
| 4308 | |
|---|
| 4309 | } HAL_DMA_MuxRequestGeneratorConfigTypeDef; |
|---|
| [26] | 4310 | # 206 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma_ex.h" |
|---|
| [6] | 4311 | HAL_StatusTypeDef HAL_DMAEx_ConfigMuxRequestGenerator(DMA_HandleTypeDef *hdma, |
|---|
| 4312 | HAL_DMA_MuxRequestGeneratorConfigTypeDef *pRequestGeneratorConfig); |
|---|
| 4313 | HAL_StatusTypeDef HAL_DMAEx_EnableMuxRequestGenerator(DMA_HandleTypeDef *hdma); |
|---|
| 4314 | HAL_StatusTypeDef HAL_DMAEx_DisableMuxRequestGenerator(DMA_HandleTypeDef *hdma); |
|---|
| 4315 | |
|---|
| 4316 | |
|---|
| 4317 | |
|---|
| 4318 | HAL_StatusTypeDef HAL_DMAEx_ConfigMuxSync(DMA_HandleTypeDef *hdma, HAL_DMA_MuxSyncConfigTypeDef *pSyncConfig); |
|---|
| 4319 | |
|---|
| 4320 | |
|---|
| 4321 | void HAL_DMAEx_MUX_IRQHandler(DMA_HandleTypeDef *hdma); |
|---|
| [26] | 4322 | # 699 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" 2 |
|---|
| 4323 | # 710 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
|---|
| [6] | 4324 | HAL_StatusTypeDef HAL_DMA_Init(DMA_HandleTypeDef *hdma); |
|---|
| 4325 | HAL_StatusTypeDef HAL_DMA_DeInit(DMA_HandleTypeDef *hdma); |
|---|
| [26] | 4326 | # 720 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
|---|
| [6] | 4327 | HAL_StatusTypeDef HAL_DMA_Start(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength); |
|---|
| 4328 | HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, |
|---|
| 4329 | uint32_t DataLength); |
|---|
| 4330 | HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma); |
|---|
| 4331 | HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma); |
|---|
| 4332 | HAL_StatusTypeDef HAL_DMA_PollForTransfer(DMA_HandleTypeDef *hdma, HAL_DMA_LevelCompleteTypeDef CompleteLevel, |
|---|
| 4333 | uint32_t Timeout); |
|---|
| 4334 | void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma); |
|---|
| 4335 | HAL_StatusTypeDef HAL_DMA_RegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID, void (* pCallback)(DMA_HandleTypeDef *_hdma)); |
|---|
| 4336 | HAL_StatusTypeDef HAL_DMA_UnRegisterCallback(DMA_HandleTypeDef *hdma, HAL_DMA_CallbackIDTypeDef CallbackID); |
|---|
| [26] | 4337 | # 739 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_dma.h" |
|---|
| [6] | 4338 | HAL_DMA_StateTypeDef HAL_DMA_GetState(DMA_HandleTypeDef *hdma); |
|---|
| 4339 | uint32_t HAL_DMA_GetError(DMA_HandleTypeDef *hdma); |
|---|
| [26] | 4340 | # 204 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 4341 | |
|---|
| 4342 | |
|---|
| 4343 | |
|---|
| [26] | 4344 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" 1 |
|---|
| 4345 | # 49 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
|---|
| [6] | 4346 | typedef struct |
|---|
| 4347 | { |
|---|
| 4348 | uint8_t Enable; |
|---|
| 4349 | |
|---|
| 4350 | uint8_t Number; |
|---|
| 4351 | |
|---|
| 4352 | uint32_t BaseAddress; |
|---|
| 4353 | |
|---|
| 4354 | uint8_t Size; |
|---|
| 4355 | |
|---|
| 4356 | uint8_t SubRegionDisable; |
|---|
| 4357 | |
|---|
| 4358 | uint8_t TypeExtField; |
|---|
| 4359 | |
|---|
| 4360 | uint8_t AccessPermission; |
|---|
| 4361 | |
|---|
| 4362 | uint8_t DisableExec; |
|---|
| 4363 | |
|---|
| 4364 | uint8_t IsShareable; |
|---|
| 4365 | |
|---|
| 4366 | uint8_t IsCacheable; |
|---|
| 4367 | |
|---|
| 4368 | uint8_t IsBufferable; |
|---|
| 4369 | |
|---|
| 4370 | } MPU_Region_InitTypeDef; |
|---|
| [26] | 4371 | # 250 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
|---|
| [6] | 4372 | void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority); |
|---|
| 4373 | void HAL_NVIC_EnableIRQ(IRQn_Type IRQn); |
|---|
| 4374 | void HAL_NVIC_DisableIRQ(IRQn_Type IRQn); |
|---|
| 4375 | void HAL_NVIC_SystemReset(void); |
|---|
| 4376 | uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb); |
|---|
| [26] | 4377 | # 264 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_cortex.h" |
|---|
| [6] | 4378 | uint32_t HAL_NVIC_GetPriority(IRQn_Type IRQn); |
|---|
| 4379 | uint32_t HAL_NVIC_GetPendingIRQ(IRQn_Type IRQn); |
|---|
| 4380 | void HAL_NVIC_SetPendingIRQ(IRQn_Type IRQn); |
|---|
| 4381 | void HAL_NVIC_ClearPendingIRQ(IRQn_Type IRQn); |
|---|
| 4382 | void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource); |
|---|
| 4383 | void HAL_SYSTICK_IRQHandler(void); |
|---|
| 4384 | void HAL_SYSTICK_Callback(void); |
|---|
| 4385 | |
|---|
| 4386 | |
|---|
| 4387 | void HAL_MPU_Enable(uint32_t MPU_Control); |
|---|
| 4388 | void HAL_MPU_Disable(void); |
|---|
| 4389 | void HAL_MPU_EnableRegion(uint32_t RegionNumber); |
|---|
| 4390 | void HAL_MPU_DisableRegion(uint32_t RegionNumber); |
|---|
| 4391 | void HAL_MPU_ConfigRegion(MPU_Region_InitTypeDef *MPU_Init); |
|---|
| [26] | 4392 | # 208 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 4393 | |
|---|
| 4394 | |
|---|
| 4395 | |
|---|
| [26] | 4396 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 1 |
|---|
| 4397 | # 31 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| 4398 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" 1 |
|---|
| 4399 | # 1953 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4400 | static inline uint32_t LL_ADC_DMA_GetRegAddr(const ADC_TypeDef *ADCx, uint32_t Register) |
|---|
| 4401 | { |
|---|
| 4402 | |
|---|
| 4403 | (void)(Register); |
|---|
| 4404 | |
|---|
| 4405 | |
|---|
| 4406 | return (uint32_t) &(ADCx->DR); |
|---|
| 4407 | } |
|---|
| [26] | 4408 | # 2002 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4409 | static inline void LL_ADC_SetCommonClock(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonClock) |
|---|
| 4410 | { |
|---|
| 4411 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0xFUL << (18U))))) | (CommonClock)))); |
|---|
| 4412 | } |
|---|
| [26] | 4413 | # 2031 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4414 | static inline uint32_t LL_ADC_GetCommonClock(const ADC_Common_TypeDef *ADCxy_COMMON) |
|---|
| 4415 | { |
|---|
| 4416 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0xFUL << (18U))))); |
|---|
| 4417 | } |
|---|
| [26] | 4418 | # 2052 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4419 | static inline void LL_ADC_SetCommonFrequencyMode(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t CommonFrequencyMode) |
|---|
| 4420 | { |
|---|
| 4421 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (25U))))) | (CommonFrequencyMode)))); |
|---|
| 4422 | } |
|---|
| [26] | 4423 | # 2068 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4424 | static inline uint32_t LL_ADC_GetCommonFrequencyMode(const ADC_Common_TypeDef *ADCxy_COMMON) |
|---|
| 4425 | { |
|---|
| 4426 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (25U))))); |
|---|
| 4427 | } |
|---|
| [26] | 4428 | # 2111 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4429 | static inline void LL_ADC_SetCommonPathInternalCh(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
|---|
| 4430 | { |
|---|
| 4431 | (((ADCxy_COMMON->CCR)) = ((((((ADCxy_COMMON->CCR))) & (~((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))) | (PathInternal)))); |
|---|
| 4432 | } |
|---|
| [26] | 4433 | # 2153 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4434 | static inline void LL_ADC_SetCommonPathInternalChAdd(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
|---|
| 4435 | { |
|---|
| 4436 | ((ADCxy_COMMON->CCR) |= (PathInternal)); |
|---|
| 4437 | } |
|---|
| [26] | 4438 | # 2183 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4439 | static inline void LL_ADC_SetCommonPathInternalChRem(ADC_Common_TypeDef *ADCxy_COMMON, uint32_t PathInternal) |
|---|
| 4440 | { |
|---|
| 4441 | ((ADCxy_COMMON->CCR) &= ~(PathInternal)); |
|---|
| 4442 | } |
|---|
| [26] | 4443 | # 2205 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4444 | static inline uint32_t LL_ADC_GetCommonPathInternalCh(const ADC_Common_TypeDef *ADCxy_COMMON) |
|---|
| 4445 | { |
|---|
| 4446 | return (uint32_t)(((ADCxy_COMMON->CCR) & ((0x1UL << (22U)) | (0x1UL << (23U)) | (0x1UL << (24U))))); |
|---|
| 4447 | } |
|---|
| [26] | 4448 | # 2241 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4449 | static inline void LL_ADC_SetClock(ADC_TypeDef *ADCx, uint32_t ClockSource) |
|---|
| 4450 | { |
|---|
| 4451 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x3UL << (30U))))) | (ClockSource)))); |
|---|
| 4452 | } |
|---|
| [26] | 4453 | # 2265 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4454 | static inline uint32_t LL_ADC_GetClock(const ADC_TypeDef *ADCx) |
|---|
| 4455 | { |
|---|
| 4456 | return (uint32_t)(((ADCx->CFGR2) & ((0x3UL << (30U))))); |
|---|
| 4457 | } |
|---|
| [26] | 4458 | # 2285 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4459 | static inline void LL_ADC_SetCalibrationFactor(ADC_TypeDef *ADCx, uint32_t CalibrationFactor) |
|---|
| 4460 | { |
|---|
| 4461 | (((ADCx->CALFACT)) = ((((((ADCx->CALFACT))) & (~((0x7FUL << (0U))))) | (CalibrationFactor)))); |
|---|
| 4462 | |
|---|
| 4463 | |
|---|
| 4464 | } |
|---|
| [26] | 4465 | # 2301 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4466 | static inline uint32_t LL_ADC_GetCalibrationFactor(const ADC_TypeDef *ADCx) |
|---|
| 4467 | { |
|---|
| 4468 | return (uint32_t)(((ADCx->CALFACT) & ((0x7FUL << (0U))))); |
|---|
| 4469 | } |
|---|
| [26] | 4470 | # 2322 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4471 | static inline void LL_ADC_SetResolution(ADC_TypeDef *ADCx, uint32_t Resolution) |
|---|
| 4472 | { |
|---|
| 4473 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (3U))))) | (Resolution)))); |
|---|
| 4474 | } |
|---|
| [26] | 4475 | # 2339 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4476 | static inline uint32_t LL_ADC_GetResolution(const ADC_TypeDef *ADCx) |
|---|
| 4477 | { |
|---|
| 4478 | return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (3U))))); |
|---|
| 4479 | } |
|---|
| [26] | 4480 | # 2358 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4481 | static inline void LL_ADC_SetDataAlignment(ADC_TypeDef *ADCx, uint32_t DataAlignment) |
|---|
| 4482 | { |
|---|
| 4483 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (5U))))) | (DataAlignment)))); |
|---|
| 4484 | } |
|---|
| [26] | 4485 | # 2373 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4486 | static inline uint32_t LL_ADC_GetDataAlignment(const ADC_TypeDef *ADCx) |
|---|
| 4487 | { |
|---|
| 4488 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (5U))))); |
|---|
| 4489 | } |
|---|
| [26] | 4490 | # 2430 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4491 | static inline void LL_ADC_SetLowPowerMode(ADC_TypeDef *ADCx, uint32_t LowPowerMode) |
|---|
| 4492 | { |
|---|
| 4493 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~(((0x1UL << (14U)) | (0x1UL << (15U)))))) | (LowPowerMode)))); |
|---|
| 4494 | } |
|---|
| [26] | 4495 | # 2483 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4496 | static inline uint32_t LL_ADC_GetLowPowerMode(const ADC_TypeDef *ADCx) |
|---|
| 4497 | { |
|---|
| 4498 | return (uint32_t)(((ADCx->CFGR1) & (((0x1UL << (14U)) | (0x1UL << (15U)))))); |
|---|
| 4499 | } |
|---|
| [26] | 4500 | # 2513 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4501 | static inline void LL_ADC_SetTriggerFrequencyMode(ADC_TypeDef *ADCx, uint32_t TriggerFrequencyMode) |
|---|
| 4502 | { |
|---|
| 4503 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (29U))))) | (TriggerFrequencyMode)))); |
|---|
| 4504 | } |
|---|
| [26] | 4505 | # 2526 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4506 | static inline uint32_t LL_ADC_GetTriggerFrequencyMode(const ADC_TypeDef *ADCx) |
|---|
| 4507 | { |
|---|
| 4508 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (29U))))); |
|---|
| 4509 | } |
|---|
| [26] | 4510 | # 2575 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4511 | static inline void LL_ADC_SetSamplingTimeCommonChannels(ADC_TypeDef *ADCx, uint32_t SamplingTimeY, |
|---|
| 4512 | uint32_t SamplingTime) |
|---|
| 4513 | { |
|---|
| 4514 | (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL)))))) | (SamplingTime << (SamplingTimeY & (( 4UL) | ( 0UL))))))); |
|---|
| 4515 | |
|---|
| 4516 | |
|---|
| 4517 | } |
|---|
| [26] | 4518 | # 2608 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4519 | static inline uint32_t LL_ADC_GetSamplingTimeCommonChannels(const ADC_TypeDef *ADCx, uint32_t SamplingTimeY) |
|---|
| 4520 | { |
|---|
| 4521 | return (uint32_t)((((ADCx->SMPR) & ((0x7UL << (0U)) << (SamplingTimeY & (( 4UL) | ( 0UL)))))) |
|---|
| 4522 | >> (SamplingTimeY & (( 4UL) | ( 0UL)))); |
|---|
| 4523 | } |
|---|
| [26] | 4524 | # 2657 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4525 | static inline void LL_ADC_REG_SetTriggerSource(ADC_TypeDef *ADCx, uint32_t TriggerSource) |
|---|
| 4526 | { |
|---|
| 4527 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U)) | (0x7UL << (6U))))) | (TriggerSource)))); |
|---|
| 4528 | } |
|---|
| [26] | 4529 | # 2689 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4530 | static inline uint32_t LL_ADC_REG_GetTriggerSource(const ADC_TypeDef *ADCx) |
|---|
| 4531 | { |
|---|
| 4532 | volatile uint32_t trigger_source = ((ADCx->CFGR1) & ((0x7UL << (6U)) | (0x3UL << (10U)))); |
|---|
| 4533 | |
|---|
| 4534 | |
|---|
| 4535 | |
|---|
| 4536 | uint32_t shift_exten = ((trigger_source & (0x3UL << (10U))) >> ((10UL) - 2UL)); |
|---|
| 4537 | |
|---|
| 4538 | |
|---|
| 4539 | |
|---|
| 4540 | return ((trigger_source |
|---|
| 4541 | & (((((0x00000000UL) & (0x7UL << (6U))) << (4U * 0UL)) | (((0x7UL << (6U))) << (4U * 1UL)) | (((0x7UL << (6U))) << (4U * 2UL)) | (((0x7UL << (6U))) << (4U * 3UL)) ) >> shift_exten) & (0x7UL << (6U))) |
|---|
| 4542 | | ((((((0x00000000UL) & (0x3UL << (10U))) << (4U * 0UL)) | ((((0x1UL << (10U)))) << (4U * 1UL)) | ((((0x1UL << (10U)))) << (4U * 2UL)) | ((((0x1UL << (10U)))) << (4U * 3UL)) ) >> shift_exten) & (0x3UL << (10U))) |
|---|
| 4543 | ); |
|---|
| 4544 | } |
|---|
| [26] | 4545 | # 2716 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4546 | static inline uint32_t LL_ADC_REG_IsTriggerSourceSWStart(const ADC_TypeDef *ADCx) |
|---|
| 4547 | { |
|---|
| 4548 | return ((((ADCx->CFGR1) & ((0x3UL << (10U)))) == ((0x00000000UL) & (0x3UL << (10U)))) ? 1UL : 0UL); |
|---|
| 4549 | } |
|---|
| [26] | 4550 | # 2735 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4551 | static inline void LL_ADC_REG_SetTriggerEdge(ADC_TypeDef *ADCx, uint32_t ExternalTriggerEdge) |
|---|
| 4552 | { |
|---|
| 4553 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x3UL << (10U))))) | (ExternalTriggerEdge)))); |
|---|
| 4554 | } |
|---|
| [26] | 4555 | # 2750 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4556 | static inline uint32_t LL_ADC_REG_GetTriggerEdge(const ADC_TypeDef *ADCx) |
|---|
| 4557 | { |
|---|
| 4558 | return (uint32_t)(((ADCx->CFGR1) & ((0x3UL << (10U))))); |
|---|
| 4559 | } |
|---|
| [26] | 4560 | # 2787 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4561 | static inline void LL_ADC_REG_SetSequencerConfigurable(ADC_TypeDef *ADCx, uint32_t Configurability) |
|---|
| 4562 | { |
|---|
| 4563 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (21U))))) | (Configurability)))); |
|---|
| 4564 | } |
|---|
| [26] | 4565 | # 2813 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4566 | static inline uint32_t LL_ADC_REG_GetSequencerConfigurable(const ADC_TypeDef *ADCx) |
|---|
| 4567 | { |
|---|
| 4568 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (21U))))); |
|---|
| 4569 | } |
|---|
| [26] | 4570 | # 2885 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4571 | static inline void LL_ADC_REG_SetSequencerLength(ADC_TypeDef *ADCx, uint32_t SequencerNbRanks) |
|---|
| 4572 | { |
|---|
| 4573 | ((ADCx->CHSELR) |= (SequencerNbRanks)); |
|---|
| 4574 | } |
|---|
| [26] | 4575 | # 2944 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4576 | static inline uint32_t LL_ADC_REG_GetSequencerLength(const ADC_TypeDef *ADCx) |
|---|
| 4577 | { |
|---|
| 4578 | volatile uint32_t channels_ranks = ((ADCx->CHSELR) & ((0xFFFFFFFFUL << (0U)))); |
|---|
| 4579 | uint32_t sequencer_length = (0x00000000UL); |
|---|
| 4580 | uint32_t rank_index; |
|---|
| 4581 | uint32_t rank_shifted; |
|---|
| 4582 | |
|---|
| 4583 | |
|---|
| 4584 | |
|---|
| 4585 | |
|---|
| 4586 | |
|---|
| 4587 | for (rank_index = 0U; rank_index <= (28U - 4U); rank_index += 4U) |
|---|
| 4588 | { |
|---|
| 4589 | rank_shifted = (uint32_t)(0xF0UL << rank_index); |
|---|
| 4590 | if ((channels_ranks & rank_shifted) == rank_shifted) |
|---|
| 4591 | { |
|---|
| 4592 | sequencer_length = rank_shifted; |
|---|
| 4593 | break; |
|---|
| 4594 | } |
|---|
| 4595 | } |
|---|
| 4596 | |
|---|
| 4597 | return sequencer_length; |
|---|
| 4598 | } |
|---|
| [26] | 4599 | # 2993 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4600 | static inline void LL_ADC_REG_SetSequencerScanDirection(ADC_TypeDef *ADCx, uint32_t ScanDirection) |
|---|
| 4601 | { |
|---|
| 4602 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (2U))))) | (ScanDirection)))); |
|---|
| 4603 | } |
|---|
| [26] | 4604 | # 3011 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4605 | static inline uint32_t LL_ADC_REG_GetSequencerScanDirection(const ADC_TypeDef *ADCx) |
|---|
| 4606 | { |
|---|
| 4607 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (2U))))); |
|---|
| 4608 | } |
|---|
| [26] | 4609 | # 3032 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4610 | static inline void LL_ADC_REG_SetSequencerDiscont(ADC_TypeDef *ADCx, uint32_t SeqDiscont) |
|---|
| 4611 | { |
|---|
| 4612 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (16U))))) | (SeqDiscont)))); |
|---|
| 4613 | } |
|---|
| [26] | 4614 | # 3047 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4615 | static inline uint32_t LL_ADC_REG_GetSequencerDiscont(const ADC_TypeDef *ADCx) |
|---|
| 4616 | { |
|---|
| 4617 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (16U))))); |
|---|
| 4618 | } |
|---|
| [26] | 4619 | # 3127 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4620 | static inline void LL_ADC_REG_SetSequencerRanks(ADC_TypeDef *ADCx, uint32_t Rank, uint32_t Channel) |
|---|
| 4621 | { |
|---|
| 4622 | |
|---|
| 4623 | |
|---|
| 4624 | |
|---|
| 4625 | |
|---|
| 4626 | (((ADCx->CHSELR)) = ((((((ADCx->CHSELR))) & (~((0xFUL << (0U)) << (Rank & ((0x0000001FUL)))))) | (((Channel & ((0xFUL << (0U)) << (26UL))) >> (26UL)) << (Rank & ((0x0000001FUL))))))); |
|---|
| 4627 | |
|---|
| 4628 | |
|---|
| 4629 | |
|---|
| 4630 | } |
|---|
| [26] | 4631 | # 3208 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4632 | static inline uint32_t LL_ADC_REG_GetSequencerRanks(const ADC_TypeDef *ADCx, uint32_t Rank) |
|---|
| 4633 | { |
|---|
| 4634 | return (uint32_t)((((ADCx->CHSELR) & ((0xFUL << (0U)) << (Rank & ((0x0000001FUL))))) |
|---|
| 4635 | |
|---|
| 4636 | >> (Rank & ((0x0000001FUL))) |
|---|
| 4637 | ) << ((26UL)) |
|---|
| 4638 | ); |
|---|
| 4639 | } |
|---|
| [26] | 4640 | # 3302 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4641 | static inline void LL_ADC_REG_SetSequencerChannels(ADC_TypeDef *ADCx, uint32_t Channel) |
|---|
| 4642 | { |
|---|
| 4643 | |
|---|
| 4644 | |
|---|
| 4645 | ((ADCx->CHSELR) = ((Channel & ((0x7FFFFUL << (0U)))))); |
|---|
| 4646 | } |
|---|
| [26] | 4647 | # 3394 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4648 | static inline void LL_ADC_REG_SetSequencerChAdd(ADC_TypeDef *ADCx, uint32_t Channel) |
|---|
| 4649 | { |
|---|
| 4650 | |
|---|
| 4651 | |
|---|
| 4652 | ((ADCx->CHSELR) |= ((Channel & ((0x7FFFFUL << (0U)))))); |
|---|
| 4653 | } |
|---|
| [26] | 4654 | # 3486 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4655 | static inline void LL_ADC_REG_SetSequencerChRem(ADC_TypeDef *ADCx, uint32_t Channel) |
|---|
| 4656 | { |
|---|
| 4657 | |
|---|
| 4658 | |
|---|
| 4659 | ((ADCx->CHSELR) &= ~((Channel & ((0x7FFFFUL << (0U)))))); |
|---|
| 4660 | } |
|---|
| [26] | 4661 | # 3567 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4662 | static inline uint32_t LL_ADC_REG_GetSequencerChannels(const ADC_TypeDef *ADCx) |
|---|
| 4663 | { |
|---|
| 4664 | uint32_t channels_bitfield = (uint32_t)((ADCx->CHSELR) & ((0x7FFFFUL << (0U)))); |
|---|
| 4665 | |
|---|
| 4666 | return ((((channels_bitfield & (0x1UL << (0U))) >> ( 0UL)) * ((0x00000000UL) | ((0x1UL << (0U))) )) |
|---|
| 4667 | | (((channels_bitfield & (0x1UL << (1U))) >> ( 1UL)) * (((0x01UL << (26U))) | ((0x1UL << (1U))) )) |
|---|
| 4668 | | (((channels_bitfield & (0x1UL << (2U))) >> ( 2UL)) * (((0x02UL << (26U))) | ((0x1UL << (2U))) )) |
|---|
| 4669 | | (((channels_bitfield & (0x1UL << (3U))) >> ( 3UL)) * (((0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (3U))) )) |
|---|
| 4670 | | (((channels_bitfield & (0x1UL << (4U))) >> ( 4UL)) * (((0x04UL << (26U))) | ((0x1UL << (4U))) )) |
|---|
| 4671 | | (((channels_bitfield & (0x1UL << (5U))) >> ( 5UL)) * (((0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (5U))) )) |
|---|
| 4672 | | (((channels_bitfield & (0x1UL << (6U))) >> ( 6UL)) * (((0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (6U))) )) |
|---|
| 4673 | | (((channels_bitfield & (0x1UL << (7U))) >> ( 7UL)) * (((0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (7U))) )) |
|---|
| 4674 | | (((channels_bitfield & (0x1UL << (8U))) >> ( 8UL)) * (((0x08UL << (26U))) | ((0x1UL << (8U))) )) |
|---|
| 4675 | | (((channels_bitfield & (0x1UL << (9U))) >> ( 9UL)) * (((0x08UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (9U))) )) |
|---|
| 4676 | | (((channels_bitfield & (0x1UL << (10U))) >> (10UL)) * (((0x08UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (10U))))) |
|---|
| 4677 | | (((channels_bitfield & (0x1UL << (11U))) >> (11UL)) * (((0x08UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (11U))))) |
|---|
| 4678 | | (((channels_bitfield & (0x1UL << (12U))) >> (12UL)) * (((0x08UL << (26U)) | (0x04UL << (26U))) | ((0x1UL << (12U))))) |
|---|
| 4679 | | (((channels_bitfield & (0x1UL << (13U))) >> (13UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (13U))))) |
|---|
| 4680 | | (((channels_bitfield & (0x1UL << (14U))) >> (14UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (14U))))) |
|---|
| 4681 | | (((channels_bitfield & (0x1UL << (15U))) >> (15UL)) * (((0x08UL << (26U)) | (0x04UL << (26U)) | (0x02UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (15U))))) |
|---|
| 4682 | | (((channels_bitfield & (0x1UL << (16U))) >> (16UL)) * (((0x10UL << (26U))) | ((0x1UL << (16U))))) |
|---|
| 4683 | | (((channels_bitfield & (0x1UL << (17U))) >> (17UL)) * (((0x10UL << (26U)) | (0x01UL << (26U))) | ((0x1UL << (17U))))) |
|---|
| 4684 | |
|---|
| 4685 | | (((channels_bitfield & (0x1UL << (18U))) >> (18UL)) * (((0x10UL << (26U)) | (0x02UL << (26U))) | ((0x1UL << (18U))))) |
|---|
| 4686 | |
|---|
| 4687 | ); |
|---|
| 4688 | } |
|---|
| [26] | 4689 | # 3613 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4690 | static inline void LL_ADC_REG_SetContinuousMode(ADC_TypeDef *ADCx, uint32_t Continuous) |
|---|
| 4691 | { |
|---|
| 4692 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (13U))))) | (Continuous)))); |
|---|
| 4693 | } |
|---|
| [26] | 4694 | # 3630 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4695 | static inline uint32_t LL_ADC_REG_GetContinuousMode(const ADC_TypeDef *ADCx) |
|---|
| 4696 | { |
|---|
| 4697 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (13U))))); |
|---|
| 4698 | } |
|---|
| [26] | 4699 | # 3667 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4700 | static inline void LL_ADC_REG_SetDMATransfer(ADC_TypeDef *ADCx, uint32_t DMATransfer) |
|---|
| 4701 | { |
|---|
| 4702 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (0U)) | (0x1UL << (1U))))) | (DMATransfer)))); |
|---|
| 4703 | } |
|---|
| [26] | 4704 | # 3700 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4705 | static inline uint32_t LL_ADC_REG_GetDMATransfer(const ADC_TypeDef *ADCx) |
|---|
| 4706 | { |
|---|
| 4707 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (0U)) | (0x1UL << (1U))))); |
|---|
| 4708 | } |
|---|
| [26] | 4709 | # 3724 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4710 | static inline void LL_ADC_REG_SetOverrun(ADC_TypeDef *ADCx, uint32_t Overrun) |
|---|
| 4711 | { |
|---|
| 4712 | (((ADCx->CFGR1)) = ((((((ADCx->CFGR1))) & (~((0x1UL << (12U))))) | (Overrun)))); |
|---|
| 4713 | } |
|---|
| [26] | 4714 | # 3738 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4715 | static inline uint32_t LL_ADC_REG_GetOverrun(const ADC_TypeDef *ADCx) |
|---|
| 4716 | { |
|---|
| 4717 | return (uint32_t)(((ADCx->CFGR1) & ((0x1UL << (12U))))); |
|---|
| 4718 | } |
|---|
| [26] | 4719 | # 3826 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4720 | static inline void LL_ADC_SetChannelSamplingTime(ADC_TypeDef *ADCx, uint32_t Channel, uint32_t SamplingTimeY) |
|---|
| 4721 | { |
|---|
| 4722 | |
|---|
| 4723 | |
|---|
| 4724 | (((ADCx->SMPR)) = ((((((ADCx->SMPR))) & (~((Channel << ( 8UL))))) | ((Channel << ( 8UL)) & (SamplingTimeY & (((0x7FFFFUL << (0U))) << ( 8UL))))))); |
|---|
| 4725 | |
|---|
| 4726 | |
|---|
| 4727 | |
|---|
| 4728 | } |
|---|
| [26] | 4729 | # 3895 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4730 | static inline uint32_t LL_ADC_GetChannelSamplingTime(const ADC_TypeDef *ADCx, uint32_t Channel) |
|---|
| 4731 | { |
|---|
| 4732 | volatile uint32_t smpr = ((ADCx->SMPR)); |
|---|
| 4733 | |
|---|
| 4734 | |
|---|
| 4735 | |
|---|
| 4736 | uint32_t smp_channel_posbit0 = ((smpr & (((0x7FFFFUL << (0U))) << ( 8UL))) |
|---|
| 4737 | >> ((((Channel & ((0x1FUL << (26U)))) >> (26UL)) |
|---|
| 4738 | + ( 8UL)) |
|---|
| 4739 | & 0x1FUL)); |
|---|
| 4740 | |
|---|
| 4741 | |
|---|
| 4742 | return ((~(smp_channel_posbit0) * (( 0UL))) |
|---|
| 4743 | | (smp_channel_posbit0 * (( 4UL) | (((0x7FFFFUL << (0U))) << ( 8UL))))); |
|---|
| 4744 | } |
|---|
| [26] | 4745 | # 3988 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4746 | static inline void LL_ADC_SetAnalogWDMonitChannels(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDChannelGroup) |
|---|
| 4747 | { |
|---|
| 4748 | |
|---|
| 4749 | |
|---|
| 4750 | |
|---|
| 4751 | |
|---|
| 4752 | volatile uint32_t *preg; |
|---|
| 4753 | |
|---|
| 4754 | if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL))) |
|---|
| 4755 | { |
|---|
| 4756 | preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((0UL) << 2UL)))); |
|---|
| 4757 | } |
|---|
| 4758 | else |
|---|
| 4759 | { |
|---|
| 4760 | preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD2CR)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL)))) >> ((20UL) + 1UL)) << 2UL)))); |
|---|
| 4761 | |
|---|
| 4762 | } |
|---|
| 4763 | |
|---|
| 4764 | (((*preg)) = ((((((*preg))) & (~((AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U)))))))) | (AWDChannelGroup & AWDy)))); |
|---|
| 4765 | |
|---|
| 4766 | |
|---|
| 4767 | } |
|---|
| [26] | 4768 | # 4089 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4769 | static inline uint32_t LL_ADC_GetAnalogWDMonitChannels(const ADC_TypeDef *ADCx, uint32_t AWDy) |
|---|
| 4770 | { |
|---|
| 4771 | volatile const uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->CFGR1)) + ((((AWDy & ((0x00000000UL) | (0x00100000UL) | (0x00200000UL))) >> (20UL)) + ((AWDy & ((0x00001UL << (0U)))) * (0x00000024UL))) << 2UL)))); |
|---|
| 4772 | |
|---|
| 4773 | |
|---|
| 4774 | |
|---|
| 4775 | |
|---|
| 4776 | uint32_t analog_wd_monit_channels = (((*preg) & (AWDy)) & AWDy & (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | ((0x7FFFFUL << (0U))))); |
|---|
| 4777 | |
|---|
| 4778 | |
|---|
| 4779 | |
|---|
| 4780 | |
|---|
| 4781 | |
|---|
| 4782 | if (analog_wd_monit_channels != 0UL) |
|---|
| 4783 | { |
|---|
| 4784 | if (AWDy == (((0x1FUL << (26U)) | (0x1UL << (23U)) | (0x1UL << (22U))) | (0x00000000UL))) |
|---|
| 4785 | { |
|---|
| 4786 | if ((analog_wd_monit_channels & (0x1UL << (22U))) == 0UL) |
|---|
| 4787 | { |
|---|
| 4788 | |
|---|
| 4789 | analog_wd_monit_channels = ((analog_wd_monit_channels |
|---|
| 4790 | | (((0x7FFFFUL << (0U)))) |
|---|
| 4791 | ) |
|---|
| 4792 | & (~((0x1FUL << (26U)))) |
|---|
| 4793 | ); |
|---|
| 4794 | } |
|---|
| 4795 | else |
|---|
| 4796 | { |
|---|
| 4797 | |
|---|
| 4798 | analog_wd_monit_channels = (analog_wd_monit_channels |
|---|
| 4799 | | ((0x00001UL << (0U)) << (analog_wd_monit_channels >> (26U))) |
|---|
| 4800 | ); |
|---|
| 4801 | } |
|---|
| 4802 | } |
|---|
| 4803 | else |
|---|
| 4804 | { |
|---|
| 4805 | if ((analog_wd_monit_channels & ((0x7FFFFUL << (0U)))) == ((0x7FFFFUL << (0U)))) |
|---|
| 4806 | { |
|---|
| 4807 | |
|---|
| 4808 | analog_wd_monit_channels = (((0x7FFFFUL << (0U))) |
|---|
| 4809 | | ((0x1UL << (23U))) |
|---|
| 4810 | ); |
|---|
| 4811 | } |
|---|
| 4812 | else |
|---|
| 4813 | { |
|---|
| 4814 | |
|---|
| 4815 | |
|---|
| 4816 | analog_wd_monit_channels = (analog_wd_monit_channels |
|---|
| 4817 | | ((0x1UL << (23U)) | (0x1UL << (22U))) |
|---|
| 4818 | | (((((analog_wd_monit_channels) & ((0x7FFFFUL << (0U)))) == 0UL) ? ( ((analog_wd_monit_channels) & ((0x1FUL << (26U)))) >> (26UL) ) : ((((analog_wd_monit_channels) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? (0UL) : ((((analog_wd_monit_channels) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? (1UL) : ((((analog_wd_monit_channels) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? (2UL) : ((((analog_wd_monit_channels) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? (3UL) : ((((analog_wd_monit_channels) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? (4UL) : ((((analog_wd_monit_channels) & ((0x1UL << (5U)))) == ((0x1UL << (5U)))) ? (5UL) : ((((analog_wd_monit_channels) & ((0x1UL << (6U)))) == ((0x1UL << (6U)))) ? (6UL) : ((((analog_wd_monit_channels) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? (7UL) : ((((analog_wd_monit_channels) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? (8UL) : ((((analog_wd_monit_channels) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? (9UL) : ((((analog_wd_monit_channels) & ((0x1UL << (10U)))) == ((0x1UL << (10U)))) ? (10UL) : ((((analog_wd_monit_channels) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? (11UL) : ((((analog_wd_monit_channels) & ((0x1UL << (12U)))) == ((0x1UL << (12U)))) ? (12UL) : ((((analog_wd_monit_channels) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? (13UL) : ((((analog_wd_monit_channels) & ((0x1UL << (14U)))) == ((0x1UL << (14U)))) ? (14UL) : ((((analog_wd_monit_channels) & ((0x1UL << (15U)))) == ((0x1UL << (15U)))) ? (15UL) : ((((analog_wd_monit_channels) & ((0x1UL << (16U)))) == ((0x1UL << (16U)))) ? (16UL) : ((((analog_wd_monit_channels) & ((0x1UL << (17U)))) == ((0x1UL << (17U)))) ? (17UL) : ((((analog_wd_monit_channels) & ((0x1UL << (18U)))) == ((0x1UL << (18U)))) ? (18UL) : (0UL))))))))))))))))))))) << (26U)) |
|---|
| 4819 | ); |
|---|
| 4820 | } |
|---|
| 4821 | } |
|---|
| 4822 | } |
|---|
| 4823 | |
|---|
| 4824 | return analog_wd_monit_channels; |
|---|
| 4825 | } |
|---|
| [26] | 4826 | # 4208 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4827 | static inline void LL_ADC_ConfigAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdHighValue, |
|---|
| 4828 | uint32_t AWDThresholdLowValue) |
|---|
| 4829 | { |
|---|
| 4830 | |
|---|
| 4831 | |
|---|
| 4832 | |
|---|
| 4833 | |
|---|
| 4834 | |
|---|
| 4835 | volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD1TR)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL) + (1UL << (20UL)))))) >> ((20UL))) + (((0x00200000UL) & AWDy) >> ((20UL) + 1UL))) << 2UL)))); |
|---|
| 4836 | |
|---|
| 4837 | |
|---|
| 4838 | |
|---|
| 4839 | |
|---|
| 4840 | |
|---|
| 4841 | |
|---|
| 4842 | (((*preg)) = ((((((*preg))) & (~((0xFFFUL << (16U)) | (0xFFFUL << (0U))))) | ((AWDThresholdHighValue << (16UL)) | AWDThresholdLowValue)))); |
|---|
| 4843 | |
|---|
| 4844 | |
|---|
| 4845 | } |
|---|
| [26] | 4846 | # 4291 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4847 | static inline void LL_ADC_SetAnalogWDThresholds(ADC_TypeDef *ADCx, uint32_t AWDy, uint32_t AWDThresholdsHighLow, |
|---|
| 4848 | uint32_t AWDThresholdValue) |
|---|
| 4849 | { |
|---|
| 4850 | |
|---|
| 4851 | |
|---|
| 4852 | |
|---|
| 4853 | |
|---|
| 4854 | |
|---|
| 4855 | volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD1TR)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL) + (1UL << (20UL)))))) >> ((20UL))) + (((0x00200000UL) & AWDy) >> ((20UL) + 1UL))) << 2UL)))); |
|---|
| 4856 | |
|---|
| 4857 | |
|---|
| 4858 | |
|---|
| 4859 | |
|---|
| 4860 | |
|---|
| 4861 | (((*preg)) = ((((((*preg))) & (~(AWDThresholdsHighLow))) | (AWDThresholdValue << ((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL)))))); |
|---|
| 4862 | |
|---|
| 4863 | |
|---|
| 4864 | } |
|---|
| [26] | 4865 | # 4338 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4866 | static inline uint32_t LL_ADC_GetAnalogWDThresholds(const ADC_TypeDef *ADCx, |
|---|
| 4867 | uint32_t AWDy, uint32_t AWDThresholdsHighLow) |
|---|
| 4868 | { |
|---|
| 4869 | |
|---|
| 4870 | |
|---|
| 4871 | |
|---|
| 4872 | |
|---|
| 4873 | |
|---|
| 4874 | const volatile uint32_t *preg = ((volatile uint32_t *)((uint32_t) ((uint32_t)(&(ADCx->AWD1TR)) + (((((AWDy & (((0x00000000UL)) | ((0x00100000UL)) | ((0x00200000UL) + (1UL << (20UL)))))) >> ((20UL))) + (((0x00200000UL) & AWDy) >> ((20UL) + 1UL))) << 2UL)))); |
|---|
| 4875 | |
|---|
| 4876 | |
|---|
| 4877 | |
|---|
| 4878 | |
|---|
| 4879 | |
|---|
| 4880 | return (uint32_t)(((*preg) & ((AWDThresholdsHighLow | (0xFFFUL << (0U))))) |
|---|
| 4881 | |
|---|
| 4882 | >> (((AWDThresholdsHighLow & (0x00010000UL)) >> ((16UL) - 4UL)) |
|---|
| 4883 | & ~(AWDThresholdsHighLow & (0xFFFUL << (0U))))); |
|---|
| 4884 | } |
|---|
| [26] | 4885 | # 4378 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4886 | static inline void LL_ADC_SetOverSamplingScope(ADC_TypeDef *ADCx, uint32_t OvsScope) |
|---|
| 4887 | { |
|---|
| 4888 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (0U))))) | (OvsScope)))); |
|---|
| 4889 | } |
|---|
| [26] | 4890 | # 4391 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4891 | static inline uint32_t LL_ADC_GetOverSamplingScope(const ADC_TypeDef *ADCx) |
|---|
| 4892 | { |
|---|
| 4893 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (0U))))); |
|---|
| 4894 | } |
|---|
| [26] | 4895 | # 4414 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4896 | static inline void LL_ADC_SetOverSamplingDiscont(ADC_TypeDef *ADCx, uint32_t OverSamplingDiscont) |
|---|
| 4897 | { |
|---|
| 4898 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~((0x1UL << (9U))))) | (OverSamplingDiscont)))); |
|---|
| 4899 | } |
|---|
| [26] | 4900 | # 4433 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4901 | static inline uint32_t LL_ADC_GetOverSamplingDiscont(const ADC_TypeDef *ADCx) |
|---|
| 4902 | { |
|---|
| 4903 | return (uint32_t)(((ADCx->CFGR2) & ((0x1UL << (9U))))); |
|---|
| 4904 | } |
|---|
| [26] | 4905 | # 4470 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4906 | static inline void LL_ADC_ConfigOverSamplingRatioShift(ADC_TypeDef *ADCx, uint32_t Ratio, uint32_t Shift) |
|---|
| 4907 | { |
|---|
| 4908 | (((ADCx->CFGR2)) = ((((((ADCx->CFGR2))) & (~(((0xFUL << (5U)) | (0x7UL << (2U)))))) | ((Shift | Ratio))))); |
|---|
| 4909 | } |
|---|
| [26] | 4910 | # 4489 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4911 | static inline uint32_t LL_ADC_GetOverSamplingRatio(const ADC_TypeDef *ADCx) |
|---|
| 4912 | { |
|---|
| 4913 | return (uint32_t)(((ADCx->CFGR2) & ((0x7UL << (2U))))); |
|---|
| 4914 | } |
|---|
| [26] | 4915 | # 4509 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4916 | static inline uint32_t LL_ADC_GetOverSamplingShift(const ADC_TypeDef *ADCx) |
|---|
| 4917 | { |
|---|
| 4918 | return (uint32_t)(((ADCx->CFGR2) & ((0xFUL << (5U))))); |
|---|
| 4919 | } |
|---|
| [26] | 4920 | # 4544 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4921 | static inline void LL_ADC_EnableInternalRegulator(ADC_TypeDef *ADCx) |
|---|
| 4922 | { |
|---|
| 4923 | |
|---|
| 4924 | |
|---|
| 4925 | |
|---|
| 4926 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (28U)))))); |
|---|
| 4927 | |
|---|
| 4928 | |
|---|
| 4929 | } |
|---|
| [26] | 4930 | # 4563 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4931 | static inline void LL_ADC_DisableInternalRegulator(ADC_TypeDef *ADCx) |
|---|
| 4932 | { |
|---|
| 4933 | ((ADCx->CR) &= ~(((0x1UL << (28U)) | ((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))); |
|---|
| 4934 | } |
|---|
| 4935 | |
|---|
| 4936 | |
|---|
| 4937 | |
|---|
| 4938 | |
|---|
| 4939 | |
|---|
| 4940 | |
|---|
| 4941 | |
|---|
| 4942 | static inline uint32_t LL_ADC_IsInternalRegulatorEnabled(const ADC_TypeDef *ADCx) |
|---|
| 4943 | { |
|---|
| 4944 | return ((((ADCx->CR) & ((0x1UL << (28U)))) == ((0x1UL << (28U)))) ? 1UL : 0UL); |
|---|
| 4945 | } |
|---|
| [26] | 4946 | # 4595 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4947 | static inline void LL_ADC_Enable(ADC_TypeDef *ADCx) |
|---|
| 4948 | { |
|---|
| 4949 | |
|---|
| 4950 | |
|---|
| 4951 | |
|---|
| 4952 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (0U)))))); |
|---|
| 4953 | |
|---|
| 4954 | |
|---|
| 4955 | } |
|---|
| [26] | 4956 | # 4615 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4957 | static inline void LL_ADC_Disable(ADC_TypeDef *ADCx) |
|---|
| 4958 | { |
|---|
| 4959 | |
|---|
| 4960 | |
|---|
| 4961 | |
|---|
| 4962 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (1U)))))); |
|---|
| 4963 | |
|---|
| 4964 | |
|---|
| 4965 | } |
|---|
| [26] | 4966 | # 4634 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4967 | static inline uint32_t LL_ADC_IsEnabled(const ADC_TypeDef *ADCx) |
|---|
| 4968 | { |
|---|
| 4969 | return ((((ADCx->CR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 4970 | } |
|---|
| 4971 | |
|---|
| 4972 | |
|---|
| 4973 | |
|---|
| 4974 | |
|---|
| 4975 | |
|---|
| 4976 | |
|---|
| 4977 | |
|---|
| 4978 | static inline uint32_t LL_ADC_IsDisableOngoing(const ADC_TypeDef *ADCx) |
|---|
| 4979 | { |
|---|
| 4980 | return ((((ADCx->CR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 4981 | } |
|---|
| [26] | 4982 | # 4678 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 4983 | static inline void LL_ADC_StartCalibration(ADC_TypeDef *ADCx) |
|---|
| 4984 | { |
|---|
| 4985 | |
|---|
| 4986 | |
|---|
| 4987 | |
|---|
| 4988 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (31U)))))); |
|---|
| 4989 | |
|---|
| 4990 | |
|---|
| 4991 | } |
|---|
| 4992 | |
|---|
| 4993 | |
|---|
| 4994 | |
|---|
| 4995 | |
|---|
| 4996 | |
|---|
| 4997 | |
|---|
| 4998 | |
|---|
| 4999 | static inline uint32_t LL_ADC_IsCalibrationOnGoing(const ADC_TypeDef *ADCx) |
|---|
| 5000 | { |
|---|
| 5001 | return ((((ADCx->CR) & ((0x1UL << (31U)))) == ((0x1UL << (31U)))) ? 1UL : 0UL); |
|---|
| 5002 | } |
|---|
| [26] | 5003 | # 4725 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5004 | static inline void LL_ADC_REG_StartConversion(ADC_TypeDef *ADCx) |
|---|
| 5005 | { |
|---|
| 5006 | |
|---|
| 5007 | |
|---|
| 5008 | |
|---|
| 5009 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (2U)))))); |
|---|
| 5010 | |
|---|
| 5011 | |
|---|
| 5012 | } |
|---|
| [26] | 5013 | # 4745 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5014 | static inline void LL_ADC_REG_StopConversion(ADC_TypeDef *ADCx) |
|---|
| 5015 | { |
|---|
| 5016 | |
|---|
| 5017 | |
|---|
| 5018 | |
|---|
| 5019 | (((ADCx->CR)) = ((((((ADCx->CR))) & (~(((0x1UL << (31U)) | (0x1UL << (0U)) | (0x1UL << (1U)) | (0x1UL << (2U)) | (0x1UL << (4U)))))) | ((0x1UL << (4U)))))); |
|---|
| 5020 | |
|---|
| 5021 | |
|---|
| 5022 | } |
|---|
| 5023 | |
|---|
| 5024 | |
|---|
| 5025 | |
|---|
| 5026 | |
|---|
| 5027 | |
|---|
| 5028 | |
|---|
| 5029 | |
|---|
| 5030 | static inline uint32_t LL_ADC_REG_IsConversionOngoing(const ADC_TypeDef *ADCx) |
|---|
| 5031 | { |
|---|
| 5032 | return ((((ADCx->CR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
|---|
| 5033 | } |
|---|
| 5034 | |
|---|
| 5035 | |
|---|
| 5036 | |
|---|
| 5037 | |
|---|
| 5038 | |
|---|
| 5039 | |
|---|
| 5040 | |
|---|
| 5041 | static inline uint32_t LL_ADC_REG_IsStopConversionOngoing(const ADC_TypeDef *ADCx) |
|---|
| 5042 | { |
|---|
| 5043 | return ((((ADCx->CR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
|---|
| 5044 | } |
|---|
| [26] | 5045 | # 4786 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5046 | static inline uint32_t LL_ADC_REG_ReadConversionData32(const ADC_TypeDef *ADCx) |
|---|
| 5047 | { |
|---|
| 5048 | return (uint32_t)(((ADCx->DR) & ((0xFFFFUL << (0U))))); |
|---|
| 5049 | } |
|---|
| [26] | 5050 | # 4801 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5051 | static inline uint16_t LL_ADC_REG_ReadConversionData12(const ADC_TypeDef *ADCx) |
|---|
| 5052 | { |
|---|
| 5053 | return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x00000FFFUL); |
|---|
| 5054 | } |
|---|
| [26] | 5055 | # 4816 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5056 | static inline uint16_t LL_ADC_REG_ReadConversionData10(const ADC_TypeDef *ADCx) |
|---|
| 5057 | { |
|---|
| 5058 | return (uint16_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000003FFUL); |
|---|
| 5059 | } |
|---|
| [26] | 5060 | # 4831 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5061 | static inline uint8_t LL_ADC_REG_ReadConversionData8(const ADC_TypeDef *ADCx) |
|---|
| 5062 | { |
|---|
| 5063 | return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x000000FFUL); |
|---|
| 5064 | } |
|---|
| [26] | 5065 | # 4846 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5066 | static inline uint8_t LL_ADC_REG_ReadConversionData6(const ADC_TypeDef *ADCx) |
|---|
| 5067 | { |
|---|
| 5068 | return (uint8_t)(((ADCx->DR) & ((0xFFFFUL << (0U)))) & 0x0000003FUL); |
|---|
| 5069 | } |
|---|
| [26] | 5070 | # 4868 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5071 | static inline uint32_t LL_ADC_IsActiveFlag_ADRDY(const ADC_TypeDef *ADCx) |
|---|
| 5072 | { |
|---|
| 5073 | return ((((ADCx->ISR) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 5074 | } |
|---|
| [26] | 5075 | # 4895 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5076 | static inline uint32_t LL_ADC_IsActiveFlag_CCRDY(const ADC_TypeDef *ADCx) |
|---|
| 5077 | { |
|---|
| 5078 | return ((((ADCx->ISR) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
|---|
| 5079 | } |
|---|
| 5080 | |
|---|
| 5081 | |
|---|
| 5082 | |
|---|
| 5083 | |
|---|
| 5084 | |
|---|
| 5085 | |
|---|
| 5086 | |
|---|
| 5087 | static inline uint32_t LL_ADC_IsActiveFlag_EOC(const ADC_TypeDef *ADCx) |
|---|
| 5088 | { |
|---|
| 5089 | return ((((ADCx->ISR) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
|---|
| 5090 | } |
|---|
| 5091 | |
|---|
| 5092 | |
|---|
| 5093 | |
|---|
| 5094 | |
|---|
| 5095 | |
|---|
| 5096 | |
|---|
| 5097 | |
|---|
| 5098 | static inline uint32_t LL_ADC_IsActiveFlag_EOS(const ADC_TypeDef *ADCx) |
|---|
| 5099 | { |
|---|
| 5100 | return ((((ADCx->ISR) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 5101 | } |
|---|
| 5102 | |
|---|
| 5103 | |
|---|
| 5104 | |
|---|
| 5105 | |
|---|
| 5106 | |
|---|
| 5107 | |
|---|
| 5108 | |
|---|
| 5109 | static inline uint32_t LL_ADC_IsActiveFlag_OVR(const ADC_TypeDef *ADCx) |
|---|
| 5110 | { |
|---|
| 5111 | return ((((ADCx->ISR) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
|---|
| 5112 | } |
|---|
| 5113 | |
|---|
| 5114 | |
|---|
| 5115 | |
|---|
| 5116 | |
|---|
| 5117 | |
|---|
| 5118 | |
|---|
| 5119 | |
|---|
| 5120 | static inline uint32_t LL_ADC_IsActiveFlag_EOSMP(const ADC_TypeDef *ADCx) |
|---|
| 5121 | { |
|---|
| 5122 | return ((((ADCx->ISR) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 5123 | } |
|---|
| 5124 | |
|---|
| 5125 | |
|---|
| 5126 | |
|---|
| 5127 | |
|---|
| 5128 | |
|---|
| 5129 | |
|---|
| 5130 | |
|---|
| 5131 | static inline uint32_t LL_ADC_IsActiveFlag_AWD1(const ADC_TypeDef *ADCx) |
|---|
| 5132 | { |
|---|
| 5133 | return ((((ADCx->ISR) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
|---|
| 5134 | } |
|---|
| 5135 | |
|---|
| 5136 | |
|---|
| 5137 | |
|---|
| 5138 | |
|---|
| 5139 | |
|---|
| 5140 | |
|---|
| 5141 | |
|---|
| 5142 | static inline uint32_t LL_ADC_IsActiveFlag_AWD2(const ADC_TypeDef *ADCx) |
|---|
| 5143 | { |
|---|
| 5144 | return ((((ADCx->ISR) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
|---|
| 5145 | } |
|---|
| 5146 | |
|---|
| 5147 | |
|---|
| 5148 | |
|---|
| 5149 | |
|---|
| 5150 | |
|---|
| 5151 | |
|---|
| 5152 | |
|---|
| 5153 | static inline uint32_t LL_ADC_IsActiveFlag_AWD3(const ADC_TypeDef *ADCx) |
|---|
| 5154 | { |
|---|
| 5155 | return ((((ADCx->ISR) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
|---|
| 5156 | } |
|---|
| 5157 | |
|---|
| 5158 | |
|---|
| 5159 | |
|---|
| 5160 | |
|---|
| 5161 | |
|---|
| 5162 | |
|---|
| 5163 | |
|---|
| 5164 | static inline uint32_t LL_ADC_IsActiveFlag_EOCAL(const ADC_TypeDef *ADCx) |
|---|
| 5165 | { |
|---|
| 5166 | return ((((ADCx->ISR) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
|---|
| 5167 | } |
|---|
| [26] | 5168 | # 4997 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5169 | static inline void LL_ADC_ClearFlag_ADRDY(ADC_TypeDef *ADCx) |
|---|
| 5170 | { |
|---|
| 5171 | ((ADCx->ISR) = ((0x1UL << (0U)))); |
|---|
| 5172 | } |
|---|
| 5173 | |
|---|
| 5174 | |
|---|
| 5175 | |
|---|
| 5176 | |
|---|
| 5177 | |
|---|
| 5178 | |
|---|
| 5179 | |
|---|
| 5180 | static inline void LL_ADC_ClearFlag_CCRDY(ADC_TypeDef *ADCx) |
|---|
| 5181 | { |
|---|
| 5182 | ((ADCx->ISR) = ((0x1UL << (13U)))); |
|---|
| 5183 | } |
|---|
| 5184 | |
|---|
| 5185 | |
|---|
| 5186 | |
|---|
| 5187 | |
|---|
| 5188 | |
|---|
| 5189 | |
|---|
| 5190 | |
|---|
| 5191 | static inline void LL_ADC_ClearFlag_EOC(ADC_TypeDef *ADCx) |
|---|
| 5192 | { |
|---|
| 5193 | ((ADCx->ISR) = ((0x1UL << (2U)))); |
|---|
| 5194 | } |
|---|
| 5195 | |
|---|
| 5196 | |
|---|
| 5197 | |
|---|
| 5198 | |
|---|
| 5199 | |
|---|
| 5200 | |
|---|
| 5201 | |
|---|
| 5202 | static inline void LL_ADC_ClearFlag_EOS(ADC_TypeDef *ADCx) |
|---|
| 5203 | { |
|---|
| 5204 | ((ADCx->ISR) = ((0x1UL << (3U)))); |
|---|
| 5205 | } |
|---|
| 5206 | |
|---|
| 5207 | |
|---|
| 5208 | |
|---|
| 5209 | |
|---|
| 5210 | |
|---|
| 5211 | |
|---|
| 5212 | |
|---|
| 5213 | static inline void LL_ADC_ClearFlag_OVR(ADC_TypeDef *ADCx) |
|---|
| 5214 | { |
|---|
| 5215 | ((ADCx->ISR) = ((0x1UL << (4U)))); |
|---|
| 5216 | } |
|---|
| 5217 | |
|---|
| 5218 | |
|---|
| 5219 | |
|---|
| 5220 | |
|---|
| 5221 | |
|---|
| 5222 | |
|---|
| 5223 | |
|---|
| 5224 | static inline void LL_ADC_ClearFlag_EOSMP(ADC_TypeDef *ADCx) |
|---|
| 5225 | { |
|---|
| 5226 | ((ADCx->ISR) = ((0x1UL << (1U)))); |
|---|
| 5227 | } |
|---|
| 5228 | |
|---|
| 5229 | |
|---|
| 5230 | |
|---|
| 5231 | |
|---|
| 5232 | |
|---|
| 5233 | |
|---|
| 5234 | |
|---|
| 5235 | static inline void LL_ADC_ClearFlag_AWD1(ADC_TypeDef *ADCx) |
|---|
| 5236 | { |
|---|
| 5237 | ((ADCx->ISR) = ((0x1UL << (7U)))); |
|---|
| 5238 | } |
|---|
| 5239 | |
|---|
| 5240 | |
|---|
| 5241 | |
|---|
| 5242 | |
|---|
| 5243 | |
|---|
| 5244 | |
|---|
| 5245 | |
|---|
| 5246 | static inline void LL_ADC_ClearFlag_AWD2(ADC_TypeDef *ADCx) |
|---|
| 5247 | { |
|---|
| 5248 | ((ADCx->ISR) = ((0x1UL << (8U)))); |
|---|
| 5249 | } |
|---|
| 5250 | |
|---|
| 5251 | |
|---|
| 5252 | |
|---|
| 5253 | |
|---|
| 5254 | |
|---|
| 5255 | |
|---|
| 5256 | |
|---|
| 5257 | static inline void LL_ADC_ClearFlag_AWD3(ADC_TypeDef *ADCx) |
|---|
| 5258 | { |
|---|
| 5259 | ((ADCx->ISR) = ((0x1UL << (9U)))); |
|---|
| 5260 | } |
|---|
| 5261 | |
|---|
| 5262 | |
|---|
| 5263 | |
|---|
| 5264 | |
|---|
| 5265 | |
|---|
| 5266 | |
|---|
| 5267 | |
|---|
| 5268 | static inline void LL_ADC_ClearFlag_EOCAL(ADC_TypeDef *ADCx) |
|---|
| 5269 | { |
|---|
| 5270 | ((ADCx->ISR) = ((0x1UL << (11U)))); |
|---|
| 5271 | } |
|---|
| [26] | 5272 | # 5115 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5273 | static inline void LL_ADC_EnableIT_ADRDY(ADC_TypeDef *ADCx) |
|---|
| 5274 | { |
|---|
| 5275 | ((ADCx->IER) |= ((0x1UL << (0U)))); |
|---|
| 5276 | } |
|---|
| 5277 | |
|---|
| 5278 | |
|---|
| 5279 | |
|---|
| 5280 | |
|---|
| 5281 | |
|---|
| 5282 | |
|---|
| 5283 | |
|---|
| 5284 | static inline void LL_ADC_EnableIT_CCRDY(ADC_TypeDef *ADCx) |
|---|
| 5285 | { |
|---|
| 5286 | ((ADCx->IER) |= ((0x1UL << (13U)))); |
|---|
| 5287 | } |
|---|
| 5288 | |
|---|
| 5289 | |
|---|
| 5290 | |
|---|
| 5291 | |
|---|
| 5292 | |
|---|
| 5293 | |
|---|
| 5294 | |
|---|
| 5295 | static inline void LL_ADC_EnableIT_EOC(ADC_TypeDef *ADCx) |
|---|
| 5296 | { |
|---|
| 5297 | ((ADCx->IER) |= ((0x1UL << (2U)))); |
|---|
| 5298 | } |
|---|
| 5299 | |
|---|
| 5300 | |
|---|
| 5301 | |
|---|
| 5302 | |
|---|
| 5303 | |
|---|
| 5304 | |
|---|
| 5305 | |
|---|
| 5306 | static inline void LL_ADC_EnableIT_EOS(ADC_TypeDef *ADCx) |
|---|
| 5307 | { |
|---|
| 5308 | ((ADCx->IER) |= ((0x1UL << (3U)))); |
|---|
| 5309 | } |
|---|
| 5310 | |
|---|
| 5311 | |
|---|
| 5312 | |
|---|
| 5313 | |
|---|
| 5314 | |
|---|
| 5315 | |
|---|
| 5316 | |
|---|
| 5317 | static inline void LL_ADC_EnableIT_OVR(ADC_TypeDef *ADCx) |
|---|
| 5318 | { |
|---|
| 5319 | ((ADCx->IER) |= ((0x1UL << (4U)))); |
|---|
| 5320 | } |
|---|
| 5321 | |
|---|
| 5322 | |
|---|
| 5323 | |
|---|
| 5324 | |
|---|
| 5325 | |
|---|
| 5326 | |
|---|
| 5327 | |
|---|
| 5328 | static inline void LL_ADC_EnableIT_EOSMP(ADC_TypeDef *ADCx) |
|---|
| 5329 | { |
|---|
| 5330 | ((ADCx->IER) |= ((0x1UL << (1U)))); |
|---|
| 5331 | } |
|---|
| 5332 | |
|---|
| 5333 | |
|---|
| 5334 | |
|---|
| 5335 | |
|---|
| 5336 | |
|---|
| 5337 | |
|---|
| 5338 | |
|---|
| 5339 | static inline void LL_ADC_EnableIT_AWD1(ADC_TypeDef *ADCx) |
|---|
| 5340 | { |
|---|
| 5341 | ((ADCx->IER) |= ((0x1UL << (7U)))); |
|---|
| 5342 | } |
|---|
| 5343 | |
|---|
| 5344 | |
|---|
| 5345 | |
|---|
| 5346 | |
|---|
| 5347 | |
|---|
| 5348 | |
|---|
| 5349 | |
|---|
| 5350 | static inline void LL_ADC_EnableIT_AWD2(ADC_TypeDef *ADCx) |
|---|
| 5351 | { |
|---|
| 5352 | ((ADCx->IER) |= ((0x1UL << (8U)))); |
|---|
| 5353 | } |
|---|
| 5354 | |
|---|
| 5355 | |
|---|
| 5356 | |
|---|
| 5357 | |
|---|
| 5358 | |
|---|
| 5359 | |
|---|
| 5360 | |
|---|
| 5361 | static inline void LL_ADC_EnableIT_AWD3(ADC_TypeDef *ADCx) |
|---|
| 5362 | { |
|---|
| 5363 | ((ADCx->IER) |= ((0x1UL << (9U)))); |
|---|
| 5364 | } |
|---|
| 5365 | |
|---|
| 5366 | |
|---|
| 5367 | |
|---|
| 5368 | |
|---|
| 5369 | |
|---|
| 5370 | |
|---|
| 5371 | |
|---|
| 5372 | static inline void LL_ADC_EnableIT_EOCAL(ADC_TypeDef *ADCx) |
|---|
| 5373 | { |
|---|
| 5374 | ((ADCx->IER) |= ((0x1UL << (11U)))); |
|---|
| 5375 | } |
|---|
| 5376 | |
|---|
| 5377 | |
|---|
| 5378 | |
|---|
| 5379 | |
|---|
| 5380 | |
|---|
| 5381 | |
|---|
| 5382 | |
|---|
| 5383 | static inline void LL_ADC_DisableIT_ADRDY(ADC_TypeDef *ADCx) |
|---|
| 5384 | { |
|---|
| 5385 | ((ADCx->IER) &= ~((0x1UL << (0U)))); |
|---|
| 5386 | } |
|---|
| 5387 | |
|---|
| 5388 | |
|---|
| 5389 | |
|---|
| 5390 | |
|---|
| 5391 | |
|---|
| 5392 | |
|---|
| 5393 | |
|---|
| 5394 | static inline void LL_ADC_DisableIT_CCRDY(ADC_TypeDef *ADCx) |
|---|
| 5395 | { |
|---|
| 5396 | ((ADCx->IER) &= ~((0x1UL << (13U)))); |
|---|
| 5397 | } |
|---|
| 5398 | |
|---|
| 5399 | |
|---|
| 5400 | |
|---|
| 5401 | |
|---|
| 5402 | |
|---|
| 5403 | |
|---|
| 5404 | |
|---|
| 5405 | static inline void LL_ADC_DisableIT_EOC(ADC_TypeDef *ADCx) |
|---|
| 5406 | { |
|---|
| 5407 | ((ADCx->IER) &= ~((0x1UL << (2U)))); |
|---|
| 5408 | } |
|---|
| 5409 | |
|---|
| 5410 | |
|---|
| 5411 | |
|---|
| 5412 | |
|---|
| 5413 | |
|---|
| 5414 | |
|---|
| 5415 | |
|---|
| 5416 | static inline void LL_ADC_DisableIT_EOS(ADC_TypeDef *ADCx) |
|---|
| 5417 | { |
|---|
| 5418 | ((ADCx->IER) &= ~((0x1UL << (3U)))); |
|---|
| 5419 | } |
|---|
| 5420 | |
|---|
| 5421 | |
|---|
| 5422 | |
|---|
| 5423 | |
|---|
| 5424 | |
|---|
| 5425 | |
|---|
| 5426 | |
|---|
| 5427 | static inline void LL_ADC_DisableIT_OVR(ADC_TypeDef *ADCx) |
|---|
| 5428 | { |
|---|
| 5429 | ((ADCx->IER) &= ~((0x1UL << (4U)))); |
|---|
| 5430 | } |
|---|
| 5431 | |
|---|
| 5432 | |
|---|
| 5433 | |
|---|
| 5434 | |
|---|
| 5435 | |
|---|
| 5436 | |
|---|
| 5437 | |
|---|
| 5438 | static inline void LL_ADC_DisableIT_EOSMP(ADC_TypeDef *ADCx) |
|---|
| 5439 | { |
|---|
| 5440 | ((ADCx->IER) &= ~((0x1UL << (1U)))); |
|---|
| 5441 | } |
|---|
| 5442 | |
|---|
| 5443 | |
|---|
| 5444 | |
|---|
| 5445 | |
|---|
| 5446 | |
|---|
| 5447 | |
|---|
| 5448 | |
|---|
| 5449 | static inline void LL_ADC_DisableIT_AWD1(ADC_TypeDef *ADCx) |
|---|
| 5450 | { |
|---|
| 5451 | ((ADCx->IER) &= ~((0x1UL << (7U)))); |
|---|
| 5452 | } |
|---|
| 5453 | |
|---|
| 5454 | |
|---|
| 5455 | |
|---|
| 5456 | |
|---|
| 5457 | |
|---|
| 5458 | |
|---|
| 5459 | |
|---|
| 5460 | static inline void LL_ADC_DisableIT_AWD2(ADC_TypeDef *ADCx) |
|---|
| 5461 | { |
|---|
| 5462 | ((ADCx->IER) &= ~((0x1UL << (8U)))); |
|---|
| 5463 | } |
|---|
| 5464 | |
|---|
| 5465 | |
|---|
| 5466 | |
|---|
| 5467 | |
|---|
| 5468 | |
|---|
| 5469 | |
|---|
| 5470 | |
|---|
| 5471 | static inline void LL_ADC_DisableIT_AWD3(ADC_TypeDef *ADCx) |
|---|
| 5472 | { |
|---|
| 5473 | ((ADCx->IER) &= ~((0x1UL << (9U)))); |
|---|
| 5474 | } |
|---|
| 5475 | |
|---|
| 5476 | |
|---|
| 5477 | |
|---|
| 5478 | |
|---|
| 5479 | |
|---|
| 5480 | |
|---|
| 5481 | |
|---|
| 5482 | static inline void LL_ADC_DisableIT_EOCAL(ADC_TypeDef *ADCx) |
|---|
| 5483 | { |
|---|
| 5484 | ((ADCx->IER) &= ~((0x1UL << (11U)))); |
|---|
| 5485 | } |
|---|
| [26] | 5486 | # 5336 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5487 | static inline uint32_t LL_ADC_IsEnabledIT_ADRDY(const ADC_TypeDef *ADCx) |
|---|
| 5488 | { |
|---|
| 5489 | return ((((ADCx->IER) & ((0x1UL << (0U)))) == ((0x1UL << (0U)))) ? 1UL : 0UL); |
|---|
| 5490 | } |
|---|
| 5491 | |
|---|
| 5492 | |
|---|
| 5493 | |
|---|
| 5494 | |
|---|
| 5495 | |
|---|
| 5496 | |
|---|
| 5497 | |
|---|
| 5498 | static inline uint32_t LL_ADC_IsEnabledIT_CCRDY(const ADC_TypeDef *ADCx) |
|---|
| 5499 | { |
|---|
| 5500 | return ((((ADCx->IER) & ((0x1UL << (13U)))) == ((0x1UL << (13U)))) ? 1UL : 0UL); |
|---|
| 5501 | } |
|---|
| [26] | 5502 | # 5359 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5503 | static inline uint32_t LL_ADC_IsEnabledIT_EOC(const ADC_TypeDef *ADCx) |
|---|
| 5504 | { |
|---|
| 5505 | return ((((ADCx->IER) & ((0x1UL << (2U)))) == ((0x1UL << (2U)))) ? 1UL : 0UL); |
|---|
| 5506 | } |
|---|
| [26] | 5507 | # 5371 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5508 | static inline uint32_t LL_ADC_IsEnabledIT_EOS(const ADC_TypeDef *ADCx) |
|---|
| 5509 | { |
|---|
| 5510 | return ((((ADCx->IER) & ((0x1UL << (3U)))) == ((0x1UL << (3U)))) ? 1UL : 0UL); |
|---|
| 5511 | } |
|---|
| [26] | 5512 | # 5383 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5513 | static inline uint32_t LL_ADC_IsEnabledIT_OVR(const ADC_TypeDef *ADCx) |
|---|
| 5514 | { |
|---|
| 5515 | return ((((ADCx->IER) & ((0x1UL << (4U)))) == ((0x1UL << (4U)))) ? 1UL : 0UL); |
|---|
| 5516 | } |
|---|
| [26] | 5517 | # 5395 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5518 | static inline uint32_t LL_ADC_IsEnabledIT_EOSMP(const ADC_TypeDef *ADCx) |
|---|
| 5519 | { |
|---|
| 5520 | return ((((ADCx->IER) & ((0x1UL << (1U)))) == ((0x1UL << (1U)))) ? 1UL : 0UL); |
|---|
| 5521 | } |
|---|
| [26] | 5522 | # 5407 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5523 | static inline uint32_t LL_ADC_IsEnabledIT_AWD1(const ADC_TypeDef *ADCx) |
|---|
| 5524 | { |
|---|
| 5525 | return ((((ADCx->IER) & ((0x1UL << (7U)))) == ((0x1UL << (7U)))) ? 1UL : 0UL); |
|---|
| 5526 | } |
|---|
| [26] | 5527 | # 5419 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5528 | static inline uint32_t LL_ADC_IsEnabledIT_AWD2(const ADC_TypeDef *ADCx) |
|---|
| 5529 | { |
|---|
| 5530 | return ((((ADCx->IER) & ((0x1UL << (8U)))) == ((0x1UL << (8U)))) ? 1UL : 0UL); |
|---|
| 5531 | } |
|---|
| [26] | 5532 | # 5431 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5533 | static inline uint32_t LL_ADC_IsEnabledIT_AWD3(const ADC_TypeDef *ADCx) |
|---|
| 5534 | { |
|---|
| 5535 | return ((((ADCx->IER) & ((0x1UL << (9U)))) == ((0x1UL << (9U)))) ? 1UL : 0UL); |
|---|
| 5536 | } |
|---|
| [26] | 5537 | # 5443 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_ll_adc.h" |
|---|
| [6] | 5538 | static inline uint32_t LL_ADC_IsEnabledIT_EOCAL(const ADC_TypeDef *ADCx) |
|---|
| 5539 | { |
|---|
| 5540 | return ((((ADCx->IER) & ((0x1UL << (11U)))) == ((0x1UL << (11U)))) ? 1UL : 0UL); |
|---|
| 5541 | } |
|---|
| [26] | 5542 | # 32 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2 |
|---|
| 5543 | # 49 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5544 | typedef struct |
|---|
| 5545 | { |
|---|
| 5546 | uint32_t Ratio; |
|---|
| 5547 | |
|---|
| 5548 | |
|---|
| 5549 | uint32_t RightBitShift; |
|---|
| 5550 | |
|---|
| 5551 | |
|---|
| 5552 | uint32_t TriggeredMode; |
|---|
| 5553 | |
|---|
| 5554 | |
|---|
| 5555 | } ADC_OversamplingTypeDef; |
|---|
| [26] | 5556 | # 79 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5557 | typedef struct |
|---|
| 5558 | { |
|---|
| 5559 | uint32_t ClockPrescaler; |
|---|
| [26] | 5560 | # 94 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5561 | uint32_t Resolution; |
|---|
| 5562 | |
|---|
| 5563 | |
|---|
| 5564 | uint32_t DataAlign; |
|---|
| 5565 | |
|---|
| 5566 | |
|---|
| 5567 | |
|---|
| 5568 | uint32_t ScanConvMode; |
|---|
| [26] | 5569 | # 127 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5570 | uint32_t EOCSelection; |
|---|
| 5571 | |
|---|
| 5572 | |
|---|
| 5573 | |
|---|
| 5574 | FunctionalState LowPowerAutoWait; |
|---|
| [26] | 5575 | # 150 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5576 | FunctionalState LowPowerAutoPowerOff; |
|---|
| 5577 | |
|---|
| 5578 | |
|---|
| 5579 | |
|---|
| 5580 | |
|---|
| 5581 | |
|---|
| 5582 | |
|---|
| 5583 | FunctionalState ContinuousConvMode; |
|---|
| 5584 | |
|---|
| 5585 | |
|---|
| 5586 | |
|---|
| 5587 | |
|---|
| 5588 | uint32_t NbrOfConversion; |
|---|
| [26] | 5589 | # 180 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5590 | FunctionalState DiscontinuousConvMode; |
|---|
| [26] | 5591 | # 191 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5592 | uint32_t ExternalTrigConv; |
|---|
| 5593 | |
|---|
| 5594 | |
|---|
| 5595 | |
|---|
| 5596 | |
|---|
| 5597 | |
|---|
| 5598 | |
|---|
| 5599 | uint32_t ExternalTrigConvEdge; |
|---|
| 5600 | |
|---|
| 5601 | |
|---|
| 5602 | |
|---|
| 5603 | FunctionalState DMAContinuousRequests; |
|---|
| 5604 | |
|---|
| 5605 | |
|---|
| 5606 | |
|---|
| 5607 | |
|---|
| 5608 | |
|---|
| 5609 | |
|---|
| 5610 | |
|---|
| 5611 | uint32_t Overrun; |
|---|
| [26] | 5612 | # 225 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5613 | uint32_t SamplingTimeCommon1; |
|---|
| [26] | 5614 | # 243 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5615 | uint32_t SamplingTimeCommon2; |
|---|
| [26] | 5616 | # 261 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5617 | FunctionalState OversamplingMode; |
|---|
| 5618 | |
|---|
| 5619 | |
|---|
| 5620 | |
|---|
| 5621 | |
|---|
| 5622 | ADC_OversamplingTypeDef Oversampling; |
|---|
| 5623 | |
|---|
| 5624 | |
|---|
| 5625 | |
|---|
| 5626 | uint32_t TriggerFrequencyMode; |
|---|
| [26] | 5627 | # 281 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5628 | } ADC_InitTypeDef; |
|---|
| [26] | 5629 | # 292 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5630 | typedef struct |
|---|
| 5631 | { |
|---|
| 5632 | uint32_t Channel; |
|---|
| 5633 | |
|---|
| 5634 | |
|---|
| 5635 | |
|---|
| 5636 | |
|---|
| 5637 | |
|---|
| 5638 | uint32_t Rank; |
|---|
| [26] | 5639 | # 313 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5640 | uint32_t SamplingTime; |
|---|
| [26] | 5641 | # 331 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5642 | } ADC_ChannelConfTypeDef; |
|---|
| [26] | 5643 | # 341 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5644 | typedef struct |
|---|
| 5645 | { |
|---|
| 5646 | uint32_t WatchdogNumber; |
|---|
| 5647 | |
|---|
| 5648 | |
|---|
| 5649 | |
|---|
| 5650 | |
|---|
| 5651 | |
|---|
| 5652 | |
|---|
| 5653 | uint32_t WatchdogMode; |
|---|
| 5654 | |
|---|
| 5655 | |
|---|
| 5656 | |
|---|
| 5657 | |
|---|
| 5658 | |
|---|
| 5659 | |
|---|
| 5660 | uint32_t Channel; |
|---|
| [26] | 5661 | # 367 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5662 | FunctionalState ITMode; |
|---|
| 5663 | |
|---|
| 5664 | |
|---|
| 5665 | uint32_t HighThreshold; |
|---|
| [26] | 5666 | # 382 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5667 | uint32_t LowThreshold; |
|---|
| [26] | 5668 | # 393 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5669 | } ADC_AnalogWDGConfTypeDef; |
|---|
| [26] | 5670 | # 460 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5671 | typedef struct |
|---|
| 5672 | |
|---|
| 5673 | { |
|---|
| 5674 | ADC_TypeDef *Instance; |
|---|
| 5675 | ADC_InitTypeDef Init; |
|---|
| 5676 | DMA_HandleTypeDef *DMA_Handle; |
|---|
| 5677 | HAL_LockTypeDef Lock; |
|---|
| 5678 | volatile uint32_t State; |
|---|
| 5679 | volatile uint32_t ErrorCode; |
|---|
| 5680 | |
|---|
| 5681 | uint32_t ADCGroupRegularSequencerRanks; |
|---|
| [26] | 5682 | # 485 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5683 | } ADC_HandleTypeDef; |
|---|
| [26] | 5684 | # 1833 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| 5685 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" 1 |
|---|
| 5686 | # 146 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" |
|---|
| [6] | 5687 | HAL_StatusTypeDef HAL_ADCEx_Calibration_Start(ADC_HandleTypeDef *hadc); |
|---|
| 5688 | uint32_t HAL_ADCEx_Calibration_GetValue(const ADC_HandleTypeDef *hadc); |
|---|
| 5689 | HAL_StatusTypeDef HAL_ADCEx_Calibration_SetValue(ADC_HandleTypeDef *hadc, uint32_t CalibrationFactor); |
|---|
| 5690 | |
|---|
| 5691 | |
|---|
| 5692 | void HAL_ADCEx_LevelOutOfWindow2Callback(ADC_HandleTypeDef *hadc); |
|---|
| 5693 | void HAL_ADCEx_LevelOutOfWindow3Callback(ADC_HandleTypeDef *hadc); |
|---|
| 5694 | void HAL_ADCEx_EndOfSamplingCallback(ADC_HandleTypeDef *hadc); |
|---|
| 5695 | void HAL_ADCEx_ChannelConfigReadyCallback(ADC_HandleTypeDef *hadc); |
|---|
| [26] | 5696 | # 164 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc_ex.h" |
|---|
| [6] | 5697 | HAL_StatusTypeDef HAL_ADCEx_DisableVoltageRegulator(ADC_HandleTypeDef *hadc); |
|---|
| [26] | 5698 | # 1834 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" 2 |
|---|
| 5699 | # 1845 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5700 | HAL_StatusTypeDef HAL_ADC_Init(ADC_HandleTypeDef *hadc); |
|---|
| 5701 | HAL_StatusTypeDef HAL_ADC_DeInit(ADC_HandleTypeDef *hadc); |
|---|
| 5702 | void HAL_ADC_MspInit(ADC_HandleTypeDef *hadc); |
|---|
| 5703 | void HAL_ADC_MspDeInit(ADC_HandleTypeDef *hadc); |
|---|
| [26] | 5704 | # 1867 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5705 | HAL_StatusTypeDef HAL_ADC_Start(ADC_HandleTypeDef *hadc); |
|---|
| 5706 | HAL_StatusTypeDef HAL_ADC_Stop(ADC_HandleTypeDef *hadc); |
|---|
| 5707 | HAL_StatusTypeDef HAL_ADC_PollForConversion(ADC_HandleTypeDef *hadc, uint32_t Timeout); |
|---|
| 5708 | HAL_StatusTypeDef HAL_ADC_PollForEvent(ADC_HandleTypeDef *hadc, uint32_t EventType, uint32_t Timeout); |
|---|
| 5709 | |
|---|
| 5710 | |
|---|
| 5711 | HAL_StatusTypeDef HAL_ADC_Start_IT(ADC_HandleTypeDef *hadc); |
|---|
| 5712 | HAL_StatusTypeDef HAL_ADC_Stop_IT(ADC_HandleTypeDef *hadc); |
|---|
| 5713 | |
|---|
| 5714 | |
|---|
| 5715 | HAL_StatusTypeDef HAL_ADC_Start_DMA(ADC_HandleTypeDef *hadc, uint32_t *pData, uint32_t Length); |
|---|
| 5716 | HAL_StatusTypeDef HAL_ADC_Stop_DMA(ADC_HandleTypeDef *hadc); |
|---|
| 5717 | |
|---|
| 5718 | |
|---|
| 5719 | uint32_t HAL_ADC_GetValue(const ADC_HandleTypeDef *hadc); |
|---|
| 5720 | |
|---|
| 5721 | |
|---|
| 5722 | void HAL_ADC_IRQHandler(ADC_HandleTypeDef *hadc); |
|---|
| 5723 | void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef *hadc); |
|---|
| 5724 | void HAL_ADC_ConvHalfCpltCallback(ADC_HandleTypeDef *hadc); |
|---|
| 5725 | void HAL_ADC_LevelOutOfWindowCallback(ADC_HandleTypeDef *hadc); |
|---|
| 5726 | void HAL_ADC_ErrorCallback(ADC_HandleTypeDef *hadc); |
|---|
| [26] | 5727 | # 1898 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5728 | HAL_StatusTypeDef HAL_ADC_ConfigChannel(ADC_HandleTypeDef *hadc, const ADC_ChannelConfTypeDef *pConfig); |
|---|
| 5729 | HAL_StatusTypeDef HAL_ADC_AnalogWDGConfig(ADC_HandleTypeDef *hadc, |
|---|
| 5730 | const ADC_AnalogWDGConfTypeDef *pAnalogWDGConfig); |
|---|
| [26] | 5731 | # 1910 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5732 | uint32_t HAL_ADC_GetState(const ADC_HandleTypeDef *hadc); |
|---|
| 5733 | uint32_t HAL_ADC_GetError(const ADC_HandleTypeDef *hadc); |
|---|
| [26] | 5734 | # 1922 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_adc.h" |
|---|
| [6] | 5735 | HAL_StatusTypeDef ADC_ConversionStop(ADC_HandleTypeDef *hadc); |
|---|
| 5736 | HAL_StatusTypeDef ADC_Enable(ADC_HandleTypeDef *hadc); |
|---|
| 5737 | HAL_StatusTypeDef ADC_Disable(ADC_HandleTypeDef *hadc); |
|---|
| [26] | 5738 | # 212 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| 5739 | # 224 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
|---|
| 5740 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 1 |
|---|
| 5741 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
|---|
| [6] | 5742 | typedef enum |
|---|
| 5743 | { |
|---|
| 5744 | HAL_CRC_STATE_RESET = 0x00U, |
|---|
| 5745 | HAL_CRC_STATE_READY = 0x01U, |
|---|
| 5746 | HAL_CRC_STATE_BUSY = 0x02U, |
|---|
| 5747 | HAL_CRC_STATE_TIMEOUT = 0x03U, |
|---|
| 5748 | HAL_CRC_STATE_ERROR = 0x04U |
|---|
| 5749 | } HAL_CRC_StateTypeDef; |
|---|
| 5750 | |
|---|
| 5751 | |
|---|
| 5752 | |
|---|
| 5753 | |
|---|
| 5754 | typedef struct |
|---|
| 5755 | { |
|---|
| 5756 | uint8_t DefaultPolynomialUse; |
|---|
| 5757 | |
|---|
| 5758 | |
|---|
| 5759 | |
|---|
| 5760 | |
|---|
| 5761 | |
|---|
| 5762 | uint8_t DefaultInitValueUse; |
|---|
| 5763 | |
|---|
| 5764 | |
|---|
| 5765 | |
|---|
| 5766 | |
|---|
| 5767 | uint32_t GeneratingPolynomial; |
|---|
| 5768 | |
|---|
| 5769 | |
|---|
| 5770 | |
|---|
| 5771 | |
|---|
| 5772 | uint32_t CRCLength; |
|---|
| 5773 | |
|---|
| 5774 | |
|---|
| 5775 | |
|---|
| 5776 | |
|---|
| 5777 | |
|---|
| 5778 | |
|---|
| 5779 | uint32_t InitValue; |
|---|
| 5780 | |
|---|
| 5781 | |
|---|
| 5782 | uint32_t InputDataInversionMode; |
|---|
| 5783 | |
|---|
| 5784 | |
|---|
| 5785 | |
|---|
| 5786 | |
|---|
| 5787 | |
|---|
| 5788 | |
|---|
| 5789 | uint32_t OutputDataInversionMode; |
|---|
| 5790 | |
|---|
| 5791 | |
|---|
| 5792 | |
|---|
| 5793 | } CRC_InitTypeDef; |
|---|
| 5794 | |
|---|
| 5795 | |
|---|
| 5796 | |
|---|
| 5797 | |
|---|
| 5798 | typedef struct |
|---|
| 5799 | { |
|---|
| 5800 | CRC_TypeDef *Instance; |
|---|
| 5801 | |
|---|
| 5802 | CRC_InitTypeDef Init; |
|---|
| 5803 | |
|---|
| 5804 | HAL_LockTypeDef Lock; |
|---|
| 5805 | |
|---|
| 5806 | volatile HAL_CRC_StateTypeDef State; |
|---|
| 5807 | |
|---|
| 5808 | uint32_t InputDataFormat; |
|---|
| 5809 | |
|---|
| 5810 | |
|---|
| 5811 | |
|---|
| 5812 | |
|---|
| 5813 | |
|---|
| 5814 | |
|---|
| 5815 | |
|---|
| 5816 | } CRC_HandleTypeDef; |
|---|
| [26] | 5817 | # 288 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
|---|
| 5818 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h" 1 |
|---|
| 5819 | # 127 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc_ex.h" |
|---|
| [6] | 5820 | HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set(CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength); |
|---|
| 5821 | HAL_StatusTypeDef HAL_CRCEx_Input_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t InputReverseMode); |
|---|
| 5822 | HAL_StatusTypeDef HAL_CRCEx_Output_Data_Reverse(CRC_HandleTypeDef *hcrc, uint32_t OutputReverseMode); |
|---|
| [26] | 5823 | # 289 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" 2 |
|---|
| 5824 | # 299 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
|---|
| [6] | 5825 | HAL_StatusTypeDef HAL_CRC_Init(CRC_HandleTypeDef *hcrc); |
|---|
| 5826 | HAL_StatusTypeDef HAL_CRC_DeInit(CRC_HandleTypeDef *hcrc); |
|---|
| 5827 | void HAL_CRC_MspInit(CRC_HandleTypeDef *hcrc); |
|---|
| 5828 | void HAL_CRC_MspDeInit(CRC_HandleTypeDef *hcrc); |
|---|
| [26] | 5829 | # 311 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
|---|
| [6] | 5830 | uint32_t HAL_CRC_Accumulate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); |
|---|
| 5831 | uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, uint32_t pBuffer[], uint32_t BufferLength); |
|---|
| [26] | 5832 | # 321 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_crc.h" |
|---|
| [6] | 5833 | HAL_CRC_StateTypeDef HAL_CRC_GetState(CRC_HandleTypeDef *hcrc); |
|---|
| [26] | 5834 | # 225 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| 5835 | # 236 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
|---|
| 5836 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" 1 |
|---|
| 5837 | # 44 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
|---|
| [6] | 5838 | typedef enum |
|---|
| 5839 | { |
|---|
| 5840 | HAL_EXTI_COMMON_CB_ID = 0x00U, |
|---|
| 5841 | HAL_EXTI_RISING_CB_ID = 0x01U, |
|---|
| 5842 | HAL_EXTI_FALLING_CB_ID = 0x02U, |
|---|
| 5843 | } EXTI_CallbackIDTypeDef; |
|---|
| 5844 | |
|---|
| 5845 | |
|---|
| 5846 | |
|---|
| 5847 | |
|---|
| 5848 | |
|---|
| 5849 | typedef struct |
|---|
| 5850 | { |
|---|
| 5851 | uint32_t Line; |
|---|
| 5852 | void (* RisingCallback)(void); |
|---|
| 5853 | void (* FallingCallback)(void); |
|---|
| 5854 | } EXTI_HandleTypeDef; |
|---|
| 5855 | |
|---|
| 5856 | |
|---|
| 5857 | |
|---|
| 5858 | |
|---|
| 5859 | typedef struct |
|---|
| 5860 | { |
|---|
| 5861 | uint32_t Line; |
|---|
| 5862 | |
|---|
| 5863 | uint32_t Mode; |
|---|
| 5864 | |
|---|
| 5865 | uint32_t Trigger; |
|---|
| 5866 | |
|---|
| 5867 | uint32_t GPIOSel; |
|---|
| 5868 | |
|---|
| 5869 | |
|---|
| 5870 | } EXTI_ConfigTypeDef; |
|---|
| [26] | 5871 | # 347 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
|---|
| [6] | 5872 | HAL_StatusTypeDef HAL_EXTI_SetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig); |
|---|
| 5873 | HAL_StatusTypeDef HAL_EXTI_GetConfigLine(EXTI_HandleTypeDef *hexti, EXTI_ConfigTypeDef *pExtiConfig); |
|---|
| 5874 | HAL_StatusTypeDef HAL_EXTI_ClearConfigLine(EXTI_HandleTypeDef *hexti); |
|---|
| 5875 | HAL_StatusTypeDef HAL_EXTI_RegisterCallback(EXTI_HandleTypeDef *hexti, EXTI_CallbackIDTypeDef CallbackID, void (*pPendingCbfn)(void)); |
|---|
| 5876 | HAL_StatusTypeDef HAL_EXTI_GetHandle(EXTI_HandleTypeDef *hexti, uint32_t ExtiLine); |
|---|
| [26] | 5877 | # 361 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_exti.h" |
|---|
| [6] | 5878 | void HAL_EXTI_IRQHandler(EXTI_HandleTypeDef *hexti); |
|---|
| 5879 | uint32_t HAL_EXTI_GetPending(EXTI_HandleTypeDef *hexti, uint32_t Edge); |
|---|
| 5880 | void HAL_EXTI_ClearPending(EXTI_HandleTypeDef *hexti, uint32_t Edge); |
|---|
| 5881 | void HAL_EXTI_GenerateSWI(EXTI_HandleTypeDef *hexti); |
|---|
| [26] | 5882 | # 237 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 5883 | |
|---|
| 5884 | |
|---|
| 5885 | |
|---|
| [26] | 5886 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 1 |
|---|
| 5887 | # 45 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
|---|
| [6] | 5888 | typedef struct |
|---|
| 5889 | { |
|---|
| 5890 | uint32_t TypeErase; |
|---|
| 5891 | |
|---|
| 5892 | uint32_t Banks; |
|---|
| 5893 | |
|---|
| 5894 | |
|---|
| 5895 | uint32_t Page; |
|---|
| 5896 | |
|---|
| 5897 | uint32_t NbPages; |
|---|
| 5898 | |
|---|
| 5899 | } FLASH_EraseInitTypeDef; |
|---|
| 5900 | |
|---|
| 5901 | |
|---|
| 5902 | |
|---|
| 5903 | |
|---|
| 5904 | typedef struct |
|---|
| 5905 | { |
|---|
| 5906 | uint32_t OptionType; |
|---|
| 5907 | |
|---|
| 5908 | uint32_t WRPArea; |
|---|
| 5909 | |
|---|
| 5910 | |
|---|
| 5911 | uint32_t WRPStartOffset; |
|---|
| 5912 | |
|---|
| 5913 | uint32_t WRPEndOffset; |
|---|
| 5914 | |
|---|
| 5915 | uint32_t RDPLevel; |
|---|
| 5916 | |
|---|
| 5917 | uint32_t USERType; |
|---|
| 5918 | |
|---|
| 5919 | uint32_t USERConfig; |
|---|
| [26] | 5920 | # 131 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
|---|
| [6] | 5921 | } FLASH_OBProgramInitTypeDef; |
|---|
| 5922 | |
|---|
| 5923 | |
|---|
| 5924 | |
|---|
| 5925 | |
|---|
| 5926 | typedef struct |
|---|
| 5927 | { |
|---|
| 5928 | HAL_LockTypeDef Lock; |
|---|
| 5929 | uint32_t ErrorCode; |
|---|
| 5930 | uint32_t ProcedureOnGoing; |
|---|
| 5931 | uint32_t Address; |
|---|
| 5932 | uint32_t Banks; |
|---|
| 5933 | uint32_t Page; |
|---|
| 5934 | uint32_t NbPagesToErase; |
|---|
| 5935 | } FLASH_ProcessTypeDef; |
|---|
| [26] | 5936 | # 804 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
|---|
| 5937 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" 1 |
|---|
| 5938 | # 64 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" |
|---|
| [6] | 5939 | HAL_StatusTypeDef HAL_FLASHEx_Erase(FLASH_EraseInitTypeDef *pEraseInit, uint32_t *PageError); |
|---|
| 5940 | HAL_StatusTypeDef HAL_FLASHEx_Erase_IT(FLASH_EraseInitTypeDef *pEraseInit); |
|---|
| 5941 | void HAL_FLASHEx_EnableDebugger(void); |
|---|
| 5942 | void HAL_FLASHEx_DisableDebugger(void); |
|---|
| 5943 | uint32_t HAL_FLASHEx_FlashEmptyCheck(void); |
|---|
| 5944 | void HAL_FLASHEx_ForceFlashEmpty(uint32_t FlashEmpty); |
|---|
| 5945 | |
|---|
| 5946 | |
|---|
| 5947 | |
|---|
| 5948 | HAL_StatusTypeDef HAL_FLASHEx_OBProgram(FLASH_OBProgramInitTypeDef *pOBInit); |
|---|
| 5949 | void HAL_FLASHEx_OBGetConfig(FLASH_OBProgramInitTypeDef *pOBInit); |
|---|
| [26] | 5950 | # 98 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash_ex.h" |
|---|
| [6] | 5951 | void FLASH_PageErase(uint32_t Banks, uint32_t Page); |
|---|
| [26] | 5952 | # 805 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" 2 |
|---|
| [6] | 5953 | |
|---|
| 5954 | |
|---|
| 5955 | |
|---|
| 5956 | |
|---|
| 5957 | extern FLASH_ProcessTypeDef pFlash; |
|---|
| [26] | 5958 | # 823 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
|---|
| [6] | 5959 | HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
|---|
| 5960 | HAL_StatusTypeDef HAL_FLASH_Program_IT(uint32_t TypeProgram, uint32_t Address, uint64_t Data); |
|---|
| 5961 | |
|---|
| 5962 | void HAL_FLASH_IRQHandler(void); |
|---|
| 5963 | |
|---|
| 5964 | void HAL_FLASH_EndOfOperationCallback(uint32_t ReturnValue); |
|---|
| 5965 | void HAL_FLASH_OperationErrorCallback(uint32_t ReturnValue); |
|---|
| [26] | 5966 | # 838 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
|---|
| [6] | 5967 | HAL_StatusTypeDef HAL_FLASH_Unlock(void); |
|---|
| 5968 | HAL_StatusTypeDef HAL_FLASH_Lock(void); |
|---|
| 5969 | |
|---|
| 5970 | HAL_StatusTypeDef HAL_FLASH_OB_Unlock(void); |
|---|
| 5971 | HAL_StatusTypeDef HAL_FLASH_OB_Lock(void); |
|---|
| 5972 | HAL_StatusTypeDef HAL_FLASH_OB_Launch(void); |
|---|
| [26] | 5973 | # 852 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
|---|
| [6] | 5974 | uint32_t HAL_FLASH_GetError(void); |
|---|
| [26] | 5975 | # 865 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_flash.h" |
|---|
| [6] | 5976 | HAL_StatusTypeDef FLASH_WaitForLastOperation(uint32_t Timeout); |
|---|
| [26] | 5977 | # 241 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| 5978 | # 264 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
|---|
| 5979 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 1 |
|---|
| 5980 | # 267 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
|---|
| 5981 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" 1 |
|---|
| 5982 | # 563 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" |
|---|
| [6] | 5983 | void HAL_PWREx_EnableBatteryCharging(uint32_t ResistorSelection); |
|---|
| 5984 | void HAL_PWREx_DisableBatteryCharging(void); |
|---|
| 5985 | |
|---|
| 5986 | |
|---|
| 5987 | |
|---|
| 5988 | |
|---|
| 5989 | void HAL_PWREx_EnableInternalWakeUpLine(void); |
|---|
| 5990 | void HAL_PWREx_DisableInternalWakeUpLine(void); |
|---|
| 5991 | HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); |
|---|
| 5992 | HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullUp(uint32_t GPIO, uint32_t GPIONumber); |
|---|
| 5993 | HAL_StatusTypeDef HAL_PWREx_EnableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber); |
|---|
| 5994 | HAL_StatusTypeDef HAL_PWREx_DisableGPIOPullDown(uint32_t GPIO, uint32_t GPIONumber); |
|---|
| 5995 | void HAL_PWREx_EnablePullUpPullDownConfig(void); |
|---|
| 5996 | void HAL_PWREx_DisablePullUpPullDownConfig(void); |
|---|
| 5997 | |
|---|
| 5998 | |
|---|
| 5999 | |
|---|
| 6000 | |
|---|
| 6001 | void HAL_PWREx_EnableFlashPowerDown(uint32_t PowerMode); |
|---|
| 6002 | void HAL_PWREx_DisableFlashPowerDown(uint32_t PowerMode); |
|---|
| 6003 | uint32_t HAL_PWREx_GetVoltageRange(void); |
|---|
| 6004 | HAL_StatusTypeDef HAL_PWREx_ControlVoltageScaling(uint32_t VoltageScaling); |
|---|
| [26] | 6005 | # 604 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr_ex.h" |
|---|
| [6] | 6006 | void HAL_PWREx_EnableLowPowerRunMode(void); |
|---|
| 6007 | HAL_StatusTypeDef HAL_PWREx_DisableLowPowerRunMode(void); |
|---|
| [26] | 6008 | # 268 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" 2 |
|---|
| 6009 | # 279 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
|---|
| [6] | 6010 | void HAL_PWR_DeInit(void); |
|---|
| [26] | 6011 | # 288 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_pwr.h" |
|---|
| [6] | 6012 | void HAL_PWR_EnableBkUpAccess(void); |
|---|
| 6013 | void HAL_PWR_DisableBkUpAccess(void); |
|---|
| 6014 | |
|---|
| 6015 | |
|---|
| 6016 | void HAL_PWR_EnableWakeUpPin(uint32_t WakeUpPinPolarity); |
|---|
| 6017 | void HAL_PWR_DisableWakeUpPin(uint32_t WakeUpPinx); |
|---|
| 6018 | |
|---|
| 6019 | |
|---|
| 6020 | void HAL_PWR_EnterSLEEPMode(uint32_t Regulator, uint8_t SLEEPEntry); |
|---|
| 6021 | void HAL_PWR_EnterSTOPMode(uint32_t Regulator, uint8_t STOPEntry); |
|---|
| 6022 | void HAL_PWR_EnterSTANDBYMode(void); |
|---|
| 6023 | void HAL_PWR_EnableSleepOnExit(void); |
|---|
| 6024 | void HAL_PWR_DisableSleepOnExit(void); |
|---|
| 6025 | void HAL_PWR_EnableSEVOnPend(void); |
|---|
| 6026 | void HAL_PWR_DisableSEVOnPend(void); |
|---|
| [26] | 6027 | # 265 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 6028 | |
|---|
| 6029 | |
|---|
| 6030 | |
|---|
| 6031 | |
|---|
| 6032 | |
|---|
| 6033 | |
|---|
| 6034 | |
|---|
| [26] | 6035 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 1 |
|---|
| 6036 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6037 | typedef enum |
|---|
| 6038 | { |
|---|
| 6039 | HAL_RTC_STATE_RESET = 0x00U, |
|---|
| 6040 | HAL_RTC_STATE_READY = 0x01U, |
|---|
| 6041 | HAL_RTC_STATE_BUSY = 0x02U, |
|---|
| 6042 | HAL_RTC_STATE_TIMEOUT = 0x03U, |
|---|
| 6043 | HAL_RTC_STATE_ERROR = 0x04U |
|---|
| 6044 | |
|---|
| 6045 | }HAL_RTCStateTypeDef; |
|---|
| 6046 | |
|---|
| 6047 | |
|---|
| 6048 | |
|---|
| 6049 | |
|---|
| 6050 | typedef struct |
|---|
| 6051 | { |
|---|
| 6052 | uint32_t HourFormat; |
|---|
| 6053 | |
|---|
| 6054 | |
|---|
| 6055 | uint32_t AsynchPrediv; |
|---|
| 6056 | |
|---|
| 6057 | |
|---|
| 6058 | uint32_t SynchPrediv; |
|---|
| 6059 | |
|---|
| 6060 | |
|---|
| 6061 | uint32_t OutPut; |
|---|
| 6062 | |
|---|
| 6063 | |
|---|
| 6064 | uint32_t OutPutRemap; |
|---|
| 6065 | |
|---|
| 6066 | |
|---|
| 6067 | uint32_t OutPutPolarity; |
|---|
| 6068 | |
|---|
| 6069 | |
|---|
| 6070 | uint32_t OutPutType; |
|---|
| 6071 | |
|---|
| 6072 | |
|---|
| 6073 | uint32_t OutPutPullUp; |
|---|
| 6074 | |
|---|
| 6075 | }RTC_InitTypeDef; |
|---|
| 6076 | |
|---|
| 6077 | |
|---|
| 6078 | |
|---|
| 6079 | |
|---|
| 6080 | typedef struct |
|---|
| 6081 | { |
|---|
| 6082 | uint8_t Hours; |
|---|
| 6083 | |
|---|
| 6084 | |
|---|
| 6085 | |
|---|
| 6086 | uint8_t Minutes; |
|---|
| 6087 | |
|---|
| 6088 | |
|---|
| 6089 | uint8_t Seconds; |
|---|
| 6090 | |
|---|
| 6091 | |
|---|
| 6092 | uint8_t TimeFormat; |
|---|
| 6093 | |
|---|
| 6094 | |
|---|
| 6095 | uint32_t SubSeconds; |
|---|
| 6096 | |
|---|
| 6097 | |
|---|
| 6098 | |
|---|
| 6099 | uint32_t SecondFraction; |
|---|
| 6100 | |
|---|
| 6101 | |
|---|
| 6102 | |
|---|
| 6103 | |
|---|
| 6104 | |
|---|
| 6105 | uint32_t DayLightSaving; |
|---|
| 6106 | |
|---|
| 6107 | |
|---|
| 6108 | uint32_t StoreOperation; |
|---|
| 6109 | |
|---|
| 6110 | |
|---|
| 6111 | }RTC_TimeTypeDef; |
|---|
| 6112 | |
|---|
| 6113 | |
|---|
| 6114 | |
|---|
| 6115 | |
|---|
| 6116 | typedef struct |
|---|
| 6117 | { |
|---|
| 6118 | uint8_t WeekDay; |
|---|
| 6119 | |
|---|
| 6120 | |
|---|
| 6121 | uint8_t Month; |
|---|
| 6122 | |
|---|
| 6123 | |
|---|
| 6124 | uint8_t Date; |
|---|
| 6125 | |
|---|
| 6126 | |
|---|
| 6127 | uint8_t Year; |
|---|
| 6128 | |
|---|
| 6129 | |
|---|
| 6130 | }RTC_DateTypeDef; |
|---|
| 6131 | |
|---|
| 6132 | |
|---|
| 6133 | |
|---|
| 6134 | |
|---|
| 6135 | typedef struct |
|---|
| 6136 | { |
|---|
| 6137 | RTC_TimeTypeDef AlarmTime; |
|---|
| 6138 | |
|---|
| 6139 | uint32_t AlarmMask; |
|---|
| 6140 | |
|---|
| 6141 | |
|---|
| 6142 | uint32_t AlarmSubSecondMask; |
|---|
| 6143 | |
|---|
| 6144 | |
|---|
| 6145 | uint32_t AlarmDateWeekDaySel; |
|---|
| 6146 | |
|---|
| 6147 | |
|---|
| 6148 | uint8_t AlarmDateWeekDay; |
|---|
| 6149 | |
|---|
| 6150 | |
|---|
| 6151 | |
|---|
| 6152 | uint32_t Alarm; |
|---|
| 6153 | |
|---|
| 6154 | }RTC_AlarmTypeDef; |
|---|
| 6155 | |
|---|
| 6156 | |
|---|
| 6157 | |
|---|
| 6158 | |
|---|
| 6159 | |
|---|
| 6160 | |
|---|
| 6161 | |
|---|
| 6162 | typedef struct |
|---|
| 6163 | |
|---|
| 6164 | { |
|---|
| 6165 | RTC_TypeDef *Instance; |
|---|
| 6166 | |
|---|
| 6167 | uint32_t TampOffset; |
|---|
| 6168 | |
|---|
| 6169 | RTC_InitTypeDef Init; |
|---|
| 6170 | |
|---|
| 6171 | HAL_LockTypeDef Lock; |
|---|
| 6172 | |
|---|
| 6173 | volatile HAL_RTCStateTypeDef State; |
|---|
| [26] | 6174 | # 214 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6175 | }RTC_HandleTypeDef; |
|---|
| [26] | 6176 | # 721 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| 6177 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" 1 |
|---|
| 6178 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
|---|
| [6] | 6179 | typedef struct |
|---|
| 6180 | { |
|---|
| 6181 | uint32_t Tamper; |
|---|
| 6182 | |
|---|
| 6183 | |
|---|
| 6184 | uint32_t Trigger; |
|---|
| 6185 | |
|---|
| 6186 | |
|---|
| 6187 | uint32_t NoErase; |
|---|
| 6188 | |
|---|
| 6189 | |
|---|
| 6190 | uint32_t MaskFlag; |
|---|
| 6191 | |
|---|
| 6192 | |
|---|
| 6193 | uint32_t Filter; |
|---|
| 6194 | |
|---|
| 6195 | |
|---|
| 6196 | uint32_t SamplingFrequency; |
|---|
| 6197 | |
|---|
| 6198 | |
|---|
| 6199 | uint32_t PrechargeDuration; |
|---|
| 6200 | |
|---|
| 6201 | |
|---|
| 6202 | uint32_t TamperPullUp; |
|---|
| 6203 | |
|---|
| 6204 | |
|---|
| 6205 | uint32_t TimeStampOnTamperDetection; |
|---|
| 6206 | |
|---|
| 6207 | }RTC_TamperTypeDef; |
|---|
| [26] | 6208 | # 84 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
|---|
| [6] | 6209 | typedef struct |
|---|
| 6210 | { |
|---|
| 6211 | uint32_t IntTamper; |
|---|
| 6212 | |
|---|
| 6213 | |
|---|
| 6214 | uint32_t TimeStampOnTamperDetection; |
|---|
| 6215 | |
|---|
| 6216 | } RTC_InternalTamperTypeDef; |
|---|
| [26] | 6217 | # 890 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
|---|
| [6] | 6218 | HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); |
|---|
| 6219 | HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t RTC_TimeStampPin); |
|---|
| 6220 | HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc); |
|---|
| 6221 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTimeStamp(RTC_HandleTypeDef *hrtc); |
|---|
| 6222 | HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTimeStamp(RTC_HandleTypeDef *hrtc); |
|---|
| 6223 | HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format); |
|---|
| 6224 | |
|---|
| 6225 | void HAL_RTCEx_TimeStampIRQHandler(RTC_HandleTypeDef *hrtc); |
|---|
| 6226 | HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
|---|
| 6227 | void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| [26] | 6228 | # 910 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
|---|
| [6] | 6229 | HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); |
|---|
| 6230 | HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock); |
|---|
| 6231 | HAL_StatusTypeDef HAL_RTCEx_DeactivateWakeUpTimer(RTC_HandleTypeDef *hrtc); |
|---|
| 6232 | uint32_t HAL_RTCEx_GetWakeUpTimer(RTC_HandleTypeDef *hrtc); |
|---|
| 6233 | void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc); |
|---|
| 6234 | void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6235 | HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
|---|
| [26] | 6236 | # 926 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
|---|
| [6] | 6237 | HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue); |
|---|
| 6238 | HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS); |
|---|
| 6239 | HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut(RTC_HandleTypeDef *hrtc, uint32_t CalibOutput); |
|---|
| 6240 | HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut(RTC_HandleTypeDef *hrtc); |
|---|
| 6241 | HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef *hrtc); |
|---|
| 6242 | HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef *hrtc); |
|---|
| 6243 | HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef *hrtc); |
|---|
| 6244 | HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc); |
|---|
| [26] | 6245 | # 943 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc_ex.h" |
|---|
| [6] | 6246 | void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6247 | HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
|---|
| 6248 | |
|---|
| 6249 | |
|---|
| 6250 | |
|---|
| 6251 | |
|---|
| 6252 | |
|---|
| 6253 | |
|---|
| 6254 | |
|---|
| 6255 | HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper); |
|---|
| 6256 | HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper); |
|---|
| 6257 | HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper); |
|---|
| 6258 | HAL_StatusTypeDef HAL_RTCEx_PollForTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t Tamper, uint32_t Timeout); |
|---|
| 6259 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper); |
|---|
| 6260 | HAL_StatusTypeDef HAL_RTCEx_SetInternalTamper_IT(RTC_HandleTypeDef *hrtc, RTC_InternalTamperTypeDef* sIntTamper); |
|---|
| 6261 | HAL_StatusTypeDef HAL_RTCEx_DeactivateInternalTamper(RTC_HandleTypeDef *hrtc, uint32_t IntTamper); |
|---|
| 6262 | HAL_StatusTypeDef HAL_RTCEx_PollForInternalTamperEvent(RTC_HandleTypeDef *hrtc, uint32_t IntTamper, uint32_t Timeout); |
|---|
| 6263 | void HAL_RTCEx_TamperIRQHandler(RTC_HandleTypeDef *hrtc); |
|---|
| 6264 | void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6265 | void HAL_RTCEx_Tamper2EventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6266 | void HAL_RTCEx_InternalTamper3EventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6267 | void HAL_RTCEx_InternalTamper4EventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6268 | void HAL_RTCEx_InternalTamper5EventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6269 | void HAL_RTCEx_InternalTamper6EventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| 6270 | |
|---|
| 6271 | |
|---|
| 6272 | |
|---|
| 6273 | |
|---|
| 6274 | |
|---|
| 6275 | |
|---|
| 6276 | |
|---|
| 6277 | void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data); |
|---|
| 6278 | uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister); |
|---|
| [26] | 6279 | # 722 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" 2 |
|---|
| 6280 | # 732 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6281 | HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc); |
|---|
| 6282 | HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc); |
|---|
| 6283 | |
|---|
| 6284 | void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc); |
|---|
| 6285 | void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc); |
|---|
| [26] | 6286 | # 752 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6287 | HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
|---|
| 6288 | HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format); |
|---|
| 6289 | HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
|---|
| 6290 | HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format); |
|---|
| [26] | 6291 | # 764 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6292 | HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); |
|---|
| 6293 | HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format); |
|---|
| 6294 | HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm); |
|---|
| 6295 | HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format); |
|---|
| 6296 | void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc); |
|---|
| 6297 | HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout); |
|---|
| 6298 | void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc); |
|---|
| [26] | 6299 | # 779 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6300 | HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef* hrtc); |
|---|
| [26] | 6301 | # 788 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6302 | HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef *hrtc); |
|---|
| [26] | 6303 | # 938 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_rtc.h" |
|---|
| [6] | 6304 | HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef* hrtc); |
|---|
| 6305 | HAL_StatusTypeDef RTC_ExitInitMode(RTC_HandleTypeDef *hrtc); |
|---|
| 6306 | uint8_t RTC_ByteToBcd2(uint8_t Value); |
|---|
| 6307 | uint8_t RTC_Bcd2ToByte(uint8_t Value); |
|---|
| [26] | 6308 | # 273 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| 6309 | # 284 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" |
|---|
| 6310 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 1 |
|---|
| 6311 | # 46 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
|---|
| [6] | 6312 | typedef struct |
|---|
| 6313 | { |
|---|
| 6314 | uint32_t Mode; |
|---|
| 6315 | |
|---|
| 6316 | |
|---|
| 6317 | uint32_t Direction; |
|---|
| 6318 | |
|---|
| 6319 | |
|---|
| 6320 | uint32_t DataSize; |
|---|
| 6321 | |
|---|
| 6322 | |
|---|
| 6323 | uint32_t CLKPolarity; |
|---|
| 6324 | |
|---|
| 6325 | |
|---|
| 6326 | uint32_t CLKPhase; |
|---|
| 6327 | |
|---|
| 6328 | |
|---|
| 6329 | uint32_t NSS; |
|---|
| 6330 | |
|---|
| 6331 | |
|---|
| 6332 | |
|---|
| 6333 | uint32_t BaudRatePrescaler; |
|---|
| 6334 | |
|---|
| 6335 | |
|---|
| 6336 | |
|---|
| 6337 | |
|---|
| 6338 | |
|---|
| 6339 | uint32_t FirstBit; |
|---|
| 6340 | |
|---|
| 6341 | |
|---|
| 6342 | uint32_t TIMode; |
|---|
| 6343 | |
|---|
| 6344 | |
|---|
| 6345 | uint32_t CRCCalculation; |
|---|
| 6346 | |
|---|
| 6347 | |
|---|
| 6348 | uint32_t CRCPolynomial; |
|---|
| 6349 | |
|---|
| 6350 | |
|---|
| 6351 | uint32_t CRCLength; |
|---|
| 6352 | |
|---|
| 6353 | |
|---|
| 6354 | |
|---|
| 6355 | uint32_t NSSPMode; |
|---|
| 6356 | |
|---|
| 6357 | |
|---|
| 6358 | |
|---|
| 6359 | |
|---|
| 6360 | |
|---|
| 6361 | } SPI_InitTypeDef; |
|---|
| 6362 | |
|---|
| 6363 | |
|---|
| 6364 | |
|---|
| 6365 | |
|---|
| 6366 | typedef enum |
|---|
| 6367 | { |
|---|
| 6368 | HAL_SPI_STATE_RESET = 0x00U, |
|---|
| 6369 | HAL_SPI_STATE_READY = 0x01U, |
|---|
| 6370 | HAL_SPI_STATE_BUSY = 0x02U, |
|---|
| 6371 | HAL_SPI_STATE_BUSY_TX = 0x03U, |
|---|
| 6372 | HAL_SPI_STATE_BUSY_RX = 0x04U, |
|---|
| 6373 | HAL_SPI_STATE_BUSY_TX_RX = 0x05U, |
|---|
| 6374 | HAL_SPI_STATE_ERROR = 0x06U, |
|---|
| 6375 | HAL_SPI_STATE_ABORT = 0x07U |
|---|
| 6376 | } HAL_SPI_StateTypeDef; |
|---|
| 6377 | |
|---|
| 6378 | |
|---|
| 6379 | |
|---|
| 6380 | |
|---|
| 6381 | typedef struct __SPI_HandleTypeDef |
|---|
| 6382 | { |
|---|
| 6383 | SPI_TypeDef *Instance; |
|---|
| 6384 | |
|---|
| 6385 | SPI_InitTypeDef Init; |
|---|
| 6386 | |
|---|
| 6387 | uint8_t *pTxBuffPtr; |
|---|
| 6388 | |
|---|
| 6389 | uint16_t TxXferSize; |
|---|
| 6390 | |
|---|
| 6391 | volatile uint16_t TxXferCount; |
|---|
| 6392 | |
|---|
| 6393 | uint8_t *pRxBuffPtr; |
|---|
| 6394 | |
|---|
| 6395 | uint16_t RxXferSize; |
|---|
| 6396 | |
|---|
| 6397 | volatile uint16_t RxXferCount; |
|---|
| 6398 | |
|---|
| 6399 | uint32_t CRCSize; |
|---|
| 6400 | |
|---|
| 6401 | void (*RxISR)(struct __SPI_HandleTypeDef *hspi); |
|---|
| 6402 | |
|---|
| 6403 | void (*TxISR)(struct __SPI_HandleTypeDef *hspi); |
|---|
| 6404 | |
|---|
| 6405 | DMA_HandleTypeDef *hdmatx; |
|---|
| 6406 | |
|---|
| 6407 | DMA_HandleTypeDef *hdmarx; |
|---|
| 6408 | |
|---|
| 6409 | HAL_LockTypeDef Lock; |
|---|
| 6410 | |
|---|
| 6411 | volatile HAL_SPI_StateTypeDef State; |
|---|
| 6412 | |
|---|
| 6413 | volatile uint32_t ErrorCode; |
|---|
| [26] | 6414 | # 162 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
|---|
| [6] | 6415 | } SPI_HandleTypeDef; |
|---|
| [26] | 6416 | # 762 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
|---|
| 6417 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h" 1 |
|---|
| 6418 | # 51 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi_ex.h" |
|---|
| [6] | 6419 | HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi); |
|---|
| [26] | 6420 | # 763 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" 2 |
|---|
| 6421 | # 773 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
|---|
| [6] | 6422 | HAL_StatusTypeDef HAL_SPI_Init(SPI_HandleTypeDef *hspi); |
|---|
| 6423 | HAL_StatusTypeDef HAL_SPI_DeInit(SPI_HandleTypeDef *hspi); |
|---|
| 6424 | void HAL_SPI_MspInit(SPI_HandleTypeDef *hspi); |
|---|
| 6425 | void HAL_SPI_MspDeInit(SPI_HandleTypeDef *hspi); |
|---|
| [26] | 6426 | # 792 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
|---|
| [6] | 6427 | HAL_StatusTypeDef HAL_SPI_Transmit(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
|---|
| 6428 | HAL_StatusTypeDef HAL_SPI_Receive(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
|---|
| 6429 | HAL_StatusTypeDef HAL_SPI_TransmitReceive(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, uint16_t Size, |
|---|
| 6430 | uint32_t Timeout); |
|---|
| 6431 | HAL_StatusTypeDef HAL_SPI_Transmit_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
|---|
| 6432 | HAL_StatusTypeDef HAL_SPI_Receive_IT(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
|---|
| 6433 | HAL_StatusTypeDef HAL_SPI_TransmitReceive_IT(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, |
|---|
| 6434 | uint16_t Size); |
|---|
| 6435 | HAL_StatusTypeDef HAL_SPI_Transmit_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
|---|
| 6436 | HAL_StatusTypeDef HAL_SPI_Receive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pData, uint16_t Size); |
|---|
| 6437 | HAL_StatusTypeDef HAL_SPI_TransmitReceive_DMA(SPI_HandleTypeDef *hspi, uint8_t *pTxData, uint8_t *pRxData, |
|---|
| 6438 | uint16_t Size); |
|---|
| 6439 | HAL_StatusTypeDef HAL_SPI_DMAPause(SPI_HandleTypeDef *hspi); |
|---|
| 6440 | HAL_StatusTypeDef HAL_SPI_DMAResume(SPI_HandleTypeDef *hspi); |
|---|
| 6441 | HAL_StatusTypeDef HAL_SPI_DMAStop(SPI_HandleTypeDef *hspi); |
|---|
| 6442 | |
|---|
| 6443 | HAL_StatusTypeDef HAL_SPI_Abort(SPI_HandleTypeDef *hspi); |
|---|
| 6444 | HAL_StatusTypeDef HAL_SPI_Abort_IT(SPI_HandleTypeDef *hspi); |
|---|
| 6445 | |
|---|
| 6446 | void HAL_SPI_IRQHandler(SPI_HandleTypeDef *hspi); |
|---|
| 6447 | void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi); |
|---|
| 6448 | void HAL_SPI_RxCpltCallback(SPI_HandleTypeDef *hspi); |
|---|
| 6449 | void HAL_SPI_TxRxCpltCallback(SPI_HandleTypeDef *hspi); |
|---|
| 6450 | void HAL_SPI_TxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
|---|
| 6451 | void HAL_SPI_RxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
|---|
| 6452 | void HAL_SPI_TxRxHalfCpltCallback(SPI_HandleTypeDef *hspi); |
|---|
| 6453 | void HAL_SPI_ErrorCallback(SPI_HandleTypeDef *hspi); |
|---|
| 6454 | void HAL_SPI_AbortCpltCallback(SPI_HandleTypeDef *hspi); |
|---|
| [26] | 6455 | # 828 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_spi.h" |
|---|
| [6] | 6456 | HAL_SPI_StateTypeDef HAL_SPI_GetState(SPI_HandleTypeDef *hspi); |
|---|
| 6457 | uint32_t HAL_SPI_GetError(SPI_HandleTypeDef *hspi); |
|---|
| [26] | 6458 | # 285 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 6459 | |
|---|
| 6460 | |
|---|
| 6461 | |
|---|
| [26] | 6462 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 1 |
|---|
| 6463 | # 46 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6464 | typedef struct |
|---|
| 6465 | { |
|---|
| 6466 | uint32_t Prescaler; |
|---|
| 6467 | |
|---|
| 6468 | |
|---|
| 6469 | uint32_t CounterMode; |
|---|
| 6470 | |
|---|
| 6471 | |
|---|
| 6472 | uint32_t Period; |
|---|
| 6473 | |
|---|
| 6474 | |
|---|
| 6475 | |
|---|
| 6476 | uint32_t ClockDivision; |
|---|
| 6477 | |
|---|
| 6478 | |
|---|
| 6479 | uint32_t RepetitionCounter; |
|---|
| [26] | 6480 | # 72 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6481 | uint32_t AutoReloadPreload; |
|---|
| 6482 | |
|---|
| 6483 | } TIM_Base_InitTypeDef; |
|---|
| 6484 | |
|---|
| 6485 | |
|---|
| 6486 | |
|---|
| 6487 | |
|---|
| 6488 | typedef struct |
|---|
| 6489 | { |
|---|
| 6490 | uint32_t OCMode; |
|---|
| 6491 | |
|---|
| 6492 | |
|---|
| 6493 | uint32_t Pulse; |
|---|
| 6494 | |
|---|
| 6495 | |
|---|
| 6496 | uint32_t OCPolarity; |
|---|
| 6497 | |
|---|
| 6498 | |
|---|
| 6499 | uint32_t OCNPolarity; |
|---|
| 6500 | |
|---|
| 6501 | |
|---|
| 6502 | |
|---|
| 6503 | uint32_t OCFastMode; |
|---|
| 6504 | |
|---|
| 6505 | |
|---|
| 6506 | |
|---|
| 6507 | |
|---|
| 6508 | uint32_t OCIdleState; |
|---|
| 6509 | |
|---|
| 6510 | |
|---|
| 6511 | |
|---|
| 6512 | uint32_t OCNIdleState; |
|---|
| 6513 | |
|---|
| 6514 | |
|---|
| 6515 | } TIM_OC_InitTypeDef; |
|---|
| 6516 | |
|---|
| 6517 | |
|---|
| 6518 | |
|---|
| 6519 | |
|---|
| 6520 | typedef struct |
|---|
| 6521 | { |
|---|
| 6522 | uint32_t OCMode; |
|---|
| 6523 | |
|---|
| 6524 | |
|---|
| 6525 | uint32_t Pulse; |
|---|
| 6526 | |
|---|
| 6527 | |
|---|
| 6528 | uint32_t OCPolarity; |
|---|
| 6529 | |
|---|
| 6530 | |
|---|
| 6531 | uint32_t OCNPolarity; |
|---|
| 6532 | |
|---|
| 6533 | |
|---|
| 6534 | |
|---|
| 6535 | uint32_t OCIdleState; |
|---|
| 6536 | |
|---|
| 6537 | |
|---|
| 6538 | |
|---|
| 6539 | uint32_t OCNIdleState; |
|---|
| 6540 | |
|---|
| 6541 | |
|---|
| 6542 | |
|---|
| 6543 | uint32_t ICPolarity; |
|---|
| 6544 | |
|---|
| 6545 | |
|---|
| 6546 | uint32_t ICSelection; |
|---|
| 6547 | |
|---|
| 6548 | |
|---|
| 6549 | uint32_t ICFilter; |
|---|
| 6550 | |
|---|
| 6551 | } TIM_OnePulse_InitTypeDef; |
|---|
| 6552 | |
|---|
| 6553 | |
|---|
| 6554 | |
|---|
| 6555 | |
|---|
| 6556 | typedef struct |
|---|
| 6557 | { |
|---|
| 6558 | uint32_t ICPolarity; |
|---|
| 6559 | |
|---|
| 6560 | |
|---|
| 6561 | uint32_t ICSelection; |
|---|
| 6562 | |
|---|
| 6563 | |
|---|
| 6564 | uint32_t ICPrescaler; |
|---|
| 6565 | |
|---|
| 6566 | |
|---|
| 6567 | uint32_t ICFilter; |
|---|
| 6568 | |
|---|
| 6569 | } TIM_IC_InitTypeDef; |
|---|
| 6570 | |
|---|
| 6571 | |
|---|
| 6572 | |
|---|
| 6573 | |
|---|
| 6574 | typedef struct |
|---|
| 6575 | { |
|---|
| 6576 | uint32_t EncoderMode; |
|---|
| 6577 | |
|---|
| 6578 | |
|---|
| 6579 | uint32_t IC1Polarity; |
|---|
| 6580 | |
|---|
| 6581 | |
|---|
| 6582 | uint32_t IC1Selection; |
|---|
| 6583 | |
|---|
| 6584 | |
|---|
| 6585 | uint32_t IC1Prescaler; |
|---|
| 6586 | |
|---|
| 6587 | |
|---|
| 6588 | uint32_t IC1Filter; |
|---|
| 6589 | |
|---|
| 6590 | |
|---|
| 6591 | uint32_t IC2Polarity; |
|---|
| 6592 | |
|---|
| 6593 | |
|---|
| 6594 | uint32_t IC2Selection; |
|---|
| 6595 | |
|---|
| 6596 | |
|---|
| 6597 | uint32_t IC2Prescaler; |
|---|
| 6598 | |
|---|
| 6599 | |
|---|
| 6600 | uint32_t IC2Filter; |
|---|
| 6601 | |
|---|
| 6602 | } TIM_Encoder_InitTypeDef; |
|---|
| 6603 | |
|---|
| 6604 | |
|---|
| 6605 | |
|---|
| 6606 | |
|---|
| 6607 | typedef struct |
|---|
| 6608 | { |
|---|
| 6609 | uint32_t ClockSource; |
|---|
| 6610 | |
|---|
| 6611 | uint32_t ClockPolarity; |
|---|
| 6612 | |
|---|
| 6613 | uint32_t ClockPrescaler; |
|---|
| 6614 | |
|---|
| 6615 | uint32_t ClockFilter; |
|---|
| 6616 | |
|---|
| 6617 | } TIM_ClockConfigTypeDef; |
|---|
| 6618 | |
|---|
| 6619 | |
|---|
| 6620 | |
|---|
| 6621 | |
|---|
| 6622 | typedef struct |
|---|
| 6623 | { |
|---|
| 6624 | uint32_t ClearInputState; |
|---|
| 6625 | |
|---|
| 6626 | uint32_t ClearInputSource; |
|---|
| 6627 | |
|---|
| 6628 | uint32_t ClearInputPolarity; |
|---|
| 6629 | |
|---|
| 6630 | uint32_t ClearInputPrescaler; |
|---|
| 6631 | |
|---|
| 6632 | |
|---|
| 6633 | uint32_t ClearInputFilter; |
|---|
| 6634 | |
|---|
| 6635 | } TIM_ClearInputConfigTypeDef; |
|---|
| 6636 | |
|---|
| 6637 | |
|---|
| 6638 | |
|---|
| 6639 | |
|---|
| 6640 | |
|---|
| 6641 | |
|---|
| 6642 | typedef struct |
|---|
| 6643 | { |
|---|
| 6644 | uint32_t MasterOutputTrigger; |
|---|
| 6645 | |
|---|
| 6646 | uint32_t MasterOutputTrigger2; |
|---|
| 6647 | |
|---|
| 6648 | uint32_t MasterSlaveMode; |
|---|
| 6649 | |
|---|
| 6650 | |
|---|
| 6651 | |
|---|
| 6652 | |
|---|
| 6653 | |
|---|
| 6654 | |
|---|
| 6655 | } TIM_MasterConfigTypeDef; |
|---|
| 6656 | |
|---|
| 6657 | |
|---|
| 6658 | |
|---|
| 6659 | |
|---|
| 6660 | typedef struct |
|---|
| 6661 | { |
|---|
| 6662 | uint32_t SlaveMode; |
|---|
| 6663 | |
|---|
| 6664 | uint32_t InputTrigger; |
|---|
| 6665 | |
|---|
| 6666 | uint32_t TriggerPolarity; |
|---|
| 6667 | |
|---|
| 6668 | uint32_t TriggerPrescaler; |
|---|
| 6669 | |
|---|
| 6670 | uint32_t TriggerFilter; |
|---|
| 6671 | |
|---|
| 6672 | |
|---|
| 6673 | } TIM_SlaveConfigTypeDef; |
|---|
| 6674 | |
|---|
| 6675 | |
|---|
| 6676 | |
|---|
| 6677 | |
|---|
| 6678 | |
|---|
| 6679 | |
|---|
| 6680 | typedef struct |
|---|
| 6681 | { |
|---|
| 6682 | uint32_t OffStateRunMode; |
|---|
| 6683 | |
|---|
| 6684 | uint32_t OffStateIDLEMode; |
|---|
| 6685 | |
|---|
| 6686 | uint32_t LockLevel; |
|---|
| 6687 | |
|---|
| 6688 | uint32_t DeadTime; |
|---|
| 6689 | |
|---|
| 6690 | uint32_t BreakState; |
|---|
| 6691 | |
|---|
| 6692 | uint32_t BreakPolarity; |
|---|
| 6693 | |
|---|
| 6694 | uint32_t BreakFilter; |
|---|
| 6695 | |
|---|
| 6696 | uint32_t BreakAFMode; |
|---|
| 6697 | |
|---|
| 6698 | uint32_t Break2State; |
|---|
| 6699 | |
|---|
| 6700 | uint32_t Break2Polarity; |
|---|
| 6701 | |
|---|
| 6702 | uint32_t Break2Filter; |
|---|
| 6703 | |
|---|
| 6704 | uint32_t Break2AFMode; |
|---|
| 6705 | |
|---|
| 6706 | uint32_t AutomaticOutput; |
|---|
| 6707 | |
|---|
| 6708 | } TIM_BreakDeadTimeConfigTypeDef; |
|---|
| 6709 | |
|---|
| 6710 | |
|---|
| 6711 | |
|---|
| 6712 | |
|---|
| 6713 | typedef enum |
|---|
| 6714 | { |
|---|
| 6715 | HAL_TIM_STATE_RESET = 0x00U, |
|---|
| 6716 | HAL_TIM_STATE_READY = 0x01U, |
|---|
| 6717 | HAL_TIM_STATE_BUSY = 0x02U, |
|---|
| 6718 | HAL_TIM_STATE_TIMEOUT = 0x03U, |
|---|
| 6719 | HAL_TIM_STATE_ERROR = 0x04U |
|---|
| 6720 | } HAL_TIM_StateTypeDef; |
|---|
| 6721 | |
|---|
| 6722 | |
|---|
| 6723 | |
|---|
| 6724 | |
|---|
| 6725 | typedef enum |
|---|
| 6726 | { |
|---|
| 6727 | HAL_TIM_CHANNEL_STATE_RESET = 0x00U, |
|---|
| 6728 | HAL_TIM_CHANNEL_STATE_READY = 0x01U, |
|---|
| 6729 | HAL_TIM_CHANNEL_STATE_BUSY = 0x02U, |
|---|
| 6730 | } HAL_TIM_ChannelStateTypeDef; |
|---|
| 6731 | |
|---|
| 6732 | |
|---|
| 6733 | |
|---|
| 6734 | |
|---|
| 6735 | typedef enum |
|---|
| 6736 | { |
|---|
| 6737 | HAL_DMA_BURST_STATE_RESET = 0x00U, |
|---|
| 6738 | HAL_DMA_BURST_STATE_READY = 0x01U, |
|---|
| 6739 | HAL_DMA_BURST_STATE_BUSY = 0x02U, |
|---|
| 6740 | } HAL_TIM_DMABurstStateTypeDef; |
|---|
| 6741 | |
|---|
| 6742 | |
|---|
| 6743 | |
|---|
| 6744 | |
|---|
| 6745 | typedef enum |
|---|
| 6746 | { |
|---|
| 6747 | HAL_TIM_ACTIVE_CHANNEL_1 = 0x01U, |
|---|
| 6748 | HAL_TIM_ACTIVE_CHANNEL_2 = 0x02U, |
|---|
| 6749 | HAL_TIM_ACTIVE_CHANNEL_3 = 0x04U, |
|---|
| 6750 | HAL_TIM_ACTIVE_CHANNEL_4 = 0x08U, |
|---|
| 6751 | HAL_TIM_ACTIVE_CHANNEL_5 = 0x10U, |
|---|
| 6752 | HAL_TIM_ACTIVE_CHANNEL_6 = 0x20U, |
|---|
| 6753 | HAL_TIM_ACTIVE_CHANNEL_CLEARED = 0x00U |
|---|
| 6754 | } HAL_TIM_ActiveChannel; |
|---|
| 6755 | |
|---|
| 6756 | |
|---|
| 6757 | |
|---|
| 6758 | |
|---|
| 6759 | |
|---|
| 6760 | |
|---|
| 6761 | |
|---|
| 6762 | typedef struct |
|---|
| 6763 | |
|---|
| 6764 | { |
|---|
| 6765 | TIM_TypeDef *Instance; |
|---|
| 6766 | TIM_Base_InitTypeDef Init; |
|---|
| 6767 | HAL_TIM_ActiveChannel Channel; |
|---|
| 6768 | DMA_HandleTypeDef *hdma[7]; |
|---|
| 6769 | |
|---|
| 6770 | HAL_LockTypeDef Lock; |
|---|
| 6771 | volatile HAL_TIM_StateTypeDef State; |
|---|
| 6772 | volatile HAL_TIM_ChannelStateTypeDef ChannelState[6]; |
|---|
| 6773 | volatile HAL_TIM_ChannelStateTypeDef ChannelNState[4]; |
|---|
| 6774 | volatile HAL_TIM_DMABurstStateTypeDef DMABurstState; |
|---|
| [26] | 6775 | # 397 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6776 | } TIM_HandleTypeDef; |
|---|
| [26] | 6777 | # 2192 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| 6778 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" 1 |
|---|
| 6779 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6780 | typedef struct |
|---|
| 6781 | { |
|---|
| 6782 | uint32_t IC1Polarity; |
|---|
| 6783 | |
|---|
| 6784 | |
|---|
| 6785 | uint32_t IC1Prescaler; |
|---|
| 6786 | |
|---|
| 6787 | |
|---|
| 6788 | uint32_t IC1Filter; |
|---|
| 6789 | |
|---|
| 6790 | |
|---|
| 6791 | uint32_t Commutation_Delay; |
|---|
| 6792 | |
|---|
| 6793 | } TIM_HallSensor_InitTypeDef; |
|---|
| 6794 | |
|---|
| 6795 | |
|---|
| 6796 | |
|---|
| 6797 | |
|---|
| 6798 | typedef struct |
|---|
| 6799 | { |
|---|
| 6800 | uint32_t Source; |
|---|
| 6801 | |
|---|
| 6802 | uint32_t Enable; |
|---|
| 6803 | |
|---|
| 6804 | uint32_t Polarity; |
|---|
| 6805 | |
|---|
| 6806 | } TIMEx_BreakInputConfigTypeDef; |
|---|
| [26] | 6807 | # 338 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6808 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Init(TIM_HandleTypeDef *htim, const TIM_HallSensor_InitTypeDef *sConfig); |
|---|
| 6809 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_DeInit(TIM_HandleTypeDef *htim); |
|---|
| 6810 | |
|---|
| 6811 | void HAL_TIMEx_HallSensor_MspInit(TIM_HandleTypeDef *htim); |
|---|
| 6812 | void HAL_TIMEx_HallSensor_MspDeInit(TIM_HandleTypeDef *htim); |
|---|
| 6813 | |
|---|
| 6814 | |
|---|
| 6815 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start(TIM_HandleTypeDef *htim); |
|---|
| 6816 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop(TIM_HandleTypeDef *htim); |
|---|
| 6817 | |
|---|
| 6818 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_IT(TIM_HandleTypeDef *htim); |
|---|
| 6819 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_IT(TIM_HandleTypeDef *htim); |
|---|
| 6820 | |
|---|
| 6821 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length); |
|---|
| 6822 | HAL_StatusTypeDef HAL_TIMEx_HallSensor_Stop_DMA(TIM_HandleTypeDef *htim); |
|---|
| [26] | 6823 | # 363 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6824 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6825 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6826 | |
|---|
| 6827 | |
|---|
| 6828 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6829 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6830 | |
|---|
| 6831 | |
|---|
| 6832 | HAL_StatusTypeDef HAL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
|---|
| 6833 | uint16_t Length); |
|---|
| 6834 | HAL_StatusTypeDef HAL_TIMEx_OCN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| [26] | 6835 | # 384 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6836 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6837 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6838 | |
|---|
| 6839 | |
|---|
| 6840 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6841 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6842 | |
|---|
| 6843 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
|---|
| 6844 | uint16_t Length); |
|---|
| 6845 | HAL_StatusTypeDef HAL_TIMEx_PWMN_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| [26] | 6846 | # 404 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6847 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| 6848 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| 6849 | |
|---|
| 6850 | |
|---|
| 6851 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| 6852 | HAL_StatusTypeDef HAL_TIMEx_OnePulseN_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| [26] | 6853 | # 419 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6854 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
|---|
| 6855 | uint32_t CommutationSource); |
|---|
| 6856 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_IT(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
|---|
| 6857 | uint32_t CommutationSource); |
|---|
| 6858 | HAL_StatusTypeDef HAL_TIMEx_ConfigCommutEvent_DMA(TIM_HandleTypeDef *htim, uint32_t InputTrigger, |
|---|
| 6859 | uint32_t CommutationSource); |
|---|
| 6860 | HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, |
|---|
| 6861 | const TIM_MasterConfigTypeDef *sMasterConfig); |
|---|
| 6862 | HAL_StatusTypeDef HAL_TIMEx_ConfigBreakDeadTime(TIM_HandleTypeDef *htim, |
|---|
| 6863 | const TIM_BreakDeadTimeConfigTypeDef *sBreakDeadTimeConfig); |
|---|
| 6864 | HAL_StatusTypeDef HAL_TIMEx_ConfigBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput, |
|---|
| 6865 | const TIMEx_BreakInputConfigTypeDef *sBreakInputConfig); |
|---|
| 6866 | HAL_StatusTypeDef HAL_TIMEx_GroupChannel5(TIM_HandleTypeDef *htim, uint32_t Channels); |
|---|
| 6867 | HAL_StatusTypeDef HAL_TIMEx_RemapConfig(TIM_HandleTypeDef *htim, uint32_t Remap); |
|---|
| 6868 | HAL_StatusTypeDef HAL_TIMEx_TISelection(TIM_HandleTypeDef *htim, uint32_t TISelection, uint32_t Channel); |
|---|
| 6869 | |
|---|
| 6870 | HAL_StatusTypeDef HAL_TIMEx_DisarmBreakInput(TIM_HandleTypeDef *htim, uint32_t BreakInput); |
|---|
| 6871 | HAL_StatusTypeDef HAL_TIMEx_ReArmBreakInput(const TIM_HandleTypeDef *htim, uint32_t BreakInput); |
|---|
| [26] | 6872 | # 446 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6873 | void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim); |
|---|
| 6874 | void HAL_TIMEx_CommutHalfCpltCallback(TIM_HandleTypeDef *htim); |
|---|
| 6875 | void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim); |
|---|
| 6876 | void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim); |
|---|
| [26] | 6877 | # 459 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6878 | HAL_TIM_StateTypeDef HAL_TIMEx_HallSensor_GetState(const TIM_HandleTypeDef *htim); |
|---|
| 6879 | HAL_TIM_ChannelStateTypeDef HAL_TIMEx_GetChannelNState(const TIM_HandleTypeDef *htim, uint32_t ChannelN); |
|---|
| [26] | 6880 | # 474 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim_ex.h" |
|---|
| [6] | 6881 | void TIMEx_DMACommutationCplt(DMA_HandleTypeDef *hdma); |
|---|
| 6882 | void TIMEx_DMACommutationHalfCplt(DMA_HandleTypeDef *hdma); |
|---|
| [26] | 6883 | # 2193 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" 2 |
|---|
| 6884 | # 2204 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6885 | HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim); |
|---|
| 6886 | HAL_StatusTypeDef HAL_TIM_Base_DeInit(TIM_HandleTypeDef *htim); |
|---|
| 6887 | void HAL_TIM_Base_MspInit(TIM_HandleTypeDef *htim); |
|---|
| 6888 | void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef *htim); |
|---|
| 6889 | |
|---|
| 6890 | HAL_StatusTypeDef HAL_TIM_Base_Start(TIM_HandleTypeDef *htim); |
|---|
| 6891 | HAL_StatusTypeDef HAL_TIM_Base_Stop(TIM_HandleTypeDef *htim); |
|---|
| 6892 | |
|---|
| 6893 | HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim); |
|---|
| 6894 | HAL_StatusTypeDef HAL_TIM_Base_Stop_IT(TIM_HandleTypeDef *htim); |
|---|
| 6895 | |
|---|
| 6896 | HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, const uint32_t *pData, uint16_t Length); |
|---|
| 6897 | HAL_StatusTypeDef HAL_TIM_Base_Stop_DMA(TIM_HandleTypeDef *htim); |
|---|
| [26] | 6898 | # 2226 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6899 | HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim); |
|---|
| 6900 | HAL_StatusTypeDef HAL_TIM_OC_DeInit(TIM_HandleTypeDef *htim); |
|---|
| 6901 | void HAL_TIM_OC_MspInit(TIM_HandleTypeDef *htim); |
|---|
| 6902 | void HAL_TIM_OC_MspDeInit(TIM_HandleTypeDef *htim); |
|---|
| 6903 | |
|---|
| 6904 | HAL_StatusTypeDef HAL_TIM_OC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6905 | HAL_StatusTypeDef HAL_TIM_OC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6906 | |
|---|
| 6907 | HAL_StatusTypeDef HAL_TIM_OC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6908 | HAL_StatusTypeDef HAL_TIM_OC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6909 | |
|---|
| 6910 | HAL_StatusTypeDef HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
|---|
| 6911 | uint16_t Length); |
|---|
| 6912 | HAL_StatusTypeDef HAL_TIM_OC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| [26] | 6913 | # 2249 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6914 | HAL_StatusTypeDef HAL_TIM_PWM_Init(TIM_HandleTypeDef *htim); |
|---|
| 6915 | HAL_StatusTypeDef HAL_TIM_PWM_DeInit(TIM_HandleTypeDef *htim); |
|---|
| 6916 | void HAL_TIM_PWM_MspInit(TIM_HandleTypeDef *htim); |
|---|
| 6917 | void HAL_TIM_PWM_MspDeInit(TIM_HandleTypeDef *htim); |
|---|
| 6918 | |
|---|
| 6919 | HAL_StatusTypeDef HAL_TIM_PWM_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6920 | HAL_StatusTypeDef HAL_TIM_PWM_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6921 | |
|---|
| 6922 | HAL_StatusTypeDef HAL_TIM_PWM_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6923 | HAL_StatusTypeDef HAL_TIM_PWM_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6924 | |
|---|
| 6925 | HAL_StatusTypeDef HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, const uint32_t *pData, |
|---|
| 6926 | uint16_t Length); |
|---|
| 6927 | HAL_StatusTypeDef HAL_TIM_PWM_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| [26] | 6928 | # 2272 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6929 | HAL_StatusTypeDef HAL_TIM_IC_Init(TIM_HandleTypeDef *htim); |
|---|
| 6930 | HAL_StatusTypeDef HAL_TIM_IC_DeInit(TIM_HandleTypeDef *htim); |
|---|
| 6931 | void HAL_TIM_IC_MspInit(TIM_HandleTypeDef *htim); |
|---|
| 6932 | void HAL_TIM_IC_MspDeInit(TIM_HandleTypeDef *htim); |
|---|
| 6933 | |
|---|
| 6934 | HAL_StatusTypeDef HAL_TIM_IC_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6935 | HAL_StatusTypeDef HAL_TIM_IC_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6936 | |
|---|
| 6937 | HAL_StatusTypeDef HAL_TIM_IC_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6938 | HAL_StatusTypeDef HAL_TIM_IC_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6939 | |
|---|
| 6940 | HAL_StatusTypeDef HAL_TIM_IC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length); |
|---|
| 6941 | HAL_StatusTypeDef HAL_TIM_IC_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| [26] | 6942 | # 2294 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6943 | HAL_StatusTypeDef HAL_TIM_OnePulse_Init(TIM_HandleTypeDef *htim, uint32_t OnePulseMode); |
|---|
| 6944 | HAL_StatusTypeDef HAL_TIM_OnePulse_DeInit(TIM_HandleTypeDef *htim); |
|---|
| 6945 | void HAL_TIM_OnePulse_MspInit(TIM_HandleTypeDef *htim); |
|---|
| 6946 | void HAL_TIM_OnePulse_MspDeInit(TIM_HandleTypeDef *htim); |
|---|
| 6947 | |
|---|
| 6948 | HAL_StatusTypeDef HAL_TIM_OnePulse_Start(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| 6949 | HAL_StatusTypeDef HAL_TIM_OnePulse_Stop(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| 6950 | |
|---|
| 6951 | HAL_StatusTypeDef HAL_TIM_OnePulse_Start_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| 6952 | HAL_StatusTypeDef HAL_TIM_OnePulse_Stop_IT(TIM_HandleTypeDef *htim, uint32_t OutputChannel); |
|---|
| [26] | 6953 | # 2313 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6954 | HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig); |
|---|
| 6955 | HAL_StatusTypeDef HAL_TIM_Encoder_DeInit(TIM_HandleTypeDef *htim); |
|---|
| 6956 | void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef *htim); |
|---|
| 6957 | void HAL_TIM_Encoder_MspDeInit(TIM_HandleTypeDef *htim); |
|---|
| 6958 | |
|---|
| 6959 | HAL_StatusTypeDef HAL_TIM_Encoder_Start(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6960 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6961 | |
|---|
| 6962 | HAL_StatusTypeDef HAL_TIM_Encoder_Start_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6963 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop_IT(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 6964 | |
|---|
| 6965 | HAL_StatusTypeDef HAL_TIM_Encoder_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData1, |
|---|
| 6966 | uint32_t *pData2, uint16_t Length); |
|---|
| 6967 | HAL_StatusTypeDef HAL_TIM_Encoder_Stop_DMA(TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| [26] | 6968 | # 2336 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6969 | void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim); |
|---|
| [26] | 6970 | # 2346 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 6971 | HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, |
|---|
| 6972 | uint32_t Channel); |
|---|
| 6973 | HAL_StatusTypeDef HAL_TIM_PWM_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, |
|---|
| 6974 | uint32_t Channel); |
|---|
| 6975 | HAL_StatusTypeDef HAL_TIM_IC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_IC_InitTypeDef *sConfig, |
|---|
| 6976 | uint32_t Channel); |
|---|
| 6977 | HAL_StatusTypeDef HAL_TIM_OnePulse_ConfigChannel(TIM_HandleTypeDef *htim, TIM_OnePulse_InitTypeDef *sConfig, |
|---|
| 6978 | uint32_t OutputChannel, uint32_t InputChannel); |
|---|
| 6979 | HAL_StatusTypeDef HAL_TIM_ConfigOCrefClear(TIM_HandleTypeDef *htim, |
|---|
| 6980 | const TIM_ClearInputConfigTypeDef *sClearInputConfig, |
|---|
| 6981 | uint32_t Channel); |
|---|
| 6982 | HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, const TIM_ClockConfigTypeDef *sClockSourceConfig); |
|---|
| 6983 | HAL_StatusTypeDef HAL_TIM_ConfigTI1Input(TIM_HandleTypeDef *htim, uint32_t TI1_Selection); |
|---|
| 6984 | HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); |
|---|
| 6985 | HAL_StatusTypeDef HAL_TIM_SlaveConfigSynchro_IT(TIM_HandleTypeDef *htim, const TIM_SlaveConfigTypeDef *sSlaveConfig); |
|---|
| 6986 | HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
|---|
| 6987 | uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, |
|---|
| 6988 | uint32_t BurstLength); |
|---|
| 6989 | HAL_StatusTypeDef HAL_TIM_DMABurst_MultiWriteStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
|---|
| 6990 | uint32_t BurstRequestSrc, const uint32_t *BurstBuffer, |
|---|
| 6991 | uint32_t BurstLength, uint32_t DataLength); |
|---|
| 6992 | HAL_StatusTypeDef HAL_TIM_DMABurst_WriteStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); |
|---|
| 6993 | HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
|---|
| 6994 | uint32_t BurstRequestSrc, uint32_t *BurstBuffer, uint32_t BurstLength); |
|---|
| 6995 | HAL_StatusTypeDef HAL_TIM_DMABurst_MultiReadStart(TIM_HandleTypeDef *htim, uint32_t BurstBaseAddress, |
|---|
| 6996 | uint32_t BurstRequestSrc, uint32_t *BurstBuffer, |
|---|
| 6997 | uint32_t BurstLength, uint32_t DataLength); |
|---|
| 6998 | HAL_StatusTypeDef HAL_TIM_DMABurst_ReadStop(TIM_HandleTypeDef *htim, uint32_t BurstRequestSrc); |
|---|
| 6999 | HAL_StatusTypeDef HAL_TIM_GenerateEvent(TIM_HandleTypeDef *htim, uint32_t EventSource); |
|---|
| 7000 | uint32_t HAL_TIM_ReadCapturedValue(const TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| [26] | 7001 | # 2385 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 7002 | void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim); |
|---|
| 7003 | void HAL_TIM_PeriodElapsedHalfCpltCallback(TIM_HandleTypeDef *htim); |
|---|
| 7004 | void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim); |
|---|
| 7005 | void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim); |
|---|
| 7006 | void HAL_TIM_IC_CaptureHalfCpltCallback(TIM_HandleTypeDef *htim); |
|---|
| 7007 | void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim); |
|---|
| 7008 | void HAL_TIM_PWM_PulseFinishedHalfCpltCallback(TIM_HandleTypeDef *htim); |
|---|
| 7009 | void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim); |
|---|
| 7010 | void HAL_TIM_TriggerHalfCpltCallback(TIM_HandleTypeDef *htim); |
|---|
| 7011 | void HAL_TIM_ErrorCallback(TIM_HandleTypeDef *htim); |
|---|
| [26] | 7012 | # 2412 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 7013 | HAL_TIM_StateTypeDef HAL_TIM_Base_GetState(const TIM_HandleTypeDef *htim); |
|---|
| 7014 | HAL_TIM_StateTypeDef HAL_TIM_OC_GetState(const TIM_HandleTypeDef *htim); |
|---|
| 7015 | HAL_TIM_StateTypeDef HAL_TIM_PWM_GetState(const TIM_HandleTypeDef *htim); |
|---|
| 7016 | HAL_TIM_StateTypeDef HAL_TIM_IC_GetState(const TIM_HandleTypeDef *htim); |
|---|
| 7017 | HAL_TIM_StateTypeDef HAL_TIM_OnePulse_GetState(const TIM_HandleTypeDef *htim); |
|---|
| 7018 | HAL_TIM_StateTypeDef HAL_TIM_Encoder_GetState(const TIM_HandleTypeDef *htim); |
|---|
| 7019 | |
|---|
| 7020 | |
|---|
| 7021 | HAL_TIM_ActiveChannel HAL_TIM_GetActiveChannel(const TIM_HandleTypeDef *htim); |
|---|
| 7022 | HAL_TIM_ChannelStateTypeDef HAL_TIM_GetChannelState(const TIM_HandleTypeDef *htim, uint32_t Channel); |
|---|
| 7023 | HAL_TIM_DMABurstStateTypeDef HAL_TIM_DMABurstState(const TIM_HandleTypeDef *htim); |
|---|
| [26] | 7024 | # 2436 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_tim.h" |
|---|
| [6] | 7025 | void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure); |
|---|
| 7026 | void TIM_TI1_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICSelection, uint32_t TIM_ICFilter); |
|---|
| 7027 | void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config); |
|---|
| 7028 | void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler, |
|---|
| 7029 | uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter); |
|---|
| 7030 | |
|---|
| 7031 | void TIM_DMADelayPulseHalfCplt(DMA_HandleTypeDef *hdma); |
|---|
| 7032 | void TIM_DMAError(DMA_HandleTypeDef *hdma); |
|---|
| 7033 | void TIM_DMACaptureCplt(DMA_HandleTypeDef *hdma); |
|---|
| 7034 | void TIM_DMACaptureHalfCplt(DMA_HandleTypeDef *hdma); |
|---|
| 7035 | void TIM_CCxChannelCmd(TIM_TypeDef *TIMx, uint32_t Channel, uint32_t ChannelState); |
|---|
| [26] | 7036 | # 289 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| [6] | 7037 | |
|---|
| 7038 | |
|---|
| 7039 | |
|---|
| [26] | 7040 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 1 |
|---|
| 7041 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7042 | typedef struct |
|---|
| 7043 | { |
|---|
| 7044 | uint32_t BaudRate; |
|---|
| [26] | 7045 | # 65 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7046 | uint32_t WordLength; |
|---|
| 7047 | |
|---|
| 7048 | |
|---|
| 7049 | uint32_t StopBits; |
|---|
| 7050 | |
|---|
| 7051 | |
|---|
| 7052 | uint32_t Parity; |
|---|
| 7053 | |
|---|
| 7054 | |
|---|
| 7055 | |
|---|
| 7056 | |
|---|
| 7057 | |
|---|
| 7058 | |
|---|
| 7059 | uint32_t Mode; |
|---|
| 7060 | |
|---|
| 7061 | |
|---|
| 7062 | uint32_t HwFlowCtl; |
|---|
| 7063 | |
|---|
| 7064 | |
|---|
| 7065 | |
|---|
| 7066 | uint32_t OverSampling; |
|---|
| 7067 | |
|---|
| 7068 | |
|---|
| 7069 | uint32_t OneBitSampling; |
|---|
| 7070 | |
|---|
| 7071 | |
|---|
| 7072 | |
|---|
| 7073 | uint32_t ClockPrescaler; |
|---|
| 7074 | |
|---|
| 7075 | |
|---|
| 7076 | } UART_InitTypeDef; |
|---|
| 7077 | |
|---|
| 7078 | |
|---|
| 7079 | |
|---|
| 7080 | |
|---|
| 7081 | typedef struct |
|---|
| 7082 | { |
|---|
| 7083 | uint32_t AdvFeatureInit; |
|---|
| 7084 | |
|---|
| 7085 | |
|---|
| 7086 | |
|---|
| 7087 | uint32_t TxPinLevelInvert; |
|---|
| 7088 | |
|---|
| 7089 | |
|---|
| 7090 | uint32_t RxPinLevelInvert; |
|---|
| 7091 | |
|---|
| 7092 | |
|---|
| 7093 | uint32_t DataInvert; |
|---|
| 7094 | |
|---|
| 7095 | |
|---|
| 7096 | |
|---|
| 7097 | uint32_t Swap; |
|---|
| 7098 | |
|---|
| 7099 | |
|---|
| 7100 | uint32_t OverrunDisable; |
|---|
| 7101 | |
|---|
| 7102 | |
|---|
| 7103 | uint32_t DMADisableonRxError; |
|---|
| 7104 | |
|---|
| 7105 | |
|---|
| 7106 | uint32_t AutoBaudRateEnable; |
|---|
| 7107 | |
|---|
| 7108 | |
|---|
| 7109 | uint32_t AutoBaudRateMode; |
|---|
| 7110 | |
|---|
| 7111 | |
|---|
| 7112 | |
|---|
| 7113 | uint32_t MSBFirst; |
|---|
| 7114 | |
|---|
| 7115 | } UART_AdvFeatureInitTypeDef; |
|---|
| [26] | 7116 | # 177 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7117 | typedef uint32_t HAL_UART_StateTypeDef; |
|---|
| 7118 | |
|---|
| 7119 | |
|---|
| 7120 | |
|---|
| 7121 | |
|---|
| 7122 | typedef enum |
|---|
| 7123 | { |
|---|
| 7124 | UART_CLOCKSOURCE_PCLK1 = 0x00U, |
|---|
| 7125 | UART_CLOCKSOURCE_HSI = 0x02U, |
|---|
| 7126 | UART_CLOCKSOURCE_SYSCLK = 0x04U, |
|---|
| 7127 | UART_CLOCKSOURCE_LSE = 0x08U, |
|---|
| 7128 | UART_CLOCKSOURCE_UNDEFINED = 0x10U |
|---|
| 7129 | } UART_ClockSourceTypeDef; |
|---|
| 7130 | |
|---|
| 7131 | |
|---|
| 7132 | |
|---|
| 7133 | |
|---|
| 7134 | typedef struct __UART_HandleTypeDef |
|---|
| 7135 | { |
|---|
| 7136 | USART_TypeDef *Instance; |
|---|
| 7137 | |
|---|
| 7138 | UART_InitTypeDef Init; |
|---|
| 7139 | |
|---|
| 7140 | UART_AdvFeatureInitTypeDef AdvancedInit; |
|---|
| 7141 | |
|---|
| 7142 | uint8_t *pTxBuffPtr; |
|---|
| 7143 | |
|---|
| 7144 | uint16_t TxXferSize; |
|---|
| 7145 | |
|---|
| 7146 | volatile uint16_t TxXferCount; |
|---|
| 7147 | |
|---|
| 7148 | uint8_t *pRxBuffPtr; |
|---|
| 7149 | |
|---|
| 7150 | uint16_t RxXferSize; |
|---|
| 7151 | |
|---|
| 7152 | volatile uint16_t RxXferCount; |
|---|
| 7153 | |
|---|
| 7154 | uint16_t Mask; |
|---|
| 7155 | |
|---|
| 7156 | uint32_t FifoMode; |
|---|
| 7157 | |
|---|
| 7158 | |
|---|
| 7159 | uint16_t NbRxDataToProcess; |
|---|
| 7160 | |
|---|
| 7161 | uint16_t NbTxDataToProcess; |
|---|
| 7162 | |
|---|
| 7163 | void (*RxISR)(struct __UART_HandleTypeDef *huart); |
|---|
| 7164 | |
|---|
| 7165 | void (*TxISR)(struct __UART_HandleTypeDef *huart); |
|---|
| 7166 | |
|---|
| 7167 | DMA_HandleTypeDef *hdmatx; |
|---|
| 7168 | |
|---|
| 7169 | DMA_HandleTypeDef *hdmarx; |
|---|
| 7170 | |
|---|
| 7171 | HAL_LockTypeDef Lock; |
|---|
| 7172 | |
|---|
| 7173 | volatile HAL_UART_StateTypeDef gState; |
|---|
| 7174 | |
|---|
| 7175 | |
|---|
| 7176 | |
|---|
| 7177 | volatile HAL_UART_StateTypeDef RxState; |
|---|
| 7178 | |
|---|
| 7179 | |
|---|
| 7180 | volatile uint32_t ErrorCode; |
|---|
| [26] | 7181 | # 259 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7182 | } UART_HandleTypeDef; |
|---|
| [26] | 7183 | # 1489 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| 7184 | # 1 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" 1 |
|---|
| 7185 | # 47 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
|---|
| [6] | 7186 | typedef struct |
|---|
| 7187 | { |
|---|
| 7188 | uint32_t WakeUpEvent; |
|---|
| 7189 | |
|---|
| 7190 | |
|---|
| 7191 | |
|---|
| 7192 | |
|---|
| 7193 | uint16_t AddressLength; |
|---|
| 7194 | |
|---|
| 7195 | |
|---|
| 7196 | uint8_t Address; |
|---|
| 7197 | } UART_WakeUpTypeDef; |
|---|
| [26] | 7198 | # 141 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
|---|
| [6] | 7199 | HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t AssertionTime, uint32_t DeassertionTime); |
|---|
| [26] | 7200 | # 151 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
|---|
| [6] | 7201 | void HAL_UARTEx_WakeupCallback(UART_HandleTypeDef *huart); |
|---|
| 7202 | |
|---|
| 7203 | void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart); |
|---|
| 7204 | void HAL_UARTEx_TxFifoEmptyCallback(UART_HandleTypeDef *huart); |
|---|
| [26] | 7205 | # 165 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart_ex.h" |
|---|
| [6] | 7206 | HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelection); |
|---|
| 7207 | HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart); |
|---|
| 7208 | HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart); |
|---|
| 7209 | HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t AddressLength); |
|---|
| 7210 | HAL_StatusTypeDef HAL_UARTEx_EnableFifoMode(UART_HandleTypeDef *huart); |
|---|
| 7211 | HAL_StatusTypeDef HAL_UARTEx_DisableFifoMode(UART_HandleTypeDef *huart); |
|---|
| 7212 | HAL_StatusTypeDef HAL_UARTEx_SetTxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); |
|---|
| 7213 | HAL_StatusTypeDef HAL_UARTEx_SetRxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold); |
|---|
| [26] | 7214 | # 1490 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" 2 |
|---|
| 7215 | # 1502 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7216 | HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart); |
|---|
| 7217 | HAL_StatusTypeDef HAL_HalfDuplex_Init(UART_HandleTypeDef *huart); |
|---|
| 7218 | HAL_StatusTypeDef HAL_LIN_Init(UART_HandleTypeDef *huart, uint32_t BreakDetectLength); |
|---|
| 7219 | HAL_StatusTypeDef HAL_MultiProcessor_Init(UART_HandleTypeDef *huart, uint8_t Address, uint32_t WakeUpMethod); |
|---|
| 7220 | HAL_StatusTypeDef HAL_UART_DeInit(UART_HandleTypeDef *huart); |
|---|
| 7221 | void HAL_UART_MspInit(UART_HandleTypeDef *huart); |
|---|
| 7222 | void HAL_UART_MspDeInit(UART_HandleTypeDef *huart); |
|---|
| [26] | 7223 | # 1525 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7224 | HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
|---|
| 7225 | HAL_StatusTypeDef HAL_UART_Receive(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout); |
|---|
| 7226 | HAL_StatusTypeDef HAL_UART_Transmit_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
|---|
| 7227 | HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
|---|
| 7228 | HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
|---|
| 7229 | HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size); |
|---|
| 7230 | HAL_StatusTypeDef HAL_UART_DMAPause(UART_HandleTypeDef *huart); |
|---|
| 7231 | HAL_StatusTypeDef HAL_UART_DMAResume(UART_HandleTypeDef *huart); |
|---|
| 7232 | HAL_StatusTypeDef HAL_UART_DMAStop(UART_HandleTypeDef *huart); |
|---|
| 7233 | |
|---|
| 7234 | HAL_StatusTypeDef HAL_UART_Abort(UART_HandleTypeDef *huart); |
|---|
| 7235 | HAL_StatusTypeDef HAL_UART_AbortTransmit(UART_HandleTypeDef *huart); |
|---|
| 7236 | HAL_StatusTypeDef HAL_UART_AbortReceive(UART_HandleTypeDef *huart); |
|---|
| 7237 | HAL_StatusTypeDef HAL_UART_Abort_IT(UART_HandleTypeDef *huart); |
|---|
| 7238 | HAL_StatusTypeDef HAL_UART_AbortTransmit_IT(UART_HandleTypeDef *huart); |
|---|
| 7239 | HAL_StatusTypeDef HAL_UART_AbortReceive_IT(UART_HandleTypeDef *huart); |
|---|
| 7240 | |
|---|
| 7241 | void HAL_UART_IRQHandler(UART_HandleTypeDef *huart); |
|---|
| 7242 | void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart); |
|---|
| 7243 | void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart); |
|---|
| 7244 | void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart); |
|---|
| 7245 | void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart); |
|---|
| 7246 | void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart); |
|---|
| 7247 | void HAL_UART_AbortCpltCallback(UART_HandleTypeDef *huart); |
|---|
| 7248 | void HAL_UART_AbortTransmitCpltCallback(UART_HandleTypeDef *huart); |
|---|
| 7249 | void HAL_UART_AbortReceiveCpltCallback(UART_HandleTypeDef *huart); |
|---|
| [26] | 7250 | # 1561 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7251 | HAL_StatusTypeDef HAL_LIN_SendBreak(UART_HandleTypeDef *huart); |
|---|
| 7252 | HAL_StatusTypeDef HAL_MultiProcessor_EnableMuteMode(UART_HandleTypeDef *huart); |
|---|
| 7253 | HAL_StatusTypeDef HAL_MultiProcessor_DisableMuteMode(UART_HandleTypeDef *huart); |
|---|
| 7254 | void HAL_MultiProcessor_EnterMuteMode(UART_HandleTypeDef *huart); |
|---|
| 7255 | HAL_StatusTypeDef HAL_HalfDuplex_EnableTransmitter(UART_HandleTypeDef *huart); |
|---|
| 7256 | HAL_StatusTypeDef HAL_HalfDuplex_EnableReceiver(UART_HandleTypeDef *huart); |
|---|
| [26] | 7257 | # 1577 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7258 | HAL_UART_StateTypeDef HAL_UART_GetState(UART_HandleTypeDef *huart); |
|---|
| 7259 | uint32_t HAL_UART_GetError(UART_HandleTypeDef *huart); |
|---|
| [26] | 7260 | # 1595 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal_uart.h" |
|---|
| [6] | 7261 | HAL_StatusTypeDef UART_SetConfig(UART_HandleTypeDef *huart); |
|---|
| 7262 | HAL_StatusTypeDef UART_CheckIdleState(UART_HandleTypeDef *huart); |
|---|
| 7263 | HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout); |
|---|
| 7264 | void UART_AdvFeatureConfig(UART_HandleTypeDef *huart); |
|---|
| [26] | 7265 | # 293 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\stm32g0xx_hal_conf.h" 2 |
|---|
| 7266 | # 30 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" 2 |
|---|
| 7267 | # 43 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
|---|
| [6] | 7268 | typedef enum |
|---|
| 7269 | { |
|---|
| 7270 | HAL_TICK_FREQ_10HZ = 100U, |
|---|
| 7271 | HAL_TICK_FREQ_100HZ = 10U, |
|---|
| 7272 | HAL_TICK_FREQ_1KHZ = 1U, |
|---|
| 7273 | HAL_TICK_FREQ_DEFAULT = HAL_TICK_FREQ_1KHZ |
|---|
| 7274 | } HAL_TickFreqTypeDef; |
|---|
| [26] | 7275 | # 732 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
|---|
| [6] | 7276 | HAL_StatusTypeDef HAL_Init(void); |
|---|
| 7277 | HAL_StatusTypeDef HAL_DeInit(void); |
|---|
| 7278 | void HAL_MspInit(void); |
|---|
| 7279 | void HAL_MspDeInit(void); |
|---|
| 7280 | HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority); |
|---|
| [26] | 7281 | # 747 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
|---|
| [6] | 7282 | void HAL_IncTick(void); |
|---|
| 7283 | void HAL_Delay(uint32_t Delay); |
|---|
| 7284 | uint32_t HAL_GetTick(void); |
|---|
| 7285 | uint32_t HAL_GetTickPrio(void); |
|---|
| 7286 | HAL_StatusTypeDef HAL_SetTickFreq(HAL_TickFreqTypeDef Freq); |
|---|
| 7287 | HAL_TickFreqTypeDef HAL_GetTickFreq(void); |
|---|
| 7288 | void HAL_SuspendTick(void); |
|---|
| 7289 | void HAL_ResumeTick(void); |
|---|
| 7290 | uint32_t HAL_GetHalVersion(void); |
|---|
| 7291 | uint32_t HAL_GetREVID(void); |
|---|
| 7292 | uint32_t HAL_GetDEVID(void); |
|---|
| 7293 | uint32_t HAL_GetUIDw0(void); |
|---|
| 7294 | uint32_t HAL_GetUIDw1(void); |
|---|
| 7295 | uint32_t HAL_GetUIDw2(void); |
|---|
| [26] | 7296 | # 771 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
|---|
| [6] | 7297 | void HAL_DBGMCU_EnableDBGStopMode(void); |
|---|
| 7298 | void HAL_DBGMCU_DisableDBGStopMode(void); |
|---|
| 7299 | void HAL_DBGMCU_EnableDBGStandbyMode(void); |
|---|
| 7300 | void HAL_DBGMCU_DisableDBGStandbyMode(void); |
|---|
| [26] | 7301 | # 784 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
|---|
| [6] | 7302 | extern volatile uint32_t uwTick; |
|---|
| 7303 | extern uint32_t uwTickPrio; |
|---|
| 7304 | extern HAL_TickFreqTypeDef uwTickFreq; |
|---|
| [26] | 7305 | # 805 "D:/projekte/ecsSmartPro/trunk/firmware/Drivers/STM32G0xx_HAL_Driver/Inc\\stm32g0xx_hal.h" |
|---|
| [6] | 7306 | void HAL_SYSCFG_EnableIOAnalogSwitchBooster(void); |
|---|
| 7307 | void HAL_SYSCFG_DisableIOAnalogSwitchBooster(void); |
|---|
| 7308 | void HAL_SYSCFG_EnableRemap(uint32_t PinRemap); |
|---|
| 7309 | void HAL_SYSCFG_DisableRemap(uint32_t PinRemap); |
|---|
| 7310 | |
|---|
| 7311 | |
|---|
| 7312 | |
|---|
| 7313 | |
|---|
| 7314 | |
|---|
| 7315 | void HAL_SYSCFG_StrobeDBattpinsConfig(uint32_t ConfigDeadBattery); |
|---|
| [26] | 7316 | # 32 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h" 2 |
|---|
| 7317 | # 55 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h" |
|---|
| [6] | 7318 | void Error_Handler(void); |
|---|
| [26] | 7319 | # 133 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\main.h" |
|---|
| [6] | 7320 | enum SOC_CALC_MODE{ |
|---|
| 7321 | SOC_CALC_MODE_AH_RATED, |
|---|
| 7322 | SOC_CALC_MODE_AH_AUTO, |
|---|
| 7323 | SOC_CALC_MODE_WH_RATED, |
|---|
| 7324 | SOC_CALC_MODE_WH_AUTO, |
|---|
| 7325 | SOC_CALC_MODE_WH_AUTO_TEMP, |
|---|
| 7326 | }; |
|---|
| 7327 | |
|---|
| 7328 | typedef union error_message_t |
|---|
| 7329 | { |
|---|
| 7330 | char msg[sizeof(uint64_t)]; |
|---|
| 7331 | uint64_t number; |
|---|
| 7332 | } error_message_t; |
|---|
| [26] | 7333 | # 28 "D:/projekte/ecsSmartPro/trunk/firmware/Inc\\rtc.h" 2 |
|---|
| [6] | 7334 | |
|---|
| 7335 | |
|---|
| 7336 | |
|---|
| 7337 | |
|---|
| 7338 | |
|---|
| 7339 | extern RTC_HandleTypeDef hrtc; |
|---|
| 7340 | |
|---|
| 7341 | |
|---|
| 7342 | |
|---|
| 7343 | |
|---|
| 7344 | |
|---|
| 7345 | void MX_RTC_Init(void); |
|---|
| [26] | 7346 | # 22 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\rtc.c" 2 |
|---|
| [6] | 7347 | |
|---|
| 7348 | |
|---|
| 7349 | |
|---|
| 7350 | |
|---|
| 7351 | |
|---|
| 7352 | |
|---|
| 7353 | RTC_HandleTypeDef hrtc; |
|---|
| 7354 | |
|---|
| 7355 | |
|---|
| 7356 | void MX_RTC_Init(void) |
|---|
| 7357 | { |
|---|
| 7358 | RTC_TimeTypeDef sTime = {0}; |
|---|
| 7359 | RTC_DateTypeDef sDate = {0}; |
|---|
| 7360 | |
|---|
| 7361 | |
|---|
| 7362 | |
|---|
| 7363 | hrtc.Instance = ((RTC_TypeDef *) (((0x40000000UL)) + 0x00002800UL)); |
|---|
| 7364 | hrtc.Init.HourFormat = 0x00000000u; |
|---|
| 7365 | hrtc.Init.AsynchPrediv = 0x7F; |
|---|
| 7366 | hrtc.Init.SynchPrediv = 0x00FF; |
|---|
| 7367 | hrtc.Init.OutPut = 0x00000000u; |
|---|
| 7368 | hrtc.Init.OutPutRemap = 0x00000000u; |
|---|
| 7369 | hrtc.Init.OutPutPolarity = 0x00000000u; |
|---|
| 7370 | hrtc.Init.OutPutType = (0x1UL << (30U)); |
|---|
| 7371 | hrtc.Init.OutPutPullUp = 0x00000000u; |
|---|
| 7372 | if (HAL_RTC_Init(&hrtc) != HAL_OK) |
|---|
| 7373 | { |
|---|
| 7374 | Error_Handler(); |
|---|
| 7375 | } |
|---|
| 7376 | |
|---|
| 7377 | |
|---|
| 7378 | |
|---|
| 7379 | |
|---|
| 7380 | |
|---|
| 7381 | |
|---|
| 7382 | |
|---|
| 7383 | sTime.Hours = 0x02; |
|---|
| 7384 | sTime.Minutes = 0x0; |
|---|
| 7385 | sTime.Seconds = 0x0; |
|---|
| 7386 | sTime.SubSeconds = 0; |
|---|
| 7387 | sTime.DayLightSaving = 0x00000000u; |
|---|
| 7388 | sTime.StoreOperation = 0x00000000u; |
|---|
| 7389 | if (HAL_RTC_SetTime(&hrtc, &sTime, 0x00000001u) != HAL_OK) |
|---|
| 7390 | { |
|---|
| 7391 | Error_Handler(); |
|---|
| 7392 | } |
|---|
| 7393 | sDate.WeekDay = ((uint8_t)0x01U); |
|---|
| 7394 | sDate.Month = ((uint8_t)0x04U); |
|---|
| 7395 | sDate.Date = 0x16; |
|---|
| 7396 | sDate.Year = 0x18; |
|---|
| 7397 | |
|---|
| 7398 | if (HAL_RTC_SetDate(&hrtc, &sDate, 0x00000001u) != HAL_OK) |
|---|
| 7399 | { |
|---|
| 7400 | Error_Handler(); |
|---|
| 7401 | } |
|---|
| 7402 | |
|---|
| 7403 | } |
|---|
| 7404 | |
|---|
| 7405 | void HAL_RTC_MspInit(RTC_HandleTypeDef* rtcHandle) |
|---|
| 7406 | { |
|---|
| 7407 | |
|---|
| 7408 | if(rtcHandle->Instance==((RTC_TypeDef *) (((0x40000000UL)) + 0x00002800UL))) |
|---|
| 7409 | { |
|---|
| [26] | 7410 | # 94 "D:\\projekte\\ecsSmartPro\\trunk\\firmware\\Src\\rtc.c" |
|---|
| [6] | 7411 | do { volatile uint32_t tmpreg; ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->APBENR1) |= ((0x1UL << (10U)))); tmpreg = ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->APBENR1) & ((0x1UL << (10U)))); (void)tmpreg; } while(0U); |
|---|
| 7412 | |
|---|
| 7413 | |
|---|
| 7414 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) |= ((0x1UL << (15U)))); |
|---|
| 7415 | |
|---|
| 7416 | |
|---|
| 7417 | |
|---|
| 7418 | |
|---|
| 7419 | } |
|---|
| 7420 | } |
|---|
| 7421 | |
|---|
| 7422 | void HAL_RTC_MspDeInit(RTC_HandleTypeDef* rtcHandle) |
|---|
| 7423 | { |
|---|
| 7424 | |
|---|
| 7425 | if(rtcHandle->Instance==((RTC_TypeDef *) (((0x40000000UL)) + 0x00002800UL))) |
|---|
| 7426 | { |
|---|
| 7427 | |
|---|
| 7428 | |
|---|
| 7429 | |
|---|
| 7430 | |
|---|
| 7431 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->BDCR) &= ~((0x1UL << (15U)))); |
|---|
| 7432 | |
|---|
| 7433 | |
|---|
| 7434 | ((((RCC_TypeDef *) (((0x40000000UL) + 0x00020000UL) + 0x00001000UL))->APBENR1) &= ~((0x1UL << (10U)))); |
|---|
| 7435 | |
|---|
| 7436 | } |
|---|
| 7437 | } |
|---|