Enumerations | |
enum | cy_en_dfu_status_t { CY_DFU_SUCCESS = 0x00U, CY_DFU_ERROR_VERIFY = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x02U, CY_DFU_ERROR_LENGTH = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x03U, CY_DFU_ERROR_DATA = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x04U, CY_DFU_ERROR_CMD = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x05U, CY_DFU_ERROR_CHECKSUM = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x08U, CY_DFU_ERROR_ADDRESS = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x0AU, CY_DFU_ERROR_WRITE_EXT = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x0BU, CY_DFU_ERROR_READ_EXT = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x0CU, CY_DFU_ERROR_NULL_OBJ_EXT = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x0DU, CY_DFU_ERROR_TIMEOUT = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x40U, CY_DFU_ERROR_BAD_PARAM = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x50U, CY_DFU_ERROR_UNKNOWN = CY_DFU_ID | CY_PDL_STATUS_ERROR | 0x0FU } |
Used to return the statuses of most DFU SDK APIs. More... | |
enum | cy_en_dfu_transport_t { CY_DFU_I2C = 0x01U, CY_DFU_UART = 0x02U, CY_DFU_SPI = 0x03U, CY_DFU_USB_CDC = 0x04U, CY_DFU_USB_HID = 0x05U, CY_DFU_CANFD = 0x06U } |
Used to select one of the transport interfaces for the update session. More... | |
enum cy_en_dfu_status_t |
Used to return the statuses of most DFU SDK APIs.
Enumerator | |
---|---|
CY_DFU_SUCCESS | Correct status, No error. |
CY_DFU_ERROR_VERIFY | Verification failed. |
CY_DFU_ERROR_LENGTH | The length of the received packet is outside of the expected range. |
CY_DFU_ERROR_DATA | The data in the received packet is invalid. |
CY_DFU_ERROR_CMD | The command is not recognized. |
CY_DFU_ERROR_CHECKSUM | The checksum does not match the expected value. |
CY_DFU_ERROR_ADDRESS | The wrong address. |
CY_DFU_ERROR_WRITE_EXT | The write to external memory device failed. |
CY_DFU_ERROR_READ_EXT | The read from external memory device failed. |
CY_DFU_ERROR_NULL_OBJ_EXT | The pointer to an external memory object is not provided. Ensure that Cy_DFU_AddExtMemory is called with the proper input parameters. |
CY_DFU_ERROR_TIMEOUT | The command timed out. |
CY_DFU_ERROR_BAD_PARAM | One or more of input parameters are invalid. |
CY_DFU_ERROR_UNKNOWN | An unknown DFU error, this shall not happen. |
Used to select one of the transport interfaces for the update session.