stm32f10x_conf.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. /**
  2. ******************************************************************************
  3. * @file SPI/SPI_FLASH/stm32f10x_conf.h
  4. * @author MCD Application Team
  5. * @version V3.5.0
  6. * @date 08-April-2011
  7. * @brief Library configuration file.
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  12. * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
  13. * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
  14. * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
  15. * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
  16. * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  17. *
  18. * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
  19. ******************************************************************************
  20. */
  21. /* Define to prevent recursive inclusion -------------------------------------*/
  22. #ifndef __STM32F10x_CONF_H
  23. #define __STM32F10x_CONF_H
  24. /* Includes ------------------------------------------------------------------*/
  25. /* Uncomment/Comment the line below to enable/disable peripheral header file inclusion */
  26. #include "stm32f10x_adc.h"
  27. #include "stm32f10x_bkp.h"
  28. #include "stm32f10x_can.h"
  29. #include "stm32f10x_cec.h"
  30. #include "stm32f10x_crc.h"
  31. #include "stm32f10x_dac.h"
  32. #include "stm32f10x_dbgmcu.h"
  33. #include "stm32f10x_dma.h"
  34. #include "stm32f10x_exti.h"
  35. #include "stm32f10x_flash.h"
  36. #include "stm32f10x_fsmc.h"
  37. #include "stm32f10x_gpio.h"
  38. #include "stm32f10x_i2c.h"
  39. #include "stm32f10x_iwdg.h"
  40. #include "stm32f10x_pwr.h"
  41. #include "stm32f10x_rcc.h"
  42. #include "stm32f10x_rtc.h"
  43. #include "stm32f10x_sdio.h"
  44. #include "stm32f10x_spi.h"
  45. #include "stm32f10x_tim.h"
  46. #include "stm32f10x_usart.h"
  47. #include "stm32f10x_wwdg.h"
  48. #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
  49. /* Exported types ------------------------------------------------------------*/
  50. /* Exported constants --------------------------------------------------------*/
  51. /* Uncomment the line below to expanse the "assert_param" macro in the
  52. Standard Peripheral Library drivers code */
  53. /* #define USE_FULL_ASSERT 1 */
  54. /* Exported macro ------------------------------------------------------------*/
  55. #ifdef USE_FULL_ASSERT
  56. /**
  57. * @brief The assert_param macro is used for function's parameters check.
  58. * @param expr: If expr is false, it calls assert_failed function which reports
  59. * the name of the source file and the source line number of the call
  60. * that failed. If expr is true, it returns no value.
  61. * @retval None
  62. */
  63. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  64. /* Exported functions ------------------------------------------------------- */
  65. void assert_failed(uint8_t* file, uint32_t line);
  66. #else
  67. #define assert_param(expr) ((void)0)
  68. #endif /* USE_FULL_ASSERT */
  69. #endif /* __STM32F10x_CONF_H */
  70. /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/