X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fi2c%2Fpd.py;h=0aed1ffe505a3a95e4167ebc0d4003869e1e04fe;hp=6beb251442ef0d7f6b22864bf4b10068175119b3;hb=a250a66dddc795295d7758f09d40463ddaf62eb8;hpb=f1428c4cbd60be07322cc3129eaed716a269648b diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py index 6beb251..0aed1ff 100644 --- a/decoders/i2c/pd.py +++ b/decoders/i2c/pd.py @@ -21,14 +21,9 @@ # I2C protocol decoder # TODO: Look into arbitration, collision detection, clock synchronisation, etc. -# TODO: Handle clock stretching. -# TODO: Handle combined messages / repeated START. -# TODO: Implement support for 7bit and 10bit slave addresses. +# TODO: Implement support for 10bit slave addresses. # TODO: Implement support for inverting SDA/SCL levels (0->1 and 1->0). # TODO: Implement support for detecting various bus errors. -# TODO: I2C address of slaves. -# TODO: Handle multiple different I2C devices on same bus -# -> we need to decode multiple protocols at the same time. import sigrokdecode as srd @@ -83,7 +78,6 @@ class Decoder(srd.Decoder): ] optional_probes = [] options = { - 'addressing': ['Slave addressing (in bits)', 7], # 7 or 10 'address_format': ['Displayed slave address format', 'shifted'], } annotations = [