This section describes the Emulated EEPROM Macros.
Macros | |
#define | CY_EM_EEPROM_MW_VERSION_MAJOR (2) |
Library major version. | |
#define | CY_EM_EEPROM_MW_VERSION_MINOR (20) |
Library minor version. | |
#define | CY_EM_EEPROM_ID (CY_PDL_DRV_ID(0x1BuL)) |
Em_EEPROM PDL ID. | |
#define | CY_EM_EEPROM_ID_ERROR ((uint32_t)(CY_EM_EEPROM_ID | CY_PDL_STATUS_ERROR)) |
A prefix for Em_EEPROM function error return-values. | |
#define | CY_EM_EEPROM_FLASH_SIZEOF_ROW (CY_FLASH_SIZEOF_ROW) |
Defines the size of a flash row. | |
#define | CY_EM_EEPROM_EEPROM_DATA_LEN(simpleMode) (CY_EM_EEPROM_FLASH_SIZEOF_ROW / (2uL - (simpleMode))) |
Defines the maximum data length that can be stored in one flash row. | |
#define | CY_EM_EEPROM_GET_NUM_ROWS_IN_EEPROM(dataSize, simpleMode) ((((dataSize) - 1uL) / (CY_EM_EEPROM_EEPROM_DATA_LEN(simpleMode))) + 1uL) |
The number of flash rows required to create an Em_EEPROM of dataSize. | |
#define | CY_EM_EEPROM_GET_NUM_DATA(dataSize, simpleMode) |
Defines the size of flash without wear leveling and redundant copy overhead. More... | |
#define | CY_EM_EEPROM_GET_PHYSICAL_SIZE(dataSize, simpleMode, wearLeveling, redundantCopy) |
Returns the size of flash allocated for Em_EEPROM including wear leveling and a redundant copy overhead. More... | |
#define CY_EM_EEPROM_GET_NUM_DATA | ( | dataSize, | |
simpleMode | |||
) |
Defines the size of flash without wear leveling and redundant copy overhead.
#define CY_EM_EEPROM_GET_PHYSICAL_SIZE | ( | dataSize, | |
simpleMode, | |||
wearLeveling, | |||
redundantCopy | |||
) |
Returns the size of flash allocated for Em_EEPROM including wear leveling and a redundant copy overhead.