NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetLSInputBuffer ( const byte  port,
const byte  offset,
byte  cnt,
byte &  data[] 
)
inline

Get I2C input buffer data.

This method reads count bytes of data from the I2C input buffer for the specified port and writes it to the buffer provided.

Parameters
portA constant port number (S1..S4). See Input port constants.
offsetA constant offset into the I2C input buffer.
cntThe number of bytes to read.
dataThe byte array reference which will contain the data read from the I2C input buffer.
Examples:
ex_GetLSInputBuffer.nxc.