[i2c] Newbie question (documentation on dev-interface)
Arnold
abo_gwapo at yahoo.com
Fri Oct 27 04:50:16 CEST 2006
Hi All,
Just a simple question. I am a bit confused of the
documentation on dev-interface. If I'll use a simple
read command and not smbus_read how do I set the
register? It was stated there that you dont need to
set the address byte but set it using
ioctl(..,slave,..) but what about the register that I
want to read? where do I set the register? in the
first byte of the buffer in the read? If the device
i2c address is 0x10 and the the register I want to
read is address 0x21, how do set 0x21? I hope somebody
could help me out with this simple question. Thank you
very much.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the i2c
mailing list