NXC
Version 1.2.1 r5
|
|
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.
port | A constant port number (S1..S4). See Input port constants. |
offset | A constant offset into the I2C input buffer. |
cnt | The number of bytes to read. |
data | The byte array reference which will contain the data read from the I2C input buffer. |