diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-10 09:34:00 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-10 09:34:00 +0100 |
commit | bad297c7e4c1f39842aa55ac44506e22d154bce0 (patch) | |
tree | d4b48ab8b25cecad2e77c034dda1716c34c93da9 /tests/common/mod.rs | |
parent | df8e200554dadee3f4addc887f775be03b7467cf (diff) | |
download | ads1x1x-async-bad297c7e4c1f39842aa55ac44506e22d154bce0.tar.gz ads1x1x-async-bad297c7e4c1f39842aa55ac44506e22d154bce0.tar.xz ads1x1x-async-bad297c7e4c1f39842aa55ac44506e22d154bce0.zip |
Add support for setting the comparator polarity
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 89b81c9..8ffd50e 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -22,6 +22,7 @@ impl BitFlags { 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 const COMP_POL : u16 = 0b0000_0000_0000_1000; } pub struct Config { |