Revision ad55e25a host/lib/transport/libusb1_zero_copy.cpp
| b/host/lib/transport/libusb1_zero_copy.cpp | ||
|---|---|---|
| 30 | 30 |
|
| 31 | 31 |
/*********************************************************************** |
| 32 | 32 |
* Helper functions |
| 33 |
* |
|
| 34 |
* Print to stdout the values of a libusb_transfer struct |
|
| 35 | 33 |
***********************************************************************/ |
| 34 |
/* |
|
| 35 |
* Print the values of a libusb_transfer struct |
|
| 36 |
* http://libusb.sourceforge.net/api-1.0/structlibusb__transfer.html |
|
| 37 |
*/ |
|
| 36 | 38 |
void pp_transfer(libusb_transfer *lut) |
| 37 | 39 |
{
|
| 38 | 40 |
std::cout << "Libusb transfer" << std::endl; |
| ... | ... | |
| 46 | 48 |
} |
| 47 | 49 |
|
| 48 | 50 |
/*********************************************************************** |
| 49 |
* USB asynchronous phony zero_copy endpoint
|
|
| 51 |
* USB asynchronous zero_copy endpoint |
|
| 50 | 52 |
* This endpoint implementation provides asynchronous I/O to libusb-1.0 |
| 51 | 53 |
* devices. Each endpoint is directional and two can be combined to |
| 52 | 54 |
* create a bidirectional interface. It is a zero copy implementation |
Also available in: Unified diff