summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-20 19:56:46 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-20 19:56:46 +0100
commit334c0d2352efd751dddd10db1315c144fcfe8b28 (patch)
tree155655c3930e8ae4835e0f6eafdc537db503046e /src
parenta31ec76eafbcce1ea2593d0578490653b7fb003d (diff)
downloadads1x1x-async-334c0d2352efd751dddd10db1315c144fcfe8b28.tar.gz
ads1x1x-async-334c0d2352efd751dddd10db1315c144fcfe8b28.tar.xz
ads1x1x-async-334c0d2352efd751dddd10db1315c144fcfe8b28.zip
Remove references to ADS1x18
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 30ad6a8..fd4181e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,5 +1,5 @@
//! This is a platform-agnostic Rust driver for the ADS1013, ADS1014, ADS1015,
-//! ADS1113, ADS1114, ADS1115, ADS1018 and ADS1118 ultra-small, low-power
+//! ADS1113, ADS1114, and ADS1115 ultra-small, low-power
//! analog-to-digital converters (ADC), based on the [`embedded-hal`] traits.
//!
//! [`embedded-hal`]: https://github.com/rust-embedded/embedded-hal
@@ -59,17 +59,13 @@
//! | ADS1013 | 12-bit | Max 3300 SPS | 1 | I2C | N/A | |
//! | ADS1014 | 12-bit | Max 3300 SPS | 1 | I2C | N/A | Comparator, PGA |
//! | ADS1015 | 12-bit | Max 3300 SPS | 4 | I2C | Multiplexed | Comparator, PGA |
-//! | ADS1018 | 12-bit | Max 3300 SPS | 4 | SPI | Multiplexed | Comparator, PGA, Temp sensor |
//! | ADS1113 | 16-bit | Max 860 SPS | 1 | I2C | N/A | |
//! | ADS1114 | 16-bit | Max 860 SPS | 1 | I2C | N/A | Comparator, PGA |
//! | ADS1115 | 16-bit | Max 860 SPS | 4 | I2C | Multiplexed | Comparator, PGA |
-//! | ADS1118 | 16-bit | Max 860 SPS | 4 | SPI | Multiplexed | Comparator, PGA, Temp sensor |
//!
//! Datasheets:
//! - [ADS101x](http://www.ti.com/lit/ds/symlink/ads1015.pdf)
-//! - [ADS1018](http://www.ti.com/lit/ds/symlink/ads1018.pdf)
//! - [ADS111x](http://www.ti.com/lit/ds/symlink/ads1115.pdf)
-//! - [ADS1118](http://www.ti.com/lit/ds/symlink/ads1118.pdf)
//!
//! ## Usage examples (see also examples folder)
//!
@@ -223,7 +219,7 @@ pub mod mode {
pub struct Continuous(());
}
-/// Data rate for ADS1013, ADS1014, ADS1015, ADS1018
+/// Data rate for ADS1013, ADS1014, ADS1015
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum DataRate12Bit {
/// 128 SPS
@@ -243,7 +239,7 @@ pub enum DataRate12Bit {
}
-/// Data rate for ADS1113, ADS1114, ADS1115, ADS1118
+/// Data rate for ADS1113, ADS1114, ADS1115
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum DataRate16Bit {
/// 8 SPS