summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-21 08:03:09 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-21 08:03:09 +0100
commit629c777edf94ddaec78837e614829f8dd346cccd (patch)
tree575b305935b4fcfbef18239211b47e03cbf4b9a8 /src
parent9d5637b6d6d1e019e736ffbc6b983a4735aa50e1 (diff)
downloadads1x1x-async-629c777edf94ddaec78837e614829f8dd346cccd.tar.gz
ads1x1x-async-629c777edf94ddaec78837e614829f8dd346cccd.tar.xz
ads1x1x-async-629c777edf94ddaec78837e614829f8dd346cccd.zip
Remove references to SPI
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib.rs b/src/lib.rs
index d92f8bb..976fd23 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -52,18 +52,18 @@
//! The devices operate either in continuous-conversion mode, or in a
//! single-shot mode that automatically powers down after a conversion.
//! Single-shot mode significantly reduces current consumption during idle
-//! periods. Data are transferred through a I2C or SPI.
+//! periods. Data is transferred through I2C.
//!
//! Here is a comparison of the caracteristics of the devices:
//!
-//! | Device | Resolution | Sample Rate | Channels | Interface | Multi-channel | Features |
-//! |---------|------------|--------------|----------|-----------|---------------|------------------------------|
-//! | 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 |
-//! | 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 |
+//! | Device | Resolution | Sample Rate | Channels | Multi-channel | Features |
+//! |---------|------------|--------------|----------|---------------|------------------------------|
+//! | ADS1013 | 12-bit | Max 3300 SPS | 1 | N/A | |
+//! | ADS1014 | 12-bit | Max 3300 SPS | 1 | N/A | Comparator, PGA |
+//! | ADS1015 | 12-bit | Max 3300 SPS | 4 | Multiplexed | Comparator, PGA |
+//! | ADS1113 | 16-bit | Max 860 SPS | 1 | N/A | |
+//! | ADS1114 | 16-bit | Max 860 SPS | 1 | N/A | Comparator, PGA |
+//! | ADS1115 | 16-bit | Max 860 SPS | 4 | Multiplexed | Comparator, PGA |
//!
//! Datasheets:
//! - [ADS101x](http://www.ti.com/lit/ds/symlink/ads1015.pdf)
@@ -202,7 +202,7 @@ use core::marker::PhantomData;
/// All possible errors in this crate
#[derive(Debug)]
pub enum Error<E> {
- /// I²C/SPI bus error
+ /// I²C bus error
Comm(E),
/// Invalid input data provided
InvalidInputData,