The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_NUCLEO_L053R8/system_stm32l0xx.h@119:aae6fcc7d9bb, 2016-04-27 (annotated)
- Committer:
- Kojto
- Date:
- Wed Apr 27 12:10:56 2016 -0500
- Revision:
- 119:aae6fcc7d9bb
- Parent:
- 96:487b796308b0
Release 119 of the mbed library
Changes:
- new targets - EFM32PG_STK3401, NUCLEO_L031K6
- ST - hwflwctl support for NUCLEO_L476RG
- Update STM32CUBE_L0 from v1.2 to v1.5
- STM32F7 - bugfix - The weak function HAL_Delay is overwritten to use us ticker API.
- Maxim - Fixing the send break for the MAXWSNENV and MAX32600MBED
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 84:0b3ab51c8877 | 1 | /** |
bogdanm | 84:0b3ab51c8877 | 2 | ****************************************************************************** |
bogdanm | 84:0b3ab51c8877 | 3 | * @file system_stm32l0xx.h |
bogdanm | 84:0b3ab51c8877 | 4 | * @author MCD Application Team |
Kojto | 119:aae6fcc7d9bb | 5 | * @version V1.5.0 |
Kojto | 119:aae6fcc7d9bb | 6 | * @date 8-January-2016 |
bogdanm | 84:0b3ab51c8877 | 7 | * @brief CMSIS Cortex-M0+ Device Peripheral Access Layer System Header File. |
bogdanm | 84:0b3ab51c8877 | 8 | ****************************************************************************** |
bogdanm | 84:0b3ab51c8877 | 9 | * @attention |
bogdanm | 84:0b3ab51c8877 | 10 | * |
Kojto | 119:aae6fcc7d9bb | 11 | * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
bogdanm | 84:0b3ab51c8877 | 12 | * |
bogdanm | 84:0b3ab51c8877 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
bogdanm | 84:0b3ab51c8877 | 14 | * are permitted provided that the following conditions are met: |
bogdanm | 84:0b3ab51c8877 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
bogdanm | 84:0b3ab51c8877 | 16 | * this list of conditions and the following disclaimer. |
bogdanm | 84:0b3ab51c8877 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
bogdanm | 84:0b3ab51c8877 | 18 | * this list of conditions and the following disclaimer in the documentation |
bogdanm | 84:0b3ab51c8877 | 19 | * and/or other materials provided with the distribution. |
bogdanm | 84:0b3ab51c8877 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
bogdanm | 84:0b3ab51c8877 | 21 | * may be used to endorse or promote products derived from this software |
bogdanm | 84:0b3ab51c8877 | 22 | * without specific prior written permission. |
bogdanm | 84:0b3ab51c8877 | 23 | * |
bogdanm | 84:0b3ab51c8877 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
bogdanm | 84:0b3ab51c8877 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
bogdanm | 84:0b3ab51c8877 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
bogdanm | 84:0b3ab51c8877 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
bogdanm | 84:0b3ab51c8877 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
bogdanm | 84:0b3ab51c8877 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
bogdanm | 84:0b3ab51c8877 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
bogdanm | 84:0b3ab51c8877 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
bogdanm | 84:0b3ab51c8877 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
bogdanm | 84:0b3ab51c8877 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
bogdanm | 84:0b3ab51c8877 | 34 | * |
bogdanm | 84:0b3ab51c8877 | 35 | ****************************************************************************** |
bogdanm | 84:0b3ab51c8877 | 36 | */ |
bogdanm | 84:0b3ab51c8877 | 37 | |
bogdanm | 84:0b3ab51c8877 | 38 | /** @addtogroup CMSIS |
bogdanm | 84:0b3ab51c8877 | 39 | * @{ |
bogdanm | 84:0b3ab51c8877 | 40 | */ |
bogdanm | 84:0b3ab51c8877 | 41 | |
bogdanm | 84:0b3ab51c8877 | 42 | /** @addtogroup stm32l0xx_system |
bogdanm | 84:0b3ab51c8877 | 43 | * @{ |
bogdanm | 84:0b3ab51c8877 | 44 | */ |
bogdanm | 84:0b3ab51c8877 | 45 | |
bogdanm | 84:0b3ab51c8877 | 46 | /** |
bogdanm | 84:0b3ab51c8877 | 47 | * @brief Define to prevent recursive inclusion |
bogdanm | 84:0b3ab51c8877 | 48 | */ |
bogdanm | 84:0b3ab51c8877 | 49 | #ifndef __SYSTEM_STM32L0XX_H |
bogdanm | 84:0b3ab51c8877 | 50 | #define __SYSTEM_STM32L0XX_H |
bogdanm | 84:0b3ab51c8877 | 51 | |
bogdanm | 84:0b3ab51c8877 | 52 | #ifdef __cplusplus |
bogdanm | 84:0b3ab51c8877 | 53 | extern "C" { |
bogdanm | 84:0b3ab51c8877 | 54 | #endif |
bogdanm | 84:0b3ab51c8877 | 55 | |
bogdanm | 84:0b3ab51c8877 | 56 | /** @addtogroup STM32L0xx_System_Includes |
bogdanm | 84:0b3ab51c8877 | 57 | * @{ |
bogdanm | 84:0b3ab51c8877 | 58 | */ |
bogdanm | 84:0b3ab51c8877 | 59 | |
bogdanm | 84:0b3ab51c8877 | 60 | /** |
bogdanm | 84:0b3ab51c8877 | 61 | * @} |
bogdanm | 84:0b3ab51c8877 | 62 | */ |
bogdanm | 84:0b3ab51c8877 | 63 | |
bogdanm | 84:0b3ab51c8877 | 64 | |
bogdanm | 84:0b3ab51c8877 | 65 | /** @addtogroup STM32L0xx_System_Exported_types |
bogdanm | 84:0b3ab51c8877 | 66 | * @{ |
bogdanm | 84:0b3ab51c8877 | 67 | */ |
bogdanm | 84:0b3ab51c8877 | 68 | /* This variable is updated in three ways: |
bogdanm | 84:0b3ab51c8877 | 69 | 1) by calling CMSIS function SystemCoreClockUpdate() |
bogdanm | 84:0b3ab51c8877 | 70 | 2) by calling HAL API function HAL_RCC_GetSysClockFreq() |
bogdanm | 84:0b3ab51c8877 | 71 | 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency |
bogdanm | 84:0b3ab51c8877 | 72 | Note: If you use this function to configure the system clock; then there |
bogdanm | 84:0b3ab51c8877 | 73 | is no need to call the 2 first functions listed above, since SystemCoreClock |
bogdanm | 84:0b3ab51c8877 | 74 | variable is updated automatically. |
bogdanm | 84:0b3ab51c8877 | 75 | */ |
bogdanm | 84:0b3ab51c8877 | 76 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 84:0b3ab51c8877 | 77 | |
bogdanm | 84:0b3ab51c8877 | 78 | /** |
bogdanm | 84:0b3ab51c8877 | 79 | * @} |
bogdanm | 84:0b3ab51c8877 | 80 | */ |
bogdanm | 84:0b3ab51c8877 | 81 | |
bogdanm | 84:0b3ab51c8877 | 82 | /** @addtogroup STM32L0xx_System_Exported_Constants |
bogdanm | 84:0b3ab51c8877 | 83 | * @{ |
bogdanm | 84:0b3ab51c8877 | 84 | */ |
bogdanm | 84:0b3ab51c8877 | 85 | |
bogdanm | 84:0b3ab51c8877 | 86 | /** |
bogdanm | 84:0b3ab51c8877 | 87 | * @} |
bogdanm | 84:0b3ab51c8877 | 88 | */ |
bogdanm | 84:0b3ab51c8877 | 89 | |
bogdanm | 84:0b3ab51c8877 | 90 | /** @addtogroup STM32L0xx_System_Exported_Macros |
bogdanm | 84:0b3ab51c8877 | 91 | * @{ |
bogdanm | 84:0b3ab51c8877 | 92 | */ |
bogdanm | 84:0b3ab51c8877 | 93 | |
bogdanm | 84:0b3ab51c8877 | 94 | /** |
bogdanm | 84:0b3ab51c8877 | 95 | * @} |
bogdanm | 84:0b3ab51c8877 | 96 | */ |
bogdanm | 84:0b3ab51c8877 | 97 | |
bogdanm | 84:0b3ab51c8877 | 98 | /** @addtogroup STM32L0xx_System_Exported_Functions |
bogdanm | 84:0b3ab51c8877 | 99 | * @{ |
bogdanm | 84:0b3ab51c8877 | 100 | */ |
bogdanm | 84:0b3ab51c8877 | 101 | |
bogdanm | 84:0b3ab51c8877 | 102 | extern void SystemInit(void); |
bogdanm | 84:0b3ab51c8877 | 103 | extern void SystemCoreClockUpdate(void); |
bogdanm | 84:0b3ab51c8877 | 104 | extern void SetSysClock(void); |
bogdanm | 84:0b3ab51c8877 | 105 | |
bogdanm | 84:0b3ab51c8877 | 106 | /** |
bogdanm | 84:0b3ab51c8877 | 107 | * @} |
bogdanm | 84:0b3ab51c8877 | 108 | */ |
bogdanm | 84:0b3ab51c8877 | 109 | |
bogdanm | 84:0b3ab51c8877 | 110 | #ifdef __cplusplus |
bogdanm | 84:0b3ab51c8877 | 111 | } |
bogdanm | 84:0b3ab51c8877 | 112 | #endif |
bogdanm | 84:0b3ab51c8877 | 113 | |
bogdanm | 84:0b3ab51c8877 | 114 | #endif /*__SYSTEM_STM32L0XX_H */ |
bogdanm | 84:0b3ab51c8877 | 115 | |
bogdanm | 84:0b3ab51c8877 | 116 | /** |
bogdanm | 84:0b3ab51c8877 | 117 | * @} |
bogdanm | 84:0b3ab51c8877 | 118 | */ |
bogdanm | 84:0b3ab51c8877 | 119 | |
bogdanm | 84:0b3ab51c8877 | 120 | /** |
bogdanm | 84:0b3ab51c8877 | 121 | * @} |
bogdanm | 84:0b3ab51c8877 | 122 | */ |
bogdanm | 84:0b3ab51c8877 | 123 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |