does anyone have an i2c driver?

Joel Sherrill joel.sherrill at OARcorp.com
Thu Dec 6 01:52:11 UTC 2001


Don't forget the mcf5xxxelite in the m68k directory.

"Aaron J. Grier" wrote:
> 
> 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:
> > http://www.janovetz.com/jake/cantante 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 frye.com
>      "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

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985



More information about the users mailing list