I2C API

I am looking for I2C api’s (I2CRead, I2CWrite) in Windows. Could not find any.

  1. Are there any such API’s available?
  2. If not, whats the best way to go about writing these? Any pointers/resources?

Thanks
Hemant

wrote in message news:xxxxx@ntdev…
> I am looking for I2C api’s (I2CRead, I2CWrite) in Windows. Could not find
> any.
>
> 1. Are there any such API’s available?
> 2. If not, whats the best way to go about writing these? Any
> pointers/resources?
>
> Thanks
> Hemant

These are documented in Display devices section of the WDK
( only for display drivers )

–PA

Are there any generic API’s.?
I wanted to access some other I2C device (not Display).
How does one access non Display I2C devices?

Thanks
Hemant

On Sun, May 25, 2008 at 04:32:30PM -0400, xxxxx@yahoo.com wrote:

Are there any generic API’s.?
I wanted to access some other I2C device (not Display).
How does one access non Display I2C devices?

It is impossible to have any kind of generic I2C access. Every device
that has an I2C bus has its own method for exposing the bus to its
clients. You will have to use the specs for your device to figure out
how to access the bus.

Tim Roberts, xxxxx@probo.com
Providenza & Boeklheide, Inc.