TsctlTWIWriteDesc

From embeddedTS Manuals

This function writes a frame to the two-wire interface.

The devadr parameter specifies the address of the device to talk to.

The adrslen parameter specifies the length of the register address in the device. Valid values for this parameter are 0 through 4.

The adrs parameter specifies the address in the device to write to. If adrslen is 0, this value is ignored. The bytes in the adrs are sent LSB first

The bytes is an Array containing the data to send.