Home
last modified time | relevance | path

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

12

/hal_stm32-3.5.0/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-3.5.0/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_utils.c167 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
170 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
263 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
266 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
277 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency) in LL_SetFlashLatency() argument
286 if((HCLKFrequency == 0U) || (HCLKFrequency > UTILS_SCALE1_LATENCY9_FREQ)) in LL_SetFlashLatency()
294 if(HCLKFrequency > UTILS_SCALE1_LATENCY8_FREQ) in LL_SetFlashLatency()
299 else if(HCLKFrequency > UTILS_SCALE1_LATENCY7_FREQ) in LL_SetFlashLatency()
304 else if(HCLKFrequency > UTILS_SCALE1_LATENCY6_FREQ) in LL_SetFlashLatency()
309 else if(HCLKFrequency > UTILS_SCALE1_LATENCY5_FREQ) in LL_SetFlashLatency()
[all …]
/hal_stm32-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_utils.h269 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
272 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
278 void LL_Init1msTick(uint32_t HCLKFrequency);
289 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
290 ErrorStatus LL_SetFlashLatency(uint32_t HCLKFrequency);
/hal_stm32-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/stm32cube/stm32c0xx/drivers/include/
Dstm32c0xx_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);
243 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/stm32cube/stm32wbaxx/drivers/include/
Dstm32wbaxx_ll_utils.h254 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
257 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
263 void LL_Init1msTick(uint32_t HCLKFrequency);
274 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-3.5.0/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-3.5.0/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);
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/include/
Dstm32wlxx_ll_utils.h279 __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()
291 void LL_Init1msTick(uint32_t HCLKFrequency);
303 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/include/
Dstm32wbxx_ll_utils.h262 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
265 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
271 void LL_Init1msTick(uint32_t HCLKFrequency);
283 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_utils.h303 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
306 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
312 void LL_Init1msTick(uint32_t HCLKFrequency);
323 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_utils.h291 __STATIC_INLINE void LL_InitTick(uint32_t HCLKFrequency, uint32_t Ticks) in LL_InitTick() argument
294 SysTick->LOAD = (uint32_t)((HCLKFrequency / Ticks) - 1UL); /* set reload register */ in LL_InitTick()
300 void LL_Init1msTick(uint32_t HCLKFrequency);
321 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
/hal_stm32-3.5.0/stm32cube/stm32c0xx/drivers/src/
Dstm32c0xx_ll_utils.c120 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
123 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
202 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
205 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_utils.c146 void LL_Init1msTick(uint32_t HCLKFrequency) in LL_Init1msTick() argument
149 LL_InitTick(HCLKFrequency, 1000U); in LL_Init1msTick()
226 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
229 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()
/hal_stm32-3.5.0/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()
231 void LL_SetSystemCoreClock(uint32_t HCLKFrequency) in LL_SetSystemCoreClock() argument
234 SystemCoreClock = HCLKFrequency; in LL_SetSystemCoreClock()

12