diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-20 19:49:39 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-20 19:49:39 +0100 |
commit | a31ec76eafbcce1ea2593d0578490653b7fb003d (patch) | |
tree | 561b8061ff6e7566d8dfe7244e03634d40fd44ed /src/lib.rs | |
parent | ab785e44cd0232f6dbcc3844ee1ffa7719fba2f1 (diff) | |
download | ads1x1x-async-a31ec76eafbcce1ea2593d0578490653b7fb003d.tar.gz ads1x1x-async-a31ec76eafbcce1ea2593d0578490653b7fb003d.tar.xz ads1x1x-async-a31ec76eafbcce1ea2593d0578490653b7fb003d.zip |
Update documentation of driver capabilities
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -6,7 +6,9 @@ //! //! This driver allows you to: //! - Set the operating mode to one-shot or continuous. See: [`into_continuous()`]. -//! - Make a measurement in one-shot mode. See: [`read()`]. +//! - Make a measurement in one-shot mode. See: [`read()`][read_os]. +//! - Start continuous conversion mode. See: [`start()`]. +//! - Read the last measurement made in continuous conversion mode. See: [`read()`][read_cont]. //! - Set the data rate. See: [`set_data_rate()`]. //! - Set the full-scale range (gain amplifier). See [`set_full_scale_range()`]. //! - Set the low and high thresholds. See: [`set_high_threshold_raw()`]. @@ -17,7 +19,9 @@ //! - Disable the comparator. See: [`disable_comparator()`]. //! //! [`into_continuous()`]: struct.Ads1x1x.html#method.into_continuous -//! [`read()`]: struct.Ads1x1x.html#method.read +//! [read_os]: struct.Ads1x1x.html#method.read +//! [`start()`]: struct.Ads1x1x.html#method.read +//! [read_cont]: struct.Ads1x1x.html#impl-OneShot%3CAds1x1x%3CDI%2C%20IC%2C%20CONV%2C%20OneShot%3E%2C%20i16%2C%20CH%3E //! [`set_data_rate()`]: struct.Ads1x1x.html#method.set_data_rate //! [`set_full_scale_range()`]: struct.Ads1x1x.html#method.set_full_scale_range //! [`set_high_threshold_raw()`]: struct.Ads1x1x.html#method.set_high_threshold_raw |