From 483221e740ffaebe406ee428beb59fa136d70c7f Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 7 Nov 2018 20:22:59 +0100 Subject: Add support for one-shot measurements --- src/devices/ads1x1x/mod.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/devices/ads1x1x/mod.rs (limited to 'src/devices/ads1x1x/mod.rs') diff --git a/src/devices/ads1x1x/mod.rs b/src/devices/ads1x1x/mod.rs new file mode 100644 index 0000000..b7146a9 --- /dev/null +++ b/src/devices/ads1x1x/mod.rs @@ -0,0 +1,9 @@ +//! Functions for all devices + +enum OperatingMode { + OneShot, + Continuous +} + +mod common; +mod mode; -- cgit v1.2.3-54-g00ecf