Home
last modified time | relevance | path

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

/hal_stm32-2.7.6/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_utils.c343 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
357 if((HCLK_Frequency > UTILS_SCALE1_LATENCY5_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
359 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
363 if((HCLK_Frequency > UTILS_SCALE1_LATENCY4_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
365 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
369 if((HCLK_Frequency > UTILS_SCALE1_LATENCY3_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
371 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
375 if((HCLK_Frequency > UTILS_SCALE1_LATENCY2_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
377 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
381 if((HCLK_Frequency > UTILS_SCALE1_LATENCY1_FREQ)&&(latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_utils.c331 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
348 latency = LL_FLASH_LATENCY_7; in LL_SetFlashLatency()
353 latency = LL_FLASH_LATENCY_6; in LL_SetFlashLatency()
356 if((HCLK_Frequency > UTILS_SCALE1_LATENCY5_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
359 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
361 else if((HCLK_Frequency > UTILS_SCALE1_LATENCY4_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
364 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
366 else if((HCLK_Frequency > UTILS_SCALE1_LATENCY3_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
369 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
371 else if((HCLK_Frequency > UTILS_SCALE1_LATENCY2_FREQ) && (latency == LL_FLASH_LATENCY_0)) in LL_SetFlashLatency()
[all …]
/hal_stm32-2.7.6/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-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_utils.c278 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
296 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
301 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
306 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
311 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
328 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
333 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
338 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
355 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
360 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
[all …]
Dstm32u5xx_hal_rcc.c2111 uint32_t latency; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
2130 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
2135 latency = FLASH_LATENCY_0; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
2145 latency = FLASH_LATENCY_3; /* 3WS */ in RCC_SetFlashLatencyFromMSIRange()
2161 latency = FLASH_LATENCY_0; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
2165 latency = FLASH_LATENCY_1; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
2170 latency = FLASH_LATENCY_0; /* 0WS */ in RCC_SetFlashLatencyFromMSIRange()
2180 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
2184 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
2189 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_utils.c297 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
313 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
318 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
323 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
328 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
335 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
343 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
348 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
353 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
360 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
[all …]
Dstm32l4xx_hal_rcc.c1774 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
1795 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1800 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1812 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1819 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1827 latency = FLASH_LATENCY_3; /* 3WS */ in RCC_SetFlashLatencyFromMSIRange()
1834 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1839 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1846 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatencyFromMSIRange()
1850 if(__HAL_FLASH_GET_LATENCY() != latency) in RCC_SetFlashLatencyFromMSIRange()
/hal_stm32-2.7.6/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_utils.c284 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
298 latency = LL_FLASH_LATENCY_8; in LL_SetFlashLatency()
303 latency = LL_FLASH_LATENCY_7; in LL_SetFlashLatency()
308 latency = LL_FLASH_LATENCY_6; in LL_SetFlashLatency()
313 latency = LL_FLASH_LATENCY_5; in LL_SetFlashLatency()
318 latency = LL_FLASH_LATENCY_4; in LL_SetFlashLatency()
323 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
328 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
335 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
345 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
[all …]
/hal_stm32-2.7.6/stm32cube/stm32l0xx/drivers/src/
Dstm32l0xx_ll_utils.c243 uint32_t latency; in LL_SetFlashLatency() local
258 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
263 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
271 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
276 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
284 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
289 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
295 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
305 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
307 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-2.7.6/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_utils.c310 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
323 latency = LL_FLASH_LATENCY_3; in LL_SetFlashLatency()
328 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
335 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
340 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
345 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
355 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
357 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-2.7.6/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_utils.c246 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
260 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
269 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
278 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
284 if (latency == LL_FLASH_LATENCY_1) in LL_SetFlashLatency()
289 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
293 if (LL_FLASH_GetLatency() != latency) in LL_SetFlashLatency()
Dstm32l1xx_hal_rcc.c1346 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
1365 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1369 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatencyFromMSIRange()
1373 if(__HAL_FLASH_GET_LATENCY() != latency) in RCC_SetFlashLatencyFromMSIRange()
/hal_stm32-2.7.6/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_utils.c381 uint32_t latency; in LL_SetFlashLatency() local
394 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
401 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
406 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
410 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
420 } while ((getlatency != latency) && (timeout > 0u)); in LL_SetFlashLatency()
422 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-2.7.6/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_utils.c241 uint32_t latency; in LL_SetFlashLatency() local
254 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
261 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
266 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
272 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
282 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
284 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_utils.c257 uint32_t latency; in LL_SetFlashLatency() local
289 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
305 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()
342 while ((getlatency != latency) && (timeout > 0U)); in LL_SetFlashLatency()
344 if (getlatency != latency) in LL_SetFlashLatency()
Dstm32l5xx_hal_rcc.c1894 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatencyFromMSIRange() local
1916 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1921 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1931 latency = FLASH_LATENCY_3; /* 3WS */ in RCC_SetFlashLatencyFromMSIRange()
1938 latency = FLASH_LATENCY_2; /* 2WS */ in RCC_SetFlashLatencyFromMSIRange()
1943 latency = FLASH_LATENCY_1; /* 1WS */ in RCC_SetFlashLatencyFromMSIRange()
1952 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatencyFromMSIRange()
1956 if ((FLASH->ACR & FLASH_ACR_LATENCY) != latency) in RCC_SetFlashLatencyFromMSIRange()
/hal_stm32-2.7.6/stm32cube/stm32wbxx/drivers/src/
Dstm32wbxx_ll_utils.c262 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
295 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
307 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
318 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
328 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
339 while ((getlatency != latency) && (timeout > 0U)); in LL_SetFlashLatency()
341 if (getlatency != latency) in LL_SetFlashLatency()
Dstm32wbxx_hal_rcc.c1796 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatency() local
1806 latency = FLASH_LATENCY_RANGE[index]; in RCC_SetFlashLatency()
1817 latency = FLASH_LATENCY_RANGE[index]; in RCC_SetFlashLatency()
1827 latency = FLASH_LATENCY_RANGE[index]; in RCC_SetFlashLatency()
1833 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatency()
1840 while (__HAL_FLASH_GET_LATENCY() != latency) in RCC_SetFlashLatency()
/hal_stm32-2.7.6/stm32cube/stm32f0xx/drivers/src/
Dstm32f0xx_ll_utils.c233 uint32_t latency; in LL_SetFlashLatency() local
246 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
251 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
255 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
265 } while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
267 if(getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-2.7.6/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_utils.c289 uint32_t latency = LL_FLASH_LATENCY_0; /* default value 0WS */ in LL_SetFlashLatency() local
302 latency = LL_FLASH_LATENCY_2; in LL_SetFlashLatency()
309 latency = LL_FLASH_LATENCY_1; in LL_SetFlashLatency()
314 latency = LL_FLASH_LATENCY_0; in LL_SetFlashLatency()
320 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
331 while ((getlatency != latency) && (timeout > 0)); in LL_SetFlashLatency()
333 if (getlatency != latency) in LL_SetFlashLatency()
/hal_stm32-2.7.6/stm32cube/stm32wlxx/drivers/src/
Dstm32wlxx_ll_utils.c282 uint32_t latency; in LL_SetFlashLatency() local
308 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
324 latency = UTILS_LATENCY_RANGE[index]; in LL_SetFlashLatency()
334 LL_FLASH_SetLatency(latency); in LL_SetFlashLatency()
344 } while ((getlatency != latency) && (timeout > 0U)); in LL_SetFlashLatency()
346 if (getlatency != latency) in LL_SetFlashLatency()
Dstm32wlxx_hal_rcc.c1666 uint32_t latency = FLASH_LATENCY_0; /* default value 0WS */ in RCC_SetFlashLatency() local
1675 latency = FLASH_LATENCY_RANGE[index]; in RCC_SetFlashLatency()
1686 latency = FLASH_LATENCY_RANGE[index]; in RCC_SetFlashLatency()
1692 __HAL_FLASH_SET_LATENCY(latency); in RCC_SetFlashLatency()
1699 while (__HAL_FLASH_GET_LATENCY() != latency) in RCC_SetFlashLatency()