summaryrefslogtreecommitdiffstats
path: root/tests/common/mod.rs
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2018-11-08 19:08:57 +0100
committerDiego Barrios Romero <eldruin@gmail.com>2018-11-08 19:08:57 +0100
commitdf30ade977dceef79b69fa8d7fe193bcc23d35c3 (patch)
tree98ceee01369a5a2ebd9f1e80f8b09bc271c3f01f /tests/common/mod.rs
parente316baaf8ca226caa2447041e1d895fb72ed4f19 (diff)
downloadads1x1x-async-df30ade977dceef79b69fa8d7fe193bcc23d35c3.tar.gz
ads1x1x-async-df30ade977dceef79b69fa8d7fe193bcc23d35c3.tar.xz
ads1x1x-async-df30ade977dceef79b69fa8d7fe193bcc23d35c3.zip
Add support for setting the comparator mode
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 7f55942..89b81c9 100644
--- a/tests/common/mod.rs
+++ b/tests/common/mod.rs
@@ -21,6 +21,7 @@ impl BitFlags {
pub const DR2 : u16 = 0b0000_0000_1000_0000;
pub const DR1 : u16 = 0b0000_0000_0100_0000;
pub const DR0 : u16 = 0b0000_0000_0010_0000;
+ pub const COMP_MODE : u16 = 0b0000_0000_0001_0000;
}
pub struct Config {