X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Flibsigrok.h;h=124c74492dad1c7e1cfa0c49f395ec57028aac66;hb=3982b93840d99c9176185b0054f9dec70f776395;hp=924ec91219963280e9bd55373f0c497c5ba72572;hpb=87d8124577099b2c4cbad1276985a9ed9cdf4d4f;p=libsigrok.git diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 924ec912..124c7449 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -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 { @@ -566,6 +574,9 @@ enum sr_configkey { /** Programmable power supply. */ SR_CONF_POWER_SUPPLY, + /** LCR meter. */ + SR_CONF_LCRMETER, + /*--- Driver scan options -------------------------------------------*/ /** @@ -801,6 +812,9 @@ enum sr_configkey { /** Over-temperature protection (OTP) */ SR_CONF_OVER_TEMPERATURE_PROTECTION, + /** Output frequency in Hz. */ + SR_CONF_OUTPUT_FREQUENCY, + /*--- Special stuff -------------------------------------------------*/ /** Scan options supported by the driver. */