100100 1) by calling CMSIS function SystemCoreClockUpdate()
101101 2) by calling HAL API function HAL_RCC_GetHCLKFreq()
102102 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
103- Note: If you use this function to configure the system clock there is no need to
104- call the 2 first functions listed above, since SystemCoreClock variable is
105- updated automatically.
103+ Note: If you use this function to configure the system clock; then there
104+ is no need to call the 2 first functions listed above, since SystemCoreClock
105+ variable is updated automatically.
106106 */
107107uint32_t SystemCoreClock = 8000000 ;
108108
@@ -126,7 +126,7 @@ const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
126126 */
127127
128128/**
129- * @brief Setup the microcontroller system.
129+ * @brief Setup the microcontroller system
130130 * @param None
131131 * @retval None
132132 */
@@ -212,14 +212,14 @@ void SystemInit(void)
212212 * - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**)
213213 * or HSI_VALUE(*) multiplied/divided by the PLL factors.
214214 *
215- * (*) HSI_VALUE is a constant defined in stm32f0xx_hal .h file (default value
215+ * (*) HSI_VALUE is a constant defined in stm32f0xx_hal_conf .h file (default value
216216 * 8 MHz) but the real value may vary depending on the variations
217217 * in voltage and temperature.
218218 *
219- * (**) HSE_VALUE is a constant defined in stm32f0xx_hal .h file (default value
220- * 8 MHz ), user has to ensure that HSE_VALUE is same as the real
221- * frequency of the crystal used. Otherwise, this function may
222- * have wrong result.
219+ * (**) HSE_VALUE is a constant defined in stm32f0xx_hal_conf .h file (its value
220+ * depends on the application requirements ), user has to ensure that HSE_VALUE
221+ * is same as the real frequency of the crystal used. Otherwise, this function
222+ * may have wrong result.
223223 *
224224 * - The result of this function could be not correct when using fractional
225225 * value for HSE crystal.
0 commit comments