added interrupt clearing to I2C_Reset