summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2020-06-21 23:26:17 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2020-06-21 23:26:17 +0200
commit8016a126ee3ac458fe9c935994d099ede611265e (patch)
tree6b6b9be6fdd7ace9090deeda6ffd7fdf9f2c4036
parentf80ad1d04c5cdb41a6af01ddb477c87b7524c332 (diff)
downloadads1x1x-async-8016a126ee3ac458fe9c935994d099ede611265e.tar.gz
ads1x1x-async-8016a126ee3ac458fe9c935994d099ede611265e.tar.xz
ads1x1x-async-8016a126ee3ac458fe9c935994d099ede611265e.zip
Reorder imports
-rw-r--r--src/lib.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 41f20a6..269edba 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -221,22 +221,22 @@ impl BitFlags {
const COMP_QUE0: u16 = 0b0000_0000_0000_0001;
}
+mod channels;
+pub use crate::channels::channel;
+mod construction;
+mod conversion;
+pub use crate::conversion::{ConvertMeasurement, ConvertThreshold};
+mod devices;
+#[doc(hidden)]
+pub mod ic;
+#[doc(hidden)]
+pub mod interface;
mod types;
use crate::types::Config;
pub use crate::types::{
mode, Ads1x1x, ComparatorLatching, ComparatorMode, ComparatorPolarity, ComparatorQueue,
DataRate12Bit, DataRate16Bit, Error, FullScaleRange, ModeChangeError, SlaveAddr,
};
-mod channels;
-#[doc(hidden)]
-pub mod ic;
-#[doc(hidden)]
-pub mod interface;
-pub use crate::channels::channel;
-mod construction;
-mod conversion;
-mod devices;
-pub use crate::conversion::{ConvertMeasurement, ConvertThreshold};
mod private {
use super::{ic, interface};