]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_MPU_STM32L4_Discovery_Keil_STM32Cube/ST_Code/Drivers/CMSIS/Device/ST/STM32L4xx/Include/system_stm32l4xx.h
Make vSetupTimerInterrupt weak in the RVDS M4 MPU port to give the
[freertos] / FreeRTOS / Demo / CORTEX_MPU_STM32L4_Discovery_Keil_STM32Cube / ST_Code / Drivers / CMSIS / Device / ST / STM32L4xx / Include / system_stm32l4xx.h
1 /**\r
2   ******************************************************************************\r
3   * @file    system_stm32l4xx.h\r
4   * @author  MCD Application Team\r
5   * @brief   CMSIS Cortex-M4 Device System Source File for STM32L4xx devices.\r
6   ******************************************************************************\r
7   * @attention\r
8   *\r
9   * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.\r
10   * All rights reserved.</center></h2>\r
11   *\r
12   * This software component is licensed by ST under BSD 3-Clause license,\r
13   * the "License"; You may not use this file except in compliance with the\r
14   * License. You may obtain a copy of the License at:\r
15   *                        opensource.org/licenses/BSD-3-Clause\r
16   *\r
17   ******************************************************************************\r
18   */\r
19 \r
20 /** @addtogroup CMSIS\r
21   * @{\r
22   */\r
23 \r
24 /** @addtogroup stm32l4xx_system\r
25   * @{\r
26   */\r
27 \r
28 /**\r
29   * @brief Define to prevent recursive inclusion\r
30   */\r
31 #ifndef __SYSTEM_STM32L4XX_H\r
32 #define __SYSTEM_STM32L4XX_H\r
33 \r
34 #ifdef __cplusplus\r
35  extern "C" {\r
36 #endif\r
37 \r
38 /** @addtogroup STM32L4xx_System_Includes\r
39   * @{\r
40   */\r
41 \r
42 /**\r
43   * @}\r
44   */\r
45 \r
46 \r
47 /** @addtogroup STM32L4xx_System_Exported_Variables\r
48   * @{\r
49   */\r
50   /* The SystemCoreClock variable is updated in three ways:\r
51       1) by calling CMSIS function SystemCoreClockUpdate()\r
52       2) by calling HAL API function HAL_RCC_GetSysClockFreq()\r
53       3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency\r
54          Note: If you use this function to configure the system clock; then there\r
55                is no need to call the 2 first functions listed above, since SystemCoreClock\r
56                variable is updated automatically.\r
57   */\r
58 extern uint32_t SystemCoreClock;            /*!< System Clock Frequency (Core Clock) */\r
59 \r
60 extern const uint8_t  AHBPrescTable[16];    /*!< AHB prescalers table values */\r
61 extern const uint8_t  APBPrescTable[8];     /*!< APB prescalers table values */\r
62 extern const uint32_t MSIRangeTable[12];    /*!< MSI ranges table values     */\r
63 \r
64 /**\r
65   * @}\r
66   */\r
67 \r
68 /** @addtogroup STM32L4xx_System_Exported_Constants\r
69   * @{\r
70   */\r
71 \r
72 /**\r
73   * @}\r
74   */\r
75 \r
76 /** @addtogroup STM32L4xx_System_Exported_Macros\r
77   * @{\r
78   */\r
79 \r
80 /**\r
81   * @}\r
82   */\r
83 \r
84 /** @addtogroup STM32L4xx_System_Exported_Functions\r
85   * @{\r
86   */\r
87 \r
88 extern void SystemInit(void);\r
89 extern void SystemCoreClockUpdate(void);\r
90 /**\r
91   * @}\r
92   */\r
93 \r
94 #ifdef __cplusplus\r
95 }\r
96 #endif\r
97 \r
98 #endif /*__SYSTEM_STM32L4XX_H */\r
99 \r
100 /**\r
101   * @}\r
102   */\r
103 \r
104 /**\r
105   * @}\r
106   */\r
107 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/\r