HAL
LL_SetSystemCoreClock() is only used within HAL.
 
Symbols
loading...
Files
loading...

LL_SetSystemCoreClock() function

This function sets directly SystemCoreClock CMSIS variable.

Syntax

void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
Implemented in stm32f4xx_ll_utils.c:323

Arguments

HCLKFrequency

HCLK frequency in Hz (can be calculated thanks to RCC helper macro)

Return value

None

Notes

Variable can be calculated also through SystemCoreClockUpdate function.

References

LocationReferrerText
stm32f4xx_ll_utils.c:323
void LL_SetSystemCoreClock(uint32_t HCLKFrequency)
stm32f4xx_ll_utils.h:280
void LL_SetSystemCoreClock(uint32_t HCLKFrequency);
stm32f4xx_ll_utils.c:733UTILS_EnablePLLAndSwitchSystem()
LL_SetSystemCoreClock(hclk_frequency);

Call Tree

Functions calling LL_SetSystemCoreClock()
all items filtered out
LL_SetSystemCoreClock()
Data read by LL_SetSystemCoreClock()
Data written by LL_SetSystemCoreClock()
LL_SetSystemCoreClock()
all items filtered out