VOLTAGE_RANGE_5_V, /* 5V logic */
};
+enum fpga_variant {
+ FPGA_VARIANT_ORIGINAL,
+ FPGA_VARIANT_MCUPRO /* mcupro clone v4.6 with Actel FPGA */
+};
+
/** Private, per-device-instance driver context. */
struct dev_context {
+ /** Distinguishing between original Logic16 and clones */
+ enum fpga_variant fpga_variant;
+
/*
* Since we can't keep track of a Logic16 device after upgrading
* the firmware (it renumerates into a different device address
/** Maximum number of samples to capture, if nonzero. */
uint64_t limit_samples;
+ /** Percent of the samples that should be captured before the trigger. */
+ uint64_t capture_ratio;
+
/** The currently configured input voltage of the device. */
enum voltage_range cur_voltage_range;