mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
<>
Date:
Fri Sep 30 18:07:01 2016 +0100
Revision:
148:21d94c44109e
This updates the lib to the mbed lib v127

Who changed what in which revision?

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