Access Restricted
This page contains internal documentation that is not publicly available.
I2c.TxRx
Write data and directly after that read from I2C interface.
Properties
- Command code: 0x0804
- Command timeout: 100 ms
- Possible status codes: General status codes, I2c.ErrI2CRead, I2c.ErrI2CWrite
Parameters (request frame)
| Name | Type/Size | Description |
|---|---|---|
| Address | Integer (8 bits) | I2C device address. |
| Length of CmdData | Integer (8 bits) |
Length of CmdData in bytes |
| CmdData | Raw data | Command Data to write before reading (e.g. start 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. |