HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
Loading...
Searching...
No Matches
Public Attributes | List of all members
TempEntry Struct Reference

A single temperature sensor entry in the fixed-size registry. More...

#include <TemperatureManager.h>

Collaboration diagram for TempEntry:
[legend]

Public Attributes

std::string_view name
 Human-readable name.
 
VortexTempSensorType sensor_type {VortexTempSensorType::SENSOR_COUNT}
 Physical sensor type.
 
bool registered {false}
 Whether this entry is active.
 
float last_reading_celsius {0.0f}
 Most recent cached reading in °C.
 
uint32_t read_count {0}
 Cumulative successful reads.
 
uint32_t error_count {0}
 Cumulative failed reads.
 

Detailed Description

A single temperature sensor entry in the fixed-size registry.

Member Data Documentation

◆ error_count

uint32_t TempEntry::error_count {0}

Cumulative failed reads.

◆ last_reading_celsius

float TempEntry::last_reading_celsius {0.0f}

Most recent cached reading in °C.

◆ name

std::string_view TempEntry::name

Human-readable name.

◆ read_count

uint32_t TempEntry::read_count {0}

Cumulative successful reads.

◆ registered

bool TempEntry::registered {false}

Whether this entry is active.

◆ sensor_type

Physical sensor type.


The documentation for this struct was generated from the following file: