]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/demo/protocol.h
Demo: Add walking one/walking zero pattern
[libsigrok.git] / src / hardware / demo / protocol.h
index 8eb841ce7d2e0b5fc61366a6cb9c4673670890e1..5d78c5e7ad3266ed89b3b5acc856de2f01865f88 100644 (file)
@@ -75,6 +75,16 @@ enum {
         */
        PATTERN_INC,
 
+       /**
+        * Single bit "walking" across all logic channels by being
+        * shifted across data lines, restarting after the last line
+        * was used. An all-zero (all-one) state is inserted to prevent
+        * repetitive patterns (e.g. with 8 data lines, every 8th state
+        * would show the same line state)
+        */
+       PATTERN_WALKING_ONE,
+       PATTERN_WALKING_ZERO,
+
        /** All channels have a low logic state. */
        PATTERN_ALL_LOW,