summaryrefslogtreecommitdiffstats
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
parenta31ec76eafbcce1ea2593d0578490653b7fb003d (diff)
downloadads1x1x-async-334c0d2352efd751dddd10db1315c144fcfe8b28.tar.gz
ads1x1x-async-334c0d2352efd751dddd10db1315c144fcfe8b28.tar.xz
ads1x1x-async-334c0d2352efd751dddd10db1315c144fcfe8b28.zip
Remove references to ADS1x18
-rw-r--r--Cargo.toml2
-rw-r--r--README.md6
-rw-r--r--src/lib.rs10
3 files changed, 5 insertions, 13 deletions
diff --git a/Cargo.toml b/Cargo.toml
index d912552..5bd26a8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,7 @@ version = "0.1.0"
authors = ["Diego Barrios Romero <eldruin@gmail.com>"]
repository = "https://github.com/eldruin/ads1x1x-rs"
license = "MIT OR Apache-2.0"
-description = "Platform-agnostic Rust driver for the ADS1x1x ultra-small, low-power analog-to-digital converters (ADC). Compatible with the devices: ADS1013, ADS1014, ADS1015, ADS1113, ADS1114, ADS1115, ADS1018 and ADS1118."
+description = "Platform-agnostic Rust driver for the ADS1x1x ultra-small, low-power analog-to-digital converters (ADC). Compatible with the devices: ADS1013, ADS1014, ADS1015, ADS1113, ADS1114 and ADS1115."
readme = "README.md"
keywords = ["adc", "analog", "driver", "embedded-hal-driver"]
categories = ["embedded", "hardware-support", "no-std"]
diff --git a/README.md b/README.md
index 086cf6c..e64e557 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
![Maintenance Intention](https://img.shields.io/badge/maintenance-actively--developed-brightgreen.svg)
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
@@ -54,17 +54,13 @@ Here is a comparison of the caracteristics of the devices:
| 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
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