avr_isp: Define annotation rows.
[libsigrokdecode.git] / decoders / avr_isp / pd.py
index 5fea72cc264a8a18638579de5d92cb4ef77d61c0..26246623b4510bfd0179f2428bb029cc1246b389 100644 (file)
@@ -48,6 +48,11 @@ class Decoder(srd.Decoder):
         ['refb', 'Read extended fuse bits'],
         ['warnings', 'Warnings'],
     ]
+    annotation_rows = (
+        ('bits', 'Bits', ()),
+        ('commands', 'Commands', tuple(range(7 + 1))),
+        ('warnings', 'Warnings', (8,)),
+    )
 
     def __init__(self, **kwargs):
         self.state = 'IDLE'