Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
stm32eeprom.h
00001 /** 00002 ****************************************************************************** 00003 * @file EEPROM_Emulation/inc/eeprom.h 00004 * @author MCD Application Team 00005 * @version V3.1.0 00006 * @date 07/27/2009 00007 * @brief This file contains all the functions prototypes for the EEPROM 00008 * emulation firmware library. 00009 ****************************************************************************** 00010 * @copy 00011 * 00012 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 00013 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 00014 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 00015 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 00016 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 00017 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 00018 * 00019 * <h2><center>© COPYRIGHT 2009 STMicroelectronics</center></h2> 00020 */ 00021 00022 /* Define to prevent recursive inclusion -------------------------------------*/ 00023 #ifndef __EEPROM_H 00024 #define __EEPROM_H 00025 00026 /* Includes ------------------------------------------------------------------*/ 00027 #include "stm32f10x_flash.h" 00028 00029 /* Exported constants --------------------------------------------------------*/ 00030 /* Define the STM32F10Xxx Flash page size depending on the used STM32 device */ 00031 #if defined (STM32F10X_LD) || defined (STM32F10X_MD) 00032 #define PAGE_SIZE (uint16_t)0x400 /* Page size = 1KByte */ 00033 #elif defined (STM32F10X_HD) || defined (STM32F10X_CL) 00034 #define PAGE_SIZE (uint16_t)0x800 /* Page size = 2KByte */ 00035 #endif 00036 00037 /* EEPROM start address in Flash */ 00038 #define EEPROM_START_ADDRESS ((uint32_t)0x0801fc00) /* EEPROM emulation start address: 00039 after 64KByte of used Flash memory */ 00040 00041 #endif /* __EEPROM_H */ 00042 00043 /******************* (C) COPYRIGHT 2009 STMicroelectronics *****END OF FILE****/
Generated on Tue Jul 12 2022 20:45:31 by
1.7.2