Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 30) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_utils.c342 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
356 if((HCLK_Frequency > UTILS_SCALE1_LATENCY5_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
358 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
362 if((HCLK_Frequency > UTILS_SCALE1_LATENCY4_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
364 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
368 if((HCLK_Frequency > UTILS_SCALE1_LATENCY3_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
370 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
374 if((HCLK_Frequency > UTILS_SCALE1_LATENCY2_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
376 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
380 if((HCLK_Frequency > UTILS_SCALE1_LATENCY1_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_utils.c330 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
347 latency = LL_FLASH_LATENCY_7; in LL_SetFlashLatency()
352 latency = LL_FLASH_LATENCY_6; in LL_SetFlashLatency()
355 if((HCLK_Frequency > UTILS_SCALE1_LATENCY5_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
358 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
360 else if((HCLK_Frequency > UTILS_SCALE1_LATENCY4_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
363 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
365 else if((HCLK_Frequency > UTILS_SCALE1_LATENCY3_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
368 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
370 else if((HCLK_Frequency > UTILS_SCALE1_LATENCY2_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_utils.c696 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ local
714 latency = LL_FLASH_LATENCY_6;
719 latency = LL_FLASH_LATENCY_5;
724 latency = LL_FLASH_LATENCY_4;
732 latency = LL_FLASH_LATENCY_3;
737 latency = LL_FLASH_LATENCY_2;
742 latency = LL_FLASH_LATENCY_1;
759 latency = LL_FLASH_LATENCY_5;
764 latency = LL_FLASH_LATENCY_4;
769 latency = LL_FLASH_LATENCY_3;
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_utils.c664 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
682 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
687 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
692 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
697 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
702 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
718 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
723 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
728 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
733 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_utils.c324 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
342 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
347 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
352 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
357 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
374 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
379 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
384 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
401 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
406 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
[all …]
Dstm32u5xx_hal_rcc.c2200 uint32_t latency; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
2219 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
2224 latency = FLASH_LATENCY_0; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
2234 latency = FLASH_LATENCY_3; /* 3WS */ in RCC_SetFlashLatencyFromMSIRange()
2249 latency = FLASH_LATENCY_0; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
2253 latency = FLASH_LATENCY_1; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
2258 latency = FLASH_LATENCY_0; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
2267 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
2271 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
2276 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_utils.c296 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
312 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
317 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
322 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
327 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
334 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
342 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
347 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
352 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
359 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
[all …]
Dstm32l4xx_hal_rcc.c1790 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
1811 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1816 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1828 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1835 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1843 latency = FLASH_LATENCY_3; /* 3WS */ in RCC_SetFlashLatencyFromMSIRange()
1850 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1855 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1866 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatencyFromMSIRange()
1870 if(__HAL_FLASH_GET_LATENCY() != latency) in RCC_SetFlashLatencyFromMSIRange()
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_utils.c279 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
293 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
298 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
303 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
310 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
321 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
326 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
331 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
338 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
349 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_utils.c615 uint32_t latency; in LL_SetFlashLatency() local
628 latency = LL_FLASH_LATENCY_5; /* 5WS (6 CPU cycles) */ in LL_SetFlashLatency()
632 latency = LL_FLASH_LATENCY_4; /* 4WS (5 CPU cycles) */ in LL_SetFlashLatency()
636 latency = LL_FLASH_LATENCY_3; /* 3WS (4 CPU cycles) */ in LL_SetFlashLatency()
640 latency = LL_FLASH_LATENCY_2; /* 2WS (3 CPU cycles) */ in LL_SetFlashLatency()
644 latency = LL_FLASH_LATENCY_1; /* 1WS (2 CPU cycles) */ in LL_SetFlashLatency()
648 latency = LL_FLASH_LATENCY_0; /* 0WS (1 CPU cycles) */ in LL_SetFlashLatency()
655 latency = LL_FLASH_LATENCY_5; /* 5WS (6 CPU cycles) */ in LL_SetFlashLatency()
659 latency = LL_FLASH_LATENCY_4; /* 4WS (5 CPU cycles) */ in LL_SetFlashLatency()
663 latency = LL_FLASH_LATENCY_3; /* 3WS (4 CPU cycles) */ in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_utils.c242 uint32_t latency; in LL_SetFlashLatency() local
257 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
262 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
270 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
275 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
283 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
288 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
294 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
304 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
306 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_ll_utils.c416 uint32_t latency; in LL_SetFlashLatency() local
430 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
435 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
440 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
445 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
457 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
462 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
473 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
477 if (LL_FLASH_GetLatency() != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_ll_utils.c495 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in UTILS_SetFlashLatency() local
509 latency = LL_FLASH_LATENCY_0; in UTILS_SetFlashLatency()
514 latency = LL_FLASH_LATENCY_1; in UTILS_SetFlashLatency()
519 latency = LL_FLASH_LATENCY_2; in UTILS_SetFlashLatency()
531 latency = LL_FLASH_LATENCY_0; in UTILS_SetFlashLatency()
536 latency = LL_FLASH_LATENCY_1; in UTILS_SetFlashLatency()
541 latency = LL_FLASH_LATENCY_2; in UTILS_SetFlashLatency()
549 LL_FLASH_SetLatency(latency); in UTILS_SetFlashLatency()
553 if (LL_FLASH_GetLatency() != latency) in UTILS_SetFlashLatency()
Dstm32u0xx_hal_rcc.c1569 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
1590 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1595 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1600 latency = FLASH_LATENCY_0; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
1610 latency = FLASH_LATENCY_2; /* 3WS */ in RCC_SetFlashLatencyFromMSIRange()
1615 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1620 latency = FLASH_LATENCY_0; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
1625 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatencyFromMSIRange()
1629 if ((FLASH->ACR & FLASH_ACR_LATENCY) != latency) in RCC_SetFlashLatencyFromMSIRange()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_utils.c182 uint32_t latency; in LL_SetFlashLatency() local
195 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
200 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
203 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
213 } while ((getlatency != latency) && (timeout > 0U)); in LL_SetFlashLatency()
215 if (getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_utils.c309 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
322 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
327 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
334 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
339 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
342 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
352 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
354 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_utils.c245 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
259 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
268 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
277 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
283 if (latency == LL_FLASH_LATENCY_1) in LL_SetFlashLatency()
288 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
292 if (LL_FLASH_GetLatency() != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_utils.c240 uint32_t latency; in LL_SetFlashLatency() local
253 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
260 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
265 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
269 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
279 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
281 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_utils.c380 uint32_t latency; in LL_SetFlashLatency() local
393 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
400 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
405 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
409 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
419 } while ((getlatency != latency) && (timeout > 0u)); in LL_SetFlashLatency()
421 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_utils.c265 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
298 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
310 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
321 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
331 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
341 } while ((getlatency != latency) && (timeout > 0U)); in LL_SetFlashLatency()
343 if (getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_utils.c256 uint32_t latency; in LL_SetFlashLatency() local
288 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
304 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
320 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
330 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
341 while ((getlatency != latency) && (timeout > 0U)); in LL_SetFlashLatency()
343 if (getlatency != latency) in LL_SetFlashLatency()
Dstm32l5xx_hal_rcc.c1938 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
1960 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1965 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1975 latency = FLASH_LATENCY_3; /* 3WS */ in RCC_SetFlashLatencyFromMSIRange()
1982 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1987 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1996 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatencyFromMSIRange()
2000 if ((FLASH->ACR & FLASH_ACR_LATENCY) != latency) in RCC_SetFlashLatencyFromMSIRange()
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_utils.c288 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
301 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
308 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
313 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
319 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
330 while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
332 if (getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_utils.c232 uint32_t latency; in LL_SetFlashLatency() local
245 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
250 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
252 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
262 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
264 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_utils.c281 uint32_t latency; in LL_SetFlashLatency() local
307 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
323 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
333 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
343 } while ((getlatency != latency) && (timeout > 0U)); in LL_SetFlashLatency()
345 if (getlatency != latency) in LL_SetFlashLatency()

12