This enum has the return values of the Flash driver.
Enumerator |
---|
CY_FLASH_DRV_SUCCESS | Success.
|
CY_FLASH_DRV_INV_PROT | Invalid device protection state.
|
CY_FLASH_DRV_INVALID_FM_PL | Invalid flash page latch address.
|
CY_FLASH_DRV_INVALID_FLASH_ADDR | Invalid flash address.
|
CY_FLASH_DRV_ROW_PROTECTED | Row is write protected.
|
CY_FLASH_DRV_IPC_BUSY | IPC structure is already locked by another process.
|
CY_FLASH_DRV_INVALID_INPUT_PARAMETERS | Input parameters passed to Flash API are not valid.
|
CY_FLASH_DRV_PL_ROW_COMP_FA | Comparison between Page Latches and FM row failed.
|
CY_FLASH_DRV_ERR_UNC | Unknown error code.
See Cy_Flash_GetExternalStatus()
|
CY_FLASH_DRV_PROGRESS_NO_ERROR | Command in progress; no error.
|
CY_FLASH_DRV_OPERATION_STARTED | Flash operation is successfully initiated.
|
CY_FLASH_DRV_OPCODE_BUSY | Flash is under operation.
|
CY_FLASH_DRV_CHECKSUM_NON_ZERO | Checksum of FLASH resulted in non-zero (SROM STATUS CODE: 0xF000000A)
|
CY_FLASH_DRV_NO_ERASE_SUSPEND | Returned when EraseResume is called when no sector is suspended from erase (SROM STATUS CODE: 0xF0000092)
|
CY_FLASH_DRV_FLASH_NOT_ERASED | Returned when ProgramRow is invoked on unerased cells or blank check fails (SROM STATUS CODE: 0xF00000A4)
|
CY_FLASH_DRV_NO_ERASE_ONGOING | Returned by EraseSuspend when called with no ongoing erase operation (SROM STATUS CODE: 0xF00000A5)
|
CY_FLASH_DRV_ACTIVE_ERASE | Returned by ProgramRow when active erase operation is going on (SROM STATUS CODE: 0xF00000A6)
|
CY_FLASH_DRV_INVALID_DATA_WIDTH | Returned by ProgramRow API if invalid program width option is provided (SROM STATUS CODE: 0xF00000A8)
|
CY_FLASH_DRV_FLASH_SAFTEY_ENABLED | Returned by FLASH program/erase APIs when writes are disabled in safety register (SROM STATUS CODE: 0xF00000AA)
|
CY_FLASH_DRV_INVALID_SFLASH_ADDR | Returned when WriteRow is called on invalid SFLASH rows in NORMAL state (SROM STATUS CODE: 0xF00000B2)
|
CY_FLASH_DRV_SFLASH_BACKUP_ERASED | Returned by Sflash programming APIs when backup sector is in erased state (SROM STATUS CODE: 0xF00000BB)
|
CY_FLASH_DRV_SECTOR_SUSPEND | Returned when Program operation is called on sector which is suspended from erase (SROM STATUS CODE: 0xF0000091)
|
CY_FLASH_DRV_SROM_API_TIMEOUT | Time out happens after calling srom API driver.
|