Go to the source code of this file.
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
struct | PACKED |
| USB_CDC_GET/SET_LINE_CODING request-specific data. More...
|
|
|
enum | tDFUState {
eDFUStateAppIdle = 0,
eDFUStateAppDetach,
eDFUStateIdle,
eDFUStateDnloadSync,
eDFUStateDnBusy,
eDFUStateDnloadIdle,
eDFUStateManifestSync,
eDFUStateManifest,
eDFUStateManifestWaitReset,
eDFUStateUploadIdle,
eDFUStateError
} |
|
enum | tDFUStatus {
eDFUStatusOk = 0,
eDFUStatusErrTarget,
eDFUStatusErrFile,
eDFUStatusErrWrite,
eDFUStatusErrErase,
eDFUStatusErrCheckErased,
eDFUStatusErrProg,
eDFUStatusErrVerify,
eDFUStatusErrAddress,
eDFUStatusErrNotDone,
eDFUStatusErrFirmware,
eDFUStatusErrVendor,
eDFUStatusErrUSBR,
eDFUStatusErrPOR,
eDFUStatusErrUnknown,
eDFUStatusErrStalledPkt
} |
|
§ DFU_ATTR_WILL_DETACH
#define DFU_ATTR_WILL_DETACH 0x08 |
§ DFU_ATTR_MANIFEST_TOLERANT
#define DFU_ATTR_MANIFEST_TOLERANT 0x04 |
§ DFU_ATTR_CAN_UPLOAD
#define DFU_ATTR_CAN_UPLOAD 0x02 |
§ DFU_ATTR_CAN_DOWNLOAD
#define DFU_ATTR_CAN_DOWNLOAD 0x01 |
§ USB_DFU_FUNC_DESCRIPTOR_TYPE
#define USB_DFU_FUNC_DESCRIPTOR_TYPE 0x21 |
§ USB_DFU_SUBCLASS
#define USB_DFU_SUBCLASS 0x01 |
§ USB_DFU_PROTOCOL
#define USB_DFU_PROTOCOL 0x02 |
§ USB_DFU_RUNTIME_PROTOCOL
#define USB_DFU_RUNTIME_PROTOCOL 0x01 |
§ USBD_DFU_REQUEST_DETACH
#define USBD_DFU_REQUEST_DETACH 0 |
§ USBD_DFU_REQUEST_DNLOAD
#define USBD_DFU_REQUEST_DNLOAD 1 |
§ USBD_DFU_REQUEST_UPLOAD
#define USBD_DFU_REQUEST_UPLOAD 2 |
§ USBD_DFU_REQUEST_GETSTATUS
#define USBD_DFU_REQUEST_GETSTATUS 3 |
§ USBD_DFU_REQUEST_CLRSTATUS
#define USBD_DFU_REQUEST_CLRSTATUS 4 |
§ USBD_DFU_REQUEST_GETSTATE
#define USBD_DFU_REQUEST_GETSTATE 5 |
§ USBD_DFU_REQUEST_ABORT
#define USBD_DFU_REQUEST_ABORT 6 |
§ DFU_TRANSFER_SIZE
#define DFU_TRANSFER_SIZE 1024 |
§ USBD_DFU_REQUEST_MSP432E
#define USBD_DFU_REQUEST_MSP432E 0x42 |
§ REQUEST_MSP432E_VALUE
#define REQUEST_MSP432E_VALUE 0x23 |
§ DFU_PROTOCOL_MSP432E_MARKER
#define DFU_PROTOCOL_MSP432E_MARKER 0x4C4D |
§ DFU_PROTOCOL_MSP432E_VERSION_1
#define DFU_PROTOCOL_MSP432E_VERSION_1 0x0001 |
§ DFU_CMD_PROG
#define DFU_CMD_PROG 0x01 |
§ DFU_CMD_READ
#define DFU_CMD_READ 0x02 |
§ DFU_CMD_CHECK
#define DFU_CMD_CHECK 0x03 |
§ DFU_CMD_ERASE
#define DFU_CMD_ERASE 0x04 |
§ DFU_CMD_INFO
#define DFU_CMD_INFO 0x05 |
§ DFU_CMD_BIN
§ DFU_CMD_RESET
#define DFU_CMD_RESET 0x07 |
§ tDFUState
Enumerator |
---|
eDFUStateAppIdle | |
eDFUStateAppDetach | |
eDFUStateIdle | |
eDFUStateDnloadSync | |
eDFUStateDnBusy | |
eDFUStateDnloadIdle | |
eDFUStateManifestSync | |
eDFUStateManifest | |
eDFUStateManifestWaitReset | |
eDFUStateUploadIdle | |
eDFUStateError | |
§ tDFUStatus
Enumerator |
---|
eDFUStatusOk | |
eDFUStatusErrTarget | |
eDFUStatusErrFile | |
eDFUStatusErrWrite | |
eDFUStatusErrErase | |
eDFUStatusErrCheckErased | |
eDFUStatusErrProg | |
eDFUStatusErrVerify | |
eDFUStatusErrAddress | |
eDFUStatusErrNotDone | |
eDFUStatusErrFirmware | |
eDFUStatusErrVendor | |
eDFUStatusErrUSBR | |
eDFUStatusErrPOR | |
eDFUStatusErrUnknown | |
eDFUStatusErrStalledPkt | |