]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
binary helpers: add "invalid" enum item, improve readability
[libsigrok.git] / src / hwdriver.c
index a24d54d59ef2b1a7a1957b3b7004d37aed49a7ca..2850946ffaf4e8392737f9222b9fa2b6611715a3 100644 (file)
@@ -63,6 +63,7 @@ static struct sr_key_info sr_key_info_config[] = {
        {SR_CONF_SCALE, SR_T_STRING, NULL, "Scale", NULL},
        {SR_CONF_SIGNAL_GENERATOR, SR_T_STRING, NULL, "Signal generator", NULL},
        {SR_CONF_POWERMETER, SR_T_STRING, NULL, "Power meter", NULL},
+       {SR_CONF_MULTIPLEXER, SR_T_STRING, NULL, "Multiplexer", NULL},
 
        /* Driver scan options */
        {SR_CONF_CONN, SR_T_STRING, "conn",
@@ -201,6 +202,16 @@ static struct sr_key_info sr_key_info_config[] = {
                "Range", NULL},
        {SR_CONF_DIGITS, SR_T_STRING, "digits",
                "Digits", NULL},
+       {SR_CONF_PHASE, SR_T_FLOAT, "phase",
+               "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",