2 ******************************************************************************
3 * @file stm32f30x_conf.h
4 * @author MCD Application Team
6 * @date 04-September-2012
7 * @brief Library configuration file.
8 ******************************************************************************
11 * <h2><center>© COPYRIGHT 2012 STMicroelectronics</center></h2>
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:
17 * http://www.st.com/software_license_agreement_liberty_v2
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.
25 ******************************************************************************
28 /* Define to prevent recursive inclusion -------------------------------------*/
29 #ifndef __STM32F30X_CONF_H
30 #define __STM32F30X_CONF_H
32 /* Includes ------------------------------------------------------------------*/
33 /* Comment the line below to disable peripheral header file inclusion */
34 #include "stm32f30x_adc.h"
35 #include "stm32f30x_can.h"
36 #include "stm32f30x_crc.h"
37 #include "stm32f30x_comp.h"
38 #include "stm32f30x_dac.h"
39 #include "stm32f30x_dbgmcu.h"
40 #include "stm32f30x_dma.h"
41 #include "stm32f30x_exti.h"
42 #include "stm32f30x_flash.h"
43 #include "stm32f30x_gpio.h"
44 #include "stm32f30x_syscfg.h"
45 #include "stm32f30x_i2c.h"
46 #include "stm32f30x_iwdg.h"
47 #include "stm32f30x_opamp.h"
48 #include "stm32f30x_pwr.h"
49 #include "stm32f30x_rcc.h"
50 #include "stm32f30x_rtc.h"
51 #include "stm32f30x_spi.h"
52 #include "stm32f30x_tim.h"
53 #include "stm32f30x_usart.h"
54 #include "stm32f30x_wwdg.h"
55 #include "stm32f30x_misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
57 /* Exported types ------------------------------------------------------------*/
58 /* Exported constants --------------------------------------------------------*/
59 /* Uncomment the line below to expanse the "assert_param" macro in the
60 Standard Peripheral Library drivers code */
61 /* #define USE_FULL_ASSERT 1 */
63 /* Exported macro ------------------------------------------------------------*/
64 #ifdef USE_FULL_ASSERT
67 * @brief The assert_param macro is used for function's parameters check.
68 * @param expr: If expr is false, it calls assert_failed function which reports
69 * the name of the source file and the source line number of the call
70 * that failed. If expr is true, it returns no value.
73 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
74 /* Exported functions ------------------------------------------------------- */
75 void assert_failed(uint8_t *file
, uint32_t line
);
77 #define assert_param(expr) ((void)0)
78 #endif /* USE_FULL_ASSERT */
80 #endif /* __STM32F30X_CONF_H */
82 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/