Device Firmware Update (DFU) Middleware Library 6.0
Read/Write Data IO Control Values

General Description

The values of the ctl parameter to the Cy_DFU_ReadData() and Cy_DFU_WriteData() functions.

Macros

#define CY_DFU_IOCTL_READ   (0x00U)
 Read data into the buffer.
 
#define CY_DFU_IOCTL_COMPARE   (0x01U)
 Compare read data with the data in the buffer.
 
#define CY_DFU_IOCTL_WRITE   (0x00U)
 Write the buffer to communication.
 
#define CY_DFU_IOCTL_ERASE   (0x01U)
 Erase memory page.
 
#define CY_DFU_IOCTL_BHP   (0x02U)
 Data from/to DFU Host. More...
 

Macro Definition Documentation

◆ CY_DFU_IOCTL_BHP

#define CY_DFU_IOCTL_BHP   (0x02U)

Data from/to DFU Host.

It may require decryption.