mbed library sources. Supersedes mbed-src.

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

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
184:08ed48f1de7f
mbed library release version 165

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