roverSTM  UM2 2013
Projet M1 Navarro Benjamin
 All Classes Files Functions Groups Pages
stm32f4xx_conf.h
1 
22 /* Define to prevent recursive inclusion -------------------------------------*/
23 #ifndef __STM32F4xx_CONF_H
24 #define __STM32F4xx_CONF_H
25 
26 #if defined (HSE_VALUE)
27 /* Redefine the HSE value; it's equal to 8 MHz on the STM32F4-DISCOVERY Kit */
28  #undef HSE_VALUE
29  #define HSE_VALUE ((uint32_t)8000000)
30 #endif /* HSE_VALUE */
31 
32 /* Includes ------------------------------------------------------------------*/
33 /* Uncomment the line below to enable peripheral header file inclusion */
34 #include "stm32f4xx_adc.h"
35 #include "stm32f4xx_can.h"
36 #include "stm32f4xx_crc.h"
37 #include "stm32f4xx_cryp.h"
38 #include "stm32f4xx_dac.h"
39 #include "stm32f4xx_dbgmcu.h"
40 #include "stm32f4xx_dcmi.h"
41 #include "stm32f4xx_dma.h"
42 #include "stm32f4xx_exti.h"
43 #include "stm32f4xx_flash.h"
44 #include "stm32f4xx_fsmc.h"
45 #include "stm32f4xx_hash.h"
46 #include "stm32f4xx_gpio.h"
47 #include "stm32f4xx_i2c.h"
48 #include "stm32f4xx_iwdg.h"
49 #include "stm32f4xx_pwr.h"
50 #include "stm32f4xx_rcc.h"
51 #include "stm32f4xx_rng.h"
52 #include "stm32f4xx_rtc.h"
53 #include "stm32f4xx_sdio.h"
54 #include "stm32f4xx_spi.h"
55 #include "stm32f4xx_syscfg.h"
56 #include "stm32f4xx_tim.h"
57 #include "stm32f4xx_usart.h"
58 #include "stm32f4xx_wwdg.h"
59 #include "misc.h" /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
60 
61 /* Exported types ------------------------------------------------------------*/
62 /* Exported constants --------------------------------------------------------*/
63 
64 /* If an external clock source is used, then the value of the following define
65  should be set to the value of the external clock source, else, if no external
66  clock is used, keep this define commented */
67 /*#define I2S_EXTERNAL_CLOCK_VAL 12288000 */ /* Value of the external clock in Hz */
68 
69 
70 /* Uncomment the line below to expanse the "assert_param" macro in the
71  Standard Peripheral Library drivers code */
72 /* #define USE_FULL_ASSERT 1 */
73 
74 /* Exported macro ------------------------------------------------------------*/
75 #ifdef USE_FULL_ASSERT
76 
85  #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
86 /* Exported functions ------------------------------------------------------- */
87  void assert_failed(uint8_t* file, uint32_t line);
88 #else
89  #define assert_param(expr) ((void)0)
90 #endif /* USE_FULL_ASSERT */
91 
92 #endif /* __STM32F4xx_CONF_H */
93 
94 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/