STM32F10x_StdPeriph_Examples/RCC/stm32f10x_conf.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    RCC/stm32f10x_conf.h 
00004   * @author  MCD Application Team
00005   * @version V3.4.0
00006   * @date    10/15/2010
00007   * @brief   Library configuration file.
00008   ******************************************************************************
00009   * @copy
00010   *
00011   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
00012   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
00013   * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
00014   * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
00015   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
00016   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
00017   *
00018   * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>
00019   */ 
00020 
00021 /* Define to prevent recursive inclusion -------------------------------------*/
00022 #ifndef __STM32F10x_CONF_H
00023 #define __STM32F10x_CONF_H
00024 
00025 /* Includes ------------------------------------------------------------------*/
00026 /* Uncomment the line below to enable peripheral header file inclusion */
00027 /* #include "stm32f10x_adc.h" */
00028 /* #include "stm32f10x_bkp.h" */
00029 /* #include "stm32f10x_can.h" */
00030 /* #include "stm32f10x_cec.h" */
00031 /* #include "stm32f10x_crc.h" */
00032 /* #include "stm32f10x_dac.h" */
00033 /* #include "stm32f10x_dbgmcu.h" */
00034 /* #include "stm32f10x_dma.h" */
00035 #include "stm32f10x_exti.h"
00036 #include "stm32f10x_flash.h"
00037 /* #include "stm32f10x_fsmc.h" */
00038 #include "stm32f10x_gpio.h"
00039 /* #include "stm32f10x_i2c.h" */
00040 /* #include "stm32f10x_iwdg.h" */
00041 /* #include "stm32f10x_pwr.h" */
00042 #include "stm32f10x_rcc.h"
00043 /* #include "stm32f10x_rtc.h" */
00044 /* #include "stm32f10x_sdio.h" */
00045 /* #include "stm32f10x_spi.h" */
00046 /* #include "stm32f10x_tim.h" */
00047 #include "stm32f10x_usart.h"
00048 /* #include "stm32f10x_wwdg.h" */
00049 #include "misc.h"  /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
00050 
00051 /* Exported types ------------------------------------------------------------*/
00052 /* Exported constants --------------------------------------------------------*/
00053 /* Uncomment the line below to expanse the "assert_param" macro in the 
00054    Standard Peripheral Library drivers code */
00055 /* #define USE_FULL_ASSERT    1 */
00056 
00057 /* Exported macro ------------------------------------------------------------*/
00058 #ifdef  USE_FULL_ASSERT
00059 
00060 /**
00061   * @brief  The assert_param macro is used for function's parameters check.
00062   * @param  expr: If expr is false, it calls assert_failed function
00063   *   which reports the name of the source file and the source
00064   *   line number of the call that failed. 
00065   *   If expr is true, it returns no value.
00066   * @retval None
00067   */
00068   #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
00069 /* Exported functions ------------------------------------------------------- */
00070   void assert_failed(uint8_t* file, uint32_t line);
00071 #else
00072   #define assert_param(expr) ((void)0)
00073 #endif /* USE_FULL_ASSERT */
00074 
00075 #endif /* __STM32F10x_CONF_H */
00076 
00077 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32