From 4c184396d746bcb023b34568be9cf158bc9e9d02 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sat, 10 Nov 2018 09:35:09 +0100 Subject: Update documentation --- README.md | 1 + src/lib.rs | 2 ++ 2 files changed, 3 insertions(+) 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 //! -- cgit v1.2.3-54-g00ecf