From 34929ee00c976842196ca95240b6cb1a7f5d8c75 Mon Sep 17 00:00:00 2001 From: Jens Steinhauser Date: Tue, 8 Jul 2014 17:48:56 +0200 Subject: [PATCH] spi: Fix order of MISO/MOSI data items. --- decoders/spi/pd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py index 4e5627b..5c7df19 100644 --- a/decoders/spi/pd.py +++ b/decoders/spi/pd.py @@ -28,11 +28,11 @@ Packet: [, , ] : - - 'DATA': contains the MISO data, contains the MOSI data. + - 'DATA': contains the MOSI data, contains the MISO 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 channel was not supplied. - - 'BITS': / contain a list of bit values in this MISO/MOSI data + - 'BITS': / contain a list of bit values in this MOSI/MISO data item, and for each of those also their respective start-/endsample numbers. - 'CS CHANGE': is the old CS# pin value, is the new value. Both data items are Python numbers (0/1), not strings. -- 2.30.2