summaryrefslogtreecommitdiff
path: root/decoders/i2c
AgeCommit message (Collapse)Author
2013-09-08i2c: Fix corner-case that can occur with LA triggers.Uwe Hermann
Until now the I2C PD was basically ignoring the very first sample, and using that as the initial 'oldscl'/'oldsda' value. However, if your logic analyzers trigger on, say, SDA=low that will result in a file where the first sample is really important since it is the one which the PD will need to know that there's a falling edge on SDA. Thus, assume both SCL and SDA are high/1 when the PD starts. This is a good assumption since both pins have pullups on them in practice and are thus high/1 when the bus is idle. Later on we might want to have config options to let the PD assume other states of SDA/SCL initially.
2013-04-23GPL headers: Use correct project name.Uwe Hermann
2012-11-24Fix bugs in "Invalid state" printing/exceptions.Uwe Hermann
2012-11-24All PDs: Name the files pd.py consistently.Uwe Hermann
The Python module name is determined by the directory name (e.g. dcf77), the *.py file names in that directory don't matter and can be kept consistent.
2012-07-11srd: Performance improvements for various PDs.Uwe Hermann
Ignore/skip identical samples in most (low-level) PDs, as we're usually (but not necessarily always) only interested in pin changes. This yields a significant performance improvement for the PDs. The mechanism was already used in the 'i2s', 'jtag', and 'lpc' PDs, but not yet in all supported low-level decoders. The following PDs now also use this mechanism: 'dcf77', 'i2c', 'spi', 'uart', and 'usb_signalling'. Thanks Lars-Peter Clausen <lars@metafoo.de> for bringing this to our attention.
2012-06-12srd: Cosmetics.Uwe Hermann
2012-05-09srd: Add usable one-liner descriptions for all PDs.Uwe Hermann
2012-03-31srd: Decoders: Fix/simplify samplenum usage.Uwe Hermann
2012-03-04srd: I2C: Update PD protocol docs.Uwe Hermann
2012-03-04srd: PDs: More cosmetics.Uwe Hermann
2012-03-04srd: PDs: Use strings for states, too.Uwe Hermann
2012-02-28srd: I2C: change format to have ACK/NACK bits as separate eventsBert Vermeulen
2012-02-28srd: PDs: Whitespace and cosmetics.Uwe Hermann
2012-02-01srd: Move all protocol docs to __init__.py files.Uwe Hermann
2012-02-01srd: rename extra_probes to optional_probes in all PDsBert Vermeulen
2012-01-25srd: All PDs: Various fixes, cosmetics.Uwe Hermann
- List all API methods and metadata variables in all PDs to make things easier and more consistent for new PD writers. - Fix probe assignment in a few PDs. - Raise exceptions upon invalid states of the PD state machines (bug).
2012-01-17I2C: no need to copy default option values over from the classBert Vermeulen
definition anymore: it happens automagically.
2012-01-15I2C: properly use sample numbers in proto/annotation outputBert Vermeulen
2012-01-15srd: Add 'api_version = 1' to all PDs.Uwe Hermann
2012-01-15srd: Each PD now has its own subdirectory.Uwe Hermann