-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsystem_stm32f1xx.h
33 lines (24 loc) · 1.02 KB
/
system_stm32f1xx.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*!****************************************************************************
* @file
* system_stm32f1xx.h
*
* @brief
* Early system initialisation
*
* @date 19.08.2023
******************************************************************************/
#ifndef SYSTEM_STM32F1xx_H_
#define SYSTEM_STM32F1xx_H_
/*- Header files -------------------------------------------------------------*/
#include <stdint.h>
/*- Global Variables ---------------------------------------------------------*/
/*! AHB Prescaler shift Look-Up Table */
extern const uint8_t AHBPrescTable[16];
/*! APB Prescaler shift Look-Up Table */
extern const uint8_t APBPrescTable[8];
/*! Calculated SYSCLK frequency in Hz */
extern volatile uint32_t SystemCoreClock;
/*- Exported methods ---------------------------------------------------------*/
void SystemInit(void);
void SystemCoreClockUpdate(void);
#endif /* SYSTEM_STM32F1xx_H_ */