diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 08:04:42 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-11 08:04:42 +0100 |
commit | 3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a (patch) | |
tree | 8cf40e43cb93b15a774696c3af639d504addce8c /src/devices/mod.rs | |
parent | 8b9e9ecdb85a30ac1c57fe6b96498cae6ad9f7cc (diff) | |
download | ads1x1x-async-3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a.tar.gz ads1x1x-async-3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a.tar.xz ads1x1x-async-3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a.zip |
Reorganize modules
Diffstat (limited to 'src/devices/mod.rs')
-rw-r--r-- | src/devices/mod.rs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/devices/mod.rs b/src/devices/mod.rs index c73d344..95d8907 100644 --- a/src/devices/mod.rs +++ b/src/devices/mod.rs @@ -1,6 +1,10 @@ -#[doc(hidden)] -pub mod ic; -mod ads1x1x; -mod construction; -mod channels; -pub use self::channels::channel; +//! Functions for all devices + +enum OperatingMode { + OneShot, + Continuous +} + +mod common; +mod mode; +mod features; |