From f6ac6188a652bd7ccff772648d57cff9a0963e84 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sat, 10 Nov 2018 10:01:27 +0100 Subject: Add support for setting the comparator latching --- tests/common/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/common') 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 { -- cgit v1.2.3-54-g00ecf