diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-15 17:18:25 -0500 |
|---|---|---|
| committer | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-15 17:18:25 -0500 |
| commit | 091a130d655e75bb4d5f24a15883206869e43aa7 (patch) | |
| tree | c7b86f285560851c89b240e2194695e1ef662d67 /Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h | |
| parent | 8ca3415eff99aaadd0c555053fd6c03e6a3cb9b1 (diff) | |
Add files via git push
Diffstat (limited to 'Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h')
| -rwxr-xr-x | Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h b/Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h new file mode 100755 index 0000000..cfb383d --- /dev/null +++ b/Drivers/CMSIS/Device/ST/STM32H7xx/Include/system_stm32h7xx.h @@ -0,0 +1,108 @@ +/** + ****************************************************************************** + * @file system_stm32h7xx.h + * @author MCD Application Team + * @brief CMSIS Cortex-Mx Device System Source File for STM32H7xx devices. + ****************************************************************************** + * @attention + * + * Copyright (c) 2017 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 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); +#if defined(__GNUC__) && !defined(__ARMCC_VERSION) + extern void ExitRun0Mode(void) __attribute__((optimize("Os"))); +#else + extern void ExitRun0Mode(void); +#endif /* __GNUC__ */ +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif /* SYSTEM_STM32H7XX_H */ + +/** + * @} + */ + +/** + * @} + */ |
