From: Uwe Hermann Date: Fri, 31 Jan 2014 13:56:14 +0000 (+0100) Subject: spi: Define annotation rows. X-Git-Tag: libsigrokdecode-0.3.0~134 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=06b52ebb5fe7c09890dee02aa653578c2faf5a65;p=libsigrokdecode.git spi: Define annotation rows. --- diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 7761f31..03a45da 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -86,6 +86,11 @@ class Decoder(srd.Decoder): ['mosi-data', 'MOSI SPI data'], ['warnings', 'Human-readable warnings'], ] + annotation_rows = ( + ('miso', 'MISO', (0,)), + ('mosi', 'MOSI', (1,)), + ('other', 'Other', (2,)), + ) def __init__(self): self.samplerate = None