summaryrefslogtreecommitdiff
path: root/decoders/uart.py
AgeCommit message (Collapse)Author
2012-01-12srd: Decoders: Cosmetics and whitespace fixes.Uwe Hermann
- Remove superfluous whitespace. - Add URLs and more info. - Consistently use ' instead of " for Python strings.
2012-01-12srd: Drop duplicate SRD_ prefix from ANN/PROTO.Uwe Hermann
Using srd.SRD_OUTPUT_ANN is unneeded, srd.OUTPUT_ANN is better/shorter.
2012-01-10srd: Drop useless out_ann/out_proto init.Uwe Hermann
If those variables are used before start() was called, that's a bug anyway.
2012-01-10srd: Use 'import sigrokdecode as srd' for brevity.Uwe Hermann
2012-01-10srd: annotation -> annotations.Uwe Hermann
In the PDs (Python code), the 'annotation' variable/attribute is a list of annotation formats. Use the plural 'annotations' as we do for other lists such as 'inputs', 'outputs', 'probes', 'options', and so on.
2012-01-10srd: Finish consistency rename to ANN/PROTO.Uwe Hermann
2012-01-10srd: s/output_new/add/ for all decoders.Uwe Hermann
2012-01-07srd: UART: Define an output format and document it.Uwe Hermann
This is a first attempt, might not be finished or finalized.
2012-01-07srd: UART: Add more aliases, report invalid bits.Uwe Hermann
2012-01-07srd: UART: Update to new PD annotation API.Uwe Hermann
2012-01-07srd: UART: Drop 'quick_hack' stuff.Uwe Hermann
2012-01-05srd: Convert UART decoder to new API.Uwe Hermann
2012-01-03srd: Remove decode() docstrings.Uwe Hermann
This info is in the decoder's metadata, where the frontends can get it from programmatically anyway.
2012-01-03srd: *.py: Remove one incorrect ord() call.Uwe Hermann
While 'data' is of type 'bytes', 'data[0]' for example is of type 'int', thus the ord() there is neither needed nor correct anymore (yields an error).
2012-01-03srd: Quick hack to make the UART decoder work again.Uwe Hermann
2011-12-10srd: UART: Simplify a code snippet.Uwe Hermann
2011-12-10srd: UART: Add some protocol documentation.Uwe Hermann
2011-12-07srd: Add initial UART decoder.Uwe Hermann
Works with any baudrate, number of bits, parity types, number of stop bits and so on, in theory. Not all options are fully implemented or tested though. Various TODOs remain.