X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fopenbench-logic-sniffer%2Fprotocol.h;h=bf449e7003f7aef3f1f4ed747f7594b2b8381a18;hb=967760a8937e997ba9d7b729442f882947be154e;hp=3322409f06bd9c5a9ea6ac776c9adb929317fc8b;hpb=503133bb5fcf9304d9bd93c023bc9c6c20c3aa0b;p=libsigrok.git diff --git a/hardware/openbench-logic-sniffer/protocol.h b/hardware/openbench-logic-sniffer/protocol.h index 3322409f..bf449e70 100644 --- a/hardware/openbench-logic-sniffer/protocol.h +++ b/hardware/openbench-logic-sniffer/protocol.h @@ -46,6 +46,7 @@ /* Command opcodes */ #define CMD_RESET 0x00 #define CMD_RUN 0x01 +#define CMD_TESTMODE 0x03 #define CMD_ID 0x02 #define CMD_METADATA 0x04 #define CMD_SET_FLAGS 0x82 @@ -74,6 +75,8 @@ #define FLAG_CLOCK_EXTERNAL 0x40 #define FLAG_CLOCK_INVERTED 0x80 #define FLAG_RLE 0x0100 +#define FLAG_EXTERNAL_TEST_MODE 0x0400 +#define FLAG_INTERNAL_TEST_MODE 0x0800 /* Private, per-device-instance driver context. */ struct dev_context {