summaryrefslogtreecommitdiff
path: root/decoders/common/plugtrx
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-11-07 14:38:05 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-11-11 19:47:41 +0100
commit76b64d3a64c61f4de996d40c55d44c77471a48d8 (patch)
tree51bd8f3ca0c77066e9e0c23cdfc2b10d6121ac32 /decoders/common/plugtrx
parente2317ec49b8b04c7f8b3358c2e9c264de4280539 (diff)
downloadlibsigrokdecode-76b64d3a64c61f4de996d40c55d44c77471a48d8.tar.gz
libsigrokdecode-76b64d3a64c61f4de996d40c55d44c77471a48d8.zip
parallel: add support for optional reset/enable/select signal
Add an optional 'reset' signal of user configurable polarity. When the signal is asserted, the data lines are not interpreted. Assertion will flush previously accumulated data bits and words. Deassertion can help synchronize to input streams when the capture started in the middle of a word. Despite the "reset" name this signal can also be thought of as "enable" or "select", and increases the versatility and usefulness of the parallel decoder beyond strictly parallel memory busses. Construct the list of .wait() conditions and track the positions of individual terms in that list. This is necessary because "always false" conditions are not available, thus pin/channel indices and .matched[] indices don't correspond for sparse input signal assignments. Accept when previously gathered information became void again, and re-use existing initialization code for reset related activity.
Diffstat (limited to 'decoders/common/plugtrx')
0 files changed, 0 insertions, 0 deletions