summaryrefslogtreecommitdiffstats
path: root/tests/common/mod.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-10 10:01:27 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-10 10:01:27 +0100
commitf6ac6188a652bd7ccff772648d57cff9a0963e84 (patch)
treeeccb385ef79bd57367f6a59312907304c042fc8e /tests/common/mod.rs
parente7532aef9723a4078874d42ccb9a616628f1b3e6 (diff)
downloadads1x1x-async-f6ac6188a652bd7ccff772648d57cff9a0963e84.tar.gz
ads1x1x-async-f6ac6188a652bd7ccff772648d57cff9a0963e84.tar.xz
ads1x1x-async-f6ac6188a652bd7ccff772648d57cff9a0963e84.zip
Add support for setting the comparator latching
Diffstat (limited to 'tests/common/mod.rs')
-rw-r--r--tests/common/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/common/mod.rs b/tests/common/mod.rs
index 8ffd50e..695280e 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -23,6 +23,7 @@ impl BitFlags {
pub const DR0 : u16 = 0b0000_0000_0010_0000;
pub const COMP_MODE : u16 = 0b0000_0000_0001_0000;
pub const COMP_POL : u16 = 0b0000_0000_0000_1000;
+ pub const COMP_LAT : u16 = 0b0000_0000_0000_0100;
}
pub struct Config {