global: Add configuration key for output frequency target
This will be used to set up the output frequency of AC sources.
This commit is contained in:
parent
b94dd07b08
commit
a77585d4ae
|
@ -880,6 +880,9 @@ enum sr_configkey {
|
|||
/** Equivalent circuit model. */
|
||||
SR_CONF_EQUIV_CIRCUIT_MODEL,
|
||||
|
||||
/* Output frequency target in Hz. */
|
||||
SR_CONF_OUTPUT_FREQUENCY_TARGET,
|
||||
|
||||
/*--- Special stuff -------------------------------------------------*/
|
||||
|
||||
/** Scan options supported by the driver. */
|
||||
|
|
|
@ -159,6 +159,8 @@ static struct sr_config_info sr_config_info_data[] = {
|
|||
"Over-temperature protection", NULL},
|
||||
{SR_CONF_OUTPUT_FREQUENCY, SR_T_FLOAT, "output_frequency",
|
||||
"Output frequency", NULL},
|
||||
{SR_CONF_OUTPUT_FREQUENCY_TARGET, SR_T_FLOAT, "output_frequency_target",
|
||||
"Output frequency target", NULL},
|
||||
{SR_CONF_MEASURED_QUANTITY, SR_T_STRING, "measured_quantity",
|
||||
"Measured quantity", NULL},
|
||||
{SR_CONF_MEASURED_2ND_QUANTITY, SR_T_STRING, "measured_2nd_quantity",
|
||||
|
|
Loading…
Reference in New Issue