]> sigrok.org Git - libsigrok.git/blobdiff - include/libsigrok/libsigrok.h
session_driver: Read analog chunks from file.
[libsigrok.git] / include / libsigrok / libsigrok.h
index 22d9be45c4acaafdae315af4ac3250f35b44681f..3daf616d80e471d8253f0b810c09e586bdab9042 100644 (file)
@@ -662,8 +662,6 @@ enum sr_configcap {
        SR_CONF_LIST = (1 << 29),
 };
 
-#define SR_CONF_MASK 0x1fffffff
-
 /** Configuration keys */
 enum sr_configkey {
        /*--- Device classes ------------------------------------------------*/
@@ -978,12 +976,18 @@ enum sr_configkey {
        /** Over-temperature protection (OTP) active. */
        SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE,
 
+       /** Under-voltage condition. */
+       SR_CONF_UNDER_VOLTAGE_CONDITION,
+
+       /** Under-voltage condition active. */
+       SR_CONF_UNDER_VOLTAGE_CONDITION_ACTIVE,
+
        /* Update sr_key_info_config[] (hwdriver.c) upon changes! */
 
        /*--- Special stuff -------------------------------------------------*/
 
        /** Session filename. */
-       SR_CONF_SESSIONFILE,
+       SR_CONF_SESSIONFILE = 40000,
 
        /** The device supports specifying a capturefile to inject. */
        SR_CONF_CAPTUREFILE,