1 |
582 |
jeremybenn |
/**
|
2 |
|
|
******************************************************************************
|
3 |
|
|
* @file Project/STM32L1xx_StdPeriph_Template/stm32l1xx_conf.h
|
4 |
|
|
* @author MCD Application Team
|
5 |
|
|
* @version V1.0.0RC1
|
6 |
|
|
* @date 07/02/2010
|
7 |
|
|
* @brief Library configuration file.
|
8 |
|
|
******************************************************************************
|
9 |
|
|
* @copy
|
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>© COPYRIGHT 2010 STMicroelectronics</center></h2>
|
19 |
|
|
*/
|
20 |
|
|
|
21 |
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
22 |
|
|
#ifndef __STM32L1xx_CONF_H
|
23 |
|
|
#define __STM32L1xx_CONF_H
|
24 |
|
|
|
25 |
|
|
/* Includes ------------------------------------------------------------------*/
|
26 |
|
|
/* Uncomment the line below to enable peripheral header file inclusion */
|
27 |
|
|
/* #include "stm32l1xx_adc.h" */
|
28 |
|
|
/* #include "stm32l1xx_crc.h" */
|
29 |
|
|
/* #include "stm32l1xx_comp.h" */
|
30 |
|
|
/* #include "stm32l1xx_dac.h" */
|
31 |
|
|
/* #include "stm32l1xx_dbgmcu.h" */
|
32 |
|
|
/* #include "stm32l1xx_dma.h" */
|
33 |
|
|
#include "stm32l1xx_exti.h"
|
34 |
|
|
/* #include "stm32l1xx_flash.h" */
|
35 |
|
|
#include "stm32l1xx_gpio.h"
|
36 |
|
|
#include "stm32l1xx_syscfg.h"
|
37 |
|
|
/* #include "stm32l1xx_i2c.h" */
|
38 |
|
|
/* #include "stm32l1xx_iwdg.h" */
|
39 |
|
|
/* #include "stm32l1xx_lcd.h" */
|
40 |
|
|
#include "stm32l1xx_pwr.h"
|
41 |
|
|
#include "stm32l1xx_rcc.h"
|
42 |
|
|
/* #include "stm32l1xx_rtc.h" */
|
43 |
|
|
#include "stm32l1xx_spi.h"
|
44 |
|
|
#include "stm32l1xx_tim.h"
|
45 |
|
|
#include "stm32l1xx_usart.h"
|
46 |
|
|
/* #include "stm32l1xx_wwdg.h" */
|
47 |
|
|
#include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
|
48 |
|
|
|
49 |
|
|
/* Exported types ------------------------------------------------------------*/
|
50 |
|
|
/* Exported constants --------------------------------------------------------*/
|
51 |
|
|
/* Uncomment the line below to expanse the "assert_param" macro in the
|
52 |
|
|
Standard Peripheral Library drivers code */
|
53 |
|
|
/* #define USE_FULL_ASSERT 1 */
|
54 |
|
|
|
55 |
|
|
/* Exported macro ------------------------------------------------------------*/
|
56 |
|
|
#ifdef USE_FULL_ASSERT
|
57 |
|
|
|
58 |
|
|
/**
|
59 |
|
|
* @brief The assert_param macro is used for function's parameters check.
|
60 |
|
|
* @param expr: If expr is false, it calls assert_failed function which reports
|
61 |
|
|
* the name of the source file and the source line number of the call
|
62 |
|
|
* that failed. If expr is true, it returns no value.
|
63 |
|
|
* @retval None
|
64 |
|
|
*/
|
65 |
|
|
#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
|
66 |
|
|
/* Exported functions ------------------------------------------------------- */
|
67 |
|
|
void assert_failed(uint8_t* file, uint32_t line);
|
68 |
|
|
#else
|
69 |
|
|
#define assert_param(expr) ((void)0)
|
70 |
|
|
#endif /* USE_FULL_ASSERT */
|
71 |
|
|
|
72 |
|
|
#endif /* __STM32L1xx_CONF_H */
|
73 |
|
|
|
74 |
|
|
/******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
|