GD32F1x0: USB_DFU_Core_Exported_Macros

GD32F1x0

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 by   doxygen 1.8.10