]> sigrok.org Git - libsigrok.git/blobdiff - include/libsigrok/libsigrok.h
hwdriver: New entries for DC Load "CW" (Power) and "CR" (Resitance) modes.
[libsigrok.git] / include / libsigrok / libsigrok.h
index cfff8bdf494e28ed3051b3bd4bdcafaab59382bd..02d1841aa1833f1537fbd54815ffc927d3c148e7 100644 (file)
@@ -1047,6 +1047,29 @@ enum sr_configkey {
        /** Duty cycle of a source signal. */
        SR_CONF_DUTY_CYCLE,
 
+       /**
+        * Current power.
+        * @arg type: double
+        * @arg get: get measured power
+        */
+       SR_CONF_POWER,
+
+       /**
+        * Power target.
+        * @arg type: double
+        * @arg get: get power target
+        * @arg set: change power target
+        */
+       SR_CONF_POWER_TARGET,
+
+       /**
+        * Resistance target.
+        * @arg type: double
+        * @arg get: get resistance target
+        * @arg set: change resistance target
+        */
+       SR_CONF_RESISTANCE_TARGET,
+
        /* Update sr_key_info_config[] (hwdriver.c) upon changes! */
 
        /*--- Special stuff -------------------------------------------------*/