I2C_interrupt ============= Function description: --------------------- This demo shows the **I2Cn** master and **I2Cm** slave transmitting, receiving and end of transmit interrupt in cpu mode. Test result: ------------ If the data of receiving is equal to transmitting, and corresponding interrupt is triggered, print pass, if not print fail. IO connection: -------------- +-----------------+------------------+ | PAD | PAD | +=================+==================+ | pad_i2cn_scl | pad_i2cm_scl | +-----------------+------------------+ | pad_i2cn_sda | pad_i2cm_sda | +-----------------+------------------+ .. Note:: The 'm' and 'n' in "i2cm" and "i2cn" indicate the peripheral number.