]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
Added SR_MQ_TIME and SR_MQFLAG_DURATION.
[libsigrok.git] / libsigrok.h
index 7f18d6902d596c4917da3b016b48f2a01cb21381..910e52453f5ae6565d00bc9cf0ae2b0fdec67a4d 100644 (file)
@@ -179,6 +179,7 @@ enum {
        SR_MQ_SOUND_PRESSURE_LEVEL,
        SR_MQ_CARBON_MONOXIDE,
        SR_MQ_RELATIVE_HUMIDITY,
+       SR_MQ_TIME,             /**< Time */
 };
 
 /** Values for sr_datafeed_analog.unit. */
@@ -267,6 +268,8 @@ enum {
        /** Sound pressure level represented as a percentage of measurements
         * that were over a preset alarm level. */
        SR_MQFLAG_SPL_PCT_OVER_ALARM = 0x10000,
+       /** Time is duration (as opposed to epoch, ...). */
+       SR_MQFLAG_DURATION = 0x20000,
 };
 
 struct sr_context;