|
#define GetLSInputBuffer |
( |
_p, |
|
|
_offset, |
|
|
_cnt, |
|
|
_data |
|
) |
__getLSInputBuffer(_p, _offset, _cnt, _data) |
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:
-
| _p | A constant port number (S1..S4). See NBC 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. |
|