|
|
std::vector< USBDeviceInfo > | getDeviceList () |
| |
|
void | open (USBDeviceInfo dev_select, const char *image, uint32_t size) |
| |
|
void | close () |
| |
| int | control (uint8_t request, uint16_t value, uint16_t index, uint8_t *data, uint16_t length, bool read) |
| | Send a request to the USB device.
|
| |
|
int | handleEvents () |
| |
|
int | streaming_open_sync () |
| |
|
int | streaming_open_async (uint32_t frame_size, uint32_t num_frames, streaming_read_async_cb_t callback, void *callback_context) |
| |
|
int | streaming_framesize () |
| |
|
void | streaming_close () |
| |
|
int | streaming_set_random (int random) |
| |
|
int | streaming_start () |
| |
|
int | streaming_stop () |
| |
|
int | streaming_reset_status () |
| |
|
int | streaming_read_sync (uint8_t *data, int length, int *transferred) |
| |
◆ control()
| int USBDevice::control |
( |
uint8_t | request, |
|
|
uint16_t | value, |
|
|
uint16_t | index, |
|
|
uint8_t * | data, |
|
|
uint16_t | length, |
|
|
bool | read ) |
Send a request to the USB device.
- Parameters
-
| [in] | t | usb_device handle |
| [in] | request | |
| [in] | value | |
| [in] | index | |
| [in] | data | pointer to a data buffer |
| [in] | length | length of the data buffer |
| [in] | read | Read request if true, write request otherwise |
- Return values
-
The documentation for this class was generated from the following files:
- Core/arch/linux/usb_device.h
- Core/arch/linux/streaming.cpp
- Core/arch/linux/usb_device.cpp