PageRenderTime 22ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/GPSTracker/modem/stm32f10x_conf.h

https://github.com/robots/STM32
C Header | 72 lines | 16 code | 7 blank | 49 comment | 0 complexity | 7270c6d6358f02e074a9693ac76c7b6b MD5 | raw file
Possible License(s): LGPL-2.1
  1. /******************** (C) COPYRIGHT 2009 STMicroelectronics ********************
  2. * File Name : stm32f10x_conf.h
  3. * Author : MCD Application Team
  4. * Version : V3.0.1
  5. * Date : 04/27/2009
  6. * Description : Library configuration file.
  7. ********************************************************************************
  8. * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
  9. * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
  10. * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
  11. * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
  12. * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
  13. * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
  14. *******************************************************************************/
  15. /* Define to prevent recursive inclusion -------------------------------------*/
  16. #ifndef __STM32F10x_CONF_H
  17. #define __STM32F10x_CONF_H
  18. /* Includes ------------------------------------------------------------------*/
  19. /* Uncomment the line below to enable peripheral header file inclusion */
  20. #include "stm32f10x_adc.h"
  21. /* #include "stm32f10x_bkp.h" */
  22. /* #include "stm32f10x_can.h" */
  23. /* #include "stm32f10x_crc.h" */
  24. /* #include "stm32f10x_dac.h" */
  25. /* #include "stm32f10x_dbgmcu.h" */
  26. #include "stm32f10x_dma.h"
  27. #include "stm32f10x_exti.h"
  28. /* #include "stm32f10x_flash.h" */
  29. /* #include "stm32f10x_fsmc.h" */
  30. #include "stm32f10x_gpio.h"
  31. /* #include "stm32f10x_i2c.h" */
  32. /* #include "stm32f10x_iwdg.h" */
  33. /* #include "stm32f10x_pwr.h" */
  34. #include "stm32f10x_rcc.h"
  35. /* #include "stm32f10x_rtc.h" */
  36. /* #include "stm32f10x_sdio.h" */
  37. #include "stm32f10x_spi.h"
  38. /* #include "stm32f10x_tim.h" */
  39. /* #include "stm32f10x_usart.h" */
  40. /* #include "stm32f10x_wwdg.h" */
  41. #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
  42. /* Exported types ------------------------------------------------------------*/
  43. /* Exported constants --------------------------------------------------------*/
  44. /* Uncomment the line below to expanse the "assert_param" macro in the
  45. Standard Peripheral Library drivers code */
  46. /* #define USE_FULL_ASSERT 1 */
  47. /* Exported macro ------------------------------------------------------------*/
  48. #ifdef USE_FULL_ASSERT
  49. /*******************************************************************************
  50. * Macro Name : assert_param
  51. * Description : The assert_param macro is used for function's parameters check.
  52. * Input : - expr: If expr is false, it calls assert_failed function
  53. * which reports the name of the source file and the source
  54. * line number of the call that failed.
  55. * If expr is true, it returns no value.
  56. * Return : None
  57. *******************************************************************************/
  58. #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
  59. /* Exported functions ------------------------------------------------------- */
  60. void assert_failed(uint8_t* file, uint32_t line);
  61. #else
  62. #define assert_param(expr) ((void)0)
  63. #endif /* USE_FULL_ASSERT */
  64. #endif /* __STM32F10x_CONF_H */
  65. /******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/