From 5ce234fb2e0881b9c5487dd652b9aa0b72d39dc8 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sat, 10 Nov 2018 10:02:25 +0100 Subject: Update driver capabilities --- README.md | 1 + src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index d7bbb27..cc474c4 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ This driver allows you to: - 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()`. +- Set the comparator latching. See: `set_comparator_latching()`. ## The devices diff --git a/src/lib.rs b/src/lib.rs index f144b01..329542d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,6 +11,7 @@ //! - 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()`]. +//! - Set the comparator latching. See: [`set_comparator_latching()`]. //! //! [`into_continuous()`]: struct.Ads1x1x.html#method.into_continuous //! [`read()`]: struct.Ads1x1x.html#method.read @@ -18,6 +19,7 @@ //! [`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 +//! [`set_comparator_latching()`]: struct.Ads1x1x.html#method.set_comparator_latching //! //! ## The devices //! -- cgit v1.2.3-54-g00ecf