stm8l15x_conf.h 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /**
  2. ******************************************************************************
  3. * @file Project/STM8L15x_StdPeriph_Template/stm8l15x_conf.h
  4. * @author MCD Application Team
  5. * @version V1.6.1
  6. * @date 30-September-2014
  7. * @brief Library configuration file.
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * <h2><center>&copy; COPYRIGHT 2014 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 __STM8L15x_CONF_H
  29. #define __STM8L15x_CONF_H
  30. /* Includes ------------------------------------------------------------------*/
  31. #include "stm8l15x.h"
  32. /* Uncomment the line below to enable peripheral header file inclusion */
  33. #include "stm8l15x_adc.h"
  34. #include "stm8l15x_aes.h"
  35. #include "stm8l15x_beep.h"
  36. #include "stm8l15x_clk.h"
  37. #include "stm8l15x_comp.h"
  38. #include "stm8l15x_dac.h"
  39. #include "stm8l15x_dma.h"
  40. #include "stm8l15x_exti.h"
  41. #include "stm8l15x_flash.h"
  42. #include "stm8l15x_gpio.h"
  43. #include "stm8l15x_i2c.h"
  44. #include "stm8l15x_irtim.h"
  45. #include "stm8l15x_itc.h"
  46. #include "stm8l15x_iwdg.h"
  47. #include "stm8l15x_lcd.h"
  48. #include "stm8l15x_pwr.h"
  49. #include "stm8l15x_rst.h"
  50. #include "stm8l15x_rtc.h"
  51. #include "stm8l15x_spi.h"
  52. #include "stm8l15x_syscfg.h"
  53. #include "stm8l15x_tim1.h"
  54. #include "stm8l15x_tim2.h"
  55. #include "stm8l15x_tim3.h"
  56. #include "stm8l15x_tim4.h"
  57. #include "stm8l15x_tim5.h"
  58. #include "stm8l15x_usart.h"
  59. #include "stm8l15x_wfe.h"
  60. #include "stm8l15x_wwdg.h"
  61. /* Exported types ------------------------------------------------------------*/
  62. /* Exported constants --------------------------------------------------------*/
  63. /* Uncomment the line below to expanse the "assert_param" macro in the
  64. Standard Peripheral Library drivers code */
  65. /* #define USE_FULL_ASSERT (1) */
  66. /* Exported macro ------------------------------------------------------------*/
  67. #ifdef USE_FULL_ASSERT
  68. /**
  69. * @brief The assert_param macro is used for function's parameters check.
  70. * @param expr: If expr is false, it calls assert_failed function
  71. * which reports the name of the source file and the source
  72. * line number of the call that failed.
  73. * If expr is true, it returns no value.
  74. * @retval : None
  75. */
  76. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  77. /* Exported functions ------------------------------------------------------- */
  78. void assert_failed(uint8_t* file, uint32_t line);
  79. #else
  80. #define assert_param(expr) ((void)0)
  81. #endif /* USE_FULL_ASSERT */
  82. #endif /* __STM8L15x_CONF_H */
  83. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/