summaryrefslogtreecommitdiff
path: root/decoders/avr_isp/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-02-03 16:17:22 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2014-02-09 19:38:21 +0100
commit3b0013416fcfb17e8bc6cfd6850e79971f239fe0 (patch)
treee41a0829443decfcb4293418ec728472146cf25b /decoders/avr_isp/pd.py
parentad30cb466b4f0c0ff448af7a34aee96f40c9c472 (diff)
downloadlibsigrokdecode-3b0013416fcfb17e8bc6cfd6850e79971f239fe0.tar.gz
libsigrokdecode-3b0013416fcfb17e8bc6cfd6850e79971f239fe0.zip
avr_isp: Define annotation rows.
Diffstat (limited to 'decoders/avr_isp/pd.py')
-rw-r--r--decoders/avr_isp/pd.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/decoders/avr_isp/pd.py b/decoders/avr_isp/pd.py
index 5fea72c..2624662 100644
--- a/decoders/avr_isp/pd.py
+++ b/decoders/avr_isp/pd.py
@@ -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'