Go to the source code of this file.
|
#define | USB_DESC_DFU(__IFS, __I_FUNC, __PROTOCOL, __DFU_ATTR, __DETACH_TIMEOUT, __TRANSFER_SIZE) |
|
#define | USB_DESC_DFU_LEN (USB_DESC_IFS_LEN + USB_DT_DFU_FUNCTIONAL_SIZE) |
|
#define | USB_DESC_DFU_IAD(__IFS, __I_FUNC, __PROTOCOL, __DFU_ATTR, __DETACH_TIMEOUT, __TRANSFER_SIZE) |
|
#define | USB_DESC_HID_IAD_LEN (USB_DESC_IAD_LEN + USB_DESC_DFU_LEN) |
|
◆ USB_DESC_DFU
#define USB_DESC_DFU |
( |
|
__IFS, |
|
|
|
__I_FUNC, |
|
|
|
__PROTOCOL, |
|
|
|
__DFU_ATTR, |
|
|
|
__DETACH_TIMEOUT, |
|
|
|
__TRANSFER_SIZE |
|
) |
| |
Value: USB_DESC_IFS((__IFS), 0, 0, 0xFE, 0x01, (__PROTOCOL), (__I_FUNC)) \
(__DFU_ATTR), \
USB_DESC_WORD(__TRANSFER_SIZE), \
USB_DESC_WORD(0x0110),
#define USB_DESC_WORD(__VALUE)
Definition usb_desc.h:8
#define USB_DESC_IFS(__IFS_NUM, __ALT_SETTING, __EP_NUM, __CLASS, __SUBCLASS, __PROTOCOL, __I_IFS)
Definition usb_desc.h:48
@ USB_DT_DFU_FUNCTIONAL
Definition vsf_usb_DFU.h:50
#define USB_DT_DFU_FUNCTIONAL_SIZE
Definition vsf_usb_DFU.h:34
◆ USB_DESC_DFU_LEN
◆ USB_DESC_DFU_IAD
#define USB_DESC_DFU_IAD |
( |
|
__IFS, |
|
|
|
__I_FUNC, |
|
|
|
__PROTOCOL, |
|
|
|
__DFU_ATTR, |
|
|
|
__DETACH_TIMEOUT, |
|
|
|
__TRANSFER_SIZE |
|
) |
| |
Value: USB_DESC_IAD((__IFS), 1, 0xFE, 0x01, (__PROTOCOL), (__I_FUNC)) \
USB_DESC_DFU((__IFS), (__I_FUNC), (__PROTOCOL), (__DFU_ATTR), (__DETACH_TIMEOUT), (__TRANSFER_SIZE))
#define USB_DESC_IAD(__IFS_START, __IFS_NUM, __CLASS, __SUBCLASS, __PROTOCOL, __I_FUNC)
Definition usb_desc.h:81
◆ USB_DESC_HID_IAD_LEN