Macros

group group_em_eeprom_macros

This section describes the Emulated EEPROM Macros.

Defines

CY_EM_EEPROM_MW_VERSION_MAJOR

Library major version.

CY_EM_EEPROM_MW_VERSION_MINOR

Library minor version.

CY_EM_EEPROM_ID

Em_EEPROM PDL ID.

CY_EM_EEPROM_ID_ERROR

A prefix for Em_EEPROM function error return-values.

CY_EM_EEPROM_FLASH_SIZEOF_ROW

Defines the size of a flash row.

CY_EM_EEPROM_EEPROM_DATA_LEN(simpleMode)

Defines the maximum data length that can be stored in one flash row.

CY_EM_EEPROM_GET_NUM_ROWS_IN_EEPROM(dataSize, simpleMode)

The number of flash rows required to create an Em_EEPROM of dataSize.

CY_EM_EEPROM_GET_NUM_DATA(dataSize, simpleMode)

Defines the maximum number of byte that can be stored in the Em_EEPROM storage.

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.