added some I2C STAT register checks