]> sigrok.org Git - libsigrokdecode.git/commitdiff
avr_isp: Define annotation rows.
authorUwe Hermann <redacted>
Mon, 3 Feb 2014 15:17:22 +0000 (16:17 +0100)
committerUwe Hermann <redacted>
Sun, 9 Feb 2014 18:38:21 +0000 (19:38 +0100)
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'