2 ******************************************************************************
3 * @file system_stm32h7xx.h
4 * @author MCD Application Team
5 * @brief CMSIS Cortex-Mx Device System Source File for STM32H7xx devices.
6 ******************************************************************************
9 * <h2><center>© Copyright (c) 2017 STMicroelectronics.
10 * All rights reserved.</center></h2>
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
17 ******************************************************************************
24 /** @addtogroup stm32h7xx_system
29 * @brief Define to prevent recursive inclusion
31 #ifndef SYSTEM_STM32H7XX_H
32 #define SYSTEM_STM32H7XX_H
38 /** @addtogroup STM32H7xx_System_Includes
47 /** @addtogroup STM32H7xx_System_Exported_types
50 /* This variable is updated in three ways:
51 1) by calling CMSIS function SystemCoreClockUpdate()
52 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
53 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
54 Note: If you use this function to configure the system clock; then there
55 is no need to call the 2 first functions listed above, since SystemCoreClock
56 variable is updated automatically.
58 extern uint32_t SystemCoreClock
; /*!< System Domain1 Clock Frequency */
59 extern uint32_t SystemD2Clock
; /*!< System Domain2 Clock Frequency */
60 extern const uint8_t D1CorePrescTable
[16] ; /*!< D1CorePrescTable prescalers table values */
66 /** @addtogroup STM32H7xx_System_Exported_Constants
74 /** @addtogroup STM32H7xx_System_Exported_Macros
82 /** @addtogroup STM32H7xx_System_Exported_Functions
86 extern void SystemInit(void);
87 extern void SystemCoreClockUpdate(void);
96 #endif /* SYSTEM_STM32H7XX_H */
105 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/