|
SRA Board Components
ESP-IDF component for SRA Board
|
#include <i2cdev.h>
Public Attributes | |
| i2c_port_t | port |
| I2C port number. More... | |
| i2c_config_t | cfg |
| I2C driver configuration. More... | |
| uint8_t | addr |
| Unshifted address. More... | |
| SemaphoreHandle_t | mutex |
| Device mutex. More... | |
| uint32_t | timeout_ticks |
I2C device descriptor
| uint8_t i2c_dev_t::addr |
Unshifted address.
| i2c_config_t i2c_dev_t::cfg |
I2C driver configuration.
| SemaphoreHandle_t i2c_dev_t::mutex |
Device mutex.
| i2c_port_t i2c_dev_t::port |
I2C port number.
| uint32_t i2c_dev_t::timeout_ticks |
HW I2C bus timeout (stretch time), in ticks. 80MHz APB clock ticks for ESP-IDF, CPU ticks for ESP8266. When this value is 0, I2CDEV_MAX_STRETCH_TIME will be used