/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal.c | 62 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 230 if ((uint32_t)uwTickFreq == 0UL) in HAL_InitTick() 239 ticknumber = SystemCoreClock / (1000UL / (uint32_t)uwTickFreq); in HAL_InitTick() 249 ticknumber = (SystemCoreClock / (8000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 255 ticknumber = (LSI_VALUE / (1000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 261 ticknumber = (LSE_VALUE / (1000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 319 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 352 if (uwTickFreq != Freq) in HAL_SetTickFreq() 355 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 358 uwTickFreq = Freq; in HAL_SetTickFreq() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal.c | 85 uint32_t uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 234 if (uwTickFreq != 0U) in HAL_InitTick() 237 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) == 0U) in HAL_InitTick() 300 uwTick += uwTickFreq; in HAL_IncTick() 335 if (uwTickFreq != Freq) in HAL_SetTickFreq() 338 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 341 uwTickFreq = Freq; in HAL_SetTickFreq() 349 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 363 return uwTickFreq; in HAL_GetTickFreq() 385 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal.c | 82 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 251 if ((uint32_t)uwTickFreq == 0UL) in HAL_InitTick() 260 ticknumber = SystemCoreClock / (1000UL / (uint32_t)uwTickFreq); in HAL_InitTick() 270 ticknumber = (SystemCoreClock / (8000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 275 ticknumber = (LSI_VALUE / (1000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 280 ticknumber = (LSE_VALUE / (1000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 337 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 371 if (uwTickFreq != Freq) in HAL_SetTickFreq() 375 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 378 uwTickFreq = Freq; in HAL_SetTickFreq() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal.c | 81 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 255 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 258 if (HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq() / (1000U / (uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 321 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 355 if (uwTickFreq != Freq) in HAL_SetTickFreq() 358 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 361 uwTickFreq = Freq; in HAL_SetTickFreq() 369 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 383 return uwTickFreq; in HAL_GetTickFreq() 405 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
D | stm32wbxx_hal_timebase_rtc_alarm_template.c | 124 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 241 alarm.AlarmTime.SubSeconds = ((RTC_SYNCH_PREDIV + 1) / (1000 / (uint32_t)uwTickFreq)); in HAL_InitTick() 248 if (uwTickFreq == HAL_TICK_FREQ_1KHZ) in HAL_InitTick() 256 else if (uwTickFreq == HAL_TICK_FREQ_100HZ) in HAL_InitTick()
|
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal.c | 91 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 279 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 283 if (HAL_SYSTICK_Config(HAL_RCC_GetHCLK2Freq() / (1000U / (uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 285 if (HAL_SYSTICK_Config(HAL_RCC_GetHCLKFreq() / (1000U / (uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 349 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 382 if (uwTickFreq != Freq) in HAL_SetTickFreq() 385 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 388 uwTickFreq = Freq; in HAL_SetTickFreq() 396 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 409 return uwTickFreq; in HAL_GetTickFreq() [all …]
|
D | stm32wlxx_hal_timebase_rtc_alarm_template.c | 125 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 238 alarm.AlarmTime.SubSeconds = (RTC_SYNCH_PREDIV / (1000 / (uint32_t)uwTickFreq)); in HAL_InitTick() 245 if (uwTickFreq == HAL_TICK_FREQ_1KHZ) in HAL_InitTick() 249 else if (uwTickFreq == HAL_TICK_FREQ_100HZ) in HAL_InitTick()
|
D | stm32wlxx_hal_timebase_tim_template.c | 80 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 113 TimHandle.Init.Period = (1000000U / (1000U / (uint32_t)uwTickFreq)) - 1U; in HAL_InitTick()
|
/hal_stm32-3.7.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal.c | 85 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 225 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) in HAL_InitTick() 283 uwTick += uwTickFreq; in HAL_IncTick() 317 if (uwTickFreq != Freq) in HAL_SetTickFreq() 320 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 323 uwTickFreq = Freq; in HAL_SetTickFreq() 331 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 345 return uwTickFreq; in HAL_GetTickFreq() 367 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal.c | 92 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 264 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 267 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / (uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 329 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 362 if (uwTickFreq != Freq) in HAL_SetTickFreq() 365 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 368 uwTickFreq = Freq; in HAL_SetTickFreq() 375 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 389 return uwTickFreq; in HAL_GetTickFreq() 411 wait += (uint32_t)uwTickFreq; in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal.c | 82 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 245 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 248 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U /(uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 310 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 343 if (uwTickFreq != Freq) in HAL_SetTickFreq() 346 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 349 uwTickFreq = Freq; in HAL_SetTickFreq() 356 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 370 return uwTickFreq; in HAL_GetTickFreq() 392 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
D | stm32g0xx_hal_timebase_rtc_alarm_template.c | 121 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 233 alarm.AlarmTime.SubSeconds = (RTC_SYNCH_PREDIV / (1000 / (uint32_t)uwTickFreq)); in HAL_InitTick() 240 if (uwTickFreq == HAL_TICK_FREQ_1KHZ) in HAL_InitTick() 244 else if (uwTickFreq == HAL_TICK_FREQ_100HZ) in HAL_InitTick()
|
/hal_stm32-3.7.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal.c | 78 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 223 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) in HAL_InitTick() 280 uwTick += uwTickFreq; in HAL_IncTick() 314 if (uwTickFreq != Freq) in HAL_SetTickFreq() 317 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 320 uwTickFreq = Freq; in HAL_SetTickFreq() 328 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 342 return uwTickFreq; in HAL_GetTickFreq() 364 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal.c | 79 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 243 if ((uint32_t)uwTickFreq == 0UL) in HAL_InitTick() 252 ticknumber = SystemCoreClock / (1000UL / (uint32_t)uwTickFreq); in HAL_InitTick() 262 ticknumber = (SystemCoreClock / (8000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 267 ticknumber = (LSI_VALUE / (1000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 272 ticknumber = (LSE_VALUE / (1000UL / (uint32_t)uwTickFreq)); in HAL_InitTick() 332 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 364 if (uwTickFreq != Freq) in HAL_SetTickFreq() 371 uwTickFreq = Freq; in HAL_SetTickFreq() 385 return uwTickFreq; in HAL_GetTickFreq() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal.c | 87 uint32_t uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 259 if (uwTickFreq != 0U) in HAL_InitTick() 262 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) == 0U) in HAL_InitTick() 324 uwTick += uwTickFreq; in HAL_IncTick() 358 if (uwTickFreq != Freq) in HAL_SetTickFreq() 361 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 364 uwTickFreq = Freq; in HAL_SetTickFreq() 372 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 386 return uwTickFreq; in HAL_GetTickFreq() 408 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal.c | 81 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 237 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) in HAL_InitTick() 295 uwTick += uwTickFreq; in HAL_IncTick() 329 if (uwTickFreq != Freq) in HAL_SetTickFreq() 332 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 335 uwTickFreq = Freq; in HAL_SetTickFreq() 343 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 357 return uwTickFreq; in HAL_GetTickFreq() 379 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal.c | 76 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 234 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) in HAL_InitTick() 292 uwTick += uwTickFreq; in HAL_IncTick() 326 if (uwTickFreq != Freq) in HAL_SetTickFreq() 329 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 332 uwTickFreq = Freq; in HAL_SetTickFreq() 340 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 354 return uwTickFreq; in HAL_GetTickFreq() 376 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal.c | 80 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 237 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 240 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / (uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 302 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 335 if (uwTickFreq != Freq) in HAL_SetTickFreq() 338 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 341 uwTickFreq = Freq; in HAL_SetTickFreq() 348 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 362 return uwTickFreq; in HAL_GetTickFreq() 384 wait += (uint32_t)uwTickFreq; in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal.c | 90 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 250 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) in HAL_InitTick() 308 uwTick += uwTickFreq; in HAL_IncTick() 342 if (uwTickFreq != Freq) in HAL_SetTickFreq() 345 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 348 uwTickFreq = Freq; in HAL_SetTickFreq() 356 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 370 return uwTickFreq; in HAL_GetTickFreq() 392 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal.c | 85 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 241 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) in HAL_InitTick() 296 uwTick += uwTickFreq; in HAL_IncTick() 330 if (uwTickFreq != Freq) in HAL_SetTickFreq() 333 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 336 uwTickFreq = Freq; in HAL_SetTickFreq() 344 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 358 return uwTickFreq; in HAL_GetTickFreq() 380 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal.c | 96 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 256 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) in HAL_InitTick() 314 uwTick += uwTickFreq; in HAL_IncTick() 348 if (uwTickFreq != Freq) in HAL_SetTickFreq() 351 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 354 uwTickFreq = Freq; in HAL_SetTickFreq() 362 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 376 return uwTickFreq; in HAL_GetTickFreq() 398 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal.c | 92 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 284 if ((uint32_t)uwTickFreq == 0U) in HAL_InitTick() 290 if (HAL_SYSTICK_Config(SystemCoreClock /(1000U / uwTickFreq)) > 0U) in HAL_InitTick() 350 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 403 if (uwTickFreq != Freq) in HAL_SetTickFreq() 406 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 409 uwTickFreq = Freq; in HAL_SetTickFreq() 417 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 430 return uwTickFreq; in HAL_GetTickFreq() 453 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal.c | 78 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 240 if ((uint32_t)uwTickFreq != 0UL) in HAL_InitTick() 243 if (HAL_SYSTICK_Config(SystemCoreClock / (1000UL / (uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 305 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 338 if (uwTickFreq != Freq) in HAL_SetTickFreq() 345 uwTickFreq = Freq; in HAL_SetTickFreq() 359 return uwTickFreq; in HAL_GetTickFreq() 381 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_hal.c | 106 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 272 if ((uint32_t)uwTickFreq != 0U) in HAL_InitTick() 275 if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / (uint32_t)uwTickFreq)) == 0U) in HAL_InitTick() 337 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 370 if (uwTickFreq != Freq) in HAL_SetTickFreq() 373 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 376 uwTickFreq = Freq; in HAL_SetTickFreq() 383 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 397 return uwTickFreq; in HAL_GetTickFreq() 419 wait += (uint32_t)uwTickFreq; in HAL_Delay()
|
/hal_stm32-3.7.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal.c | 73 HAL_TickFreqTypeDef uwTickFreq = HAL_TICK_FREQ_DEFAULT; /* 1KHz */ variable 265 if((uint32_t)uwTickFreq == 0UL) in HAL_InitTick() 271 if (HAL_SYSTICK_Config(SystemCoreClock / (1000UL / (uint32_t)uwTickFreq)) > 0U) in HAL_InitTick() 329 uwTick += (uint32_t)uwTickFreq; in HAL_IncTick() 363 if (uwTickFreq != Freq) in HAL_SetTickFreq() 367 prevTickFreq = uwTickFreq; in HAL_SetTickFreq() 370 uwTickFreq = Freq; in HAL_SetTickFreq() 377 uwTickFreq = prevTickFreq; in HAL_SetTickFreq() 391 return uwTickFreq; in HAL_GetTickFreq() 413 wait += (uint32_t)(uwTickFreq); in HAL_Delay()
|