summaryrefslogtreecommitdiff
path: root/decoders/ps2/pd.py
AgeCommit message (Collapse)Author
2020-01-04ps2: end data byte at rising clock edge of the stop bitGerhard Sittig
Data byte transmission is complete when the STOP bit was communicated. End the STOP bit at the rising CLOCK edge of the 11th bit time, do not rely on the host's clock inhibit after data transmission. This avoids the unexpected expansion of a STOP bit well into the next data byte. This fixes bug #1460, where absence of host activity after the first data byte loses synchronization to the input stream. Rephrase pin level sampling while we are here. Reflect that the clock line is used for .wait() conditions, but its level is not evaluated. Only data line levels get processed. Comment on the implementation's assumption of specific input data (the device as transmitter, host transmit may not be supported, or can result in unexpected output). Which may be acceptable yet maintainers need to remain aware.
2019-12-07decoders: Don't set self.samplenum.Uwe Hermann
This is managed by the backend and should be read-only for PDs.
2019-04-02decoders: Fix incorrect 'outputs' fields.Uwe Hermann
Only add items to 'outputs' if the respective PD actually has OUTPUT_PYTHON support implemented as of right now. Various decoders might get OUTPUT_PYTHON support later, but the 'outputs' field should reflect the current status.
2019-03-15decoders: Add/update tags for each PD.Uwe Hermann
2019-03-13Add PD tags handling and some tagsSoeren Apel
2017-12-22all decoders: introduce a reset() methodGerhard Sittig
Move initialization code of protocol decoders from the constructor to a new reset() helper method. The libsigrokdecode backend could run this method several times to clear the decoder's internal state, before new data from another acquisition gets fed to decode() calls.
2017-01-18ps2: Convert to PD API version 3Gerhard Sittig
2017-01-07license: remove FSF postal address from boiler plate license textGerhard Sittig
Remove the FSF postal address as it might change (it did in the past). Reference the gnu.org website instead which is more stable.
2016-11-04ps2: Add more detailed per-bit annotations.Uwe Hermann
2016-11-04ps2: Neither the clock nor the data pin is optional.Uwe Hermann
2016-11-04Add initial version of PS/2 decoderDaniel Schulte