30#include "common/tusb_common.h"
43 DFU_PROTOCOL_RT = 0x01,
44 DFU_PROTOCOL_DFU = 0x02,
50 DFU_DESC_FUNCTIONAL = 0x21,
51} dfu_descriptor_type_t;
55 DFU_REQUEST_DETACH = 0,
56 DFU_REQUEST_DNLOAD = 1,
57 DFU_REQUEST_UPLOAD = 2,
58 DFU_REQUEST_GETSTATUS = 3,
59 DFU_REQUEST_CLRSTATUS = 4,
60 DFU_REQUEST_GETSTATE = 5,
61 DFU_REQUEST_ABORT = 6,
72 DFU_MANIFEST_SYNC = 6,
74 DFU_MANIFEST_WAIT_RESET = 8,
82 DFU_STATUS_ERR_TARGET = 0x01,
83 DFU_STATUS_ERR_FILE = 0x02,
84 DFU_STATUS_ERR_WRITE = 0x03,
85 DFU_STATUS_ERR_ERASE = 0x04,
86 DFU_STATUS_ERR_CHECK_ERASED = 0x05,
87 DFU_STATUS_ERR_PROG = 0x06,
88 DFU_STATUS_ERR_VERIFY = 0x07,
89 DFU_STATUS_ERR_ADDRESS = 0x08,
90 DFU_STATUS_ERR_NOTDONE = 0x09,
91 DFU_STATUS_ERR_FIRMWARE = 0x0A,
92 DFU_STATUS_ERR_VENDOR = 0x0B,
93 DFU_STATUS_ERR_USBR = 0x0C,
94 DFU_STATUS_ERR_POR = 0x0D,
95 DFU_STATUS_ERR_UNKNOWN = 0x0E,
96 DFU_STATUS_ERR_STALLEDPKT = 0x0F,
99#define DFU_ATTR_CAN_DOWNLOAD (1u << 0)
100#define DFU_ATTR_CAN_UPLOAD (1u << 1)
101#define DFU_ATTR_MANIFESTATION_TOLERANT (1u << 2)
102#define DFU_ATTR_WILL_DETACH (1u << 3)
108 uint8_t bwPollTimeout[3];
AUDIO Channel Cluster Descriptor (4.1)
Definition audio.h:647