This is the documentation for the latest (main) development branch of mcuxpresso sdk. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

i2c_interrupt_transfer

Overview

The i2c_interrupt example shows how to use I2C driver in interrupt way:

In this example , one i2c instance used as I2C master and another i2c instance used as I2C slave .

  1. I2C master send data to I2C slave in interrupt . (I2C Slave using interrupt to receive the data)

  2. I2C master read data from I2C slave in interrupt . (I2C Slave using interrupt to send the data)