summaryrefslogtreecommitdiff
path: root/decoders/uart/pd.py
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-11-23 19:09:09 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2018-11-25 10:57:09 +0100
commitb025eab735871bc3427325454b7bec03958f1009 (patch)
treef939a93f59bdf380e149e19d229c332d72128e1a /decoders/uart/pd.py
parentc78c8f6faf51eb5fa66dd2ca94439b40ad1047b0 (diff)
downloadlibsigrokdecode-b025eab735871bc3427325454b7bec03958f1009.tar.gz
libsigrokdecode-b025eab735871bc3427325454b7bec03958f1009.zip
uart: document the Python annotation for BREAK
Diffstat (limited to 'decoders/uart/pd.py')
-rw-r--r--decoders/uart/pd.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py
index ffacad9..2ba8c57 100644
--- a/decoders/uart/pd.py
+++ b/decoders/uart/pd.py
@@ -40,6 +40,7 @@ This is the list of <ptype>s and their respective <pdata> values:
- 'PARITY ERROR': The data is a tuple with two entries. The first one is
the expected parity value, the second is the actual parity value.
- TODO: Frame error?
+ - 'BREAK': The data is always 0.
The <rxtx> field is 0 for RX packets, 1 for TX packets.
'''