meh

Fork of mbed by mbed official

Committer:
ricardobtez
Date:
Tue Apr 05 23:51:21 2016 +0000
Revision:
118:16969dd821af
Parent:
77:869cf507173a
dgdgr

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bogdanm 73:1efda918f0ba 1 /**
bogdanm 73:1efda918f0ba 2 ******************************************************************************
bogdanm 73:1efda918f0ba 3 * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_conf.h
bogdanm 73:1efda918f0ba 4 * @author MCD Application Team
emilmont 77:869cf507173a 5 * @version V3.6.1
emilmont 77:869cf507173a 6 * @date 05-March-2012
bogdanm 73:1efda918f0ba 7 * @brief Library configuration 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 /* Define to prevent recursive inclusion -------------------------------------*/
bogdanm 73:1efda918f0ba 38 #ifndef __STM32F10x_CONF_H
bogdanm 73:1efda918f0ba 39 #define __STM32F10x_CONF_H
bogdanm 73:1efda918f0ba 40
bogdanm 73:1efda918f0ba 41 /* Includes ------------------------------------------------------------------*/
bogdanm 73:1efda918f0ba 42 /* Uncomment/Comment the line below to enable/disable peripheral header file inclusion */
bogdanm 73:1efda918f0ba 43 #include "stm32f10x_adc.h"
bogdanm 73:1efda918f0ba 44 #include "stm32f10x_bkp.h"
bogdanm 73:1efda918f0ba 45 #include "stm32f10x_can.h"
bogdanm 73:1efda918f0ba 46 #include "stm32f10x_cec.h"
bogdanm 73:1efda918f0ba 47 #include "stm32f10x_crc.h"
bogdanm 73:1efda918f0ba 48 #include "stm32f10x_dac.h"
bogdanm 73:1efda918f0ba 49 #include "stm32f10x_dbgmcu.h"
bogdanm 73:1efda918f0ba 50 #include "stm32f10x_dma.h"
bogdanm 73:1efda918f0ba 51 #include "stm32f10x_exti.h"
bogdanm 73:1efda918f0ba 52 #include "stm32f10x_flash.h"
bogdanm 73:1efda918f0ba 53 #include "stm32f10x_fsmc.h"
bogdanm 73:1efda918f0ba 54 #include "stm32f10x_gpio.h"
bogdanm 73:1efda918f0ba 55 #include "stm32f10x_i2c.h"
bogdanm 73:1efda918f0ba 56 #include "stm32f10x_iwdg.h"
bogdanm 73:1efda918f0ba 57 #include "stm32f10x_pwr.h"
bogdanm 73:1efda918f0ba 58 #include "stm32f10x_rcc.h"
bogdanm 73:1efda918f0ba 59 #include "stm32f10x_rtc.h"
bogdanm 73:1efda918f0ba 60 #include "stm32f10x_sdio.h"
bogdanm 73:1efda918f0ba 61 #include "stm32f10x_spi.h"
bogdanm 73:1efda918f0ba 62 #include "stm32f10x_tim.h"
bogdanm 73:1efda918f0ba 63 #include "stm32f10x_usart.h"
bogdanm 73:1efda918f0ba 64 #include "stm32f10x_wwdg.h"
bogdanm 73:1efda918f0ba 65 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
bogdanm 73:1efda918f0ba 66
bogdanm 73:1efda918f0ba 67 /* Exported types ------------------------------------------------------------*/
bogdanm 73:1efda918f0ba 68 /* Exported constants --------------------------------------------------------*/
bogdanm 73:1efda918f0ba 69 /* Uncomment the line below to expanse the "assert_param" macro in the
bogdanm 73:1efda918f0ba 70 Standard Peripheral Library drivers code */
bogdanm 73:1efda918f0ba 71 /* #define USE_FULL_ASSERT 1 */
bogdanm 73:1efda918f0ba 72
bogdanm 73:1efda918f0ba 73 /* Exported macro ------------------------------------------------------------*/
bogdanm 73:1efda918f0ba 74 #ifdef USE_FULL_ASSERT
bogdanm 73:1efda918f0ba 75
bogdanm 73:1efda918f0ba 76 /**
bogdanm 73:1efda918f0ba 77 * @brief The assert_param macro is used for function's parameters check.
bogdanm 73:1efda918f0ba 78 * @param expr: If expr is false, it calls assert_failed function which reports
bogdanm 73:1efda918f0ba 79 * the name of the source file and the source line number of the call
bogdanm 73:1efda918f0ba 80 * that failed. If expr is true, it returns no value.
bogdanm 73:1efda918f0ba 81 * @retval None
bogdanm 73:1efda918f0ba 82 */
bogdanm 73:1efda918f0ba 83 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
bogdanm 73:1efda918f0ba 84 /* Exported functions ------------------------------------------------------- */
bogdanm 73:1efda918f0ba 85 void assert_failed(uint8_t* file, uint32_t line);
bogdanm 73:1efda918f0ba 86 #else
bogdanm 73:1efda918f0ba 87 #define assert_param(expr) ((void)0)
bogdanm 73:1efda918f0ba 88 #endif /* USE_FULL_ASSERT */
bogdanm 73:1efda918f0ba 89
bogdanm 73:1efda918f0ba 90 #endif /* __STM32F10x_CONF_H */
bogdanm 73:1efda918f0ba 91
emilmont 77:869cf507173a 92 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/