In this operation the master device sends an address byte and one data byte to the slave device, as follows:
- The master device asserts a START condition.
- The master sends the 7-bit slave address followed by the write bit (low).
- The addressed slave device asserts ACK.
- The master sends a command code (register address).
- The slave asserts ACK.
- The master sends the data byte.
- The slave asserts ACK.
- The master asserts a STOP condition to end the transaction.
1 | 2 | | 3 | 4 | 5 | 6 | 7 | 8 |
S | Slave Address | W | A | Register Address | A | Data Byte | A | P |