00001 00023 /* Define to prevent recursive inclusion -------------------------------------*/ 00024 #ifndef __STM32F10x_CONF_H 00025 #define __STM32F10x_CONF_H 00026 00027 /* Includes ------------------------------------------------------------------*/ 00028 /* Uncomment the line below to enable peripheral header file inclusion */ 00029 /* #include "stm32f10x_adc.h" */ 00030 #include "stm32f10x_bkp.h" 00031 /* #include "stm32f10x_can.h" */ 00032 /* #include "stm32f10x_crc.h" */ 00033 /* #include "stm32f10x_dac.h" */ 00034 /* #include "stm32f10x_dbgmcu.h" */ 00035 #include "stm32f10x_dma.h" 00036 // #include "stm32f10x_exti.h" 00037 #include "stm32f10x_flash.h" 00038 #include "stm32f10x_fsmc.h" 00039 #include "stm32f10x_gpio.h" 00040 /* #include "stm32f10x_i2c.h" */ 00041 /* #include "stm32f10x_iwdg.h" */ 00042 #include "stm32f10x_pwr.h" 00043 #include "stm32f10x_rcc.h" 00044 #include "stm32f10x_rtc.h" 00045 /* #include "stm32f10x_sdio.h" */ 00046 /* #include "stm32f10x_spi.h" */ 00047 #include "stm32f10x_tim.h" 00048 #include "stm32f10x_usart.h" 00049 /* #include "stm32f10x_wwdg.h" */ 00050 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */ 00051 00052 /* Exported types ------------------------------------------------------------*/ 00053 /* Exported constants --------------------------------------------------------*/ 00054 /* Uncomment the line below to expanse the "assert_param" macro in the 00055 Standard Peripheral Library drivers code */ 00056 /* #define USE_FULL_ASSERT 1 */ 00057 00058 /* Exported macro ------------------------------------------------------------*/ 00059 #ifdef USE_FULL_ASSERT 00060 00069 #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__)) 00070 /* Exported functions ------------------------------------------------------- */ 00071 void assert_failed(uint8_t* file, uint32_t line); 00072 #else 00073 #define assert_param(expr) ((void)0) 00074 #endif /* USE_FULL_ASSERT */ 00075 00076 #endif /* __STM32F10x_CONF_H */ 00077 00078 /******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/