USB Device Firmware Upgrade (DFU) protocol definitions.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | dfu_file_suffix_t |
DFU File Suffix. More... | |
struct | dfu_status_t |
DFU Status. More... | |
struct | usb_dfu_functional_desc_t |
DFU Descriptor. More... | |
Enumerations | |
enum | usb_descriptor_type_dfu { USB_DT_DFU_FUNCTIONAL = 0x21 } |
DFU USB descriptor types. More... | |
enum | usb_dfu_functional_attributes { USB_DFU_FONC_CAN_DNLOAD = (1 << 0), USB_DFU_FONC_CAN_UPLOAD = (1 << 1), USB_DFU_FONC_MANIFEST_TOLERANT = (1 << 2), USB_DFU_FONC_WILL_DETACH = (1 << 3) } |
DFU Functional attributes. More... | |
enum | usb_reqid_dfu { USB_REQ_DFU_DETACH = 0x00, USB_REQ_DFU_DNLOAD = 0x01, USB_REQ_DFU_UPLOAD = 0x02, USB_REQ_DFU_GETSTATUS = 0x03, USB_REQ_DFU_CLRSTATUS = 0x04, USB_REQ_DFU_GETSTATE = 0x05, USB_REQ_DFU_ABORT = 0x06 } |
DFU USB requests (bRequest) More... | |