{SR_HWCAP_BUFFERSIZE, SR_T_UINT64, "Buffer size", "buffersize"},
{SR_HWCAP_TIMEBASE, SR_T_RATIONAL_PERIOD, "Time base", "timebase"},
{SR_HWCAP_FILTER, SR_T_CHAR, "Filter targets", "filter"},
+ {SR_HWCAP_VDIV, SR_T_RATIONAL_VOLT, "Volts/div", "vdiv"},
{0, 0, NULL, NULL},
};
SR_T_BOOL,
SR_T_FLOAT,
SR_T_RATIONAL_PERIOD,
+ SR_T_RATIONAL_VOLT,
};
struct sr_rational {
/** Filter. */
SR_HWCAP_FILTER,
+ /** Volts/div. */
+ SR_HWCAP_VDIV,
+
/*--- Special stuff -------------------------------------------------*/
/* TODO: Better description. */
SR_DI_TRIGGER_SOURCES,
/* Supported filter targets */
SR_DI_FILTERS,
+ /* Valid volts/div values */
+ SR_DI_VDIVS,
};
/*