TLE92466ED Driver 0.1.0-preview
Modern C++23 driver for Infineon TLE92466ED Six-Channel Low-Side Solenoid Driver
Loading...
Searching...
No Matches
TLE92466ED_HAL.hpp File Reference

Hardware Abstraction Layer (HAL) base class for TLE92466ED driver. More...

#include <cstdint>
#include <concepts>
#include <span>
#include <expected>
Include dependency graph for TLE92466ED_HAL.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TLE92466ED::SPIConfig
 SPI transaction configuration. More...
 
class  TLE92466ED::HAL
 Abstract Hardware Abstraction Layer (HAL) base class. More...
 

Namespaces

namespace  TLE92466ED
 

Concepts

concept  TLE92466ED::HALInterface
 Concept to verify a type implements the HAL interface.
 

Typedefs

template<typename T >
using TLE92466ED::HALResult = std::expected<T, HALError>
 Result type for HAL operations using std::expected (C++23)
 

Enumerations

enum class  TLE92466ED::HALError : uint8_t {
  TLE92466ED::None = 0 , TLE92466ED::BusError , TLE92466ED::Timeout , TLE92466ED::InvalidParameter ,
  TLE92466ED::ChipselectError , TLE92466ED::TransferError , TLE92466ED::HardwareNotReady , TLE92466ED::BufferOverflow ,
  TLE92466ED::CRCError , TLE92466ED::UnknownError
}
 Error codes for HAL operations. More...
 

Detailed Description

Hardware Abstraction Layer (HAL) base class for TLE92466ED driver.

Author
AI Generated Driver
Date
2025-10-20
Version
2.0.0

This file defines the hardware abstraction layer interface for the TLE92466ED Six-Channel Low-Side Solenoid Driver IC. The HAL provides a polymorphic interface that allows the driver to work with any hardware platform by implementing the virtual transmission functions.

The TLE92466ED uses 32-bit SPI communication with the following structure:

  • MOSI: 32-bit frame (CRC[31:24] + Address[23:17] + R/W[16] + Data[15:0])
  • MISO: 32-bit frame (CRC[31:24] + ReplyMode[23:22] + Status[21:17] + R/W[16] + Data[15:0])
  • CS: Chip select (active low)
  • SCLK: Serial clock (up to 10 MHz)
  • CRC: SAE J1850 8-bit CRC