I2c.Read
Read data from I2C interface.
Properties
- Command code: 0x0802
- Command timeout: 100 ms
- Possible status codes: General status codes, I2c.ErrI2CRead
Parameters (request frame)
| Name | Type/Size | Description |
|---|---|---|
| Address | Integer (8 bits) | I2C device address. |
| ReadLen | Integer (8 bits) | Number of bytes to read. |
Returned values (response frame)
| Name | Type/Size | Description |
|---|---|---|
| Length of ReadData | Integer (8 bits) |
Length of ReadData in bytes |
| ReadData | Raw data | Data read from I2C interface. |