Search by Tags

Windows CE Library - I2C Library - (I2CLib)

 

Article updated at 08 Jun 2018
Compare with Revision




Attention: this is a legacy library and thus not supported by Toradex anymore. We recommend that you use the new libraries for all Toradex modules. Please see the Toradex CE Libraries and Code Samples for up-to-date information.

Description

This library manages communications via the I2C interfaces.

Current Version

V4.4

Application Notes

This library supports 100KBPS and 400KBPS.

This library uses a mutex called 'I2C' to control against simultaneous access.

Currently, this library supports only one I2C instance at a time.

Revision History

Date Rev Change Notes
29/06/2015 V4.4 Add support for non-DWORD-aligned receive buffer (Tegra only)
Prevent possible application hang (add timeout) when i2c signals were floating low.
30/10/2014 V4.3 Add support for all i2c channels on T20 and T30.
09/07/2014 V4.2 Fix i2c protocol in I2CBurstRead() for T20 and T30:
Do not send STOP condition after transmitting the offset value.
15/04/2014 V4.1.1 Internally mask slave address for the range 0..127
11/03/2014 V4.1 Fixed missing deinit of a variable for the T20/T30 modules in the I2CDeInit() function
Added more error checks

Library API

I2C Lib API

Other Resources

Windows CE Libraries and Code Samples

How to use I2C library

I2C (Colibri)