TLE92466ED Driver 0.1.0-dev
Modern C++20 driver for Infineon TLE92466ED Six-Channel Low-Side Solenoid Driver
Loading...
Searching...
No Matches
esp32_tle92466ed_bus.hpp File Reference

ESP32 Communication Interface implementation for TLE92466ED driver. More...

#include "tle92466ed_spi_interface.hpp"
#include "esp32_tle92466ed_test_config.hpp"
#include "driver/spi_master.h"
#include "driver/gpio.h"
#include "esp_timer.h"
#include "esp_log.h"
#include <memory>
#include <cstdarg>
#include <span>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "tle92466ed_registers.hpp"
Include dependency graph for esp32_tle92466ed_bus.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Esp32Tle92466edSpiBus
 ESP32 implementation of the TLE92466ED CommInterface. More...
 
struct  Esp32Tle92466edSpiBus::SPIConfig
 SPI configuration structure for ESP32. More...
 

Namespaces

namespace  anonymous_namespace{esp32_tle92466ed_bus.hpp}
 

Functions

constexpr uint32_t anonymous_namespace{esp32_tle92466ed_bus.hpp}::byte_swap_32 (uint32_t value) noexcept
 
auto CreateEsp32Tle92466edSpiBus () noexcept -> std::unique_ptr< Esp32Tle92466edSpiBus >
 Create a configured Esp32Tle92466edSpiBus instance for TLE92466ED.
 

Detailed Description

ESP32 Communication Interface implementation for TLE92466ED driver.

This file provides the ESP32-specific implementation of the TLE92466ED CommInterface. It handles SPI communication and timing functions required by the driver.

Author
N3b3x
Date
2025-10-21
Version
2.0.0

Function Documentation

◆ CreateEsp32Tle92466edSpiBus()

auto CreateEsp32Tle92466edSpiBus ( ) -> std::unique_ptr<Esp32Tle92466edSpiBus>
inlinenoexcept

Create a configured Esp32Tle92466edSpiBus instance for TLE92466ED.

Returns
Unique pointer to configured CommInterface instance

This function uses the configuration from TLE92466ED_TestConfig.hpp

Note: Defined in .cpp file to avoid incomplete type issues with std::unique_ptr