]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/mx25lxx05d/pd.py
mx25lxx05d: Define annotation rows.
[libsigrokdecode.git] / decoders / mx25lxx05d / pd.py
index 754729d4f19d1dc8e2440ad8693dc662afd5a163..76319db61b52aa5b0156f0133e202b441cc98442 100644 (file)
@@ -102,6 +102,11 @@ class Decoder(srd.Decoder):
         ['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