summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-11 08:04:42 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-11 08:04:42 +0100
commit3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a (patch)
tree8cf40e43cb93b15a774696c3af639d504addce8c /src/lib.rs
parent8b9e9ecdb85a30ac1c57fe6b96498cae6ad9f7cc (diff)
downloadads1x1x-async-3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a.tar.gz
ads1x1x-async-3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a.tar.xz
ads1x1x-async-3e3a790d9f70bfd6cb4210dfe09560d0385fdf5a.zip
Reorganize modules
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib.rs b/src/lib.rs
index ef016fb..3c7a383 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -285,12 +285,15 @@ pub struct Ads1x1x<DI, IC, MODE> {
#[doc(hidden)]
pub mod interface;
+#[doc(hidden)]
+pub mod ic;
+mod channels;
mod devices;
-pub use devices::ic;
-pub use devices::channel;
+mod construction;
+pub use channels::channel;
mod private {
- use super::{ devices::ic, interface };
+ use super::{ ic, interface };
pub trait Sealed {}
impl<I2C> Sealed for interface::I2cInterface<I2C> {}