On 04.11.2017 21:38, Jonathan Cameron wrote:
How should I implement the sampling rate setting w/ separate devices ?
Maybe some master-slave concept where settings on the master
automatically affect the slaves ?
Yes it will be a bit ugly. Probably do it as a set of peers where writing any will change them all.
Ok. By the way: how to set the sampling-rate via iio ?
Is there a callback or device field for that ?
where should i tell the adc to start capture w/ ?
in pre- or post-enable buffer ops ?
--mtx
--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html