#include "ArcusPerformaxDriver.h"
Go to the source code of this file.
Macros | |
#define | AR_FALSE 0 |
#define | AR_TRUE 1 |
Functions | |
int | _is_performax_device_by_vendor_product (int vendor, int product) |
int | _is_performax_device (struct libusb_device_descriptor *descriptor) |
AR_BOOL | fnPerformaxComGetNumDevices (AR_DWORD *numDevices) |
int | _get_libusb_device_offset_from_arcos_offset (libusb_device **list, ssize_t list_count, struct libusb_device_descriptor *descriptor, AR_DWORD dwNumDevice) |
AR_BOOL | fnPerformaxComGetProductString (AR_DWORD dwNumDevice, AR_VOID *lpDeviceString, AR_DWORD dwOptions) |
int | _send_urb_control (AR_HANDLE device_handle, int id) |
AR_BOOL | fnPerformaxComOpen (AR_DWORD dwDeviceNum, AR_HANDLE *device_handle) |
AR_BOOL | fnPerformaxComClose (AR_HANDLE device_handle) |
AR_BOOL | fnPerformaxComSetTimeouts (AR_DWORD dwReadTimeout, AR_DWORD dwWriteTimeout) |
AR_BOOL | fnPerformaxComSendRecv (AR_HANDLE device_handle, AR_VOID *wBuffer, AR_DWORD dwNumBytesToWrite, AR_DWORD dwNumBytesToRead, AR_VOID *rBuffer) |
AR_BOOL | fnPerformaxComFlush (AR_HANDLE device_handle) |
AR_BOOL | InitializePerformaxLibrary (AR_VOID) |
Variables | |
struct libusb_context * | usb_context = 0 |
AR_DWORD | libusb_ReadTimeout = 0 |
AR_DWORD | libusb_WriteTimeout = 0 |
#define AR_FALSE 0 |
Definition at line 16 of file ArcusPerformaxDriver.c.
#define AR_TRUE 1 |
Definition at line 17 of file ArcusPerformaxDriver.c.
int _get_libusb_device_offset_from_arcos_offset | ( | libusb_device ** | list, |
ssize_t | list_count, | ||
struct libusb_device_descriptor * | descriptor, | ||
AR_DWORD | dwNumDevice | ||
) |
Definition at line 67 of file ArcusPerformaxDriver.c.
Referenced by fnPerformaxComGetProductString(), and fnPerformaxComOpen().
int _is_performax_device | ( | struct libusb_device_descriptor * | descriptor | ) |
Definition at line 29 of file ArcusPerformaxDriver.c.
Referenced by _get_libusb_device_offset_from_arcos_offset(), and fnPerformaxComGetNumDevices().
int _is_performax_device_by_vendor_product | ( | int | vendor, |
int | product | ||
) |
Definition at line 21 of file ArcusPerformaxDriver.c.
Referenced by _is_performax_device().
int _send_urb_control | ( | AR_HANDLE | device_handle, |
int | id | ||
) |
Definition at line 132 of file ArcusPerformaxDriver.c.
Referenced by fnPerformaxComClose(), fnPerformaxComFlush(), and fnPerformaxComOpen().
Definition at line 177 of file ArcusPerformaxDriver.c.
Referenced by MagAOX::app::acesxeCtrl::appLogic().
Definition at line 241 of file ArcusPerformaxDriver.c.
Referenced by MagAOX::app::acesxeCtrl::appLogic().
Definition at line 36 of file ArcusPerformaxDriver.c.
Referenced by MagAOX::app::acesxeCtrl::appLogic().
AR_BOOL fnPerformaxComGetProductString | ( | AR_DWORD | dwNumDevice, |
AR_VOID * | lpDeviceString, | ||
AR_DWORD | dwOptions | ||
) |
Definition at line 88 of file ArcusPerformaxDriver.c.
Referenced by MagAOX::app::acesxeCtrl::appLogic().
Definition at line 144 of file ArcusPerformaxDriver.c.
Referenced by MagAOX::app::acesxeCtrl::appLogic().
AR_BOOL fnPerformaxComSendRecv | ( | AR_HANDLE | device_handle, |
AR_VOID * | wBuffer, | ||
AR_DWORD | dwNumBytesToWrite, | ||
AR_DWORD | dwNumBytesToRead, | ||
AR_VOID * | rBuffer | ||
) |
Definition at line 206 of file ArcusPerformaxDriver.c.
Referenced by MagAOX::app::acesxeCtrl::appLogic(), and MagAOX::app::acesxeCtrl::sendRecv().
Definition at line 195 of file ArcusPerformaxDriver.c.
Referenced by MagAOX::app::acesxeCtrl::appStartup().
Definition at line 258 of file ArcusPerformaxDriver.c.
Referenced by fnPerformaxComClose(), fnPerformaxComFlush(), fnPerformaxComGetNumDevices(), fnPerformaxComGetProductString(), fnPerformaxComOpen(), fnPerformaxComSendRecv(), and fnPerformaxComSetTimeouts().
AR_DWORD libusb_ReadTimeout = 0 |
Definition at line 13 of file ArcusPerformaxDriver.c.
Referenced by fnPerformaxComSendRecv(), and fnPerformaxComSetTimeouts().
AR_DWORD libusb_WriteTimeout = 0 |
Definition at line 14 of file ArcusPerformaxDriver.c.
Referenced by _send_urb_control(), fnPerformaxComSendRecv(), and fnPerformaxComSetTimeouts().
struct libusb_context* usb_context = 0 |
Definition at line 12 of file ArcusPerformaxDriver.c.
Referenced by fnPerformaxComGetNumDevices(), fnPerformaxComGetProductString(), fnPerformaxComOpen(), and InitializePerformaxLibrary().