stm32f10x_conf.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. ******************************************************************************
  3. * @file Project/STM32F10x_StdPeriph_Template/stm32f10x_conf.h
  4. * @author MCD Application Team
  5. * @version V3.6.0
  6. * @date 20-September-2021
  7. * @brief Library configuration file.
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * Copyright (c) 2011 STMicroelectronics.
  12. * All rights reserved.
  13. *
  14. * This software is licensed under terms that can be found in the LICENSE file
  15. * in the root directory of this software component.
  16. * If no LICENSE file comes with this software, it is provided AS-IS.
  17. *
  18. ******************************************************************************
  19. */
  20. /* Define to prevent recursive inclusion -------------------------------------*/
  21. #ifndef __STM32F10x_CONF_H
  22. #define __STM32F10x_CONF_H
  23. /* Includes ------------------------------------------------------------------*/
  24. /* Uncomment/Comment the line below to enable/disable peripheral header file inclusion */
  25. #include "stm32f10x_adc.h"
  26. #include "stm32f10x_bkp.h"
  27. #include "stm32f10x_can.h"
  28. #include "stm32f10x_cec.h"
  29. #include "stm32f10x_crc.h"
  30. #include "stm32f10x_dac.h"
  31. #include "stm32f10x_dbgmcu.h"
  32. #include "stm32f10x_dma.h"
  33. #include "stm32f10x_exti.h"
  34. #include "stm32f10x_flash.h"
  35. #include "stm32f10x_fsmc.h"
  36. #include "stm32f10x_gpio.h"
  37. #include "stm32f10x_i2c.h"
  38. #include "stm32f10x_iwdg.h"
  39. #include "stm32f10x_pwr.h"
  40. #include "stm32f10x_rcc.h"
  41. #include "stm32f10x_rtc.h"
  42. #include "stm32f10x_sdio.h"
  43. #include "stm32f10x_spi.h"
  44. #include "stm32f10x_tim.h"
  45. #include "stm32f10x_usart.h"
  46. #include "stm32f10x_wwdg.h"
  47. #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
  48. /* Exported types ------------------------------------------------------------*/
  49. /* Exported constants --------------------------------------------------------*/
  50. /* Uncomment the line below to expanse the "assert_param" macro in the
  51. Standard Peripheral Library drivers code */
  52. /* #define USE_FULL_ASSERT 1 */
  53. /* Exported macro ------------------------------------------------------------*/
  54. #ifdef USE_FULL_ASSERT
  55. /**
  56. * @brief The assert_param macro is used for function's parameters check.
  57. * @param expr: If expr is false, it calls assert_failed function which reports
  58. * the name of the source file and the source line number of the call
  59. * that failed. If expr is true, it returns no value.
  60. * @retval None
  61. */
  62. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  63. /* Exported functions ------------------------------------------------------- */
  64. void assert_failed(uint8_t* file, uint32_t line);
  65. #else
  66. #define assert_param(expr) ((void)0)
  67. #endif /* USE_FULL_ASSERT */
  68. #endif /* __STM32F10x_CONF_H */