|
HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
|
STM32 Temperature sensor configuration. More...
#include <StmTemperature.h>
Public Member Functions | |
| hf_stm32_temp_sensor_config_t () noexcept | |
Public Attributes | |
| ADC_HandleTypeDef * | hadc |
| ADC handle (CubeMX) | |
| hf_u32_t | channel |
| ADC channel number. | |
| hf_u8_t | resolution_bits |
| ADC resolution (8/10/12/16) | |
| float | vref_mv |
| ADC reference voltage in mV. | |
| hf_stm32_temp_convert_fn | convert_fn |
| Optional custom conversion. | |
| hf_temp_sensor_type_t | sensor_type |
| Sensor type hint. | |
| float | range_min_celsius |
| Min measurable temp. | |
| float | range_max_celsius |
| Max measurable temp. | |
| hf_u32_t | sample_count |
| Oversampling count (1 = no avg) | |
| hf_u32_t | timeout_ms |
| ADC poll timeout. | |
STM32 Temperature sensor configuration.
|
inlinenoexcept |
| hf_u32_t hf_stm32_temp_sensor_config_t::channel |
ADC channel number.
| hf_stm32_temp_convert_fn hf_stm32_temp_sensor_config_t::convert_fn |
Optional custom conversion.
| ADC_HandleTypeDef* hf_stm32_temp_sensor_config_t::hadc |
ADC handle (CubeMX)
| float hf_stm32_temp_sensor_config_t::range_max_celsius |
Max measurable temp.
| float hf_stm32_temp_sensor_config_t::range_min_celsius |
Min measurable temp.
| hf_u8_t hf_stm32_temp_sensor_config_t::resolution_bits |
ADC resolution (8/10/12/16)
| hf_u32_t hf_stm32_temp_sensor_config_t::sample_count |
Oversampling count (1 = no avg)
| hf_temp_sensor_type_t hf_stm32_temp_sensor_config_t::sensor_type |
Sensor type hint.
| hf_u32_t hf_stm32_temp_sensor_config_t::timeout_ms |
ADC poll timeout.
| float hf_stm32_temp_sensor_config_t::vref_mv |
ADC reference voltage in mV.