1
0

stm32f2xx_conf.h 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /**
  2. ******************************************************************************
  3. * @file USART/USART_Printf/stm32f2xx_conf.h
  4. * @author MCD Application Team
  5. * @version V1.0.0
  6. * @date 18-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 __STM32F2xx_CONF_H
  23. #define __STM32F2xx_CONF_H
  24. /* Includes ------------------------------------------------------------------*/
  25. /* Uncomment the line below to enable peripheral header file inclusion */
  26. #include "stm32f2xx_adc.h"
  27. #include "stm32f2xx_can.h"
  28. #include "stm32f2xx_crc.h"
  29. #include "stm32f2xx_cryp.h"
  30. #include "stm32f2xx_dac.h"
  31. #include "stm32f2xx_dbgmcu.h"
  32. #include "stm32f2xx_dcmi.h"
  33. #include "stm32f2xx_dma.h"
  34. #include "stm32f2xx_exti.h"
  35. #include "stm32f2xx_flash.h"
  36. #include "stm32f2xx_fsmc.h"
  37. #include "stm32f2xx_hash.h"
  38. #include "stm32f2xx_gpio.h"
  39. #include "stm32f2xx_i2c.h"
  40. #include "stm32f2xx_iwdg.h"
  41. #include "stm32f2xx_pwr.h"
  42. #include "stm32f2xx_rcc.h"
  43. #include "stm32f2xx_rng.h"
  44. #include "stm32f2xx_rtc.h"
  45. #include "stm32f2xx_sdio.h"
  46. #include "stm32f2xx_spi.h"
  47. #include "stm32f2xx_syscfg.h"
  48. #include "stm32f2xx_tim.h"
  49. #include "stm32f2xx_usart.h"
  50. #include "stm32f2xx_wwdg.h"
  51. #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
  52. /* Exported types ------------------------------------------------------------*/
  53. /* Exported constants --------------------------------------------------------*/
  54. /* If an external clock source is used, then the value of the following define
  55. should be set to the value of the external clock source, else, if no external
  56. clock is used, keep this define commented */
  57. /*#define I2S_EXTERNAL_CLOCK_VAL 12288000 */ /* Value of the external clock in Hz */
  58. /* Uncomment the line below to expanse the "assert_param" macro in the
  59. Standard Peripheral Library drivers code */
  60. /* #define USE_FULL_ASSERT 1 */
  61. /* Exported macro ------------------------------------------------------------*/
  62. #ifdef USE_FULL_ASSERT
  63. /**
  64. * @brief The assert_param macro is used for function's parameters check.
  65. * @param expr: If expr is false, it calls assert_failed function
  66. * which reports the name of the source file and the source
  67. * line number of the call that failed.
  68. * If expr is true, it returns no value.
  69. * @retval None
  70. */
  71. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  72. /* Exported functions ------------------------------------------------------- */
  73. void assert_failed(uint8_t* file, uint32_t line);
  74. #else
  75. #define assert_param(expr) ((void)0)
  76. #endif /* USE_FULL_ASSERT */
  77. #endif /* __STM32F2xx_CONF_H */
  78. /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/