I2c.TxRx
Write data and directly after that read from I2C interface.
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.
|