Page 1 of 1

I2C addressing

Posted: Fri Jan 25, 2013 3:49 pm
by YahooArchive
NXP/Philips the inventor of i2c refers to the address byte of a device and
defines the LSB of that address byte as a read/write bit.

We use that convention, though some other vendors documents do not, even some
old documents from Philips.

Our routines in C or BASIC (viewable in BASIClib/I2C.bas) will set that LSB
depending on read or write regardless of what value is passed to us.

So if the address is &HE0, then the i2c routine will set that bit according to
read/write. An address of &HE1 could be passed and have the same effect.