X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hwdriver.c;h=eb0ac3d2c80fe065c06df67822ed5276d8c2da70;hb=471607f0244e93cd67097760431a0dd3d39152eb;hp=7f820766b0cb5755ad3b46639c516d2abd6ab7c1;hpb=fa0d6afe19c3a545f3f940933ed079966525d142;p=libsigrok.git diff --git a/hwdriver.c b/hwdriver.c index 7f820766..eb0ac3d2 100644 --- a/hwdriver.c +++ b/hwdriver.c @@ -102,6 +102,22 @@ static struct sr_config_info sr_config_info_data[] = { "Number of analog probes", NULL}, {SR_CONF_MAX_UNCOMPRESSED_SAMPLES, SR_T_UINT64, "max_uncompressed_samples", "Maximum number of uncompressed samples", NULL}, + {SR_CONF_OUTPUT_VOLTAGE, SR_T_FLOAT, "output_voltage", + "Current output voltage", NULL}, + {SR_CONF_OUTPUT_VOLTAGE_MAX, SR_T_FLOAT, "output_voltage_max", + "Maximum output voltage", NULL}, + {SR_CONF_OUTPUT_CURRENT, SR_T_FLOAT, "output_current", + "Current output current", NULL}, + {SR_CONF_OUTPUT_CURRENT_MAX, SR_T_FLOAT, "output_current_max", + "Maximum output current", NULL}, + {SR_CONF_OUTPUT_ENABLED, SR_T_BOOL, "output_enabled", + "Output enabled", NULL}, + {SR_CONF_OUTPUT_CHANNEL, SR_T_CHAR, "output_channel", + "Output channel modes", NULL}, + {SR_CONF_OVER_VOLTAGE_PROTECTION, SR_T_BOOL, "ovp", + "Over-voltage protection", NULL}, + {SR_CONF_OVER_CURRENT_PROTECTION, SR_T_BOOL, "ocp", + "Over-current protection", NULL}, {0, 0, NULL, NULL, NULL}, };