I2C Commands - ku-fpg/haskino GitHub Wiki
I2C Commands
I2C Config
I2C Read
Cmd |
Addr |
Count |
Stop |
0x51 |
0xXX |
0xXX |
0x00/0x01 |
Fields
Addr - I2C Slave address to read from.
Count - Number of bytes to read from I2C slave.
I2C Write
Cmd |
Addr |
Values Byte 0 |
... |
Values Byte n |
0x52 |
0xXX |
0xXX |
... |
0xXX |
Fields
Addr - I2C Slave address to write to,
Values - n bytes to write to slave address
I2C Responses
Response I2C Read
Cmd |
Values Byte 0 |
... |
Values Byte n |
0x58 |
0xXX |
... |
0xXX |
Fields
Values - n bytes read from slave address