You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
2.1 KiB
105 lines
2.1 KiB
/** |
|
****************************************************************************** |
|
* @file system_stm32wlxx.h |
|
* @author MCD Application Team |
|
* @brief CMSIS Cortex Device System Source File for STM32WLxx devices. |
|
****************************************************************************** |
|
* @attention |
|
* |
|
* Copyright (c) 2020-2021 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 stm32wlxx_system |
|
* @{ |
|
*/ |
|
|
|
/** |
|
* @brief Define to prevent recursive inclusion |
|
*/ |
|
#ifndef __SYSTEM_STM32WLXX_H |
|
#define __SYSTEM_STM32WLXX_H |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
#include <stdint.h> |
|
|
|
/** @addtogroup STM32WLxx_System_Includes |
|
* @{ |
|
*/ |
|
|
|
/** |
|
* @} |
|
*/ |
|
|
|
|
|
/** @addtogroup STM32WLxx_System_Exported_types |
|
* @{ |
|
*/ |
|
/* The SystemCoreClock variable is updated in three ways: |
|
1) from within HAL_Init() |
|
2) by calling CMSIS function SystemCoreClockUpdate() |
|
3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency |
|
*/ |
|
|
|
extern uint32_t SystemCoreClock; /*!< System Clock Frequency */ |
|
|
|
extern const uint32_t AHBPrescTable[16]; /*!< AHB prescalers table values */ |
|
extern const uint32_t APBPrescTable[8]; /*!< APB prescalers table values */ |
|
extern const uint32_t MSIRangeTable[16]; /*!< MSI ranges table values */ |
|
|
|
/** |
|
* @} |
|
*/ |
|
|
|
/** @addtogroup STM32WLxx_System_Exported_Constants |
|
* @{ |
|
*/ |
|
|
|
/** |
|
* @} |
|
*/ |
|
|
|
/** @addtogroup STM32WLxx_System_Exported_Macros |
|
* @{ |
|
*/ |
|
|
|
/** |
|
* @} |
|
*/ |
|
|
|
/** @addtogroup STM32WLxx_System_Exported_Functions |
|
* @{ |
|
*/ |
|
|
|
extern void SystemInit(void); |
|
extern void SystemCoreClockUpdate(void); |
|
/** |
|
* @} |
|
*/ |
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif /*__SYSTEM_STM32WLXX_H */ |
|
|
|
/** |
|
* @} |
|
*/ |
|
|
|
/** |
|
* @} |
|
*/
|
|
|