Write_data ========== Function description: --------------------- **I2C2ICB** uses **I2C** protocol to write command and data to **ICB** bus, and the receives response from **ICB** bus; and it support standard mode in **I2C** protocol. Test result: ------------ If the data received is equal to the data transmitted, print pass, if not print fail. IO connection: -------------- +-----------------+------------------+ | PAD | PAD | +=================+==================+ | pad_i2c2icb_scl | pad_i2c0_scl | +-----------------+------------------+ | pad_i2c2icb_sda | pad_i2c0_sda | +-----------------+------------------+ .. Note:: * 1.Transmits via **I2C** cpu mode. * 2.Data is initialized to test_sram if subsystem has no slave port.