Program Listing for File usb.h

Return to documentation for file (include/libcaer/devices/usb.h)

#ifndef LIBCAER_DEVICES_USB_H_
#define LIBCAER_DEVICES_USB_H_

#include "device.h"

#ifdef __cplusplus
extern "C" {
#endif

#define CAER_HOST_CONFIG_USB -1

#define CAER_HOST_CONFIG_USB_BUFFER_NUMBER 0
#define CAER_HOST_CONFIG_USB_BUFFER_SIZE 1

LIBRARY_PUBLIC_VISIBILITY caerDeviceHandle caerDeviceOpen(uint16_t deviceID, uint16_t deviceType,
    uint8_t busNumberRestrict, uint8_t devAddressRestrict, const char *serialNumberRestrict);

#ifdef __cplusplus
}
#endif

#endif /* LIBCAER_DEVICES_USB_H_ */