Вы здесь

"I2C Bus Level" Bar

The "I2C Bus Level" Bar (Figure 2.19, “"I2C Bus Level" Bar”) allows to work with the I2C slave devices on the bus level (SDA and SCL lines). The bar buttons make it possible to read and write the data by controlling the bus lines.

Figure 2.19. "I2C Bus Level" Bar

"I2C Bus Level" Bar

The "Release SCL" button releases the SCL line of the I2C bus. If the SCL line is not pulled down by I2C slave device, it will get high.

The "Drop SCL" pulls down the I2C bus SCL line.

The "Read SCL" button checks the current state of the I2C bus SCL line.

The "Release SDA" button releases the SDA line of the I2C bus. If the line is not pulled down by I2C slave device, it will get high.

The "Drop SDA" button pulls down the I2C bus SDA line.

The "Read SDA" button checks the current state of the I2C bus SDA line.

For instance, by consiquent pressing the "Read SCL" and "Read SDA" buttons (on condition that the I2C bus is released) the messages informing that the both lines are released will be displayed in the log field (Figure 2.20, “Reading the SDA/SCL lines”).

Figure 2.20. Reading the SDA/SCL lines

Reading the SDA/SCL lines
Rating: 
Голосов пока нет

Языки

Вход на сайт