hwdriver: Add SR_CONF_DUTY_CYCLE & SR_CONF_PHASE.
This commit is contained in:
parent
2dddd5bd5e
commit
63eec38073
|
@ -1041,6 +1041,12 @@ enum sr_configkey {
|
||||||
/** The number of digits (e.g. for a DMM). */
|
/** The number of digits (e.g. for a DMM). */
|
||||||
SR_CONF_DIGITS,
|
SR_CONF_DIGITS,
|
||||||
|
|
||||||
|
/** Phase of a source signal. */
|
||||||
|
SR_CONF_PHASE,
|
||||||
|
|
||||||
|
/** Duty cycle of a source signal. */
|
||||||
|
SR_CONF_DUTY_CYCLE,
|
||||||
|
|
||||||
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
/* Update sr_key_info_config[] (hwdriver.c) upon changes! */
|
||||||
|
|
||||||
/*--- Special stuff -------------------------------------------------*/
|
/*--- Special stuff -------------------------------------------------*/
|
||||||
|
|
|
@ -201,6 +201,10 @@ static struct sr_key_info sr_key_info_config[] = {
|
||||||
"Range", NULL},
|
"Range", NULL},
|
||||||
{SR_CONF_DIGITS, SR_T_STRING, "digits",
|
{SR_CONF_DIGITS, SR_T_STRING, "digits",
|
||||||
"Digits", NULL},
|
"Digits", NULL},
|
||||||
|
{SR_CONF_PHASE, SR_T_FLOAT, "phase",
|
||||||
|
"Phase", NULL},
|
||||||
|
{SR_CONF_DUTY_CYCLE, SR_T_FLOAT, "output_duty_cycle",
|
||||||
|
"Duty Cycle", NULL},
|
||||||
|
|
||||||
/* Special stuff */
|
/* Special stuff */
|
||||||
{SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",
|
{SR_CONF_SESSIONFILE, SR_T_STRING, "sessionfile",
|
||||||
|
|
Loading…
Reference in New Issue