|
NXC
Version 1.2.1 r5
|
|
inline |
Read I2C register.
Read a single byte from an I2C device register.
| port | The port to which the I2C device is attached. See the 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. |