Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
STM32F7xx_System_Private_Functions
[Stm32f7xx_system]
Functions | |
| void | SystemInit (void) |
| Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the SystemFrequency variable. | |
| void | SystemCoreClockUpdate (void) |
| Update SystemCoreClock variable according to Clock Register Values. | |
Function Documentation
| 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.
- Note:
- Each time the core clock (HCLK) changes, this function must be called to update SystemCoreClock variable value. Otherwise, any configuration based on this variable will be incorrect.
- - The system frequency computed by this function is not the real frequency in the chip. It is calculated based on the predefined constant and the selected clock source:
- If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)
- If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)
- If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**) or HSI_VALUE(*) multiplied/divided by the PLL factors.
(*) HSI_VALUE is a constant defined in stm32f7xx.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 stm32f7xx.h file (default value 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.
- Parameters:
-
None
- Return values:
-
None
Definition at line 221 of file ftp_client_demo/src/system_stm32f7xx.c.
| void SystemInit | ( | void | ) |
Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the SystemFrequency variable.
- Parameters:
-
None
- Return values:
-
None
Definition at line 152 of file ftp_client_demo/src/system_stm32f7xx.c.
Generated on Tue Jul 12 2022 17:10:23 by
1.7.2