summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-17 07:46:19 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-17 07:46:19 +0100
commitf2241aae6c2b7060eb694f82d835472b144d872e (patch)
tree3c895041a81744500f021497b0899e6b5aa410ce /src/lib.rs
parent311103b79eb800a756c7ae5b771921322ff92459 (diff)
downloadads1x1x-async-f2241aae6c2b7060eb694f82d835472b144d872e.tar.gz
ads1x1x-async-f2241aae6c2b7060eb694f82d835472b144d872e.tar.xz
ads1x1x-async-f2241aae6c2b7060eb694f82d835472b144d872e.zip
Improve documentation
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9680ea3..09733d6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -223,6 +223,9 @@ pub enum ComparatorLatching {
}
/// Comparator alert queue (only for ADS1x14, ADS1x15)
+///
+/// The default state of the comparator is deactivated. It can be activated by setting
+/// the comparator queue.
#[derive(Debug, Clone, PartialEq)]
pub enum ComparatorQueue {
/// Activate comparator and assert after one conversion exceeding thresholds