PSoC 6 Peripheral Driver Library

General Description

Data Structures

struct  cy_stc_flash_notify_t
 Flash notification configuration structure. More...
 

Enumerations

enum  cy_en_flashdrv_status_t {
  CY_FLASH_DRV_SUCCESS = 0x00UL,
  CY_FLASH_DRV_INV_PROT = ( CY_FLASH_ID_ERROR + 0x0UL),
  CY_FLASH_DRV_INVALID_FM_PL = ( CY_FLASH_ID_ERROR + 0x1UL),
  CY_FLASH_DRV_INVALID_FLASH_ADDR = ( CY_FLASH_ID_ERROR + 0x2UL),
  CY_FLASH_DRV_ROW_PROTECTED = ( CY_FLASH_ID_ERROR + 0x3UL),
  CY_FLASH_DRV_IPC_BUSY = ( CY_FLASH_ID_ERROR + 0x5UL),
  CY_FLASH_DRV_INVALID_INPUT_PARAMETERS = ( CY_FLASH_ID_ERROR + 0x6UL),
  CY_FLASH_DRV_PL_ROW_COMP_FA = ( CY_FLASH_ID_ERROR + 0x22UL),
  CY_FLASH_DRV_ERR_UNC = ( CY_FLASH_ID_ERROR + 0xFFUL),
  CY_FLASH_DRV_PROGRESS_NO_ERROR = ( CY_FLASH_ID_INFO + 0x0UL),
  CY_FLASH_DRV_OPERATION_STARTED = ( CY_FLASH_ID_INFO + 0x1UL),
  CY_FLASH_DRV_OPCODE_BUSY = ( CY_FLASH_ID_INFO + 0x2UL)
}
 This enum has the return values of the Flash driver. More...
 

Enumeration Type Documentation

◆ cy_en_flashdrv_status_t

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.