diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-08 19:08:57 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-08 19:08:57 +0100 |
commit | df30ade977dceef79b69fa8d7fe193bcc23d35c3 (patch) | |
tree | 98ceee01369a5a2ebd9f1e80f8b09bc271c3f01f /tests/common/mod.rs | |
parent | e316baaf8ca226caa2447041e1d895fb72ed4f19 (diff) | |
download | ads1x1x-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.rs | 1 |
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 { |