summaryrefslogtreecommitdiff
path: root/decoders/spiflash/pd.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2019-11-12 22:03:21 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2019-11-12 23:03:32 +0100
commitab0522b8722c883275c2d695471b0746ab7372a0 (patch)
tree721506a60e20162689ad65117c7620fe74a36924 /decoders/spiflash/pd.py
parentafae4fa61ffd8dee62667e60f931e371061c7d7d (diff)
downloadlibsigrokdecode-ab0522b8722c883275c2d695471b0746ab7372a0.tar.gz
libsigrokdecode-ab0522b8722c883275c2d695471b0746ab7372a0.zip
uart: Add [rx|tx]_packet_delimiter options.
This is a convenience feature that emits summary annotations ("packets") that comprise all data values that were decoded until a specified delimiter value is seen (as last data value of the "packet"). Example use-cases include ASCII data where it can be convenient to "packetize" whenever a 10/0x0A value (newline) is seen, or some protocols which have a fixed "marker" value (e.g. 0x55) as last value in the "packet". The annotations are affected by the selected 'format' option, i.e. the user can get summaries in ASCII or hex or other formats. This is just an (intentionally very simple) helper/convenience improvement and is NOT meant to replace "proper" stacked decoders for UART-based protocols.
Diffstat (limited to 'decoders/spiflash/pd.py')
0 files changed, 0 insertions, 0 deletions