From 629c777edf94ddaec78837e614829f8dd346cccd Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 21 Nov 2018 08:03:09 +0100 Subject: Remove references to SPI --- src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src') 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 { - /// I²C/SPI bus error + /// I²C bus error Comm(E), /// Invalid input data provided InvalidInputData, -- cgit v1.2.3-54-g00ecf