VSF Documented
|
#include "utilities/vsf_utilities.h"
Go to the source code of this file.
Data Structures | |
struct | usb_dfu_functional_descriptor_t |
struct | usb_dfu_status_t |
Macros | |
#define | USB_DFU_PROTOCOL_APP 1 |
#define | USB_DFU_PROTOCOL_DFU 2 |
#define | USB_DT_DFU_FUNCTIONAL_SIZE 9 |
Typedefs | |
typedef enum usb_dfu_req_t | usb_dfu_req_t |
typedef enum usb_dfu_desc_t | usb_dfu_desc_t |
typedef enum usb_dfu_state_t | usb_dfu_state_t |
typedef struct usb_dfu_functional_descriptor_t | usb_dfu_functional_descriptor_t |
typedef struct usb_dfu_status_t | usb_dfu_status_t |
Enumerations | |
enum | usb_dfu_req_t { USB_DFUREQ_DETACH = 0x00 , USB_DFUREQ_DNLOAD = 0x01 , USB_DFUREQ_UPLOAD = 0x02 , USB_DFUREQ_GETSTATUS = 0x03 , USB_DFUREQ_CLRSTATUS = 0x04 , USB_DFUREQ_GETSTATE = 0x05 , USB_DFUREQ_ABORT = 0x06 } |
enum | usb_dfu_desc_t { USB_DT_DFU_FUNCTIONAL = (USB_TYPE_CLASS | 0x01) } |
enum | usb_dfu_state_t { DFU_appIDLE = 0 , DFU_appDETACH = 1 , DFU_dfuIDLE = 2 , DFU_dfuDNLOAD_SYNC = 3 , DFU_dfuDNBUSY = 4 , DFU_dfuDNLOAD_IDLE = 5 , DFU_dfuMANIFEST_SYNC = 6 , DFU_dfuMANIFEST = 7 , DFU_dfuMANIFEST_WAIT_RESET = 8 , DFU_dfuUPLOAD_IDLE = 9 , DFU_dfuERROR = 10 } |
enum | { DFU_OK = 0 , DFU_errTARGET = 1 , DFU_errFILE = 2 , DFU_errWRITE = 3 , DFU_errERASE = 4 , DFU_errCHECK_ERASED = 5 , DFU_errPROG = 6 , DFU_erVERIFY = 7 , DFU_errADDRESS = 8 , DFU_errNOTDONE = 9 , DFU_errFIRMWARE = 10 , DFU_errVENDOR = 11 , DFU_errUSBR = 12 , DFU_errPOR = 13 , DFU_errUNKNOWN = 14 , DFU_errSTALLEDPKT = 15 } |
Variables | |
struct usb_dfu_functional_descriptor_t | VSF_CAL_PACKED |
#define USB_DFU_PROTOCOL_APP 1 |
#define USB_DFU_PROTOCOL_DFU 2 |
#define USB_DT_DFU_FUNCTIONAL_SIZE 9 |
typedef enum usb_dfu_req_t usb_dfu_req_t |
typedef enum usb_dfu_desc_t usb_dfu_desc_t |
typedef enum usb_dfu_state_t usb_dfu_state_t |
typedef struct usb_dfu_functional_descriptor_t usb_dfu_functional_descriptor_t |
typedef struct usb_dfu_status_t usb_dfu_status_t |
enum usb_dfu_req_t |
enum usb_dfu_desc_t |
enum usb_dfu_state_t |
anonymous enum |
struct usb_dfu_status_t VSF_CAL_PACKED |