X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libsigrok.h;h=2f7047a426119ef1a4a909792c8244e138e46cce;hb=c51bbdec345b0d7e1c9013e0a1bea2586cf6daa7;hp=98f594b74abe22b5a04af6cd9a411f76ca76fefa;hpb=fd8854c4d030288be1007a4f81e0ba1228a9dbac;p=libsigrok.git diff --git a/libsigrok.h b/libsigrok.h index 98f594b7..2f7047a4 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -141,6 +141,7 @@ enum { SR_T_RATIONAL_PERIOD, SR_T_RATIONAL_VOLT, SR_T_KEYVALUE, + SR_T_UINT64_RANGE, }; /** Value for sr_datafeed_packet.type. */ @@ -671,6 +672,15 @@ enum { /** Sound pressure level time weighting. */ SR_CONF_SPL_WEIGHT_TIME, + /** Sound pressure level measurement range. */ + SR_CONF_SPL_MEASUREMENT_RANGE, + + /** Max hold mode. */ + SR_CONF_HOLD_MAX, + + /** Min hold mode. */ + SR_CONF_HOLD_MIN, + /*--- Special stuff -------------------------------------------------*/ /** Scan options supported by the driver. */ @@ -691,6 +701,21 @@ enum { /** The device supports setting the number of probes. */ SR_CONF_CAPTURE_NUM_PROBES, + /** Power off the device. */ + SR_CONF_POWER_OFF, + + /** Data source for acquisition. If not present, acquisition from + * the device is always "live", i.e. acquisition starts when the + * frontend asks and the results are sent out as soon as possible. + * + * If present, it indicates that either the device has no live + * acquisition capability (for example a pure data logger), or + * there is a choice. sr_config_list() returns those choices. + * + * In any case if a device has live acquisition capabilities, it + * is always the default. */ + SR_CONF_DATA_SOURCE, + /*--- Acquisition modes ---------------------------------------------*/ /**