summaryrefslogtreecommitdiff
path: root/decoders/st7735/__init__.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2020-07-19 19:41:18 +0200
committerGerhard Sittig <gerhard.sittig@gmx.net>2020-07-20 20:15:04 +0200
commitb094fdfc1c1cfe1e34f95c62e73241cff5e4074c (patch)
treee626318c24f72a49123d9c1095410e3868ccd6c6 /decoders/st7735/__init__.py
parent33687d6ed7b923662566e6a6f2761792bb087fb4 (diff)
downloadlibsigrokdecode-b094fdfc1c1cfe1e34f95c62e73241cff5e4074c.tar.gz
libsigrokdecode-b094fdfc1c1cfe1e34f95c62e73241cff5e4074c.zip
numbers_and_state: introduce decoder (based on vector slicer)
The idea was taken from the vector slicer as suggested in github PR 17. The code was rewritten to avoid cluttering the decoder set with lots of tiny implementations. Create a single decoder which does all of the bit accumulation as well as number format interpretation and also includes number to text formatting with user selectable presentations. Optional clock is supported, to avoid too many annotations in glitchy setups. The IEEE 754 format was added as another interpretation. The enum code path accepts data files in either the Python or JSON format (the latter feels backwards to me). Putting enums on separate rows helps visualize state transitions. Users can disable GUI traces or select CLI rows to silence the output if it feels noisy. The most appropriate (useful, and usable) number of supported channels is yet to get determined. This version accepts up to 16 inputs.
Diffstat (limited to 'decoders/st7735/__init__.py')
0 files changed, 0 insertions, 0 deletions