]> sigrok.org Git - libsigrokdecode.git/commitdiff
mx25lxx05d: Define annotation rows.
authorUwe Hermann <redacted>
Mon, 3 Feb 2014 21:51:56 +0000 (22:51 +0100)
committerUwe Hermann <redacted>
Sun, 9 Feb 2014 18:38:21 +0000 (19:38 +0100)
decoders/mx25lxx05d/pd.py

index 754729d4f19d1dc8e2440ad8693dc662afd5a163..76319db61b52aa5b0156f0133e202b441cc98442 100644 (file)
@@ -102,6 +102,11 @@ class Decoder(srd.Decoder):
         ['bits2', 'Bits2'],
         ['warnings', 'Warnings'],
     ]
         ['bits2', 'Bits2'],
         ['warnings', 'Warnings'],
     ]
+    annotation_rows = (
+        ('bits', 'Bits', (24, 25)),
+        ('commands', 'Commands', tuple(range(23 + 1))),
+        ('warnings', 'Warnings', (26,)),
+    )
 
     def __init__(self, **kwargs):
         self.state = None
 
     def __init__(self, **kwargs):
         self.state = None