]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
hameg-hmo: Add support for SR_CONF_LOGIC_THRESHOLD/_CUSTOM.
[libsigrok.git] / src / hwdriver.c
index 88e3532a00f22c0cd6c9887b066fcc42eee4afb5..d5c92313b9901cf8be578ab433b792ffc79d63bb 100644 (file)
@@ -121,6 +121,10 @@ static struct sr_key_info sr_key_info_config[] = {
                "Hold min", NULL},
        {SR_CONF_VOLTAGE_THRESHOLD, SR_T_DOUBLE_RANGE, "voltage_threshold",
                "Voltage threshold", NULL },
+       {SR_CONF_LOGIC_THRESHOLD, SR_T_STRING, "logic_threshold",
+               "Logic threshold (predefined)", NULL},
+       {SR_CONF_LOGIC_THRESHOLD_CUSTOM, SR_T_FLOAT, "logic_threshold_custom",
+               "Logic threshold (custom)", NULL},
        {SR_CONF_EXTERNAL_CLOCK, SR_T_BOOL, "external_clock",
                "External clock mode", NULL},
        {SR_CONF_SWAP, SR_T_BOOL, "swap",