]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
hwdriver: New entries for DC Load "CW" (Power) and "CR" (Resitance) modes.
[libsigrok.git] / src / hwdriver.c
index f8d54ac8c73427776c3931720a9ec2acc069c870..349e65e9299f5caa1e0afa3cfaa19aae36903561 100644 (file)
@@ -205,6 +205,12 @@ static struct sr_key_info sr_key_info_config[] = {
                "Phase", NULL},
        {SR_CONF_DUTY_CYCLE, SR_T_FLOAT, "output_duty_cycle",
                "Duty Cycle", NULL},
+       {SR_CONF_POWER, SR_T_FLOAT, "power",
+               "Power", NULL},
+       {SR_CONF_POWER_TARGET, SR_T_FLOAT, "power_target",
+               "Power Target", NULL},
+       {SR_CONF_RESISTANCE_TARGET, SR_T_FLOAT, "resistance_target",
+               "Resistance Target", NULL},
 
        /* Special stuff */
        {SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",