From: Dave Hylands <dhylands@gm...> - 2007-09-20 14:16:55
> I see from i2c-pxa.c that the Gumstix I2C can run in slave mode. Can anyone
> point me to an API (or other documentation) that shows how to use this
I don't think that the driver is complete, from my recollections of
looking at it a while back. I consider it more of a starting place
that you can tweak to do something with.
The API is pretty much the same as using the driver in master mode.
There is an ioctl to set the slave address. THe current driver acts
like an EEPROM. If you want something different, then you need to add
your code to the i2c driver.
Vancouver, BC, Canada