From 8b9e9ecdb85a30ac1c57fe6b96498cae6ad9f7cc Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 11 Nov 2018 07:51:02 +0100 Subject: Add support for channel selection --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 3170f20..ef016fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -237,6 +237,9 @@ struct BitFlags; impl BitFlags { const OP_MODE : u16 = 0b0000_0001_0000_0000; const OS : u16 = 0b1000_0000_0000_0000; + const MUX2 : u16 = 0b0100_0000_0000_0000; + const MUX1 : u16 = 0b0010_0000_0000_0000; + const MUX0 : u16 = 0b0001_0000_0000_0000; const DR2 : u16 = 0b0000_0000_1000_0000; const DR1 : u16 = 0b0000_0000_0100_0000; const DR0 : u16 = 0b0000_0000_0010_0000; -- cgit v1.2.3-54-g00ecf