Functions | |
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 , it can be used by the user application to setup the SysTick timer or configure other parameters. More... | |
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable contains the core clock , it can be used by the user application to setup the SysTick timer or configure other parameters.
(*) CSI_VALUE is a constant defined in stm32h7xx_hal.h file (defaultvalue 4 MHz) but the real value may vary depending on the variations in voltage and temperature. (**) HSI_VALUE is a constant defined in stm32h7xx_hal.h file (default value 64 MHz) but the real value may vary depending on the variations in voltage and temperature.
(***)HSE_VALUE is a constant defined in stm32h7xx_hal.h file (defaultvalue 25 MHz), user has to ensure that HSE_VALUE is same as the real frequency of the crystal used. Otherwise, this function may have wrong result.
The result of this function could be not correct when using fractional value for HSE crystal.
None |
None |
References CSI_VALUE, D1CorePrescTable, HSE_VALUE, HSI_VALUE, SystemCoreClock, and SystemD2Clock.
Setup the microcontroller system Initialize the FPU setting, vector table location and External memory configuration.
None |
None |
References VECT_TAB_OFFSET.