Each time HCLK changes, this function must be called to update the right HCLK value. Otherwise, any configuration based on this function will be incorrect. The SystemCoreClock CMSIS variable is used to store System Clock Frequency and updated within this function
Examples
HAL_RCC_GetHCLKFreq() is referenced by 25 libraries and example projects: