Functions | |
void | SystemCoreClockUpdate (void) |
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable contains the core clock (HCLK), it can be used by the user application to setup the SysTick timer or configure other parameters. More... | |
void | SystemInit (void) |
Setup the microcontroller system Initialize the FPU setting, vector table location and External memory configuration. More... | |
void SystemCoreClockUpdate | ( | void | ) |
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable contains the core clock (HCLK), it can be used by the user application to setup the SysTick timer or configure other parameters.
Updates the SystemCoreClock variable.
(*) HSI_VALUE is a constant defined in stm32f4xx_hal_conf.h file (default value 16 MHz) but the real value may vary depending on the variations in voltage and temperature.
(**) HSE_VALUE is a constant defined in stm32f4xx_hal_conf.h file (its value depends on the application requirements), user has to ensure that HSE_VALUE is same as the real frequency of the crystal used. Otherwise, this function may have wrong result.
None |
None |
Definition at line 217 of file stm32f407/stm32f407g-disc1/Src/system_stm32f4xx.c.
void SystemInit | ( | void | ) |
Setup the microcontroller system Initialize the FPU setting, vector table location and External memory configuration.
Setup the microcontroller system.
None |
None |
Definition at line 148 of file stm32f407/stm32f407g-disc1/Src/system_stm32f4xx.c.