]> git.leonardobizzoni.com Git - pioneer-stm32/blob
126ac71d7cfa7fc0a12acd88f8a89788ab8e3795
[pioneer-stm32] /
1 /**\r
2   ******************************************************************************\r
3   * @file    system_stm32f7xx.h\r
4   * @author  MCD Application Team\r
5   * @brief   CMSIS Cortex-M7 Device System Source File for STM32F7xx devices.       \r
6   ******************************************************************************  \r
7   * @attention\r
8   *\r
9   * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>\r
10   *\r
11   * Redistribution and use in source and binary forms, with or without modification,\r
12   * are permitted provided that the following conditions are met:\r
13   *   1. Redistributions of source code must retain the above copyright notice,\r
14   *      this list of conditions and the following disclaimer.\r
15   *   2. Redistributions in binary form must reproduce the above copyright notice,\r
16   *      this list of conditions and the following disclaimer in the documentation\r
17   *      and/or other materials provided with the distribution.\r
18   *   3. Neither the name of STMicroelectronics nor the names of its contributors\r
19   *      may be used to endorse or promote products derived from this software\r
20   *      without specific prior written permission.\r
21   *\r
22   * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
23   * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\r
24   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\r
25   * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\r
26   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
27   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\r
28   * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\r
29   * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\r
30   * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\r
31   * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
32   *\r
33   ******************************************************************************  \r
34   */\r
35 \r
36 /** @addtogroup CMSIS\r
37   * @{\r
38   */\r
39 \r
40 /** @addtogroup stm32f7xx_system\r
41   * @{\r
42   */  \r
43   \r
44 /**\r
45   * @brief Define to prevent recursive inclusion\r
46   */\r
47 #ifndef __SYSTEM_STM32F7XX_H\r
48 #define __SYSTEM_STM32F7XX_H\r
49 \r
50 #ifdef __cplusplus\r
51  extern "C" {\r
52 #endif \r
53 \r
54 /** @addtogroup STM32F7xx_System_Includes\r
55   * @{\r
56   */\r
57 \r
58 /**\r
59   * @}\r
60   */\r
61 \r
62 \r
63 /** @addtogroup STM32F7xx_System_Exported_Variables\r
64   * @{\r
65   */\r
66   /* The SystemCoreClock variable is updated in three ways:\r
67       1) by calling CMSIS function SystemCoreClockUpdate()\r
68       2) by calling HAL API function HAL_RCC_GetSysClockFreq()\r
69       3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency \r
70          Note: If you use this function to configure the system clock; then there\r
71                is no need to call the 2 first functions listed above, since SystemCoreClock\r
72                variable is updated automatically.\r
73     */\r
74 extern uint32_t SystemCoreClock;          /*!< System Clock Frequency (Core Clock) */\r
75 \r
76 extern const uint8_t  AHBPrescTable[16];    /*!< AHB prescalers table values */\r
77 extern const uint8_t  APBPrescTable[8];     /*!< APB prescalers table values */\r
78 \r
79 \r
80 /**\r
81   * @}\r
82   */\r
83 \r
84 /** @addtogroup STM32F7xx_System_Exported_Constants\r
85   * @{\r
86   */\r
87 \r
88 /**\r
89   * @}\r
90   */\r
91 \r
92 /** @addtogroup STM32F7xx_System_Exported_Macros\r
93   * @{\r
94   */\r
95 \r
96 /**\r
97   * @}\r
98   */\r
99 \r
100 /** @addtogroup STM32F7xx_System_Exported_Functions\r
101   * @{\r
102   */\r
103   \r
104 extern void SystemInit(void);\r
105 extern void SystemCoreClockUpdate(void);\r
106 /**\r
107   * @}\r
108   */\r
109 \r
110 #ifdef __cplusplus\r
111 }\r
112 #endif\r
113 \r
114 #endif /*__SYSTEM_STM32F7XX_H */\r
115 \r
116 /**\r
117   * @}\r
118   */\r
119   \r
120 /**\r
121   * @}\r
122   */  \r
123 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/\r