#define DMM_DATA_SIZE 14
-/** Private, per-device-instance driver context. */
struct dev_context {
- /** The current sampling limit (in number of samples). */
- uint64_t limit_samples;
-
- /** The current sampling limit (in ms). */
- uint64_t limit_msec;
-
- /** The current number of already received samples. */
- uint64_t num_samples;
- gint64 end_time;
+ struct sr_sw_limits limits;
};
SR_PRIV int victor_dmm_receive_data(struct sr_dev_inst *sdi, unsigned char *buf);