|
HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
|
Temperature sensor management for the HardFOC Vortex V1 platform. More...
#include <array>#include <atomic>#include <cstdint>#include <optional>#include <string_view>#include "base/BaseTemperature.h"#include "handlers/ntc/NtcTemperatureHandler.h"#include "RtosMutex.h"Go to the source code of this file.
Classes | |
| class | Tmc9660TemperatureWrapper |
| Adapter wrapping Tmc9660Handler's internal temperature into BaseTemperature. More... | |
| struct | TempEntry |
| A single temperature sensor entry in the fixed-size registry. More... | |
| struct | TempSystemDiagnostics |
| System-level temperature diagnostics (compatible with old API). More... | |
| class | TemperatureManager |
| Singleton manager for all temperature sensors on Vortex V1. More... | |
Enumerations | |
| enum class | VortexTempSensorType : uint8_t { ESP32_INTERNAL = 0 , NTC_THERMISTOR = 1 , TMC9660_CHIP = 2 , SENSOR_COUNT } |
| Identifies the physical temperature sensor type on the Vortex board. More... | |
Functions | |
| constexpr const char * | VortexTempSensorTypeToString (VortexTempSensorType t) noexcept |
| Convert VortexTempSensorType to a human-readable string. | |
| TemperatureManager & | GetTemperatureManager () noexcept |
| Convenience accessor — equivalent to TemperatureManager::GetInstance(). | |
Temperature sensor management for the HardFOC Vortex V1 platform.
The Vortex board has three temperature sources:
Fixed-size array of TempEntry structs, no heap vectors or maps. Sensor handlers live in place (std::optional); the die sensor in the board binding.
|
strong |
Identifies the physical temperature sensor type on the Vortex board.
|
inlinenoexcept |
Convenience accessor — equivalent to TemperatureManager::GetInstance().
|
constexprnoexcept |
Convert VortexTempSensorType to a human-readable string.
| t | Sensor type to convert. |