]> sigrok.org Git - libsigrok.git/blobdiff - include/libsigrok/libsigrok.h
Add two new 'auto' flags.
[libsigrok.git] / include / libsigrok / libsigrok.h
index 924ec91219963280e9bd55373f0c497c5ba72572..a45f06a20408263bfec9c90337c701209eb80cf7 100644 (file)
@@ -219,6 +219,8 @@ enum sr_mq {
        SR_MQ_QUALITY_FACTOR,
        /** Phase angle. */
        SR_MQ_PHASE_ANGLE,
+       /** Difference from reference value. */
+       SR_MQ_DIFFERENCE,
 };
 
 /** Unit of measured quantity, sr_datafeed_analog.unit. */
@@ -336,6 +338,12 @@ enum sr_mqflag {
        SR_MQFLAG_DURATION = 0x20000,
        /** Device is in "avg" mode, averaging upon each new value. */
        SR_MQFLAG_AVG = 0x40000,
+       /** Reference value shown. */
+       SR_MQFLAG_REFERENCE = 0x80000,
+       /** Device selects the measured quantity automatically. */
+       SR_MQFLAG_AUTOMQ = 0x100000,
+       /** Device selects the measurement model automatically. */
+       SR_MQFLAG_AUTOMODEL = 0x200000,
 };
 
 enum sr_trigger_matches {