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
9 * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
\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
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
33 ******************************************************************************
\r
36 /** @addtogroup CMSIS
\r
40 /** @addtogroup stm32f7xx_system
\r
45 * @brief Define to prevent recursive inclusion
\r
47 #ifndef __SYSTEM_STM32F7XX_H
\r
48 #define __SYSTEM_STM32F7XX_H
\r
54 /** @addtogroup STM32F7xx_System_Includes
\r
63 /** @addtogroup STM32F7xx_System_Exported_Variables
\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
74 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
\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
84 /** @addtogroup STM32F7xx_System_Exported_Constants
\r
92 /** @addtogroup STM32F7xx_System_Exported_Macros
\r
100 /** @addtogroup STM32F7xx_System_Exported_Functions
\r
104 extern void SystemInit(void);
\r
105 extern void SystemCoreClockUpdate(void);
\r
114 #endif /*__SYSTEM_STM32F7XX_H */
\r
123 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
\r