2 ******************************************************************************
\r
3 * @file system_stm32f4xx.h
\r
4 * @author MCD Application Team
\r
6 * @date 24-March-2015
\r
7 * @brief CMSIS Cortex-M7 Device System Source File for STM32F7xx devices.
\r
8 ******************************************************************************
\r
11 * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
\r
13 * Redistribution and use in source and binary forms, with or without modification,
\r
14 * are permitted provided that the following conditions are met:
\r
15 * 1. Redistributions of source code must retain the above copyright notice,
\r
16 * this list of conditions and the following disclaimer.
\r
17 * 2. Redistributions in binary form must reproduce the above copyright notice,
\r
18 * this list of conditions and the following disclaimer in the documentation
\r
19 * and/or other materials provided with the distribution.
\r
20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
\r
21 * may be used to endorse or promote products derived from this software
\r
22 * without specific prior written permission.
\r
24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
\r
25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
\r
26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
\r
27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
\r
28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
\r
29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
\r
30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
\r
31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
\r
32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
\r
33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\r
35 ******************************************************************************
\r
38 /** @addtogroup CMSIS
\r
42 /** @addtogroup stm32f7xx_system
\r
47 * @brief Define to prevent recursive inclusion
\r
49 #ifndef __SYSTEM_STM32F7XX_H
\r
50 #define __SYSTEM_STM32F7XX_H
\r
56 /** @addtogroup STM32F7xx_System_Includes
\r
65 /** @addtogroup STM32F7xx_System_Exported_types
\r
68 /* This variable is updated in three ways:
\r
69 1) by calling CMSIS function SystemCoreClockUpdate()
\r
70 2) by calling HAL API function HAL_RCC_GetSysClockFreq()
\r
71 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
\r
72 Note: If you use this function to configure the system clock; then there
\r
73 is no need to call the 2 first functions listed above, since SystemCoreClock
\r
74 variable is updated automatically.
\r
76 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
\r
83 /** @addtogroup STM32F7xx_System_Exported_Constants
\r
91 /** @addtogroup STM32F7xx_System_Exported_Macros
\r
99 /** @addtogroup STM32F7xx_System_Exported_Functions
\r
103 extern void SystemInit(void);
\r
104 extern void SystemCoreClockUpdate(void);
\r
113 #endif /*__SYSTEM_STM32F7XX_H */
\r
122 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
\r