Em_EEPROM Middleware Library 2.20
Enumerated Types

General Description

This section describes the enumeration types defined by the Emulated EEPROM.

Specifies the return values meaning.

Enumerations

enum  cy_en_em_eeprom_status_t {
  CY_EM_EEPROM_SUCCESS = 0x00uL,
  CY_EM_EEPROM_BAD_PARAM = (CY_EM_EEPROM_ID_ERROR + 1uL),
  CY_EM_EEPROM_BAD_CHECKSUM = (CY_EM_EEPROM_ID_ERROR + 2uL),
  CY_EM_EEPROM_BAD_DATA = (CY_EM_EEPROM_ID_ERROR + 3uL),
  CY_EM_EEPROM_WRITE_FAIL = (CY_EM_EEPROM_ID_ERROR + 4uL),
  CY_EM_EEPROM_REDUNDANT_COPY_USED = (CY_EM_EEPROM_ID_ERROR + 5uL)
}
 The Em_EEPROM return enumeration type. More...
 

Enumeration Type Documentation

◆ cy_en_em_eeprom_status_t

The Em_EEPROM return enumeration type.

Enumerator
CY_EM_EEPROM_SUCCESS 

The operation executed successfully.

CY_EM_EEPROM_BAD_PARAM 

The function input parameter is invalid.

CY_EM_EEPROM_BAD_CHECKSUM 

The data in Em_EEPROM is corrupted.

CY_EM_EEPROM_BAD_DATA 

The provided configuration is invalid or placing Em_EEPROM in flash failed.

CY_EM_EEPROM_WRITE_FAIL 

Write to Em_EEPROM failed.

CY_EM_EEPROM_REDUNDANT_COPY_USED 

When redundant copy is enabled and one of the copies has bad CRC and other one valid CRC.