diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-31 14:56:14 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-01-31 17:04:13 +0100 |
commit | 06b52ebb5fe7c09890dee02aa653578c2faf5a65 (patch) | |
tree | 5b528de89ddfb0aefa341ef1284f16066d5f65d5 /decoders/spi/pd.py | |
parent | 2ce20a91c05f32d6b99fda089736f980cb05aeff (diff) | |
download | libsigrokdecode-06b52ebb5fe7c09890dee02aa653578c2faf5a65.tar.gz libsigrokdecode-06b52ebb5fe7c09890dee02aa653578c2faf5a65.zip |
spi: Define annotation rows.
Diffstat (limited to 'decoders/spi/pd.py')
-rw-r--r-- | decoders/spi/pd.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |