]> sigrok.org Git - libsigrok.git/blobdiff - hardware/sysclk-lwla/protocol.h
sysclk-lwla: Implement config_probe_set() callback.
[libsigrok.git] / hardware / sysclk-lwla / protocol.h
index f8b64ac6515719d1ac9994b1b5c9cf1bb80e0062..29a191aab4b477b71e22a1513a00c3a2c0c16618 100644 (file)
 #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)