Device Firmware Update (DFU) Middleware Library 6.2 6.2.100.2910
 
Loading...
Searching...
No Matches
Host Mode Macros

General Description

Macros

#define CY_DFU_OPT_HOST_MODE   (1U)
 The definition of Host transport enables DFU Host mode.
 
#define HOST_MODE_CMD_MODE_IDX   (0U)
 Host mode index.
 
#define HOST_MODE_INTERFACE_IDX   (1U)
 Host mode interface.
 
#define HOST_MODE_INTERFACE_DEFAULT   (0U)
 Host mode single interface.
 
#define HOST_MODE_INTERFACE_I2C   (1U)
 Host mode I2C interface.
 
#define HOST_MODE_INTERFACE_UART   (3U)
 Host mode UART interface.
 
#define HOST_MODE_CMD_MODE_BRIDGING   (0U)
 Host mode is bridging.
 
#define PACKET_HEADER_SIZE   (4U)
 Size of the DFU packet header in bytes.
 
#define PACKET_FOOTER_SIZE   (3U)
 Size of the DFU packet footer in bytes.
 
#define TRANSPORT_REPLY_TIMEOUT_MS   (1000U)
 Companion device reply timeout, mS.
 
#define CY_DFU_TRANSPORT_REPLY_DELAY_US   (1000U)
 Companion device reply delay, uS.
 

Macro Definition Documentation

◆ CY_DFU_OPT_HOST_MODE

#define CY_DFU_OPT_HOST_MODE   (1U)

The definition of Host transport enables DFU Host mode.

DFU host mode is active