diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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, |