/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_ll_utils.c | 170 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/ |
D | stm32g4xx_ll_utils.c | 170 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/ |
D | stm32l5xx_ll_utils.c | 148 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/ |
D | stm32g0xx_ll_utils.c | 153 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/ |
D | stm32l0xx_ll_utils.h | 219 __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/ |
D | stm32wbaxx_ll_utils.h | 256 __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/ |
D | stm32l4xx_ll_utils.h | 280 __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/ |
D | stm32l5xx_ll_utils.h | 280 __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/ |
D | stm32g4xx_ll_utils.h | 281 __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/ |
D | stm32h5xx_ll_utils.h | 310 __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/ |
D | stm32g0xx_ll_utils.h | 296 __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/ |
D | stm32u5xx_ll_utils.h | 293 __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/ |
D | stm32wbaxx_ll_utils.c | 143 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/ |
D | stm32u5xx_ll_utils.c | 171 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/ |
D | stm32wb0x_ll_utils.c | 97 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/ |
D | stm32c0xx_ll_utils.c | 71 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/ |
D | stm32l1xx_ll_utils.h | 221 __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/ |
D | stm32f0xx_ll_utils.h | 219 __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/ |
D | stm32f3xx_ll_utils.h | 231 __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/ |
D | stm32f2xx_ll_utils.h | 224 __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/ |
D | stm32c0xx_ll_utils.h | 217 __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/ |
D | stm32wb0x_ll_utils.h | 259 __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/ |
D | stm32f7xx_ll_utils.h | 256 __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/ |
D | stm32f1xx_ll_utils.h | 218 __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/ |
D | stm32f4xx_ll_utils.h | 260 __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);
|