Home
last modified time | relevance | path

Searched refs:HCLKFrequency (Results 1 – 25 of 43) sorted by relevance

12

/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_utils.c170 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
173 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
278 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
281 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
292 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency) in LL_SetFlashLatency() argument
299 if ((HCLKFrequency == 0U) || (HCLKFrequency > UTILS_MAX_FREQUENCY_SCALE1)) in LL_SetFlashLatency()
309 if(HCLKFrequency > UTILS_SCALE1_LATENCY5_FREQ) in LL_SetFlashLatency()
314 else if(HCLKFrequency > UTILS_SCALE1_LATENCY4_FREQ) in LL_SetFlashLatency()
319 else if(HCLKFrequency > UTILS_SCALE1_LATENCY3_FREQ) in LL_SetFlashLatency()
324 else if(HCLKFrequency > UTILS_SCALE1_LATENCY2_FREQ) in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_utils.c170 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
173 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
257 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
260 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
271 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency) in LL_SetFlashLatency() argument
282 if((HCLKFrequency == 0U) || (HCLKFrequency > UTILS_SCALE1_LATENCY5_BOOST_FREQ)) in LL_SetFlashLatency()
290 if(HCLKFrequency > UTILS_SCALE1_LATENCY4_BOOST_FREQ) in LL_SetFlashLatency()
295 else if(HCLKFrequency > UTILS_SCALE1_LATENCY3_BOOST_FREQ) in LL_SetFlashLatency()
300 else if(HCLKFrequency > UTILS_SCALE1_LATENCY2_BOOST_FREQ) in LL_SetFlashLatency()
307 if(HCLKFrequency > UTILS_SCALE1_LATENCY1_BOOST_FREQ) in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_utils.c148 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
151 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
238 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
241 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
252 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency) in LL_SetFlashLatency() argument
277 if (HCLKFrequency != 0U) in LL_SetFlashLatency()
282 if (HCLKFrequency <= UTILS_MAX_FREQUENCY_SCALE0) in LL_SetFlashLatency()
286 if (HCLKFrequency <= UTILS_CLK_SRC_RANGE_VOS0[index]) in LL_SetFlashLatency()
298 if (HCLKFrequency <= UTILS_MAX_FREQUENCY_SCALE1) in LL_SetFlashLatency()
302 if (HCLKFrequency <= UTILS_CLK_SRC_RANGE_VOS1[index]) in LL_SetFlashLatency()
[all …]
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/src/
Dstm32g0xx_ll_utils.c153 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
156 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
235 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
238 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
376 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency) in LL_SetFlashLatency() argument
384 if ((HCLKFrequency == 0U) || (HCLKFrequency > UTILS_SCALE1_LATENCY3_FREQ)) in LL_SetFlashLatency()
390 if (HCLKFrequency > UTILS_SCALE1_LATENCY2_FREQ) in LL_SetFlashLatency()
397 if (HCLKFrequency > UTILS_SCALE1_LATENCY1_FREQ) in LL_SetFlashLatency()
/hal_stm32-latest/stm32cube/stm32l0xx/drivers/include/
Dstm32l0xx_ll_utils.h219 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
222 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
228 void LL_Init1msTick(uint32_t HCLKFrequency);
239 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
240 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_ll_utils.h256 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
259 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
265 void LL_Init1msTick(uint32_t HCLKFrequency);
266 void LL_Init1msTick_HCLK_Div8(uint32_t HCLKFrequency);
279 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_utils.h280 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
283 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
289 void LL_Init1msTick(uint32_t HCLKFrequency);
300 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
301 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_utils.h280 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
283 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
289 void LL_Init1msTick(uint32_t HCLKFrequency);
300 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
301 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_utils.h281 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
284 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
290 void LL_Init1msTick(uint32_t HCLKFrequency);
301 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
302 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_utils.h310 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
313 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
319 void LL_Init1msTick(uint32_t HCLKFrequency);
320 void LL_Init1msTick_HCLK_Div8(uint32_t HCLKFrequency);
333 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32g0xx/drivers/include/
Dstm32g0xx_ll_utils.h296 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
299 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
305 void LL_Init1msTick(uint32_t HCLKFrequency);
316 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
321 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_utils.h293 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
296 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
302 void LL_Init1msTick(uint32_t HCLKFrequency);
303 void LL_Init1msTick_HCLK_Div8(uint32_t HCLKFrequency);
326 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/
Dstm32wbaxx_ll_utils.c143 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
146 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
156 void LL_Init1msTick_HCLK_Div8(uint32_t HCLKFrequency) in LL_Init1msTick_HCLK_Div8() argument
159 SysTick->LOAD = (uint32_t)((HCLKFrequency / 8000U) - 1UL); in LL_Init1msTick_HCLK_Div8()
273 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
276 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_utils.c171 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
174 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
185 void LL_Init1msTick_HCLK_Div8(uint32_t HCLKFrequency) in LL_Init1msTick_HCLK_Div8() argument
188 SysTick->LOAD = (uint32_t)((HCLKFrequency / 8000U) - 1UL); in LL_Init1msTick_HCLK_Div8()
305 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
308 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/
Dstm32wb0x_ll_utils.c97 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
100 LL_InitTick(HCLKFrequency, 1000); in LL_Init1msTick()
156 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
159 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_utils.c71 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
74 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
153 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
156 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_utils.h221 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
224 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
230 void LL_Init1msTick(uint32_t HCLKFrequency);
241 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/include/
Dstm32f0xx_ll_utils.h219 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
222 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
228 void LL_Init1msTick(uint32_t HCLKFrequency);
239 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_ll_utils.h231 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
234 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
240 void LL_Init1msTick(uint32_t HCLKFrequency);
251 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/include/
Dstm32f2xx_ll_utils.h224 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
227 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
233 void LL_Init1msTick(uint32_t HCLKFrequency);
244 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_ll_utils.h217 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
220 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
226 void LL_Init1msTick(uint32_t HCLKFrequency);
236 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/include/
Dstm32wb0x_ll_utils.h259 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
262 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
268 void LL_Init1msTick(uint32_t HCLKFrequency);
280 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/include/
Dstm32f7xx_ll_utils.h256 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
259 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
265 void LL_Init1msTick(uint32_t HCLKFrequency);
276 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/include/
Dstm32f1xx_ll_utils.h218 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
221 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
227 void LL_Init1msTick(uint32_t HCLKFrequency);
238 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/include/
Dstm32f4xx_ll_utils.h260 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
263 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
269 void LL_Init1msTick(uint32_t HCLKFrequency);
280 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);

12