diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-04-15 08:43:22 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-04-15 10:46:10 +0200 |
commit | bf69977d12886794ac597083403859ac99ab38ac (patch) | |
tree | fc89f22d320eab929873c33c35523e5be5a25d23 /decoders/spi | |
parent | ce71bf0e29e9c3890eb74725ceb963ff35a29639 (diff) | |
download | libsigrokdecode-bf69977d12886794ac597083403859ac99ab38ac.tar.gz libsigrokdecode-bf69977d12886794ac597083403859ac99ab38ac.zip |
All PDs: More consistent OUTPUT_PYTHON format docs.
Diffstat (limited to 'decoders/spi')
-rw-r--r-- | decoders/spi/pd.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 7250dbd..5bab8f7 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -24,10 +24,10 @@ import sigrokdecode as srd ''' OUTPUT_PYTHON format: -SPI packet: -[<cmd>, <data1>, <data2>] +Packet: +[<ptype>, <data1>, <data2>] -Commands: +<ptype>: - 'DATA': <data1> contains the MISO data, <data2> contains the MOSI data. The data is _usually_ 8 bits (but can also be fewer or more bits). Both data items are Python numbers (not strings), or None if the respective |