summaryrefslogtreecommitdiff
path: root/include/system_stm32f1xx.h
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2024-06-08 18:45:51 +0200
committerjaseg <git@jaseg.de>2024-06-08 18:45:51 +0200
commitb0d059fb24a77ecb244f0722bba2c163668a7eac (patch)
treef168b2f0242992159d28bc6a054d0281d1af5f15 /include/system_stm32f1xx.h
downloadsubmit-button-fw-b0d059fb24a77ecb244f0722bba2c163668a7eac.tar.gz
submit-button-fw-b0d059fb24a77ecb244f0722bba2c163668a7eac.tar.bz2
submit-button-fw-b0d059fb24a77ecb244f0722bba2c163668a7eac.zip
Initial commit
Diffstat (limited to 'include/system_stm32f1xx.h')
-rw-r--r--include/system_stm32f1xx.h103
1 files changed, 103 insertions, 0 deletions
diff --git a/include/system_stm32f1xx.h b/include/system_stm32f1xx.h
new file mode 100644
index 0000000..196a6eb
--- /dev/null
+++ b/include/system_stm32f1xx.h
@@ -0,0 +1,103 @@
+/**
+ ******************************************************************************
+ * @file system_stm32f0xx.h
+ * @author MCD Application Team
+ * @brief CMSIS Cortex-M0 Device System Source File for STM32F0xx devices.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2016 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/** @addtogroup CMSIS
+ * @{
+ */
+
+/** @addtogroup stm32f0xx_system
+ * @{
+ */
+
+/**
+ * @brief Define to prevent recursive inclusion
+ */
+#ifndef __SYSTEM_STM32F1XX_H
+#define __SYSTEM_STM32F1XX_H
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+/** @addtogroup STM32F0xx_System_Includes
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+
+/** @addtogroup STM32F0xx_System_Exported_types
+ * @{
+ */
+ /* This variable is updated in three ways:
+ 1) by calling CMSIS function SystemCoreClockUpdate()
+ 3) by calling HAL API function HAL_RCC_GetHCLKFreq()
+ 3) by calling HAL API function HAL_RCC_ClockConfig()
+ Note: If you use this function to configure the system clock; then there
+ is no need to call the 2 first functions listed above, since SystemCoreClock
+ variable is updated automatically.
+ */
+extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
+extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
+extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32F0xx_System_Exported_Constants
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32F0xx_System_Exported_Macros
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32F0xx_System_Exported_Functions
+ * @{
+ */
+
+extern void SystemInit(void);
+extern void SystemCoreClockUpdate(void);
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*__SYSTEM_STM32F0XX_H */
+
+/**
+ * @}
+ */
+
+/**
+ * @}
+ */
+