]> sigrok.org Git - libsigrokdecode.git/commit
i2c: also shift first address byte for 10bit slave addresses
authorGerhard Sittig <redacted>
Mon, 17 Jul 2023 16:51:02 +0000 (18:51 +0200)
committerGerhard Sittig <redacted>
Tue, 18 Jul 2023 19:28:44 +0000 (21:28 +0200)
commit35753ccad522da1a1241beec0736aa7049a290bb
treeeb8cfc1dbf49b960e4700477d9591bb27449b0bd
parente7c6af6eb047bb751c53741f18353e8d1635d8d5
i2c: also shift first address byte for 10bit slave addresses

The first address byte in an I2C transfer always carries the R/W bit.
Always shift this byte regardless of 7/10 bit addresses, and always emit
separate annotations for the address value part and the R/W bit part.
decoders/i2c/pd.py