summaryrefslogtreecommitdiffstats
path: root/src/devices/mod.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-07 20:19:06 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-07 20:19:06 +0100
commit28b16cc364cc4f4112aca2195df389ea6f007048 (patch)
treeaa14b2c5d06ee56acea022dfdbe67a6af7ab901c /src/devices/mod.rs
parenta502e4c40952777f0ac5f1fc759fe4f669d8500e (diff)
downloadads1x1x-async-28b16cc364cc4f4112aca2195df389ea6f007048.tar.gz
ads1x1x-async-28b16cc364cc4f4112aca2195df389ea6f007048.tar.xz
ads1x1x-async-28b16cc364cc4f4112aca2195df389ea6f007048.zip
Convert between modes through transformation of the struct
Diffstat (limited to 'src/devices/mod.rs')
-rw-r--r--src/devices/mod.rs23
1 files changed, 5 insertions, 18 deletions
diff --git a/src/devices/mod.rs b/src/devices/mod.rs
index 529db04..e35196c 100644
--- a/src/devices/mod.rs
+++ b/src/devices/mod.rs
@@ -1,19 +1,6 @@
-/// IC markers
-pub mod ic {
- /// ADS1013 IC marker
- pub struct ADS1013;
- /// ADS1014 IC marker
- pub struct ADS1014;
- /// ADS1015 IC marker
- pub struct ADS1015;
- /// ADS1113 IC marker
- pub struct ADS1113;
- /// ADS1114 IC marker
- pub struct ADS1114;
- /// ADS1115 IC marker
- pub struct ADS1115;
- /// ADS1118 IC marker
- pub struct ADS1118;
-}
+use super::private;
-mod ads1013;
+#[doc(hidden)]
+pub mod ic;
+mod ads1x1x;
+mod construction;