libsigrok
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
command.c File Reference
#include <libusb.h>
#include "fx2lafw.h"
#include "command.h"
#include "sigrok.h"
#include "sigrok-internal.h"
Include dependency graph for command.c:

Go to the source code of this file.

Functions

SR_PRIV int command_get_fw_version (libusb_device_handle *devhdl, struct version_info *vi)
 
SR_PRIV int command_get_revid_version (libusb_device_handle *devhdl, uint8_t *revid)
 
SR_PRIV int command_start_acquisition (libusb_device_handle *devhdl, uint64_t samplerate)
 

Function Documentation

SR_PRIV int command_get_fw_version ( libusb_device_handle *  devhdl,
struct version_info vi 
)

Definition at line 27 of file command.c.

References CMD_GET_FW_VERSION, SR_ERR, sr_err(), and SR_OK.

Here is the call graph for this function:

SR_PRIV int command_get_revid_version ( libusb_device_handle *  devhdl,
uint8_t *  revid 
)

Definition at line 44 of file command.c.

References CMD_GET_REVID_VERSION, SR_ERR, sr_err(), and SR_OK.

Here is the call graph for this function:

SR_PRIV int command_start_acquisition ( libusb_device_handle *  devhdl,
uint64_t  samplerate 
)