AN2594: EEPROM emulation in STM32F10x microcontrollers: stm32f10x_conf.h Source File

AN2594: EEPROM

stm32f10x_conf.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    EEPROM_Emulation/inc/stm32f10x_conf.h 
00004   * @author  MCD Application Team
00005   * @version V3.1.0
00006   * @date    07/27/2009
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 2009 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_crc.h" */
00031 /* #include "stm32f10x_dac.h" */
00032 /* #include "stm32f10x_dbgmcu.h" */
00033 /* #include "stm32f10x_dma.h" */
00034 /* #include "stm32f10x_exti.h" */
00035 #include "stm32f10x_flash.h"
00036 /* #include "stm32f10x_fsmc.h" */
00037 /* #include "stm32f10x_gpio.h" */
00038 /* #include "stm32f10x_i2c.h" */
00039 /* #include "stm32f10x_iwdg.h" */
00040 /* #include "stm32f10x_pwr.h" */
00041 /* #include "stm32f10x_rcc.h" */
00042 /* #include "stm32f10x_rtc.h" */
00043 /* #include "stm32f10x_sdio.h" */
00044 /* #include "stm32f10x_spi.h" */
00045 /* #include "stm32f10x_tim.h" */
00046 /* #include "stm32f10x_usart.h" */
00047 /* #include "stm32f10x_wwdg.h" */
00048 /* #include "misc.h" */  /* High level functions for NVIC and SysTick (add-on to CMSIS functions) */
00049 
00050 /* Exported types ------------------------------------------------------------*/
00051 /* Exported constants --------------------------------------------------------*/
00052 /* Uncomment the line below to expanse the "assert_param" macro in the 
00053    Standard Peripheral Library drivers code */
00054 /* #define USE_FULL_ASSERT    1 */
00055 
00056 /* Exported macro ------------------------------------------------------------*/
00057 #ifdef  USE_FULL_ASSERT
00058 
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 2009 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