#define ReadI2CRegister ( _port,
_i2caddr,
_reg,
_out,
_result   )     __MSReadValue(_port, _i2caddr, _reg, 1, _out, _result)

Read I2C register.

Read a single byte from an I2C device register.

Parameters:
_port The port to which the I2C device is attached. See the NBC Input port constants group. You may use a constant or a variable.
_i2caddr The I2C device address.
_reg The I2C device register from which to read a single byte.
_out The single byte read from the I2C device.
_result A status code indicating whether the read completed successfully or not. See TCommLSRead for possible Result values.

Generated by  doxygen 1.6.2