I2C_READ

Role

Allow the host to perform i2c read calls.

Warning

Not all hardware support this command. For devices without such capability, this instruction will generate an error.

Access condition

Depending on the configuration-defined access conditions and on the type of host interface (Local / Remote), this instruction may either be freely usable or restricted to authenticated communications.

Command

Field Value
CLA 58 (CONTROL)
INS 12
Data byte 0 I2C address, 01 to 7F
Data byte 1 How many bytes to read

Response

Field Length Description / remark
STA 1 byte STAtus
Data 0 to N bytes Value of the data