Loading...
Searching...
No Matches
system_stm32f4xx.h
Go to the documentation of this file.
1
35
39
43
47#ifndef __SYSTEM_STM32F4XX_H
48#define __SYSTEM_STM32F4XX_H
49
50#ifdef __cplusplus
51 extern "C" {
52#endif
53
57
61
62
66 /* This variable is updated in three ways:
67 1) by calling CMSIS function SystemCoreClockUpdate()
68 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
69 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
70 Note: If you use this function to configure the system clock; then there
71 is no need to call the 2 first functions listed above, since SystemCoreClock
72 variable is updated automatically.
73 */
74extern uint32_t SystemCoreClock;
75
76extern const uint8_t AHBPrescTable[16];
77extern const uint8_t APBPrescTable[8];
78
82
86
90
94
98
102
103extern void SystemInit(void);
104extern void SystemCoreClockUpdate(void);
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif /*__SYSTEM_STM32F4XX_H */
114
118
122/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
void SystemInit(void)
Setup the microcontroller system Initialize the FPU setting, vector table location and External memor...
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable cont...
const uint8_t APBPrescTable[8]
const uint8_t AHBPrescTable[16]
uint32_t SystemCoreClock