|
HF-BNO08x
0.1.0-dev
|
ESP32 I2C communication interface implementation for BNO08x driver. More...
#include <cstdint>#include <memory>#include "driver/gpio.h"#include "driver/i2c_master.h"#include "esp_err.h"#include "esp_log.h"#include "esp_timer.h"#include "freertos/FreeRTOS.h"#include "freertos/task.h"#include "../../../inc/bno08x_comm_interface.hpp"Go to the source code of this file.
Classes | |
| class | Esp32Bno08xI2cBus |
| ESP32 implementation of bno08x::CommInterface using ESP-IDF I2C master driver. More... | |
| struct | Esp32Bno08xI2cBus::I2CConfig |
| I2C bus and device configuration structure. More... | |
Functions | |
| std::unique_ptr< Esp32Bno08xI2cBus > | CreateEsp32Bno08xI2cBus (const Esp32Bno08xI2cBus::I2CConfig &config=Esp32Bno08xI2cBus::I2CConfig{}) |
| Factory function to create an ESP32 BNO08x I2C bus instance. | |
ESP32 I2C communication interface implementation for BNO08x driver.
This file provides the ESP32-specific implementation of the bno08x::CommInterface interface using ESP-IDF's I2C master driver.
|
inline |
Factory function to create an ESP32 BNO08x I2C bus instance.
Creates and initializes the bus. Returns nullptr on failure.
| config | I2C configuration (optional, uses defaults if not provided) |