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/lib.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/lib.rs')
-rw-r--r-- | src/lib.rs | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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> {} |