summaryrefslogtreecommitdiff
path: root/decoders/nrf905/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-11-07 13:46:56 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-11-11 19:21:42 +0100
commit615f86f6bf7f7166f2975c9efe7e727bf2b65734 (patch)
tree2c249c98f97a1e9ac9dd1ae9286d1d4854d60097 /decoders/nrf905/pd.py
parent9a41127e073e47684bf44915618961496d759927 (diff)
downloadlibsigrokdecode-615f86f6bf7f7166f2975c9efe7e727bf2b65734.tar.gz
libsigrokdecode-615f86f6bf7f7166f2975c9efe7e727bf2b65734.zip
parallel: rephrase handling of data lines, symbolic upper bound
Strictly speaking this decoder considers all input signals as optional. The previous version accepted clock alone. Though reading values from zero data bits is of limited. Tighten the check for connected inputs. Inline the declaration of all channels in the decoder boiler plate, the helper routine was only used in a single spot. Change the order of the data lines stripe details and the .wait() conditions, improve locality of assignment and use of related variables. Don't assume that "all channels but clock" are data lines. Use a symbolic upper bound for the data lines partition, to prepare the introduction of a reset/enable signal.
Diffstat (limited to 'decoders/nrf905/pd.py')
0 files changed, 0 insertions, 0 deletions