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:
99:dbbf35b96557
.

Who changed what in which revision?

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