Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h (1689B)
1 /** 2 ****************************************************************************** 3 * @file system_stm32f1xx.h 4 * @author MCD Application Team 5 * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. 6 ****************************************************************************** 7 * @attention 8 * 9 * Copyright (c) 2017-2021 STMicroelectronics. 10 * All rights reserved. 11 * 12 * This software is licensed under terms that can be found in the LICENSE file 13 * in the root directory of this software component. 14 * If no LICENSE file comes with this software, it is provided AS-IS. 15 * 16 ****************************************************************************** 17 */ 18 19 /** @addtogroup CMSIS 20 * @{ 21 */ 22 23 /** @addtogroup stm32f10x_system 24 * @{ 25 */ 26 27 /** 28 * @brief Define to prevent recursive inclusion 29 */ 30 #ifndef __SYSTEM_STM32F10X_H 31 #define __SYSTEM_STM32F10X_H 32 33 #ifdef __cplusplus 34 extern "C" { 35 #endif 36 37 /** @addtogroup STM32F10x_System_Includes 38 * @{ 39 */ 40 41 /** 42 * @} 43 */ 44 45 /** @addtogroup STM32F10x_System_Exported_types 46 * @{ 47 */ 48 49 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ 50 extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */ 51 extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */ 52 53 /** 54 * @} 55 */ 56 57 /** @addtogroup STM32F10x_System_Exported_Constants 58 * @{ 59 */ 60 61 /** 62 * @} 63 */ 64 65 /** @addtogroup STM32F10x_System_Exported_Macros 66 * @{ 67 */ 68 69 /** 70 * @} 71 */ 72 73 /** @addtogroup STM32F10x_System_Exported_Functions 74 * @{ 75 */ 76 77 extern void SystemInit(void); 78 extern void SystemCoreClockUpdate(void); 79 /** 80 * @} 81 */ 82 83 #ifdef __cplusplus 84 } 85 #endif 86 87 #endif /*__SYSTEM_STM32F10X_H */ 88 89 /** 90 * @} 91 */ 92 93 /** 94 * @} 95 */
