]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.h
fx2lafw: Added probing for fx2lafw devices
[libsigrok.git] / hardware / fx2lafw / fx2lafw.h
index f0ea12ccd9384f5e6fc61201ee98f13e3b17956f..5735f4c1fc62ada12b930ec7118e953d90c92904 100644 (file)
 #ifndef LIBSIGROK_HARDWARE_FX2LAFW
 #define LIBSIGROK_HARDWARE_FX2LAFW
 
+struct fx2lafw_profile {
+       uint16_t vid;
+       uint16_t pid;
+
+       char *vendor;
+       char *model;
+       char *model_version;
+
+       int num_probes;
+};
+
+struct fx2lafw_device {
+       struct fx2lafw_profile *profile;
+
+       void *session_data;
+
+       struct sr_usb_device_instance *usb;
+};
+
 #endif