diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 7b4ca15b..3c204798 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -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. */ diff --git a/src/hwdriver.c b/src/hwdriver.c index c6c56456..dea7c9e4 100644 --- a/src/hwdriver.c +++ b/src/hwdriver.c @@ -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",