/* Check if the data written to the memory is read correctly */ TransferStatus1 = Buffercmp(Tx1_Buffer, Rx1_Buffer, BufferSize1);
/* Wait for EEPROM standby state */ I2C_EE_WaitEepromStandbyState();
/* Second write in the memory followed by a read of the written data -------*/ /* Write on I2C EEPROM from EEPROM_WriteAddress2 */ I2C_PageWrite_AT24C01_02(EEPROM_Block0_ADDRESS,EEPROM_WriteAddress2,Tx2_Buffer,BufferSize2);
/* Read from I2C EEPROM from EEPROM_ReadAddress2 */ I2C_SequentialRead_AT24C01_02(EEPROM_Block0_ADDRESS,EEPROM_ReadAddress2,Rx2_Buffer,BufferSize2);
/* Check if the data written to the memory is read correctly */ TransferStatus2 = Buffercmp(Tx2_Buffer, Rx2_Buffer, BufferSize2);