diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-07 20:22:59 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-07 20:22:59 +0100 |
commit | 483221e740ffaebe406ee428beb59fa136d70c7f (patch) | |
tree | f7fee2bbc46b97f1508d4b8bc2fec258695e4239 /src/devices/ads1x1x/mod.rs | |
parent | ec0ffcaa6d49ae7c6e3256f9742e996d7b0752c4 (diff) | |
download | ads1x1x-async-483221e740ffaebe406ee428beb59fa136d70c7f.tar.gz ads1x1x-async-483221e740ffaebe406ee428beb59fa136d70c7f.tar.xz ads1x1x-async-483221e740ffaebe406ee428beb59fa136d70c7f.zip |
Add support for one-shot measurements
Diffstat (limited to 'src/devices/ads1x1x/mod.rs')
-rw-r--r-- | src/devices/ads1x1x/mod.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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; |