version_2.0
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
TARGET_NUCLEO_F302R8/stm32f30x_conf.h@86:4f9a848d74c7, 2014-06-25 (annotated)
- Committer:
- erezi
- Date:
- Wed Jun 25 06:08:49 2014 +0000
- Revision:
- 86:4f9a848d74c7
- Parent:
- 82:6473597d706e
version_2.0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 82:6473597d706e | 1 | /** |
bogdanm | 82:6473597d706e | 2 | ****************************************************************************** |
bogdanm | 82:6473597d706e | 3 | * @file stm32f30x_conf.h |
bogdanm | 82:6473597d706e | 4 | * @author MCD Application Team |
bogdanm | 82:6473597d706e | 5 | * @version V1.1.0 |
bogdanm | 82:6473597d706e | 6 | * @date 27-February-2014 |
bogdanm | 82:6473597d706e | 7 | * @brief Library configuration file. |
bogdanm | 82:6473597d706e | 8 | ****************************************************************************** |
bogdanm | 82:6473597d706e | 9 | * @attention |
bogdanm | 82:6473597d706e | 10 | * |
bogdanm | 82:6473597d706e | 11 | * <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2> |
bogdanm | 82:6473597d706e | 12 | * |
bogdanm | 82:6473597d706e | 13 | * Redistribution and use in source and binary forms, with or without modification, |
bogdanm | 82:6473597d706e | 14 | * are permitted provided that the following conditions are met: |
bogdanm | 82:6473597d706e | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
bogdanm | 82:6473597d706e | 16 | * this list of conditions and the following disclaimer. |
bogdanm | 82:6473597d706e | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
bogdanm | 82:6473597d706e | 18 | * this list of conditions and the following disclaimer in the documentation |
bogdanm | 82:6473597d706e | 19 | * and/or other materials provided with the distribution. |
bogdanm | 82:6473597d706e | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
bogdanm | 82:6473597d706e | 21 | * may be used to endorse or promote products derived from this software |
bogdanm | 82:6473597d706e | 22 | * without specific prior written permission. |
bogdanm | 82:6473597d706e | 23 | * |
bogdanm | 82:6473597d706e | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
bogdanm | 82:6473597d706e | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
bogdanm | 82:6473597d706e | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
bogdanm | 82:6473597d706e | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
bogdanm | 82:6473597d706e | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
bogdanm | 82:6473597d706e | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
bogdanm | 82:6473597d706e | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
bogdanm | 82:6473597d706e | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
bogdanm | 82:6473597d706e | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
bogdanm | 82:6473597d706e | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
bogdanm | 82:6473597d706e | 34 | * |
bogdanm | 82:6473597d706e | 35 | ****************************************************************************** |
bogdanm | 82:6473597d706e | 36 | */ |
bogdanm | 82:6473597d706e | 37 | |
bogdanm | 82:6473597d706e | 38 | /* Define to prevent recursive inclusion -------------------------------------*/ |
bogdanm | 82:6473597d706e | 39 | #ifndef __STM32F30X_CONF_H |
bogdanm | 82:6473597d706e | 40 | #define __STM32F30X_CONF_H |
bogdanm | 82:6473597d706e | 41 | |
bogdanm | 82:6473597d706e | 42 | |
bogdanm | 82:6473597d706e | 43 | /* Includes ------------------------------------------------------------------*/ |
bogdanm | 82:6473597d706e | 44 | /* Comment the line below to disable peripheral header file inclusion */ |
bogdanm | 82:6473597d706e | 45 | #include "stm32f30x_adc.h" |
bogdanm | 82:6473597d706e | 46 | #include "stm32f30x_can.h" |
bogdanm | 82:6473597d706e | 47 | #include "stm32f30x_crc.h" |
bogdanm | 82:6473597d706e | 48 | #include "stm32f30x_comp.h" |
bogdanm | 82:6473597d706e | 49 | #include "stm32f30x_dac.h" |
bogdanm | 82:6473597d706e | 50 | #include "stm32f30x_dbgmcu.h" |
bogdanm | 82:6473597d706e | 51 | #include "stm32f30x_dma.h" |
bogdanm | 82:6473597d706e | 52 | #include "stm32f30x_exti.h" |
bogdanm | 82:6473597d706e | 53 | #include "stm32f30x_flash.h" |
bogdanm | 82:6473597d706e | 54 | #include "stm32f30x_gpio.h" |
bogdanm | 82:6473597d706e | 55 | #include "stm32f30x_hrtim.h" |
bogdanm | 82:6473597d706e | 56 | #include "stm32f30x_syscfg.h" |
bogdanm | 82:6473597d706e | 57 | #include "stm32f30x_i2c.h" |
bogdanm | 82:6473597d706e | 58 | #include "stm32f30x_iwdg.h" |
bogdanm | 82:6473597d706e | 59 | #include "stm32f30x_opamp.h" |
bogdanm | 82:6473597d706e | 60 | #include "stm32f30x_pwr.h" |
bogdanm | 82:6473597d706e | 61 | #include "stm32f30x_rcc.h" |
bogdanm | 82:6473597d706e | 62 | #include "stm32f30x_rtc.h" |
bogdanm | 82:6473597d706e | 63 | #include "stm32f30x_spi.h" |
bogdanm | 82:6473597d706e | 64 | #include "stm32f30x_tim.h" |
bogdanm | 82:6473597d706e | 65 | #include "stm32f30x_usart.h" |
bogdanm | 82:6473597d706e | 66 | #include "stm32f30x_wwdg.h" |
bogdanm | 82:6473597d706e | 67 | #include "stm32f30x_misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ |
bogdanm | 82:6473597d706e | 68 | |
bogdanm | 82:6473597d706e | 69 | /* Exported types ------------------------------------------------------------*/ |
bogdanm | 82:6473597d706e | 70 | /* Exported constants --------------------------------------------------------*/ |
bogdanm | 82:6473597d706e | 71 | /* Uncomment the line below to expanse the "assert_param" macro in the |
bogdanm | 82:6473597d706e | 72 | Standard Peripheral Library drivers code */ |
bogdanm | 82:6473597d706e | 73 | /* #define USE_FULL_ASSERT 1 */ |
bogdanm | 82:6473597d706e | 74 | |
bogdanm | 82:6473597d706e | 75 | /* Exported macro ------------------------------------------------------------*/ |
bogdanm | 82:6473597d706e | 76 | #ifdef USE_FULL_ASSERT |
bogdanm | 82:6473597d706e | 77 | |
bogdanm | 82:6473597d706e | 78 | /** |
bogdanm | 82:6473597d706e | 79 | * @brief The assert_param macro is used for function's parameters check. |
bogdanm | 82:6473597d706e | 80 | * @param expr: If expr is false, it calls assert_failed function which reports |
bogdanm | 82:6473597d706e | 81 | * the name of the source file and the source line number of the call |
bogdanm | 82:6473597d706e | 82 | * that failed. If expr is true, it returns no value. |
bogdanm | 82:6473597d706e | 83 | * @retval None |
bogdanm | 82:6473597d706e | 84 | */ |
bogdanm | 82:6473597d706e | 85 | #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) |
bogdanm | 82:6473597d706e | 86 | /* Exported functions ------------------------------------------------------- */ |
bogdanm | 82:6473597d706e | 87 | void assert_failed(uint8_t* file, uint32_t line); |
bogdanm | 82:6473597d706e | 88 | #else |
bogdanm | 82:6473597d706e | 89 | #define assert_param(expr) ((void)0) |
bogdanm | 82:6473597d706e | 90 | #endif /* USE_FULL_ASSERT */ |
bogdanm | 82:6473597d706e | 91 | |
bogdanm | 82:6473597d706e | 92 | #endif /* __STM32F30X_CONF_H */ |
bogdanm | 82:6473597d706e | 93 | |
bogdanm | 82:6473597d706e | 94 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |