X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fsysclk-lwla%2Fprotocol.h;h=29a191aab4b477b71e22a1513a00c3a2c0c16618;hb=43db343618e81d03aa8531b4a4ed96c250a29991;hp=f8b64ac6515719d1ac9994b1b5c9cf1bb80e0062;hpb=50cad98d1ba595d6e2da900dbe212b293a058189;p=libsigrok.git diff --git a/hardware/sysclk-lwla/protocol.h b/hardware/sysclk-lwla/protocol.h index f8b64ac6..29a191aa 100644 --- a/hardware/sysclk-lwla/protocol.h +++ b/hardware/sysclk-lwla/protocol.h @@ -41,6 +41,10 @@ #define NUM_PROBES 34 #define TRIGGER_TYPES "01fr" +/* Bit mask covering all 34 channels. + */ +#define ALL_CHANNELS_MASK (((uint64_t)1 << NUM_PROBES) - 1) + /** Unit and packet size for the sigrok logic datafeed. */ #define UNIT_SIZE ((NUM_PROBES + 7) / 8)