mikroSDK Reference Manual
system_stm32f2xx.h
Go to the documentation of this file.
1
31#ifndef __SYSTEM_STM32F2XX_H
32#define __SYSTEM_STM32F2XX_H
33
34#ifdef __cplusplus
35 extern "C" {
36#endif
37
50 /* This variable is updated in three ways:
51 1) by calling CMSIS function SystemCoreClockUpdate()
52 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
53 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
54 Note: If you use this function to configure the system clock; then there
55 is no need to call the 2 first functions listed above, since SystemCoreClock
56 variable is updated automatically.
57 */
58extern uint32_t SystemCoreClock;
60extern const uint8_t AHBPrescTable[16];
61extern const uint8_t APBPrescTable[8];
87extern void SystemInit(void);
88extern void SystemCoreClockUpdate(void);
93#ifdef __cplusplus
94}
95#endif
96
97#endif /*__SYSTEM_STM32F2XX_H */
98
106/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
const uint8_t APBPrescTable[8]
const uint8_t AHBPrescTable[16]
uint32_t SystemCoreClock