ZHCSCR9C September 2014 – February 2017 TCA9534A
PRODUCTION DATA.
To write on the I2C bus, the master sends a START condition on the bus with the address of the slave, as well as the last bit (the R/W bit) set to 0, which signifies a write. After the slave sends the acknowledge bit, the master then sends the register address of the register to which it wishes to write. The slave acknowledges again, letting the master know it is ready. After this, the master starts sending the register data to the slave until the master has sent all the data necessary (which is sometimes only a single byte), and the master terminates the transmission with a STOP condition.
See Table 3 to see list of the internal registers and a description of each one.
Figure 28 shows an example of writing a single byte to a slave register.
Figure 29 shows an example of writing to the output port register.
Figure 30 shows an example of writing to the configuration or polarity inversion registers.