Hi Nayva,

On Mon, 6 Oct 2008 14:12:22 +0530, naveen krishna ch wrote:
> I am working on a device driver (One touch). The registers of which are
> 16bit wide and are addressed by 16 bit address.
> The SMBus supports 16 bit read but address cannot be 16 bit in that case.

Correct.

> I used the i2c_transfer, i2c_master_send and i2c_master_recv  combinations
> to read and write data to and from the
> registers of the device. Is this a good and neater way to do so. If not can
> anyone suggest me a better one.

This is the right way, yes.

-- 
Jean Delvare

_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c

Reply via email to