Get register value from I2C interface