/hal_stm32-3.5.0/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-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_ll_utils.c | 167 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/ |
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-3.5.0/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-3.5.0/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-3.5.0/stm32cube/stm32g4xx/drivers/include/ |
D | stm32g4xx_ll_utils.h | 269 __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/ |
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-3.5.0/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-3.5.0/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-3.5.0/stm32cube/stm32c0xx/drivers/include/ |
D | stm32c0xx_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); 243 void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
|
/hal_stm32-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/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-3.5.0/stm32cube/stm32wbaxx/drivers/include/ |
D | stm32wbaxx_ll_utils.h | 254 __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/ |
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-3.5.0/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);
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/include/ |
D | stm32wlxx_ll_utils.h | 279 __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/ |
D | stm32wbxx_ll_utils.h | 262 __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/ |
D | stm32h5xx_ll_utils.h | 303 __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/ |
D | stm32u5xx_ll_utils.h | 291 __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/ |
D | stm32c0xx_ll_utils.c | 120 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/ |
D | stm32l1xx_ll_utils.c | 146 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/ |
D | stm32wbaxx_ll_utils.c | 143 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()
|