HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
Loading...
Searching...
No Matches
ntc_temp_handler_config_t Struct Reference

NTC temperature handler configuration structure. More...

#include <NtcTemperatureHandler.h>

Public Attributes

NtcType ntc_type
 NTC thermistor type (driver enum)
 
uint8_t adc_channel
 ADC channel for voltage measurement.
 
float voltage_divider_series_resistance
 Series resistance in voltage divider (ohms)
 
float voltage_divider_parallel_resistance
 Parallel resistance (ohms, 0 if none)
 
float reference_voltage
 Reference voltage (V)
 
float calibration_offset
 Calibration offset (°C)
 
float beta_value
 Beta value override (0 = use default)
 
NtcConversionMethod conversion_method
 Temperature conversion method (driver enum)
 
uint32_t sample_count
 Number of samples to average.
 
uint32_t sample_delay_ms
 Delay between samples (ms)
 
float min_temperature
 Minimum temperature (°C)
 
float max_temperature
 Maximum temperature (°C)
 
bool enable_filtering
 Enable temperature filtering.
 
float filter_alpha
 Filter alpha value (0.0-1.0)
 
bool enable_threshold_monitoring
 Enable threshold monitoring at init.
 
float low_threshold_celsius
 Low temperature threshold (°C)
 
float high_threshold_celsius
 High temperature threshold (°C)
 
hf_temp_threshold_callback_t threshold_callback
 Threshold callback (optional)
 
void * threshold_user_data
 Threshold callback user data.
 
const char * sensor_name
 Sensor name/identifier.
 
const char * sensor_description
 Sensor description.
 

Detailed Description

NTC temperature handler configuration structure.

Member Data Documentation

◆ adc_channel

uint8_t ntc_temp_handler_config_t::adc_channel

ADC channel for voltage measurement.

◆ beta_value

float ntc_temp_handler_config_t::beta_value

Beta value override (0 = use default)

◆ calibration_offset

float ntc_temp_handler_config_t::calibration_offset

Calibration offset (°C)

◆ conversion_method

NtcConversionMethod ntc_temp_handler_config_t::conversion_method

Temperature conversion method (driver enum)

◆ enable_filtering

bool ntc_temp_handler_config_t::enable_filtering

Enable temperature filtering.

◆ enable_threshold_monitoring

bool ntc_temp_handler_config_t::enable_threshold_monitoring

Enable threshold monitoring at init.

◆ filter_alpha

float ntc_temp_handler_config_t::filter_alpha

Filter alpha value (0.0-1.0)

◆ high_threshold_celsius

float ntc_temp_handler_config_t::high_threshold_celsius

High temperature threshold (°C)

◆ low_threshold_celsius

float ntc_temp_handler_config_t::low_threshold_celsius

Low temperature threshold (°C)

◆ max_temperature

float ntc_temp_handler_config_t::max_temperature

Maximum temperature (°C)

◆ min_temperature

float ntc_temp_handler_config_t::min_temperature

Minimum temperature (°C)

◆ ntc_type

NtcType ntc_temp_handler_config_t::ntc_type

NTC thermistor type (driver enum)

◆ reference_voltage

float ntc_temp_handler_config_t::reference_voltage

Reference voltage (V)

◆ sample_count

uint32_t ntc_temp_handler_config_t::sample_count

Number of samples to average.

◆ sample_delay_ms

uint32_t ntc_temp_handler_config_t::sample_delay_ms

Delay between samples (ms)

◆ sensor_description

const char* ntc_temp_handler_config_t::sensor_description

Sensor description.

◆ sensor_name

const char* ntc_temp_handler_config_t::sensor_name

Sensor name/identifier.

◆ threshold_callback

hf_temp_threshold_callback_t ntc_temp_handler_config_t::threshold_callback

Threshold callback (optional)

◆ threshold_user_data

void* ntc_temp_handler_config_t::threshold_user_data

Threshold callback user data.

◆ voltage_divider_parallel_resistance

float ntc_temp_handler_config_t::voltage_divider_parallel_resistance

Parallel resistance (ohms, 0 if none)

◆ voltage_divider_series_resistance

float ntc_temp_handler_config_t::voltage_divider_series_resistance

Series resistance in voltage divider (ohms)


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