diff options
| author | sowgro <tpoke.ferrari@gmail.com> | 2025-08-31 13:25:35 -0400 |
|---|---|---|
| committer | sowgro <tpoke.ferrari@gmail.com> | 2025-08-31 13:25:35 -0400 |
| commit | 0ff718e7cd7159c30636aa323a666ac1af684f63 (patch) | |
| tree | 247e13a76a15d3f826ba949a5a4d82b79a35e652 /project/Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h | |
| parent | 0f2ea7deaf0cba2f0ca07f6611c5a9e87d531f5b (diff) | |
| download | 340-repo-Sowgro-0ff718e7cd7159c30636aa323a666ac1af684f63.tar.gz 340-repo-Sowgro-0ff718e7cd7159c30636aa323a666ac1af684f63.tar.bz2 340-repo-Sowgro-0ff718e7cd7159c30636aa323a666ac1af684f63.zip | |
Setup project
Diffstat (limited to 'project/Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h')
| -rw-r--r-- | project/Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/project/Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h b/project/Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h new file mode 100644 index 0000000..957a364 --- /dev/null +++ b/project/Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h @@ -0,0 +1,106 @@ +/** + ****************************************************************************** + * @file system_stm32l4xx.h + * @author MCD Application Team + * @brief CMSIS Cortex-M4 Device System Source File for STM32L4xx 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 stm32l4xx_system + * @{ + */ + +/** + * @brief Define to prevent recursive inclusion + */ +#ifndef __SYSTEM_STM32L4XX_H +#define __SYSTEM_STM32L4XX_H + +#ifdef __cplusplus + extern "C" { +#endif + +/** @addtogroup STM32L4xx_System_Includes + * @{ + */ + +/** + * @} + */ + + +/** @addtogroup STM32L4xx_System_Exported_Variables + * @{ + */ + /* The SystemCoreClock 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 Clock Frequency (Core Clock) */ + +extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */ +extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */ +extern const uint32_t MSIRangeTable[12]; /*!< MSI ranges table values */ + +/** + * @} + */ + +/** @addtogroup STM32L4xx_System_Exported_Constants + * @{ + */ + +/** + * @} + */ + +/** @addtogroup STM32L4xx_System_Exported_Macros + * @{ + */ + +/** + * @} + */ + +/** @addtogroup STM32L4xx_System_Exported_Functions + * @{ + */ + +extern void SystemInit(void); +extern void SystemCoreClockUpdate(void); +/** + * @} + */ + +#ifdef __cplusplus +} +#endif + +#endif /*__SYSTEM_STM32L4XX_H */ + +/** + * @} + */ + +/** + * @} + */ + |
