I am using the i2c_11u6x.c libray in IAR. There is a cmd_read function there, to send one byte and read back n bytes from a slave. I have a device that needs a two byte command sent before a repeated start and reading back n bytes.
I have been trying to incorporate the two byte command functionality into the library but, because of the way it is structured, I am having difficulties. Has anyone modified this library or know of a way to implement this?