does anyone have an i2c driver?

Aaron J. Grier aaron at
Wed Dec 5 01:50:38 UTC 2001

On Sat, Dec 01, 2001 at 01:23:40PM -0600, Jake Janovetz wrote:

> I wouldn't say I have a driver of sorts, but I do have interface
> routines for I/O via I2C.  Go to:
> and click on the i2c.c and
> i2c.h.  They have some superfluous stuff in there for interfacing to
> an MP3 decoder chip, but they should be generic enough I2C routines to
> get you started.  They were written for use with a gen68360-like BSP.

D'Oh!  I had forgotten about these, Jake.  :)  here I spent last week
reinventing the wheel.  If either of you would like to see my i2c code,
let me know.  I split it up between a "low-level" libi2c and an
honest-to-god RTEMS driver for the individual i2c devices, which right
now are an EEPROM and a dallas RTC.

  Aaron J. Grier  |   Frye Electronics, Tigard, OR   |  aaron at
     "In a few thousand years people will be scratching their heads
       wondering how on earth the first computer was invented and
          bootstrapped without a prior computer to do it with."
                    --  Chris Malcolm, on comp.arch

More information about the users mailing list