summaryrefslogtreecommitdiff
path: root/decoders/usb_protocol/__init__.py
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2013-09-12 08:31:59 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2013-09-12 15:56:06 +0200
commit3006c663c9c2be8f476a0085d1d59319501b6303 (patch)
tree04d19ddfd2afbadfc6654e0f6a660bee4e2d4768 /decoders/usb_protocol/__init__.py
parent9f18eb6c7baad207a15c6efcfedf751838b8000e (diff)
downloadlibsigrokdecode-3006c663c9c2be8f476a0085d1d59319501b6303.tar.gz
libsigrokdecode-3006c663c9c2be8f476a0085d1d59319501b6303.zip
uart: Make data format selection a PD option.
Until now we (ab)used annotation types for outputting the same data (numbers) in different formats (hex, ascii, binary, and so on). Turn this into a proper PD option, since annotation types should rather be used for different _types_ of annotations (e.g. "CRC", "Stop bit", "Preamble", "Sequence counter", "Warnings", and similar things), not different _formats_ for the same annotation type. Old sigrok-cli invocation for hex output: sigrok-cli ... -P uart:rx=0:tx=1 -A uart=hex New: sigrok-cli ... -P uart:rx=0:tx=1:format=hex In GUIs there is now a new "Data format" option where the user can select the output format for UART data (default is 'ascii').
Diffstat (limited to 'decoders/usb_protocol/__init__.py')
0 files changed, 0 insertions, 0 deletions