Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
106:ba1f97679dad
.

Who changed what in which revision?

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