|
USBIP C library 0.7.0
Virtual USB devices & host drivers over USB/IP
|
DFU configuration: the target table + DFU functional-descriptor parameters. More...
#include <classes/dfu.h>
Collaboration diagram for dfu_opts:Data Fields | |
| const dfu_target * | targets |
| Target table (one entry per alternate setting) | |
| int | n_targets |
| Number of targets. | |
| uint16_t | transfer_size |
| DFU wTransferSize (0 -> 1024) | |
| uint8_t | attributes |
| DFU bmAttributes (0 -> 0x07: dnload|upload|manifest-tolerant) | |
| int | winusb |
| Nonzero -> advertise WinUSB (Microsoft OS 1.0 + 2.0) | |
| void(* | on_event )(void *user, const char *text) |
| Human-readable log hook (optional). | |
| void * | user |
| Passed to on_event. | |
DFU configuration: the target table + DFU functional-descriptor parameters.
| const dfu_target* dfu_opts::targets |
Target table (one entry per alternate setting)
| int dfu_opts::n_targets |
Number of targets.
| uint16_t dfu_opts::transfer_size |
DFU wTransferSize (0 -> 1024)
| uint8_t dfu_opts::attributes |
DFU bmAttributes (0 -> 0x07: dnload|upload|manifest-tolerant)
| int dfu_opts::winusb |
Nonzero -> advertise WinUSB (Microsoft OS 1.0 + 2.0)
| void(* dfu_opts::on_event) (void *user, const char *text) |
Human-readable log hook (optional).
| user | the user pointer. |
| text | a NUL-terminated description. |
| void* dfu_opts::user |
Passed to on_event.