diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-21 08:03:09 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-21 08:03:09 +0100 |
commit | 629c777edf94ddaec78837e614829f8dd346cccd (patch) | |
tree | 575b305935b4fcfbef18239211b47e03cbf4b9a8 | |
parent | 9d5637b6d6d1e019e736ffbc6b983a4735aa50e1 (diff) | |
download | ads1x1x-async-629c777edf94ddaec78837e614829f8dd346cccd.tar.gz ads1x1x-async-629c777edf94ddaec78837e614829f8dd346cccd.tar.xz ads1x1x-async-629c777edf94ddaec78837e614829f8dd346cccd.zip |
Remove references to SPI
-rw-r--r-- | README.md | 18 | ||||
-rw-r--r-- | src/lib.rs | 20 |
2 files changed, 19 insertions, 19 deletions
@@ -46,18 +46,18 @@ thermocouples. 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) @@ -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, |