1 /** 2 ****************************************************************************** 3 * @file stm32f30x_conf.h 4 * @author MCD Application Team 5 * @version V1.2.2 6 * @date 14-August-2015 7 * @brief Library configuration file. 8 ****************************************************************************** 9 * @attention 10 * 11 * <h2><center>© COPYRIGHT 2015 STMicroelectronics</center></h2> 12 * 13 * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); 14 * You may not use this file except in compliance with the License. 15 * You may obtain a copy of the License at: 16 * 17 * http://www.st.com/software_license_agreement_liberty_v2 18 * 19 * Unless required by applicable law or agreed to in writing, software 20 * distributed under the License is distributed on an "AS IS" BASIS, 21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 22 * See the License for the specific language governing permissions and 23 * limitations under the License. 24 * 25 ****************************************************************************** 26 */ 27 28 /* Define to prevent recursive inclusion -------------------------------------*/ 29 #ifndef __STM32F30X_CONF_H 30 #define __STM32F30X_CONF_H 31 32 33 /* Includes ------------------------------------------------------------------*/ 34 /* Comment the line below to disable peripheral header file inclusion */ 35 #include "stm32f30x_adc.h" 36 #include "stm32f30x_can.h" 37 #include "stm32f30x_crc.h" 38 #include "stm32f30x_comp.h" 39 #include "stm32f30x_dac.h" 40 #include "stm32f30x_dbgmcu.h" 41 #include "stm32f30x_dma.h" 42 #include "stm32f30x_exti.h" 43 #include "stm32f30x_flash.h" 44 #include "stm32f30x_fmc.h" 45 #include "stm32f30x_gpio.h" 46 #include "stm32f30x_hrtim.h" 47 #include "stm32f30x_syscfg.h" 48 #include "stm32f30x_i2c.h" 49 #include "stm32f30x_iwdg.h" 50 #include "stm32f30x_opamp.h" 51 #include "stm32f30x_pwr.h" 52 #include "stm32f30x_rcc.h" 53 #include "stm32f30x_rtc.h" 54 #include "stm32f30x_spi.h" 55 #include "stm32f30x_tim.h" 56 #include "stm32f30x_usart.h" 57 #include "stm32f30x_wwdg.h" 58 #include "stm32f30x_misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ 59 60 /* Exported types ------------------------------------------------------------*/ 61 /* Exported constants --------------------------------------------------------*/ 62 /* Uncomment the line below to expanse the "assert_param" macro in the 63 Standard Peripheral Library drivers code */ 64 /* #define USE_FULL_ASSERT 1 */ 65 66 /* Exported macro ------------------------------------------------------------*/ 67 #ifdef USE_FULL_ASSERT 68 69 /** 70 * @brief The assert_param macro is used for function's parameters check. 71 * @param expr: If expr is false, it calls assert_failed function which reports 72 * the name of the source file and the source line number of the call 73 * that failed. If expr is true, it returns no value. 74 * @retval None 75 */ 76 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) 77 /* Exported functions ------------------------------------------------------- */ 78 void assert_failed(uint8_t* file, uint32_t line); 79 #else 80 #define assert_param(expr) ((void)0) 81 #endif /* USE_FULL_ASSERT */ 82 83 #endif /* __STM32F30X_CONF_H */ 84 85 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 86