In I2C protocol every command must have device address, register address, number of bytes to send and receive and length of bytes.
I can not see the device address in sample code give for this IC can you please explain the mechanism how its take care?
Regards