mbed library sources

Dependents:   frdm_kl05z_gpio_test

Fork of mbed-src by mbed official

Committer:
shaoziyang
Date:
Sat Sep 13 14:25:46 2014 +0000
Revision:
323:9e901b0a5aa1
Parent:
167:d5744491c362
test with CLOCK_SETUP = 0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 52:a51c77007319 1 /**
mbed_official 52:a51c77007319 2 ******************************************************************************
mbed_official 52:a51c77007319 3 * @file system_stm32f10x.h
mbed_official 52:a51c77007319 4 * @author MCD Application Team
mbed_official 84:f54042cbc282 5 * @version V3.6.2
mbed_official 84:f54042cbc282 6 * @date 28-February-2013
mbed_official 52:a51c77007319 7 * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
mbed_official 70:c1fbde68b492 8 *******************************************************************************
mbed_official 70:c1fbde68b492 9 * Copyright (c) 2014, STMicroelectronics
mbed_official 70:c1fbde68b492 10 * All rights reserved.
mbed_official 70:c1fbde68b492 11 *
mbed_official 70:c1fbde68b492 12 * Redistribution and use in source and binary forms, with or without
mbed_official 70:c1fbde68b492 13 * modification, are permitted provided that the following conditions are met:
mbed_official 70:c1fbde68b492 14 *
mbed_official 70:c1fbde68b492 15 * 1. Redistributions of source code must retain the above copyright notice,
mbed_official 70:c1fbde68b492 16 * this list of conditions and the following disclaimer.
mbed_official 70:c1fbde68b492 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
mbed_official 70:c1fbde68b492 18 * this list of conditions and the following disclaimer in the documentation
mbed_official 70:c1fbde68b492 19 * and/or other materials provided with the distribution.
mbed_official 70:c1fbde68b492 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
mbed_official 70:c1fbde68b492 21 * may be used to endorse or promote products derived from this software
mbed_official 70:c1fbde68b492 22 * without specific prior written permission.
mbed_official 70:c1fbde68b492 23 *
mbed_official 70:c1fbde68b492 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
mbed_official 70:c1fbde68b492 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
mbed_official 70:c1fbde68b492 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
mbed_official 70:c1fbde68b492 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
mbed_official 70:c1fbde68b492 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
mbed_official 70:c1fbde68b492 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
mbed_official 70:c1fbde68b492 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
mbed_official 70:c1fbde68b492 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
mbed_official 70:c1fbde68b492 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
mbed_official 70:c1fbde68b492 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
mbed_official 70:c1fbde68b492 34 *******************************************************************************
mbed_official 70:c1fbde68b492 35 */
mbed_official 52:a51c77007319 36
mbed_official 52:a51c77007319 37 /** @addtogroup CMSIS
mbed_official 52:a51c77007319 38 * @{
mbed_official 52:a51c77007319 39 */
mbed_official 52:a51c77007319 40
mbed_official 52:a51c77007319 41 /** @addtogroup stm32f10x_system
mbed_official 52:a51c77007319 42 * @{
mbed_official 52:a51c77007319 43 */
mbed_official 52:a51c77007319 44
mbed_official 52:a51c77007319 45 /**
mbed_official 52:a51c77007319 46 * @brief Define to prevent recursive inclusion
mbed_official 52:a51c77007319 47 */
mbed_official 52:a51c77007319 48 #ifndef __SYSTEM_STM32F10X_H
mbed_official 52:a51c77007319 49 #define __SYSTEM_STM32F10X_H
mbed_official 52:a51c77007319 50
mbed_official 52:a51c77007319 51 #ifdef __cplusplus
mbed_official 52:a51c77007319 52 extern "C" {
mbed_official 52:a51c77007319 53 #endif
mbed_official 52:a51c77007319 54
mbed_official 52:a51c77007319 55 /** @addtogroup STM32F10x_System_Includes
mbed_official 52:a51c77007319 56 * @{
mbed_official 52:a51c77007319 57 */
mbed_official 52:a51c77007319 58
mbed_official 52:a51c77007319 59 /**
mbed_official 52:a51c77007319 60 * @}
mbed_official 52:a51c77007319 61 */
mbed_official 52:a51c77007319 62
mbed_official 52:a51c77007319 63
mbed_official 52:a51c77007319 64 /** @addtogroup STM32F10x_System_Exported_types
mbed_official 52:a51c77007319 65 * @{
mbed_official 52:a51c77007319 66 */
mbed_official 52:a51c77007319 67
mbed_official 52:a51c77007319 68 extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
mbed_official 52:a51c77007319 69
mbed_official 52:a51c77007319 70 /**
mbed_official 52:a51c77007319 71 * @}
mbed_official 52:a51c77007319 72 */
mbed_official 52:a51c77007319 73
mbed_official 52:a51c77007319 74 /** @addtogroup STM32F10x_System_Exported_Constants
mbed_official 52:a51c77007319 75 * @{
mbed_official 52:a51c77007319 76 */
mbed_official 52:a51c77007319 77
mbed_official 52:a51c77007319 78 /**
mbed_official 52:a51c77007319 79 * @}
mbed_official 52:a51c77007319 80 */
mbed_official 52:a51c77007319 81
mbed_official 52:a51c77007319 82 /** @addtogroup STM32F10x_System_Exported_Macros
mbed_official 52:a51c77007319 83 * @{
mbed_official 52:a51c77007319 84 */
mbed_official 52:a51c77007319 85
mbed_official 52:a51c77007319 86 /**
mbed_official 52:a51c77007319 87 * @}
mbed_official 52:a51c77007319 88 */
mbed_official 52:a51c77007319 89
mbed_official 52:a51c77007319 90 /** @addtogroup STM32F10x_System_Exported_Functions
mbed_official 52:a51c77007319 91 * @{
mbed_official 52:a51c77007319 92 */
mbed_official 52:a51c77007319 93
mbed_official 52:a51c77007319 94 extern void SystemInit(void);
mbed_official 52:a51c77007319 95 extern void SystemCoreClockUpdate(void);
mbed_official 167:d5744491c362 96 extern void SetSysClock(void);
mbed_official 167:d5744491c362 97
mbed_official 52:a51c77007319 98 /**
mbed_official 52:a51c77007319 99 * @}
mbed_official 52:a51c77007319 100 */
mbed_official 52:a51c77007319 101
mbed_official 52:a51c77007319 102 #ifdef __cplusplus
mbed_official 52:a51c77007319 103 }
mbed_official 52:a51c77007319 104 #endif
mbed_official 52:a51c77007319 105
mbed_official 52:a51c77007319 106 #endif /*__SYSTEM_STM32F10X_H */
mbed_official 52:a51c77007319 107
mbed_official 52:a51c77007319 108 /**
mbed_official 52:a51c77007319 109 * @}
mbed_official 52:a51c77007319 110 */
mbed_official 52:a51c77007319 111
mbed_official 52:a51c77007319 112 /**
mbed_official 52:a51c77007319 113 * @}
mbed_official 52:a51c77007319 114 */
mbed_official 84:f54042cbc282 115 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/