libsigrok
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
gl_usb.h File Reference
#include <libusb.h>
#include "sigrok.h"
Include dependency graph for gl_usb.h:
This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

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().

Here is the call graph for this function:

SR_PRIV int gl_reg_read ( libusb_device_handle *  devh,
unsigned int  reg 
)
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().