STM CMSIS
system_stm32f4xx.h
Go to the documentation of this file.
1 
49 #ifndef __SYSTEM_STM32F4XX_H
50 #define __SYSTEM_STM32F4XX_H
51 
52 #ifdef __cplusplus
53  extern "C" {
54 #endif
55 
68  /* This variable is updated in three ways:
69  1) by calling CMSIS function SystemCoreClockUpdate()
70  2) by calling HAL API function HAL_RCC_GetSysClockFreq()
71  3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
72  Note: If you use this function to configure the system clock; then there
73  is no need to call the 2 first functions listed above, since SystemCoreClock
74  variable is updated automatically.
75  */
76 extern uint32_t SystemCoreClock;
103 extern void SystemInit(void);
104 extern void SystemCoreClockUpdate(void);
109 #ifdef __cplusplus
110 }
111 #endif
112 
113 #endif /*__SYSTEM_STM32F4XX_H */
114 
122 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable cont...
Definition: system_stm32f4xx.c:242
uint32_t SystemCoreClock
Definition: system_stm32f4xx.c:139
void SystemInit(void)
Setup the microcontroller system Initialize the FPU setting, vector table location and External memor...
Definition: system_stm32f4xx.c:169