Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TARGET_BLUEPILL/device/system_stm32f1xx.h@5:6c702bf3e22c, 2020-06-24 (annotated)
- Committer:
- hudakz
- Date:
- Wed Jun 24 14:52:57 2020 +0000
- Revision:
- 5:6c702bf3e22c
- Parent:
- 0:2577a4fb6e72
Bluepill board support for Mbed OS 6 - mbed-os.lib updated to rev. 165be79392ae7b1...
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| hudakz | 0:2577a4fb6e72 | 1 | /** |
| hudakz | 0:2577a4fb6e72 | 2 | ****************************************************************************** |
| hudakz | 0:2577a4fb6e72 | 3 | * @file system_stm32f10x.h |
| hudakz | 0:2577a4fb6e72 | 4 | * @author MCD Application Team |
| hudakz | 0:2577a4fb6e72 | 5 | * @version V4.2.0 |
| hudakz | 0:2577a4fb6e72 | 6 | * @date 31-March-2017 |
| hudakz | 0:2577a4fb6e72 | 7 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. |
| hudakz | 0:2577a4fb6e72 | 8 | ****************************************************************************** |
| hudakz | 0:2577a4fb6e72 | 9 | * @attention |
| hudakz | 0:2577a4fb6e72 | 10 | * |
| hudakz | 0:2577a4fb6e72 | 11 | * <h2><center>© COPYRIGHT(c) 2017 STMicroelectronics</center></h2> |
| hudakz | 0:2577a4fb6e72 | 12 | * |
| hudakz | 0:2577a4fb6e72 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
| hudakz | 0:2577a4fb6e72 | 14 | * are permitted provided that the following conditions are met: |
| hudakz | 0:2577a4fb6e72 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
| hudakz | 0:2577a4fb6e72 | 16 | * this list of conditions and the following disclaimer. |
| hudakz | 0:2577a4fb6e72 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
| hudakz | 0:2577a4fb6e72 | 18 | * this list of conditions and the following disclaimer in the documentation |
| hudakz | 0:2577a4fb6e72 | 19 | * and/or other materials provided with the distribution. |
| hudakz | 0:2577a4fb6e72 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
| hudakz | 0:2577a4fb6e72 | 21 | * may be used to endorse or promote products derived from this software |
| hudakz | 0:2577a4fb6e72 | 22 | * without specific prior written permission. |
| hudakz | 0:2577a4fb6e72 | 23 | * |
| hudakz | 0:2577a4fb6e72 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| hudakz | 0:2577a4fb6e72 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| hudakz | 0:2577a4fb6e72 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| hudakz | 0:2577a4fb6e72 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
| hudakz | 0:2577a4fb6e72 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| hudakz | 0:2577a4fb6e72 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| hudakz | 0:2577a4fb6e72 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| hudakz | 0:2577a4fb6e72 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| hudakz | 0:2577a4fb6e72 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| hudakz | 0:2577a4fb6e72 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| hudakz | 0:2577a4fb6e72 | 34 | * |
| hudakz | 0:2577a4fb6e72 | 35 | ****************************************************************************** |
| hudakz | 0:2577a4fb6e72 | 36 | */ |
| hudakz | 0:2577a4fb6e72 | 37 | |
| hudakz | 0:2577a4fb6e72 | 38 | /** @addtogroup CMSIS |
| hudakz | 0:2577a4fb6e72 | 39 | * @{ |
| hudakz | 0:2577a4fb6e72 | 40 | */ |
| hudakz | 0:2577a4fb6e72 | 41 | |
| hudakz | 0:2577a4fb6e72 | 42 | /** @addtogroup stm32f10x_system |
| hudakz | 0:2577a4fb6e72 | 43 | * @{ |
| hudakz | 0:2577a4fb6e72 | 44 | */ |
| hudakz | 0:2577a4fb6e72 | 45 | |
| hudakz | 0:2577a4fb6e72 | 46 | /** |
| hudakz | 0:2577a4fb6e72 | 47 | * @brief Define to prevent recursive inclusion |
| hudakz | 0:2577a4fb6e72 | 48 | */ |
| hudakz | 0:2577a4fb6e72 | 49 | #ifndef __SYSTEM_STM32F10X_H |
| hudakz | 0:2577a4fb6e72 | 50 | #define __SYSTEM_STM32F10X_H |
| hudakz | 0:2577a4fb6e72 | 51 | |
| hudakz | 0:2577a4fb6e72 | 52 | #ifdef __cplusplus |
| hudakz | 0:2577a4fb6e72 | 53 | extern "C" { |
| hudakz | 0:2577a4fb6e72 | 54 | #endif |
| hudakz | 0:2577a4fb6e72 | 55 | |
| hudakz | 0:2577a4fb6e72 | 56 | /** @addtogroup STM32F10x_System_Includes |
| hudakz | 0:2577a4fb6e72 | 57 | * @{ |
| hudakz | 0:2577a4fb6e72 | 58 | */ |
| hudakz | 0:2577a4fb6e72 | 59 | |
| hudakz | 0:2577a4fb6e72 | 60 | /** |
| hudakz | 0:2577a4fb6e72 | 61 | * @} |
| hudakz | 0:2577a4fb6e72 | 62 | */ |
| hudakz | 0:2577a4fb6e72 | 63 | |
| hudakz | 0:2577a4fb6e72 | 64 | |
| hudakz | 0:2577a4fb6e72 | 65 | /** @addtogroup STM32F10x_System_Exported_types |
| hudakz | 0:2577a4fb6e72 | 66 | * @{ |
| hudakz | 0:2577a4fb6e72 | 67 | */ |
| hudakz | 0:2577a4fb6e72 | 68 | |
| hudakz | 0:2577a4fb6e72 | 69 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
| hudakz | 0:2577a4fb6e72 | 70 | extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */ |
| hudakz | 0:2577a4fb6e72 | 71 | extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */ |
| hudakz | 0:2577a4fb6e72 | 72 | |
| hudakz | 0:2577a4fb6e72 | 73 | /** |
| hudakz | 0:2577a4fb6e72 | 74 | * @} |
| hudakz | 0:2577a4fb6e72 | 75 | */ |
| hudakz | 0:2577a4fb6e72 | 76 | |
| hudakz | 0:2577a4fb6e72 | 77 | /** @addtogroup STM32F10x_System_Exported_Constants |
| hudakz | 0:2577a4fb6e72 | 78 | * @{ |
| hudakz | 0:2577a4fb6e72 | 79 | */ |
| hudakz | 0:2577a4fb6e72 | 80 | |
| hudakz | 0:2577a4fb6e72 | 81 | /** |
| hudakz | 0:2577a4fb6e72 | 82 | * @} |
| hudakz | 0:2577a4fb6e72 | 83 | */ |
| hudakz | 0:2577a4fb6e72 | 84 | |
| hudakz | 0:2577a4fb6e72 | 85 | /** @addtogroup STM32F10x_System_Exported_Macros |
| hudakz | 0:2577a4fb6e72 | 86 | * @{ |
| hudakz | 0:2577a4fb6e72 | 87 | */ |
| hudakz | 0:2577a4fb6e72 | 88 | |
| hudakz | 0:2577a4fb6e72 | 89 | /** |
| hudakz | 0:2577a4fb6e72 | 90 | * @} |
| hudakz | 0:2577a4fb6e72 | 91 | */ |
| hudakz | 0:2577a4fb6e72 | 92 | |
| hudakz | 0:2577a4fb6e72 | 93 | /** @addtogroup STM32F10x_System_Exported_Functions |
| hudakz | 0:2577a4fb6e72 | 94 | * @{ |
| hudakz | 0:2577a4fb6e72 | 95 | */ |
| hudakz | 0:2577a4fb6e72 | 96 | |
| hudakz | 0:2577a4fb6e72 | 97 | extern void SystemInit(void); |
| hudakz | 0:2577a4fb6e72 | 98 | extern void SystemCoreClockUpdate(void); |
| hudakz | 0:2577a4fb6e72 | 99 | extern void SetSysClock(void); |
| hudakz | 0:2577a4fb6e72 | 100 | |
| hudakz | 0:2577a4fb6e72 | 101 | /** |
| hudakz | 0:2577a4fb6e72 | 102 | * @} |
| hudakz | 0:2577a4fb6e72 | 103 | */ |
| hudakz | 0:2577a4fb6e72 | 104 | |
| hudakz | 0:2577a4fb6e72 | 105 | #ifdef __cplusplus |
| hudakz | 0:2577a4fb6e72 | 106 | } |
| hudakz | 0:2577a4fb6e72 | 107 | #endif |
| hudakz | 0:2577a4fb6e72 | 108 | |
| hudakz | 0:2577a4fb6e72 | 109 | #endif /*__SYSTEM_STM32F10X_H */ |
| hudakz | 0:2577a4fb6e72 | 110 | |
| hudakz | 0:2577a4fb6e72 | 111 | /** |
| hudakz | 0:2577a4fb6e72 | 112 | * @} |
| hudakz | 0:2577a4fb6e72 | 113 | */ |
| hudakz | 0:2577a4fb6e72 | 114 | |
| hudakz | 0:2577a4fb6e72 | 115 | /** |
| hudakz | 0:2577a4fb6e72 | 116 | * @} |
| hudakz | 0:2577a4fb6e72 | 117 | */ |
| hudakz | 0:2577a4fb6e72 | 118 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |