My Project
Loading...
Searching...
No Matches
system_stm32f3xx.h
Go to the documentation of this file.
1
30#ifndef __SYSTEM_STM32F3XX_H
31#define __SYSTEM_STM32F3XX_H
32
33#ifdef __cplusplus
34 extern "C" {
35#endif
36
49 /* This variable is updated in three ways:
50 1) by calling CMSIS function SystemCoreClockUpdate()
51 3) by calling HAL API function HAL_RCC_GetHCLKFreq()
52 3) by calling HAL API function HAL_RCC_ClockConfig()
53 Note: If you use this function to configure the system clock; then there
54 is no need to call the 2 first functions listed above, since SystemCoreClock
55 variable is updated automatically.
56 */
57extern uint32_t SystemCoreClock;
58extern const uint8_t AHBPrescTable[16];
59extern const uint8_t APBPrescTable[8];
86extern void SystemInit(void);
87extern void SystemCoreClockUpdate(void);
92#ifdef __cplusplus
93}
94#endif
95
96#endif /*__SYSTEM_STM32F3XX_H */
97
void SystemInit(void)
Setup the microcontroller system.
Definition: system_stm32f3xx.c:170
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable according to Clock Register Values.
Definition: system_stm32f3xx.c:219
const uint8_t APBPrescTable[8]
Definition: system_stm32f3xx.c:147
const uint8_t AHBPrescTable[16]
Definition: system_stm32f3xx.c:146
uint32_t SystemCoreClock
Definition: system_stm32f3xx.c:144