STM32F10x_StdPeriph_Examples/I2S/SPI_I2S_Switch/stm32f10x_conf.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    I2S/SPI_I2S_Switch/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 
00022 /* Define to prevent recursive inclusion -------------------------------------*/
00023 #ifndef __STM32F10x_CONF_H
00024 #define __STM32F10x_CONF_H
00025 
00026 /* Includes ------------------------------------------------------------------*/
00027 /* Uncomment the line below to enable peripheral header file inclusion */
00028 /* #include "stm32f10x_adc.h" */
00029 /* #include "stm32f10x_bkp.h" */
00030 /* #include "stm32f10x_can.h" */
00031 /* #include "stm32f10x_cec.h" */
00032 /* #include "stm32f10x_crc.h" */
00033 /* #include "stm32f10x_dac.h" */
00034 /* #include "stm32f10x_dbgmcu.h" */
00035 /* #include "stm32f10x_dma.h" */
00036 /* #include "stm32f10x_exti.h" */
00037 #include "stm32f10x_flash.h"
00038 /* #include "stm32f10x_fsmc.h" */
00039 #include "stm32f10x_gpio.h"
00040 /* #include "stm32f10x_i2c.h" */
00041 /* #include "stm32f10x_iwdg.h" */
00042 /* #include "stm32f10x_pwr.h" */
00043 #include "stm32f10x_rcc.h"
00044 /* #include "stm32f10x_rtc.h" */
00045 /* #include "stm32f10x_sdio.h" */
00046 #include "stm32f10x_spi.h"
00047 /* #include "stm32f10x_tim.h" */
00048 /* #include "stm32f10x_usart.h" */
00049 /* #include "stm32f10x_wwdg.h" */
00050 /* #include "misc.h" */  /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
00051 
00052 
00053 /* Exported types ------------------------------------------------------------*/
00054 /* Exported constants --------------------------------------------------------*/
00055 /* Uncomment the line below to expanse the "assert_param" macro in the 
00056    Standard Peripheral Library drivers code */
00057 /* #define USE_FULL_ASSERT    1 */
00058 
00059 /* Exported macro ------------------------------------------------------------*/
00060 #ifdef  USE_FULL_ASSERT
00061 
00062 /**
00063   * @brief  The assert_param macro is used for function's parameters check.
00064   * @param  expr: If expr is false, it calls assert_failed function
00065   *   which reports the name of the source file and the source
00066   *   line number of the call that failed. 
00067   *   If expr is true, it returns no value.
00068   * @retval None
00069   */
00070   #define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
00071 /* Exported functions ------------------------------------------------------- */
00072   void assert_failed(uint8_t* file, uint32_t line);
00073 #else
00074   #define assert_param(expr) ((void)0)
00075 #endif /* USE_FULL_ASSERT */
00076 
00077 #endif /* __STM32F10x_CONF_H */
00078 
00079 /******************* (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