Various drivers: Expose SR_CONF_TRIGGER_TYPE.
Without this, sigrok-cli --show (for example) will not show the supported trigger types.
This commit is contained in:
parent
69bdcd8bb4
commit
38d3246497
|
@ -71,6 +71,7 @@ static const char *channel_names[NUM_CHANNELS + 1] = {
|
||||||
static const int32_t hwcaps[] = {
|
static const int32_t hwcaps[] = {
|
||||||
SR_CONF_LOGIC_ANALYZER,
|
SR_CONF_LOGIC_ANALYZER,
|
||||||
SR_CONF_SAMPLERATE,
|
SR_CONF_SAMPLERATE,
|
||||||
|
SR_CONF_TRIGGER_TYPE,
|
||||||
SR_CONF_CAPTURE_RATIO,
|
SR_CONF_CAPTURE_RATIO,
|
||||||
SR_CONF_LIMIT_MSEC,
|
SR_CONF_LIMIT_MSEC,
|
||||||
};
|
};
|
||||||
|
|
|
@ -26,6 +26,7 @@ static struct sr_dev_driver *di = &chronovu_la_driver_info;
|
||||||
static const int32_t hwcaps[] = {
|
static const int32_t hwcaps[] = {
|
||||||
SR_CONF_LOGIC_ANALYZER,
|
SR_CONF_LOGIC_ANALYZER,
|
||||||
SR_CONF_SAMPLERATE,
|
SR_CONF_SAMPLERATE,
|
||||||
|
SR_CONF_TRIGGER_TYPE,
|
||||||
SR_CONF_LIMIT_MSEC, /* TODO: Not yet implemented. */
|
SR_CONF_LIMIT_MSEC, /* TODO: Not yet implemented. */
|
||||||
SR_CONF_LIMIT_SAMPLES, /* TODO: Not yet implemented. */
|
SR_CONF_LIMIT_SAMPLES, /* TODO: Not yet implemented. */
|
||||||
};
|
};
|
||||||
|
|
|
@ -25,6 +25,7 @@ static const int32_t hwcaps[] = {
|
||||||
SR_CONF_OSCILLOSCOPE,
|
SR_CONF_OSCILLOSCOPE,
|
||||||
SR_CONF_LOGIC_ANALYZER,
|
SR_CONF_LOGIC_ANALYZER,
|
||||||
SR_CONF_SAMPLERATE,
|
SR_CONF_SAMPLERATE,
|
||||||
|
SR_CONF_TRIGGER_TYPE,
|
||||||
SR_CONF_TRIGGER_SLOPE,
|
SR_CONF_TRIGGER_SLOPE,
|
||||||
SR_CONF_HORIZ_TRIGGERPOS,
|
SR_CONF_HORIZ_TRIGGERPOS,
|
||||||
// SR_CONF_CAPTURE_RATIO,
|
// SR_CONF_CAPTURE_RATIO,
|
||||||
|
|
|
@ -56,6 +56,7 @@ static const struct zp_model zeroplus_models[] = {
|
||||||
static const int32_t hwcaps[] = {
|
static const int32_t hwcaps[] = {
|
||||||
SR_CONF_LOGIC_ANALYZER,
|
SR_CONF_LOGIC_ANALYZER,
|
||||||
SR_CONF_SAMPLERATE,
|
SR_CONF_SAMPLERATE,
|
||||||
|
SR_CONF_TRIGGER_TYPE,
|
||||||
SR_CONF_CAPTURE_RATIO,
|
SR_CONF_CAPTURE_RATIO,
|
||||||
SR_CONF_VOLTAGE_THRESHOLD,
|
SR_CONF_VOLTAGE_THRESHOLD,
|
||||||
SR_CONF_LIMIT_SAMPLES,
|
SR_CONF_LIMIT_SAMPLES,
|
||||||
|
|
Loading…
Reference in New Issue