ads1115 only
Fork of mbed by
TARGET_NUCLEO_F103RB/system_stm32f10x.h@76:824293ae5e43, 2014-01-13 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Jan 13 15:31:11 2014 +0200
- Revision:
- 76:824293ae5e43
- Parent:
- 73:1efda918f0ba
- Child:
- 77:869cf507173a
Release 76 of the mbed library
Main changes:
- enabled SPI slave on LPC812
- the RTOS should now work with GCC_CR (LPC1768 and LPC4088)
- GCC now uses 'hard' as the floating point ABI (arguments in floating point registers)
- Bug fixes on various platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 73:1efda918f0ba | 1 | /** |
bogdanm | 73:1efda918f0ba | 2 | ****************************************************************************** |
bogdanm | 73:1efda918f0ba | 3 | * @file system_stm32f10x.h |
bogdanm | 73:1efda918f0ba | 4 | * @author MCD Application Team |
bogdanm | 73:1efda918f0ba | 5 | * @version V3.5.0 |
bogdanm | 73:1efda918f0ba | 6 | * @date 11-March-2011 |
bogdanm | 73:1efda918f0ba | 7 | * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File. |
bogdanm | 76:824293ae5e43 | 8 | ******************************************************************************* |
bogdanm | 76:824293ae5e43 | 9 | * Copyright (c) 2014, STMicroelectronics |
bogdanm | 76:824293ae5e43 | 10 | * All rights reserved. |
bogdanm | 76:824293ae5e43 | 11 | * |
bogdanm | 76:824293ae5e43 | 12 | * Redistribution and use in source and binary forms, with or without |
bogdanm | 76:824293ae5e43 | 13 | * modification, are permitted provided that the following conditions are met: |
bogdanm | 76:824293ae5e43 | 14 | * |
bogdanm | 76:824293ae5e43 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
bogdanm | 76:824293ae5e43 | 16 | * this list of conditions and the following disclaimer. |
bogdanm | 76:824293ae5e43 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
bogdanm | 76:824293ae5e43 | 18 | * this list of conditions and the following disclaimer in the documentation |
bogdanm | 76:824293ae5e43 | 19 | * and/or other materials provided with the distribution. |
bogdanm | 76:824293ae5e43 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
bogdanm | 76:824293ae5e43 | 21 | * may be used to endorse or promote products derived from this software |
bogdanm | 76:824293ae5e43 | 22 | * without specific prior written permission. |
bogdanm | 76:824293ae5e43 | 23 | * |
bogdanm | 76:824293ae5e43 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
bogdanm | 76:824293ae5e43 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
bogdanm | 76:824293ae5e43 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
bogdanm | 76:824293ae5e43 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
bogdanm | 76:824293ae5e43 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
bogdanm | 76:824293ae5e43 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
bogdanm | 76:824293ae5e43 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
bogdanm | 76:824293ae5e43 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
bogdanm | 76:824293ae5e43 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
bogdanm | 76:824293ae5e43 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
bogdanm | 76:824293ae5e43 | 34 | ******************************************************************************* |
bogdanm | 76:824293ae5e43 | 35 | */ |
bogdanm | 73:1efda918f0ba | 36 | |
bogdanm | 73:1efda918f0ba | 37 | /** @addtogroup CMSIS |
bogdanm | 73:1efda918f0ba | 38 | * @{ |
bogdanm | 73:1efda918f0ba | 39 | */ |
bogdanm | 73:1efda918f0ba | 40 | |
bogdanm | 73:1efda918f0ba | 41 | /** @addtogroup stm32f10x_system |
bogdanm | 73:1efda918f0ba | 42 | * @{ |
bogdanm | 73:1efda918f0ba | 43 | */ |
bogdanm | 73:1efda918f0ba | 44 | |
bogdanm | 73:1efda918f0ba | 45 | /** |
bogdanm | 73:1efda918f0ba | 46 | * @brief Define to prevent recursive inclusion |
bogdanm | 73:1efda918f0ba | 47 | */ |
bogdanm | 73:1efda918f0ba | 48 | #ifndef __SYSTEM_STM32F10X_H |
bogdanm | 73:1efda918f0ba | 49 | #define __SYSTEM_STM32F10X_H |
bogdanm | 73:1efda918f0ba | 50 | |
bogdanm | 73:1efda918f0ba | 51 | #ifdef __cplusplus |
bogdanm | 73:1efda918f0ba | 52 | extern "C" { |
bogdanm | 73:1efda918f0ba | 53 | #endif |
bogdanm | 73:1efda918f0ba | 54 | |
bogdanm | 73:1efda918f0ba | 55 | /** @addtogroup STM32F10x_System_Includes |
bogdanm | 73:1efda918f0ba | 56 | * @{ |
bogdanm | 73:1efda918f0ba | 57 | */ |
bogdanm | 73:1efda918f0ba | 58 | |
bogdanm | 73:1efda918f0ba | 59 | /** |
bogdanm | 73:1efda918f0ba | 60 | * @} |
bogdanm | 73:1efda918f0ba | 61 | */ |
bogdanm | 73:1efda918f0ba | 62 | |
bogdanm | 73:1efda918f0ba | 63 | |
bogdanm | 73:1efda918f0ba | 64 | /** @addtogroup STM32F10x_System_Exported_types |
bogdanm | 73:1efda918f0ba | 65 | * @{ |
bogdanm | 73:1efda918f0ba | 66 | */ |
bogdanm | 73:1efda918f0ba | 67 | |
bogdanm | 73:1efda918f0ba | 68 | extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */ |
bogdanm | 73:1efda918f0ba | 69 | |
bogdanm | 73:1efda918f0ba | 70 | /** |
bogdanm | 73:1efda918f0ba | 71 | * @} |
bogdanm | 73:1efda918f0ba | 72 | */ |
bogdanm | 73:1efda918f0ba | 73 | |
bogdanm | 73:1efda918f0ba | 74 | /** @addtogroup STM32F10x_System_Exported_Constants |
bogdanm | 73:1efda918f0ba | 75 | * @{ |
bogdanm | 73:1efda918f0ba | 76 | */ |
bogdanm | 73:1efda918f0ba | 77 | |
bogdanm | 73:1efda918f0ba | 78 | /** |
bogdanm | 73:1efda918f0ba | 79 | * @} |
bogdanm | 73:1efda918f0ba | 80 | */ |
bogdanm | 73:1efda918f0ba | 81 | |
bogdanm | 73:1efda918f0ba | 82 | /** @addtogroup STM32F10x_System_Exported_Macros |
bogdanm | 73:1efda918f0ba | 83 | * @{ |
bogdanm | 73:1efda918f0ba | 84 | */ |
bogdanm | 73:1efda918f0ba | 85 | |
bogdanm | 73:1efda918f0ba | 86 | /** |
bogdanm | 73:1efda918f0ba | 87 | * @} |
bogdanm | 73:1efda918f0ba | 88 | */ |
bogdanm | 73:1efda918f0ba | 89 | |
bogdanm | 73:1efda918f0ba | 90 | /** @addtogroup STM32F10x_System_Exported_Functions |
bogdanm | 73:1efda918f0ba | 91 | * @{ |
bogdanm | 73:1efda918f0ba | 92 | */ |
bogdanm | 73:1efda918f0ba | 93 | |
bogdanm | 73:1efda918f0ba | 94 | extern void SystemInit(void); |
bogdanm | 73:1efda918f0ba | 95 | extern void SystemCoreClockUpdate(void); |
bogdanm | 73:1efda918f0ba | 96 | /** |
bogdanm | 73:1efda918f0ba | 97 | * @} |
bogdanm | 73:1efda918f0ba | 98 | */ |
bogdanm | 73:1efda918f0ba | 99 | |
bogdanm | 73:1efda918f0ba | 100 | #ifdef __cplusplus |
bogdanm | 73:1efda918f0ba | 101 | } |
bogdanm | 73:1efda918f0ba | 102 | #endif |
bogdanm | 73:1efda918f0ba | 103 | |
bogdanm | 73:1efda918f0ba | 104 | #endif /*__SYSTEM_STM32F10X_H */ |
bogdanm | 73:1efda918f0ba | 105 | |
bogdanm | 73:1efda918f0ba | 106 | /** |
bogdanm | 73:1efda918f0ba | 107 | * @} |
bogdanm | 73:1efda918f0ba | 108 | */ |
bogdanm | 73:1efda918f0ba | 109 | |
bogdanm | 73:1efda918f0ba | 110 | /** |
bogdanm | 73:1efda918f0ba | 111 | * @} |
bogdanm | 73:1efda918f0ba | 112 | */ |
bogdanm | 73:1efda918f0ba | 113 | /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ |