i2c: also shift first address byte for 10bit slave addresses
commit35753ccad522da1a1241beec0736aa7049a290bb
authorGerhard Sittig <gerhard.sittig@gmx.net>
Mon, 17 Jul 2023 16:51:02 +0000 (17 18:51 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Tue, 18 Jul 2023 19:28:44 +0000 (18 21:28 +0200)
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