]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
hwdriver: Add configuration key for number of powerline cycles
[libsigrok.git] / src / hwdriver.c
index 81a86a7998a5de184f5411a37b42d7c8b8793846..b31242ad7799dec7aef83d974bce5372b16f7e2b 100644 (file)
@@ -189,6 +189,8 @@ static struct sr_key_info sr_key_info_config[] = {
                "Data source", NULL},
        {SR_CONF_PROBE_FACTOR, SR_T_UINT64, "probe_factor",
                "Probe factor", NULL},
+       {SR_CONF_ADC_POWERLINE_CYCLES, SR_T_FLOAT, "nplc",
+               "Number of ADC powerline cycles", NULL},
 
        /* Acquisition modes, sample limiting */
        {SR_CONF_LIMIT_MSEC, SR_T_UINT64, "limit_time",