GD32F10x USB-Device: USB_DFU_Core_Exported_Macros

GD32F103 Firmware

GD32F10x USB-Device  V1.0.0
GD32F10x USB-Device
USB_DFU_Core_Exported_Macros

Macros

#define USBD_DFU_IF_DESC(n)
 

Detailed Description

Macro Definition Documentation

#define USBD_DFU_IF_DESC (   n)
Value:
0x09, /* bLength: interface descriptor size */ \
USB_DESCTYPE_INTERFACE, /* bDescriptorType */ \
0x00, /* bInterfaceNumber: number of interface */ \
(n), /* bAlternateSetting: alternate setting */ \
0x00, /* bNumEndpoints: no use non control endpoint */ \
0xFE, /* bInterfaceClass: application specific class code */ \
0x01, /* bInterfaceSubClass: device firmware upgrade code */ \
0x02, /* nInterfaceProtocol: DFU mode protocol */ \
USBD_INTERFACE_STR_IDX + (n) + 1 /* iInterface: index of string descriptor */

Definition at line 129 of file usbd_dfu_core.h.

Generated on Fri Feb 6 2015 14:56:36 for GD32F10x USB-Device by   doxygen 1.8.8