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)