STM32F10x_StdPeriph_Examples/USART/Printf/stm32f10x_conf.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file USART/Printf/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   * @brief  The assert_param macro is used for function's parameters check.
00061   * @param  expr: If expr is false, it calls assert_failed function
00062   *   which reports the name of the source file and the source
00063   *   line number of the call that failed. 
00064   *   If expr is true, it returns no value.
00065   * @retval None
00066   */
00067   #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
00068 /* Exported functions ------------------------------------------------------- */
00069   void assert_failed(uint8_t* file, uint32_t line);
00070 #else
00071   #define assert_param(expr) ((void)0)
00072 #endif /* USE_FULL_ASSERT */
00073 
00074 #endif /* __STM32F10x_CONF_H */
00075 
00076 /******************* (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