summaryrefslogtreecommitdiff
path: root/decoders/spi.py
AgeCommit message (Collapse)Author
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: Finish consistency rename to ANN/PROTO.Uwe Hermann
2012-01-10srd: self.add: Use sigrokdecode.SRD_OUTPUT_*.Uwe Hermann
2012-01-10srd: output_{protocol,annotation} -> out_{proto,ann}.Uwe Hermann
2012-01-10srd: s/output_new/add/ for all decoders.Uwe Hermann
2012-01-05srd: We use 0/1 instead of False/True at the moment.Uwe Hermann
2012-01-05srd: Update the SPI decoder to the new API.Uwe Hermann
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 SPI decoder work again.Uwe Hermann
Since Python 3 there are some explicit int() casts needed.
2011-12-28new dynamic output stream registration code, not finished.Bert Vermeulen
2011-12-04srd: Update decoders to changed API.Uwe Hermann
2011-12-02srd: Changed nunchuk and transitioncounter to new registraion api.Gareth McMullin
2011-12-01srd: PDs now explicitly register with sigrok module.Gareth McMullin
2011-11-27srd: Python: Consistently use single quotes for strings.Uwe Hermann
2011-11-27srd: Pass metadata to decoders only on SR_DF_HEADER.Gareth McMullin
Before this was passed to the decoder's constuctor, but the parameters may not all be known at construction. Decoders now have a method start() which is called at the start of the capture, and metadata is passed as an arg to this function.
2011-11-23Decoders: Use 4 spaces for indentation as per PEP-8.Uwe Hermann
2011-11-20libsigrokdecode: Allow frontend to configure decoder probes.Gareth McMullin
2011-11-20libsigrokdecode: Allow multiple PD instances.Gareth McMullin
There is currently no way to configure options or probes, so they'll always be the same, but it's a start.
2011-11-20libsigrokdecode: Move decoder metadata into Decoder object.Gareth McMullin
2011-11-20Simplified code for calling Python decode method.Gareth McMullin
2011-11-20Add support for OO based PDs.Kristoffer Sjöberg