|
Internal Interface Wrap
API reference
|
Implementation of ESP32-integrated I2C controller with proper bus-device architecture. More...
#include "EspI2c.h"#include "utils/memory_utils.h"#include <algorithm>#include <cstring>#include "driver/gpio.h"#include "driver/i2c_master.h"#include "driver/i2c_types.h"#include "esp_err.h"#include "esp_timer.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"Macros | |
| #define | USE_CUSTOM_FAST_PROBE 0 |
Functions | |
| const char * | HfI2COperationToString (hf_i2c_operation_t op) noexcept |
| Convert operation type to string for logging. | |
Variables | |
| static const char * | TAG = "EspI2c" |
Implementation of ESP32-integrated I2C controller with proper bus-device architecture.
This file provides the implementation for I2C bus communication using the ESP32's built-in I2C peripheral with full ESP-IDF v5.5+ capabilities and proper separation of bus and device management following the same pattern as EspSpi.
Key architectural improvements:
The implementation closely follows ESP-IDF v5.5 I2C Master driver documentation: https://docs.espressif.com/projects/esp-idf/en/release-v5.5/esp32/api-reference/peripherals/i2c.html
| #define USE_CUSTOM_FAST_PROBE 0 |
|
noexcept |
Convert operation type to string for logging.
| op | Operation type |