APM:Libraries
|
Go to the source code of this file.
Classes | |
class | EEPROMClass |
Macros | |
#define | EEPROM_ERASED ((uint16_t)0xFFFF) /* PAGE is empty */ |
#define | EEPROM_RECEIVE_DATA ((uint16_t)0xEEEE) /* PAGE is marked to receive data */ |
#define | EEPROM_VALID_PAGE ((uint16_t)0xAAAA) /* 1st PAGE containing valid data */ |
#define | ADDRESS_MASK 0x3fff |
#define | FLAGS_MASK (~ADDRESS_MASK) |
#define | EEPROM_DEFAULT_DATA 0xFFFF |
#define | FLASH_CR_ERRIE ((uint32_t)0x02000000) |
Enumerations | |
enum | { EEPROM_OK = 0x00, EEPROM_OUT_SIZE = 0x81, EEPROM_BAD_ADDRESS = 0x82, EEPROM_BAD_FLASH = 0x83, EEPROM_NOT_INIT = 0x84, EEPROM_WRITE_FAILED = 0x96, EEPROM_NO_VALID_PAGE = 0xAB } |
Variables | |
EEPROMClass | EEPROM |
#define ADDRESS_MASK 0x3fff |
Definition at line 11 of file EEPROM.h.
Referenced by EEPROMClass::_GetVariablesCount(), EEPROMClass::_PageTransfer(), EEPROMClass::_VerifyPageFullWriteVariable(), EEPROMClass::read(), and EEPROMClass::write().
#define EEPROM_DEFAULT_DATA 0xFFFF |
Definition at line 25 of file EEPROM.h.
Referenced by EEPROMClass::read().
#define EEPROM_ERASED ((uint16_t)0xFFFF) /* PAGE is empty */ |
Definition at line 7 of file EEPROM.h.
Referenced by EEPROMClass::_CheckPage(), EEPROMClass::_ErasePage(), EEPROMClass::_FindValidPage(), EEPROMClass::_format(), EEPROMClass::_init(), and EEPROMClass::_PageTransfer().
#define EEPROM_RECEIVE_DATA ((uint16_t)0xEEEE) /* PAGE is marked to receive data */ |
Definition at line 8 of file EEPROM.h.
Referenced by EEPROMClass::_ErasePage(), EEPROMClass::_init(), and EEPROMClass::_VerifyPageFullWriteVariable().
#define EEPROM_VALID_PAGE ((uint16_t)0xAAAA) /* 1st PAGE containing valid data */ |
Definition at line 9 of file EEPROM.h.
Referenced by EEPROMClass::_ErasePage(), EEPROMClass::_FindValidPage(), EEPROMClass::_format(), EEPROMClass::_init(), and EEPROMClass::_PageTransfer().
#define FLAGS_MASK (~ADDRESS_MASK) |
Definition at line 12 of file EEPROM.h.
Referenced by EEPROMClass::_GetVariablesCount(), and EEPROMClass::_PageTransfer().
#define FLASH_CR_ERRIE ((uint32_t)0x02000000) |
Definition at line 27 of file EEPROM.h.
Referenced by EEPROMClass::FLASH_Lock_check().
anonymous enum |
EEPROMClass EEPROM |
Definition at line 717 of file EEPROM.cpp.