ESP-IDF + 0/8 examples
SourceVu will show references to i2c_driver_install() from the following samples and libraries:
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

- ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error - ESP_FAIL Driver installation error

Notes

Not all Espressif chips can support slave mode (e.g. ESP32C2) In master mode, if the cache is likely to be disabled(such as write flash) and the slave is time-sensitive, `ESP_INTR_FLAG_IRAM` is suggested to be used. In this case, please use the memory allocated from internal RAM in i2c read and write function, because we can not access the psram(if psram is enabled) in interrupt handle function when cache is disabled.

References

from examples