add SR_CONF_SAMPLE_INTERVAL

Expresses the time between samples, in milliseconds. This can be used
for devices with a samplerate > 1 second, such as dataloggers, which
cannot be expressed with SR_CONF_SAMPLERATE.
This commit is contained in:
Bert Vermeulen 2013-03-16 20:17:41 +01:00
parent c77ed446f2
commit 7231a14590
1 changed files with 4 additions and 1 deletions

View File

@ -594,7 +594,7 @@ enum {
/*--- Device configuration ------------------------------------------*/
/** The device supports setting/changing its samplerate. */
/** The device supports setting its samplerate, in Hz. */
SR_CONF_SAMPLERATE = 30000,
/** The device supports setting a pre/post-trigger capture ratio. */
@ -633,6 +633,9 @@ enum {
/** Trigger types. */
SR_CONF_TRIGGER_TYPE,
/** The device supports setting its sample interval, in ms. */
SR_CONF_SAMPLE_INTERVAL,
/*--- Special stuff -------------------------------------------------*/
/** Scan options supported by the driver. */