Home
last modified time | relevance | path

Searched refs:uwTickFreq (Results 1 – 25 of 56) sorted by relevance

123

/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_hal.c62 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/
Dstm32l1xx_hal.c85 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/
Dstm32h5xx_hal.c82 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/
Dstm32wbxx_hal.c81 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()
Dstm32wbxx_hal_timebase_rtc_alarm_template.c124 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/
Dstm32wlxx_hal.c91 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 …]
Dstm32wlxx_hal_timebase_rtc_alarm_template.c125 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()
Dstm32wlxx_hal_timebase_tim_template.c80 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/
Dstm32f0xx_hal.c85 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/
Dstm32l4xx_hal.c92 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/
Dstm32g0xx_hal.c82 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()
Dstm32g0xx_hal_timebase_rtc_alarm_template.c121 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/
Dstm32f3xx_hal.c78 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/
Dstm32u5xx_hal.c79 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/
Dstm32g4xx_hal.c87 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/
Dstm32f1xx_hal.c81 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/
Dstm32f7xx_hal.c76 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/
Dstm32l5xx_hal.c80 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/
Dstm32f2xx_hal.c90 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/
Dstm32l0xx_hal.c85 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/
Dstm32f4xx_hal.c96 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/
Dstm32mp1xx_hal.c92 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/
Dstm32c0xx_hal.c78 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/
Dstm32h7rsxx_hal.c106 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/
Dstm32h7xx_hal.c73 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()

123