From 5f58ec2dbf656e9c29e14c28103a87c125797d52 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sat, 17 Nov 2018 07:47:40 +0100 Subject: Add mode conversion tests --- tests/common/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/common') diff --git a/tests/common/mod.rs b/tests/common/mod.rs index dc66431..ee78ffe 100644 --- a/tests/common/mod.rs +++ b/tests/common/mod.rs @@ -16,11 +16,11 @@ impl Register { pub struct BitFlags; #[allow(unused)] impl BitFlags { - //pub const OP_MODE : u16 = 0b0000_0001_0000_0000; pub const OS : u16 = 0b1000_0000_0000_0000; pub const MUX2 : u16 = 0b0100_0000_0000_0000; pub const MUX1 : u16 = 0b0010_0000_0000_0000; pub const MUX0 : u16 = 0b0001_0000_0000_0000; + pub const OP_MODE : u16 = 0b0000_0001_0000_0000; pub const DR2 : u16 = 0b0000_0000_1000_0000; pub const DR1 : u16 = 0b0000_0000_0100_0000; pub const DR0 : u16 = 0b0000_0000_0010_0000; -- cgit v1.2.3-54-g00ecf