libi2c low-level implementation question again

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Dec 11 10:40:33 UTC 2012


Hello,

I wrote some drivers for the I2C library, but unfortunately this library is so 
complicated to use that I have to relearn it every time I use it again.  You 
should first read the README file:

http://git.rtems.org/rtems/tree/cpukit/libi2c/README_libi2c

Here is a sample driver:

http://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/lpc24xx/i2c/i2c.c
http://git.rtems.org/rtems/tree/c/src/lib/libbsp/arm/lpc24xx/i2c/i2c-config.c

I hope this helps a bit.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 18 94 80 741-16
Fax     : +49 89 18 94 80 741-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.





More information about the devel mailing list