Interface Flash Types

enum ee_itf_flash_status

Define the status value returned by the flash interface.

Values:

enumerator EE_ITF_FLASH_OK

Operation successful

enumerator EE_ITF_FLASH_OPEINT_WRITE

Operation write interrupted by reset

enumerator EE_ITF_FLASH_OPEINT_BURSTWRITE

Operation burst write interrupted by reset

enumerator EE_ITF_FLASH_OPEINT_ERASED

Operation erased interrupted by reset

enumerator EE_ITF_FLASH_NOTSUPPORTED

Operation not supported

enumerator EE_ITF_FLASH_ERROR

error detected

enumerator EE_ITF_FLASH_ERROR_ERASE

Error during erase operation

enumerator EE_ITF_FLASH_ERROR_WRITE

Error during write operation

enumerator EE_ITF_FLASH_ERROR_ECCC

Error related to ECC

enum ee_itf_flash_operation

Define the operation status corresponding return by ee_itf_flash_operation.

Values:

enumerator EE_ITF_FLASH_OPERATION_OK

Operation successful

enumerator EE_ITF_FLASH_OPERATION_ERROR

error detected

typedef void ( * ee_itf_flash_callback_t ) ( ee_itf_flash_operation )

Define the callback prototype to receive an operation status.