From 3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 11 Nov 2018 08:04:42 +0100 Subject: Reorganize modules --- src/devices/mod.rs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'src/devices/mod.rs') 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; -- cgit v1.2.3-54-g00ecf