summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-10 09:35:09 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-10 09:35:09 +0100
commit4c184396d746bcb023b34568be9cf158bc9e9d02 (patch)
treed9211216db374ef48ac1486aaf1f37255e095c60
parentbad297c7e4c1f39842aa55ac44506e22d154bce0 (diff)
downloadads1x1x-async-4c184396d746bcb023b34568be9cf158bc9e9d02.tar.gz
ads1x1x-async-4c184396d746bcb023b34568be9cf158bc9e9d02.tar.xz
ads1x1x-async-4c184396d746bcb023b34568be9cf158bc9e9d02.zip
Update documentation
-rw-r--r--README.md1
-rw-r--r--src/lib.rs2
2 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1acc6d6..d7bbb27 100644
--- a/README.md
+++ b/README.md
@@ -12,6 +12,7 @@ This driver allows you to:
- Set the data rate. See: `set_data_rate()`.
- Set the low and high thresholds. See: `set_high_threshold()`.
- Set the comparator mode. See: `set_comparator_mode()`.
+- Set the comparator polarity. See: `set_comparator_polarity()`.
## The devices
diff --git a/src/lib.rs b/src/lib.rs
index 7dc1388..1766264 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -10,12 +10,14 @@
//! - Set the data rate. See: [`set_data_rate()`].
//! - Set the low and high thresholds. See: [`set_high_threshold()`].
//! - Set the comparator mode. See: [`set_comparator_mode()`].
+//! - Set the comparator polarity. See: [`set_comparator_polarity()`].
//!
//! [`into_continuous()`]: struct.Ads1x1x.html#method.into_continuous
//! [`read()`]: struct.Ads1x1x.html#method.read
//! [`set_data_rate()`]: struct.Ads1x1x.html#method.set_data_rate
//! [`set_high_threshold()`]: struct.Ads1x1x.html#method.set_high_threshold
//! [`set_comparator_mode()`]: struct.Ads1x1x.html#method.set_comparator_mode
+//! [`set_comparator_polarity()`]: struct.Ads1x1x.html#method.set_comparator_polarity
//!
//! ## The devices
//!