5.1.5 I2C_GetSCLSDAStatus Command and Its Response
The I2C_GetSCLSDAStatus command (0x4C) reads the current logic states of
the SCL and SDA lines.
This command is sent through Endpoint 0x03 (OUT) and the response is read through Endpoint 0x83 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0x4C | Command code | Returns the state of the SCL and SDA lines |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0x4C | Return command code | Returns the command code |
| 1 |
|
Accepted - success |
The |
| 2 | 0x11 | SCL = SDA = High | Returns the current logical state of the SCL and SDA lines |
0x01 | SCL = High , SDA = Low | ||
0x10 | SCL = Low, SDA = High | ||
0x00 | SCL = SDA = Low | ||
