#define LowspeedWrite ( _port,
_retlen,
_buffer,
_result   )     __lowspeedWrite(_port, _retlen, _buffer, _result)

Write lowspeed data.

This method starts a transaction to write the bytes contained in the array buffer to the I2C device on the specified port. It also tells the I2C device the number of bytes that should be included in the response. The maximum number of bytes that can be written or read is 16.

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.
_retlen The number of bytes that should be returned by the I2C device.
_buffer A byte array containing the address of the I2C device, the I2C device register at which to write data, and up to 14 bytes of data to be written at the specified register.
_result A status code indicating whether the write completed successfully or not. See TCommLSWrite for possible Result values. If the return value is NO_ERR then the last operation did not cause any errors.
See also:
LowspeedRead, LowspeedCheckStatus, LowspeedBytesReady, and LowspeedStatus

Generated by  doxygen 1.6.2