1 /**
2   ******************************************************************************
3   * @file    system_stm32wlxx.h
4   * @author  MCD Application Team
5   * @brief   CMSIS Cortex Device System Source File for STM32WLxx devices.
6   ******************************************************************************
7   * @attention
8   *
9   * Copyright (c) 2020-2021 STMicroelectronics.
10   * All rights reserved.
11   *
12   * This software is licensed under terms that can be found in the LICENSE file
13   * in the root directory of this software component.
14   * If no LICENSE file comes with this software, it is provided AS-IS.
15   *
16   ******************************************************************************
17   */
18 
19 /** @addtogroup CMSIS
20   * @{
21   */
22 
23 /** @addtogroup stm32wlxx_system
24   * @{
25   */
26 
27 /**
28   * @brief Define to prevent recursive inclusion
29   */
30 #ifndef __SYSTEM_STM32WLXX_H
31 #define __SYSTEM_STM32WLXX_H
32 
33 #ifdef __cplusplus
34  extern "C" {
35 #endif
36 
37 #include <stdint.h>
38 
39 /** @addtogroup STM32WLxx_System_Includes
40   * @{
41   */
42 
43 /**
44   * @}
45   */
46 
47 
48 /** @addtogroup STM32WLxx_System_Exported_types
49   * @{
50   */
51   /* The SystemCoreClock variable is updated in three ways:
52       1) from within HAL_Init()
53       2) by calling CMSIS function SystemCoreClockUpdate()
54       3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
55   */
56 
57 extern uint32_t SystemCoreClock;            /*!< System Clock Frequency */
58 
59 extern const uint32_t AHBPrescTable[16];    /*!< AHB prescalers table values */
60 extern const uint32_t APBPrescTable[8];     /*!< APB prescalers table values */
61 extern const uint32_t MSIRangeTable[16];    /*!< MSI ranges table values     */
62 
63 /**
64   * @}
65   */
66 
67 /** @addtogroup STM32WLxx_System_Exported_Constants
68   * @{
69   */
70 
71 /**
72   * @}
73   */
74 
75 /** @addtogroup STM32WLxx_System_Exported_Macros
76   * @{
77   */
78 
79 /**
80   * @}
81   */
82 
83 /** @addtogroup STM32WLxx_System_Exported_Functions
84   * @{
85   */
86 
87 extern void SystemInit(void);
88 extern void SystemCoreClockUpdate(void);
89 /**
90   * @}
91   */
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif /*__SYSTEM_STM32WLXX_H */
98 
99 /**
100   * @}
101   */
102 
103 /**
104   * @}
105   */
106