|
#define ReadI2CVendorId |
( |
_port, |
|
|
_i2caddr, |
|
|
_strVal |
|
) |
ReadI2CDeviceInfo(_port, _i2caddr, I2C_REG_VENDOR_ID, _strVal) |
Read I2C device vendor.
Read standard I2C device vendor. The I2C device uses the specified address.
- 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. Constants should be used where possible to avoid blocking access to I2C devices on other ports by code running on other threads. |
| _i2caddr | The I2C device address. |
| _strVal | A string containing the device vendor. |
|