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