How to use inm or imm to write data to i2c device?
Alec_Tsai
alec_tsai at fiwin.com.tw
Tue Jun 5 11:57:32 CEST 2007
Hi, All,
Could anyone teach me how to use inm or imm to write data to i2c device?
u-boot/common/cmd_i2c.c
/* Modify memory.
*
* Syntax:
* imm{.b, .w, .l} {i2c_chip} {addr}{.0, .1, .2}
* inm{.b, .w, .l} {i2c_chip} {addr}{.0, .1, .2}
*/
I can't fully understand the syntax.
Please give me some example.
Many Thanks!
Alec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-uboot/attachments/20070605/64c5891e/attachment.htm
More information about the openmoko-uboot
mailing list