]> sigrok.org Git - libsigrok.git/blobdiff - sigrok.h.in
hantek-dso: proper protocol implementation of trigger/samplerate setting
[libsigrok.git] / sigrok.h.in
index 442136ec72d3cc50826db8f675d32b5d937d7d0c..2b57bcfceeccc7574847d997582983f8d88022d9 100644 (file)
@@ -153,6 +153,8 @@ enum {
        SR_DF_META_LOGIC,
        SR_DF_ANALOG,
        SR_DF_META_ANALOG,
+       SR_DF_FRAME_BEGIN,
+       SR_DF_FRAME_END,
 };
 
 struct sr_datafeed_packet {
@@ -321,6 +323,12 @@ enum {
         */
        SR_HWCAP_LIMIT_SAMPLES,
 
+       /**
+        * The device supports setting a frame limit, i.e. how many
+        * frames should be acquired.
+        */
+       SR_HWCAP_LIMIT_FRAMES,
+
        /**
         * The device supports continuous sampling, i.e. neither a time limit
         * nor a sample number limit has to be supplied, it will just acquire