aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stm32h7/include/system_stm32h7xx.h
diff options
context:
space:
mode:
authorD4SK <konstantin.vogel@gmx.net>2021-02-10 15:07:48 +0000
committerKevin O'Connor <kevin@koconnor.net>2021-10-06 18:17:06 -0400
commit53b98ebaed74971fee8c7c151ee803eecc4e2532 (patch)
tree9490026fd6ae693322792f861d9e97912d945617 /lib/stm32h7/include/system_stm32h7xx.h
parent309fbbc1043ae7d0f618d947b67c00a66dbc668c (diff)
downloadkutter-53b98ebaed74971fee8c7c151ee803eecc4e2532.tar.gz
kutter-53b98ebaed74971fee8c7c151ee803eecc4e2532.tar.xz
kutter-53b98ebaed74971fee8c7c151ee803eecc4e2532.zip
lib: Added cmsis libraries for stm32h7
Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'lib/stm32h7/include/system_stm32h7xx.h')
-rw-r--r--lib/stm32h7/include/system_stm32h7xx.h105
1 files changed, 105 insertions, 0 deletions
diff --git a/lib/stm32h7/include/system_stm32h7xx.h b/lib/stm32h7/include/system_stm32h7xx.h
new file mode 100644
index 00000000..34f8495b
--- /dev/null
+++ b/lib/stm32h7/include/system_stm32h7xx.h
@@ -0,0 +1,105 @@
+/**
+ ******************************************************************************
+ * @file system_stm32h7xx.h
+ * @author MCD Application Team
+ * @brief CMSIS Cortex-Mx Device System Source File for STM32H7xx devices.
+ ******************************************************************************
+ * @attention
+ *
+ * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
+ * All rights reserved.</center></h2>
+ *
+ * This software component is licensed by ST under BSD 3-Clause license,
+ * the "License"; You may not use this file except in compliance with the
+ * License. You may obtain a copy of the License at:
+ * opensource.org/licenses/BSD-3-Clause
+ *
+ ******************************************************************************
+ */
+
+/** @addtogroup CMSIS
+ * @{
+ */
+
+/** @addtogroup stm32h7xx_system
+ * @{
+ */
+
+/**
+ * @brief Define to prevent recursive inclusion
+ */
+#ifndef SYSTEM_STM32H7XX_H
+#define SYSTEM_STM32H7XX_H
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+/** @addtogroup STM32H7xx_System_Includes
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+
+/** @addtogroup STM32H7xx_System_Exported_types
+ * @{
+ */
+ /* This variable is updated in three ways:
+ 1) by calling CMSIS function SystemCoreClockUpdate()
+ 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
+ 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
+ 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 Domain1 Clock Frequency */
+extern uint32_t SystemD2Clock; /*!< System Domain2 Clock Frequency */
+extern const uint8_t D1CorePrescTable[16] ; /*!< D1CorePrescTable prescalers table values */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32H7xx_System_Exported_Constants
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32H7xx_System_Exported_Macros
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32H7xx_System_Exported_Functions
+ * @{
+ */
+
+extern void SystemInit(void);
+extern void SystemCoreClockUpdate(void);
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* SYSTEM_STM32H7XX_H */
+
+/**
+ * @}
+ */
+
+/**
+ * @}
+ */
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/