DIY Logging Volt/Ampmeter
system_stm32f1xx.h
Go to the documentation of this file.
1 /**
2  ******************************************************************************
3  * @file system_stm32f10x.h
4  * @author MCD Application Team
5  * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
6  ******************************************************************************
7  * @attention
8  *
9  * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
10  * All rights reserved.</center></h2>
11  *
12  * This software component is licensed by ST under BSD 3-Clause license,
13  * the "License"; You may not use this file except in compliance with the
14  * License. You may obtain a copy of the License at:
15  * opensource.org/licenses/BSD-3-Clause
16  *
17  ******************************************************************************
18  */
19 
20 /** @addtogroup CMSIS
21  * @{
22  */
23 
24 /** @addtogroup stm32f10x_system
25  * @{
26  */
27 
28 /**
29  * @brief Define to prevent recursive inclusion
30  */
31 #ifndef __SYSTEM_STM32F10X_H
32 #define __SYSTEM_STM32F10X_H
33 
34 #ifdef __cplusplus
35  extern "C" {
36 #endif
37 
38 /** @addtogroup STM32F10x_System_Includes
39  * @{
40  */
41 
42 /**
43  * @}
44  */
45 
46 
47 /** @addtogroup STM32F10x_System_Exported_types
48  * @{
49  */
50 
51 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
52 extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */
53 extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */
54 
55 /**
56  * @}
57  */
58 
59 /** @addtogroup STM32F10x_System_Exported_Constants
60  * @{
61  */
62 
63 /**
64  * @}
65  */
66 
67 /** @addtogroup STM32F10x_System_Exported_Macros
68  * @{
69  */
70 
71 /**
72  * @}
73  */
74 
75 /** @addtogroup STM32F10x_System_Exported_Functions
76  * @{
77  */
78 
79 extern void SystemInit(void);
80 extern void SystemCoreClockUpdate(void);
81 /**
82  * @}
83  */
84 
85 #ifdef __cplusplus
86 }
87 #endif
88 
89 #endif /*__SYSTEM_STM32F10X_H */
90 
91 /**
92  * @}
93  */
94 
95 /**
96  * @}
97  */
98 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
SystemCoreClockUpdate
void SystemCoreClockUpdate(void)
Update SystemCoreClock variable according to Clock Register Values. The SystemCoreClock variable cont...
Definition: system_stm32f1xx.c:225
SystemInit
void SystemInit(void)
Setup the microcontroller system Initialize the Embedded Flash Interface, the PLL and update the Syst...
Definition: system_stm32f1xx.c:176
APBPrescTable
const uint8_t APBPrescTable[8U]
Definition: system_stm32f1xx.c:144
AHBPrescTable
const uint8_t AHBPrescTable[16U]
Definition: system_stm32f1xx.c:143
SystemCoreClock
uint32_t SystemCoreClock
Definition: system_stm32f1xx.c:142