summaryrefslogtreecommitdiff
path: root/decoders/uart
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-04-15 08:43:22 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-04-15 10:46:10 +0200
commitbf69977d12886794ac597083403859ac99ab38ac (patch)
treefc89f22d320eab929873c33c35523e5be5a25d23 /decoders/uart
parentce71bf0e29e9c3890eb74725ceb963ff35a29639 (diff)
downloadlibsigrokdecode-bf69977d12886794ac597083403859ac99ab38ac.tar.gz
libsigrokdecode-bf69977d12886794ac597083403859ac99ab38ac.zip
All PDs: More consistent OUTPUT_PYTHON format docs.
Diffstat (limited to 'decoders/uart')
-rw-r--r--decoders/uart/pd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/decoders/uart/pd.py b/decoders/uart/pd.py
index a0b1326..ae99874 100644
--- a/decoders/uart/pd.py
+++ b/decoders/uart/pd.py
@@ -23,10 +23,10 @@ import sigrokdecode as srd
'''
OUTPUT_PYTHON format:
-UART packet:
-[<packet-type>, <rxtx>, <packet-data>]
+Packet:
+[<ptype>, <rxtx>, <pdata>]
-This is the list of <packet-type>s and their respective <packet-data>:
+This is the list of <ptype>s and their respective <pdata> values:
- 'STARTBIT': The data is the (integer) value of the start bit (0/1).
- 'DATA': The data is the (integer) value of the UART data. Valid values
range from 0 to 512 (as the data can be up to 9 bits in size).