![]() |
|
|||
File indexing completed on 2025-05-11 08:23:38
0001 /** 0002 ****************************************************************************** 0003 * @file system_stm32h7xx.h 0004 * @author MCD Application Team 0005 * @brief CMSIS Cortex-Mx Device System Source File for STM32H7xx devices. 0006 ****************************************************************************** 0007 * @attention 0008 * 0009 * Copyright (c) 2017 STMicroelectronics. 0010 * All rights reserved. 0011 * 0012 * This software is licensed under terms that can be found in the LICENSE file 0013 * in the root directory of this software component. 0014 * If no LICENSE file comes with this software, it is provided AS-IS. 0015 * 0016 ****************************************************************************** 0017 */ 0018 0019 /** @addtogroup CMSIS 0020 * @{ 0021 */ 0022 0023 /** @addtogroup stm32h7xx_system 0024 * @{ 0025 */ 0026 0027 /** 0028 * @brief Define to prevent recursive inclusion 0029 */ 0030 #ifndef SYSTEM_STM32H7XX_H 0031 #define SYSTEM_STM32H7XX_H 0032 0033 #ifdef __cplusplus 0034 extern "C" { 0035 #endif 0036 0037 /** @addtogroup STM32H7xx_System_Includes 0038 * @{ 0039 */ 0040 0041 /** 0042 * @} 0043 */ 0044 0045 0046 /** @addtogroup STM32H7xx_System_Exported_types 0047 * @{ 0048 */ 0049 /* This variable is updated in three ways: 0050 1) by calling CMSIS function SystemCoreClockUpdate() 0051 2) by calling HAL API function HAL_RCC_GetSysClockFreq() 0052 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency 0053 Note: If you use this function to configure the system clock; then there 0054 is no need to call the 2 first functions listed above, since SystemCoreClock 0055 variable is updated automatically. 0056 */ 0057 extern uint32_t SystemCoreClock; /*!< System Domain1 Clock Frequency */ 0058 extern uint32_t SystemD2Clock; /*!< System Domain2 Clock Frequency */ 0059 extern const uint8_t D1CorePrescTable[16] ; /*!< D1CorePrescTable prescalers table values */ 0060 0061 /** 0062 * @} 0063 */ 0064 0065 /** @addtogroup STM32H7xx_System_Exported_Constants 0066 * @{ 0067 */ 0068 0069 /** 0070 * @} 0071 */ 0072 0073 /** @addtogroup STM32H7xx_System_Exported_Macros 0074 * @{ 0075 */ 0076 0077 /** 0078 * @} 0079 */ 0080 0081 /** @addtogroup STM32H7xx_System_Exported_Functions 0082 * @{ 0083 */ 0084 0085 extern void SystemInit(void); 0086 extern void SystemCoreClockUpdate(void); 0087 /** 0088 * @} 0089 */ 0090 0091 #ifdef __cplusplus 0092 } 0093 #endif 0094 0095 #endif /* SYSTEM_STM32H7XX_H */ 0096 0097 /** 0098 * @} 0099 */ 0100 0101 /** 0102 * @} 0103 */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |