stm32f0xx_conf.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /**
  2. ******************************************************************************
  3. * @file IO_Toggle/stm32f0xx_conf.h
  4. * @author MCD Application Team
  5. * @version V1.0.0
  6. * @date 23-March-2012
  7. * @brief Library configuration file.
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
  12. *
  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:
  16. *
  17. * http://www.st.com/software_license_agreement_liberty_v2
  18. *
  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.
  24. *
  25. ******************************************************************************
  26. */
  27. /* Define to prevent recursive inclusion -------------------------------------*/
  28. #ifndef __STM32F0XX_CONF_H
  29. #define __STM32F0XX_CONF_H
  30. /* Includes ------------------------------------------------------------------*/
  31. /* Comment the line below to disable peripheral header file inclusion */
  32. #include "stm32f0xx_adc.h"
  33. #include "stm32f0xx_cec.h"
  34. #include "stm32f0xx_crc.h"
  35. #include "stm32f0xx_comp.h"
  36. #include "stm32f0xx_dac.h"
  37. #include "stm32f0xx_dbgmcu.h"
  38. #include "stm32f0xx_dma.h"
  39. #include "stm32f0xx_exti.h"
  40. #include "stm32f0xx_flash.h"
  41. #include "stm32f0xx_gpio.h"
  42. #include "stm32f0xx_syscfg.h"
  43. #include "stm32f0xx_i2c.h"
  44. #include "stm32f0xx_iwdg.h"
  45. #include "stm32f0xx_pwr.h"
  46. #include "stm32f0xx_rcc.h"
  47. #include "stm32f0xx_rtc.h"
  48. #include "stm32f0xx_spi.h"
  49. #include "stm32f0xx_tim.h"
  50. #include "stm32f0xx_usart.h"
  51. #include "stm32f0xx_wwdg.h"
  52. #include "stm32f0xx_misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
  53. /* Exported types ------------------------------------------------------------*/
  54. /* Exported constants --------------------------------------------------------*/
  55. /* Uncomment the line below to expanse the "assert_param" macro in the
  56. Standard Peripheral Library drivers code */
  57. /* #define USE_FULL_ASSERT 1 */
  58. /* Exported macro ------------------------------------------------------------*/
  59. #ifdef USE_FULL_ASSERT
  60. /**
  61. * @brief The assert_param macro is used for function's parameters check.
  62. * @param expr: If expr is false, it calls assert_failed function which reports
  63. * the name of the source file and the source line number of the call
  64. * that failed. If expr is true, it returns no value.
  65. * @retval None
  66. */
  67. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  68. /* Exported functions ------------------------------------------------------- */
  69. void assert_failed(uint8_t* file, uint32_t line);
  70. #else
  71. #define assert_param(expr) ((void)0)
  72. #endif /* USE_FULL_ASSERT */
  73. #endif /* __STM32F0XX_CONF_H */
  74. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/