]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/saleae-logic16/protocol.h
saleae-logic16: Add SR_CONF_CAPTURE_RATIO support.
[libsigrok.git] / src / hardware / saleae-logic16 / protocol.h
index cdfc3681c031aa8937a64c331425ad667c44414e..00979a305cedd825bd29fcad3cba5beeb2030369 100644 (file)
@@ -59,6 +59,9 @@ struct dev_context {
        /** 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;