From 28b16cc364cc4f4112aca2195df389ea6f007048 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 7 Nov 2018 20:19:06 +0100 Subject: Convert between modes through transformation of the struct --- src/devices/mod.rs | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) (limited to 'src/devices/mod.rs') 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; -- cgit v1.2.3-54-g00ecf