# Digi.Drivers.I2C Class Reference

Inter-Integrated Circuit class This class manage the I2C driver of ConnectCore 9C/Wi-9C/9P 9360 and ConnectCore 9M/Wi-9M 2443 platforms. More...

Inheritance diagram for Digi.Drivers.I2C:

List of all members.

## Public Member Functions
| I2C ()
| Constructor.
abstract bool | Read (ref byte[] Buffer, int count)
| Method that reads from I2C.
abstract bool | Write (ref byte[] Buffer, int count)
| Method that writes into I2C.

## Detailed Description

Inter-Integrated Circuit class This class manage the I2C driver of ConnectCore 9C/Wi-9C/9P 9360 and ConnectCore 9M/Wi-9M 2443 platforms.

## Constructor & Destructor Documentation

public Digi::Drivers.I2C::I2C | ( |  | ) |

Constructor.

## Member Function Documentation

public bool Digi::Drivers.I2C::Read | ( | ref byte[] | Buffer,
|  | int | count |
| ) |  |  | `[pure virtual]`

Method that reads from I2C.

Parameters:

  | Buffer | Buffer to store the data read
  | count | Number of bytes to read

Returns:
  True indicates success, false indicates failure

Implemented in Digi.Drivers.I2CiMX51.

public bool Digi::Drivers.I2C::Write | ( | ref byte[] | Buffer,
|  | int | count |
| ) |  |  | `[pure virtual]`

Method that writes into I2C.

Parameters:

  | Buffer | Buffer to write
  | count | Number of bytes to write

Returns:
  True indicates success, false indicates failure

Implemented in Digi.Drivers.I2CiMX51.

The documentation for this class was generated from the following file:

- C:/Documents and Settings/aramos/Desktop/Freescale i.MX51_CSharp_API/Digi.Drivers/Digi.Drivers/I2C.cs