Go to the source code of this file.
Functions | |
SR_PRIV int | gl_read_bulk (libusb_device_handle *devh, void *buffer, unsigned int size) |
SR_PRIV int | gl_reg_write (libusb_device_handle *devh, unsigned int reg, unsigned int val) |
SR_PRIV int | gl_reg_read (libusb_device_handle *devh, unsigned int reg) |
SR_PRIV int gl_read_bulk | ( | libusb_device_handle * | devh, |
void * | buffer, | ||
unsigned int | size | ||
) |
Definition at line 92 of file gl_usb.c.
References CTRL_OUT, EP1_BULK_IN, REQ_READBULK, sr_err(), and TIMEOUT.
Referenced by analyzer_read_data().
SR_PRIV int gl_reg_read | ( | libusb_device_handle * | devh, |
unsigned int | reg | ||
) |
Definition at line 125 of file gl_usb.c.
Referenced by analyzer_get_now_address(), analyzer_get_stop_address(), analyzer_get_trigger_address(), analyzer_read_id(), analyzer_read_start(), and analyzer_wait().
SR_PRIV int gl_reg_write | ( | libusb_device_handle * | devh, |
unsigned int | reg, | ||
unsigned int | val | ||
) |
Definition at line 113 of file gl_usb.c.
Referenced by analyzer_configure().