diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-13 19:08:34 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2013-09-14 20:16:01 +0200 |
commit | d94ff143ef7725388299ef9bd3be7ebc60e0dd2e (patch) | |
tree | be9c20dc812c4b8d4d53b9e13fdfb023e37df1fd /decoders/xfp/pd.py | |
parent | 0702e0cf5a0577122c4008007151b6c3d798b0fb (diff) | |
download | libsigrokdecode-d94ff143ef7725388299ef9bd3be7ebc60e0dd2e.tar.gz libsigrokdecode-d94ff143ef7725388299ef9bd3be7ebc60e0dd2e.zip |
i2c: Various fixes to make the PD suitable for GUIs.
The output format of the slave address is now a PD option. It can be
"shifted" or "unshifted", i.e. bit 0 (which contains a read/write
marker) is either shifted out or not, i.e., the slave address is
displayed as 8bit or 7bit number (or 11bit/10bit number for 10bit slave
addresses).
Data bytes (not address bytes) are always shown as 8bit values, of course.
Add annotation types for the individual I2C components such as
start conditions, stop conditions, ACK/NACK, address read/writes,
data read/writes and so on.
This fixes bug #151.
Diffstat (limited to 'decoders/xfp/pd.py')
0 files changed, 0 insertions, 0 deletions